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

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

 SPDX-License-Identifier: Apache-2.0
*/
/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @param {!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.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.io/license
*/
/*
 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));void 0!==b&&(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("v");b.push(65533)},baa=function(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b},caa=function(a,b,c,d){c=b+c;for(var e=
[],f=null,h,l,q,t;b<c;)h=a[b++],128>h?e.push(h):224>h?b>=c?ca(d,e):(l=a[b++],194>h||128!==(l&192)?(b--,ca(d,e)):e.push((h&31)<<6|l&63)):240>h?b>=c-1?ca(d,e):(l=a[b++],128!==(l&192)||224===h&&160>l||237===h&&160<=l||128!==((q=a[b++])&192)?(b--,ca(d,e)):e.push((h&15)<<12|(l&63)<<6|q&63)):244>=h?b>=c-2?ca(d,e):(l=a[b++],128!==(l&192)||0!==(h<<28)+(l-144)>>30||128!==((q=a[b++])&192)||128!==((t=a[b++])&192)?(b--,ca(d,e)):(h=(h&7)<<18|(l&63)<<12|(q&63)<<6|t&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+
56320))):ca(d,e),8192<=e.length&&(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=0===b&&c===a.length?a:a.subarray(b,c);try{return e.decode(a)}catch(f){if(b=d){if(void 0===faa){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=void 0===b?!1:b;if(haa){if(b&&
(iaa?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("w");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(128>f)d[c++]=f;else{if(2048>f)d[c++]=f>>6|192;else{if(55296<=f&&57343>=f){if(56319>=f&&e<a.length){var h=a.charCodeAt(++e);if(56320<=h&&57343>=h){f=1024*(f-55296)+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("w");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},fa=function(a){da.setTimeout(function(){throw a;},0)},ha=function(){var a=da.navigator;return a&&(a=a.userAgent)?a:""},laa=function(a){return ia?ja?ja.brands.some(function(b){return(b=b.brand)&&la(b,a)}):!1:!1},ma=function(a){return la(ha(),a)},oa=function(){return ia?!!ja&&0<ja.brands.length:!1},maa=function(){return oa()?!1:ma("Opera")},naa=function(){return oa()?
!1:ma("Trident")||ma("MSIE")},oaa=function(){return ma("Firefox")||ma("FxiOS")},qaa=function(){return ma("Safari")&&!(paa()||(oa()?0:ma("Coast"))||maa()||(oa()?0:ma("Edge"))||(oa()?laa("Microsoft Edge"):ma("Edg/"))||(oa()?laa("Opera"):ma("OPR"))||oaa()||ma("Silk")||ma("Android"))},paa=function(){return oa()?laa("Chromium"):(ma("Chrome")||ma("CriOS"))&&!(oa()?0:ma("Edge"))||ma("Silk")},raa=function(){return ma("Android")&&!(paa()||oaa()||maa()||ma("Silk"))},saa=function(){var a=ha();if(naa()){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),"7.0"==c[1])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},taa=function(){if(oa()){var a=ja.brands.find(function(b){return"Internet Explorer"===b.brand});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=saa();if(""===a)return NaN;a=a.split(".")}return 0===
a.length?NaN:Number(a[0])},qa=function(){return ia?!!ja&&!!ja.platform:!1},uaa=function(){return qa()?"Android"===ja.platform:ma("Android")},vaa=function(){return ma("iPhone")&&!ma("iPod")&&!ma("iPad")},ra=function(){return vaa()||ma("iPad")||ma("iPod")},waa=function(){return qa()?"macOS"===ja.platform:ma("Macintosh")},sa=function(a){return a[a.length-1]},xaa=function(a,b){var c=0;ta(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},yaa=function(a,b){for(var c="string"===typeof a?a.split(""):
a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},ua=function(a,b){return 0<=zaa(a,b)},Aaa=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},wa=function(a,b){b=zaa(a,b);var c;(c=0<=b)&&va(a,b);return c},va=function(a,b){Array.prototype.splice.call(a,b,1)},xa=function(a,b){a:{for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}0<=b&&va(a,b)},ya=function(a){var b=a.length;
if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Baa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(za(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)}},Daa=function(a,b,c,d){return Array.prototype.splice.apply(a,Caa(arguments,1))},Caa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Eaa=function(a,b,c){b=b||a;var d=function(q){return Ba(q)?"o"+Ca(q):
(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],l=c(h);Object.prototype.hasOwnProperty.call(f,l)||(f[l]=!0,b[d++]=h)}b.length=d},Gaa=function(a,b){a.sort(b||Faa)},Haa=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||Faa;Gaa(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},Faa=function(a,b){return a>b?1:a<b?-1:0},Iaa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},Jaa=
function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Maa=function(a){if(!Kaa)return Laa(a);for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)},Oaa=function(a){return Naa[a]||""},Raa=function(a){if(!Kaa)return Paa(a);Qaa.test(a)&&(a=a.replace(Qaa,Oaa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},
Ea=function(a){return Saa&&null!=a&&a instanceof Uint8Array},Uaa=function(){return Taa||(Taa=new Uint8Array(0))},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){return 0==a.length?Fa():new Ga(a,Ha)},Xaa=function(a){if("string"===typeof a)return{buffer:Raa(a),isImmutable:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),isImmutable:!1};if(a.constructor===Uint8Array)return{buffer:a,isImmutable:!1};if(a.constructor===
ArrayBuffer)return{buffer:new Uint8Array(a),isImmutable:!1};if(a.constructor===Ga)return{buffer:Ja(a)||Uaa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("J");},Yaa=function(){return"function"===typeof BigInt},Ma=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=k(Zaa(c,a)),b=c.next().value,a=c.next().value,c=b);Ka=c>>>0;La=a>>>0},$aa=function(a,b){var c=b&2147483648;c&&(a=
~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=4294967296*b+(a>>>0);return c?-a:a},Na=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Yaa()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+aba(c)+aba(a));return c},aba=function(a){a=String(a);return"0000000".slice(a.length)+a},bba=function(){var a=Ka,b=La;b&2147483648?Yaa()?
a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=k(Zaa(a,b)),a=b.next().value,b=b.next().value,a="-"+Na(a,b)):a=Na(a,b);return a},cba=function(a){if(16>a.length)Ma(Number(a));else if(Yaa())a=BigInt(a),Ka=Number(a&BigInt(4294967295))>>>0,La=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);La=Ka=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)),La*=1E6,Ka=1E6*Ka+d,4294967296<=Ka&&(La+=Math.trunc(Ka/4294967296),La>>>=0,Ka>>>=0);b&&(b=k(Zaa(Ka,La)),a=b.next().value,
b=b.next().value,Ka=a,La=b)}},Zaa=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Oa=function(a){return Array.prototype.slice.call(a)},dba=function(a){return"function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():a},Pa=function(a,b,c){return c?a|b:a&~b},Sa=function(a){return!!(Qa(a)&2)},Ta=function(a){eba(a,34);return a},fba=function(a){eba(a,32);return a},gba=function(a,b){Ua(b,(a|0)&-14591)},hba=function(a,b){Ua(b,(a|34)&-14557)},iba=function(a){a=a>>14&1023;return 0===a?536870912:a},Va=function(a){return+!!(a&
512)-1},Za=function(a){return a.messagePrototypeMarker===jba},lba=function(a){return!(!a||"object"!==typeof a||a.mapPrototypeMarker!==kba)},$a=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},ab=function(a,b,c,d){if(null==a){if(!c)throw Error();}else if("string"===typeof a)a=a?new Ga(a,Ha):Fa();else if(a.constructor!==Ga)if(Ea(a))a=a.length?new Ga(d?a:new Uint8Array(a),Ha):Fa();else{if(!b)throw Error();a=void 0}return a},mba=function(a,b){return!!a&&(Array.isArray(a)?
a.includes(b):a.has(b))},bb=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Qa(a);if(d&1)return!0;if(!mba(b,c))return!1;Ua(a,d|1);return!0},cb=function(a){if(a&2)throw Error();},eb=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();},nba=function(a,b){if("number"!==typeof b||0>b||b>a.length)throw Error();},pba=function(a){if(!oba)return a.constructor.repeatedFields_},qba=function(a,b){(b=fb?b[fb]:void 0)&&(a[fb]=Oa(b))},gb=function(){return rba||(rba=Symbol())},tba=
function(){var a=Error();sba(a,"incident");fa(a)},hb=function(a){a=Error(a);sba(a,"warning");return a},uba=function(a){if("number"!==typeof a)throw Error("K`"+typeof a+"`"+a);return a},ib=function(a){return null==a?a:uba(a)},vba=function(a){if(null==a||"number"===typeof a)return a;if("NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},wba=function(a){if("boolean"!==typeof a)throw Error("L`"+jb(a)+"`"+a);return a},kb=function(a){return null==a?a:wba(a)},xba=function(a){if(null==a||"boolean"===
typeof a)return a;if("number"===typeof a)return!!a},lb=function(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:yba.test(a)},zba=function(a){if(!Number.isFinite(a))throw hb("enum");return a|0},Aba=function(a){return null==a?a:zba(a)},Bba=function(a){return null==a?a:Number.isFinite(a)?a|0:void 0},mb=function(a){if("number"!==typeof a)throw hb("int32");if(!Number.isFinite(a))throw hb("int32");return a|0},ob=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;
a=+a}if("number"===typeof a)return Number.isFinite(a)?a|0:void 0},Cba=function(){if(!Number.isFinite(0))throw hb("uint32");return 0},Dba=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return Number.isFinite(a)?a>>>0:void 0},pb=function(a,b){b=!!b;if(!lb(a))throw hb("int64");return"string"===typeof a?Eba(a):b?Fba(a):Gba(a)},qb=function(a){return null==a?a:pb(a)},Hba=function(a){return"-"===a[0]?!1:20>a.length?!0:20===a.length&&184467>Number(a.substring(0,
6))},Iba=function(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337<Number(a.substring(0,7)):19>a.length?!0:19===a.length&&922337>Number(a.substring(0,6))},Jba=function(a){if(0>a){Ma(a);var b=Na(Ka,La);a=Number(b);return Number.isSafeInteger(a)?a:b}if(Hba(String(a)))return a;Ma(a);return 4294967296*La+(Ka>>>0)},Gba=function(a){a=Math.trunc(a);Number.isSafeInteger(a)||(Ma(a),a=$aa(Ka,La));return a},Kba=function(a){a=Math.trunc(a);return 0<=a&&Number.isSafeInteger(a)?a:Jba(a)},Fba=function(a){a=
Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Iba(b)?a=b:(Ma(a),a=bba())}return a},Lba=function(a){a=Math.trunc(a);if(0<=a&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);Hba(b)?a=b:(Ma(a),a=Na(Ka,La))}return a},Eba=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));Iba(a)||(cba(a),a=bba());return a},Mba=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b)&&0<=b)return String(b);
b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));Hba(a)||(cba(a),a=Na(Ka,La));return a},Nba=function(a){if(null==a)return a;if(lb(a)){var b;"number"===typeof a?b=Gba(a):b=Eba(a);return b}},rb=function(a,b){b=void 0===b?!1:b;if(null==a)return a;if(lb(a))return"string"===typeof a?Eba(a):b?Fba(a):Gba(a)},Oba=function(a){var b=!!b;if(!lb(a))throw hb("uint64");return"string"===typeof a?Mba(a):b?Lba(a):Kba(a)},sb=function(a){if("string"!==typeof a)throw Error();return a},Pba=function(a){if(null!=a&&"string"!==
typeof a)throw Error();return a},Qba=function(a){return null==a||"string"===typeof a?a:void 0},ub=function(a,b,c,d){if(null!=a&&"object"===typeof a&&Za(a))return a;if(!Array.isArray(a))return c?d&2?Rba(b):new b:void 0;var e=c=Qa(a);0===e&&(e|=d&32);e|=d&2;e!==c&&Ua(a,e);return new b(a)},Rba=function(a){var b=a[Sba];if(b)return b;b=new a;Ta(b.internalArray_);return a[Sba]=b},Tba=function(a,b,c){if(b)return wba(a);var d;return null!=(d=xba(a))?d:c?!1:void 0},Uba=function(a,b,c){a=b?mb(a):ob(a);return null==
a?c?0:void 0:a|0},Vba=function(a,b,c){a=b?pb(a):Nba(a);b=null==a?c?0:void 0:a;return"string"===typeof b&&(c=+b,Number.isSafeInteger(c))?c:b},vb=function(a,b,c){if(b)return sb(a);var d;return null!=(d=Qba(a))?d:c?"":void 0},Wba=function(a,b,c){a=b?zba(a):Bba(a);return null==a?c?0:void 0:a},wb=function(a,b){Xba=b;a=new a(b);Xba=void 0;return a},$ba=function(a){switch(typeof a){case "boolean":return Yba||(Yba=[0,void 0,!0]);case "number":return 0<a?void 0:0===a?Zba||(Zba=[0,void 0]):[-a,void 0];case "string":return[0,
a];case "object":return a}},m=function(a,b,c){null==a&&(a=Xba);Xba=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("M");d=Qa(a);if(d&2048)throw Error("N");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("O");a:{c=a;var e=c.length;if(e){var f=e-1;if($a(c[f])){d|=256;b=f-Va(d);if(1024<=b)throw Error("P");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-Va(d));if(1024<b)throw Error("Q");d=d&-16760833|(b&1023)<<
14}}}Ua(a,d);return a},aca=function(a,b){if("string"===typeof b)try{b=Raa(b)}catch(c){return!1}return Ea(b)&&Vaa(a,b)},dca=function(a,b){var c=gb(),d;if(Za(a)){var e=a.internalArray_;null!=d||(d=e[c]);var f=pba(a)}else if(Array.isArray(a))e=a;else return!1;if(Za(b))a=b.internalArray_,null!=d||(d=a[c]),f=f||pba(b);else if(Array.isArray(b))a=b;else return!1;var h;return bca(e,a,null!=(h=f)?h:cca,d,2)},eca=function(a,b,c){return bca(a,b,void 0,c,0)},bca=function(a,b,c,d,e){null!=xb&&Array.isArray(a)&&
Array.isArray(b)&&xb.push(d?"cc":"cn");if(a===b||null==a&&null==b)return!0;if(a instanceof zb)return fca(a,b,d);if(b instanceof zb)return fca(b,a,d);if(null==a||null==b)return!1;if(a instanceof Ga)return gca(a,b);if(b instanceof Ga)return gca(b,a);if(Ea(a))return aca(a,b);if(Ea(b))return aca(b,a);var f=typeof a,h=typeof b;if("object"!==f||"object"!==h)return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):"string"===f&&"number"===h||"number"===f&&"string"===h?+a===+b:"boolean"===f&&"number"===
h||"number"===f&&"boolean"===h?!a===!b:!1;if(Za(a)||Za(b))return dca(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){h=Qa(a);var l=Qa(b),q=a.length,t=b.length,w=Math.max(q,t);f=Va(h|l);(h=1===e||!!((h|l)&1))&&(e=1);if(!h){h=gb();var B;null!=d||(d=null!=(B=a[h])?B:b[h]);if(null!=d){c=(c=d.repeatedFields)?c:hca||(hca=new Set);var D=(D=d.mapFields)?D:hca||(hca=new Set)}}B=q&&a[q-1];h=t&&b[t-1];$a(B)||(B=null);$a(h)||(h=null);q=q-f-+!!B;t=t-f-+!!h;for(l=0;l<w;l++)if(!ica(l-f,a,
B,q,b,h,t,f,c,D,d,e))return null!=xb&&xb.push("f"),!1;if(B)for(var J in B){e=a;w=B;l=q;var H=b,O=h,P=t,U=f,aa=c,pa=D,ka=d,Aa=+J;e=!Number.isFinite(Aa)||Aa<l||Aa<P?!0:ica(Aa,e,w,l,H,O,P,U,aa,pa,ka,2);if(!e)return null!=xb&&xb.push("f"),!1}if(h)for(var Ya in h)if((J=B&&Ya in B)||(J=a,e=B,w=q,l=b,H=h,O=t,P=f,U=c,aa=D,pa=d,ka=+Ya,J=!Number.isFinite(ka)||ka<w||ka<O?!0:ica(ka,J,e,w,l,H,O,P,U,aa,pa,2)),!J)return null!=xb&&xb.push("f"),!1;null!=xb&&xb.push("t");return!0}if(a.constructor===Object)return eca([a],
[b]);throw Error();},ica=function(a,b,c,d,e,f,h,l,q,t,w,B){b=jca(a,b,c,d,l);e=jca(a,e,f,h,l);B=1===B;null!=xb&&xb.push(a);if(null==e){if(bb(b,q,a))return!0;B||Ab||q||!Array.isArray(b)||b.length||Qa(b)&64||b[gb()]||Ab++}if(null==b){if(bb(e,q,a))return!0;B||Ab||q||!Array.isArray(e)||e.length||Qa(e)&64||e[gb()]||Ab++}w=B?w:null==w?void 0:kca(w,a);if(t=null==t?void 0:t.has(a)){if(null==b&&Array.isArray(e))return 0===e.length;if(null==e&&Array.isArray(b))return 0===b.length;if(Array.isArray(b)&&Array.isArray(e))return lca(b,
e)}return bca(b,e,void 0,w,t||mba(q,a)?1:0)},jca=function(a,b,c,d,e){var f;return null!=(f=a<d?b[a+e]:void 0)?f:null==c?void 0:c[a]},mca=function(a){return a},nca=function(a,b,c,d,e,f){a=ub(a,d,c,f);e&&(a=Bb(a));return a},oca=function(a){return a},pca=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){eca(e,b.get(f),null==c?void 0:kca(c,2))||(d=!1)});return d},qca=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},rca=function(a,
b,c){if(null==b)return 0===a.size;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(qca);for(var d=0,e=void 0,f=b.length-1;0<=f;f--){var h=b[f];if(!h||!Array.isArray(h)||2!==h.length)return!1;var l=h[0];if(l!==e){e=void 0;if(!eca(a.get(l),h[1],null==(e=c)?void 0:kca(e,2)))return!1;e=l;d++}}return d===a.size},lca=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;a=Array.prototype.slice.call(a);b=Array.prototype.slice.call(b);a.sort(qca);b.sort(qca);
var c=a.length,d=b.length;if(0===c&&0===d)return!0;for(var e=0,f=0;e<c&&f<d;){var h=void 0,l=a[e];if(!Array.isArray(l))return!1;for(var q=l[0];e<c-1&&(h=a[e+1])[0]===q;)e++,l=h;var t=void 0;h=b[f];if(!Array.isArray(h))return!1;for(var w=h[0];f<d-1&&(t=b[f+1])[0]===w;)f++,h=t;if(q!==w)return!1;q=void 0;if(!eca(l[1],h[1],null==(q=void 0)?void 0:kca(q,2)))return!1;e++;f++}return e>=c&&f>=d},sca=function(a){return[a,this.get(a)]},vca=function(){return tca||(tca=new zb(Ta([]),void 0,void 0,void 0,uca))},
xca=function(a,b){return wca(b)},wca=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(bb(a,void 0,0))return}else{if(Ea(a))return Maa(a);if(a instanceof Ga)return yca(a);if(a instanceof zb)return zca(a)}}return a},Aca=function(a,b,c){var d=Oa(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(f){b=d[b]={};for(var h in f)b[h]=c(f[h])}qba(d,a);return d},Cca=function(a,b,
c,d,e){if(null!=a){if(Array.isArray(a))a=bb(a,void 0,0)?void 0:e&&Qa(a)&2?a:Bca(a,b,c,void 0!==d,e);else if($a(a)){var f={},h;for(h in a)f[h]=Cca(a[h],b,c,d,e);a=f}else a=b(a,d);return a}},Bca=function(a,b,c,d,e){var f=d||c?Qa(a):0;d=d?!!(f&32):void 0;for(var h=Oa(a),l=0;l<h.length;l++)h[l]=Cca(h[l],b,c,d,e);c&&(qba(h,a),c(f,h));return h},Eca=function(a){return Cca(a,Dca,void 0,void 0,!1)},Dca=function(a){return Za(a)?a.toJSON():a instanceof zb?zca(a,Eca):wca(a)},Fca=function(a,b,c){c=void 0===c?
hba:c;if(null!=a){if(Saa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Qa(a);if(d&2)return a;b&&(b=0===d||!!(d&32)&&!(d&64||!(d&16)));return b?Ua(a,(d|34)&-12293):Bca(a,Fca,d&4?hba:c,!0,!0)}Za(a)?(c=a.internalArray_,d=Cb(c),a=d&2?a:wb(a.constructor,Db(c,d,!0))):a instanceof zb&&!(a.arrayState&2)&&(c=Ta(Gca(a,Fca)),a=new zb(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},Db=function(a,b,c){var d=c||b&2?hba:gba,e=!!(b&32);a=Aca(a,b,function(f){return Fca(f,e,d)});
eba(a,32|(c?2:0));return a},Bb=function(a){var b=a.internalArray_,c=Cb(b);return c&2?wb(a.constructor,Db(b,c,!1)):a},Ica=function(a,b,c,d){if(!(4&b))return!0;if(null==c)return!1;!d&&0===c&&(4096&b||8192&b)&&5>(a.constructor[Hca]=(a.constructor[Hca]|0)+1)&&tba();return 0===c?!1:!(c&b)},Jca=function(a,b,c,d){b=d+Va(b);if(!(0>b||b>=a.length||b>=c))return a[b]},Eb=function(a,b,c,d,e){var f=iba(b);if(c>=f||e){var h=b;if(b&256)e=a[a.length-1];else{if(null==d)return h;e=a[f+Va(b)]={};h|=256}e[c]=d;c<f&&
(a[c+Va(b)]=void 0);h!==b&&Ua(a,h);return h}a[c+Va(b)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b},Kca=function(a,b,c,d){var e=b&2,f=Fb(a,b,c,d);Array.isArray(f)||(f=cca);var h=!!(b&32),l=Qa(f);0===l&&h&&!e?(l|=33,Ua(f,l)):l&1||(l|=1,Ua(f,l));if(e)l&2||Ta(f),Object.freeze(f);else if(2&l||2048&l)f=Oa(f),e=1,h&&(e|=32),Ua(f,e),Eb(a,b,c,f,d);return f},Kb=function(a,b,c,d,e,f,h){var l=a.internalArray_,q=Cb(l);d=2&q?1:d;f=!!f;var t=Lca(l,q,b,e),w=Qa(t);if(Ica(a,w,h,f)){if(4&w||Object.isFrozen(t))t=
Oa(t),w=Gb(w,q),q=Eb(l,q,b,t,e);for(var B=a=0;a<t.length;a++){var D=c(t[a]);null!=D&&(t[B++]=D)}B<a&&(t.length=B);w=Mca(w,q);w=Pa(w,20,!0);w=Pa(w,4096,!1);w=Pa(w,8192,!1);h&&(w=Pa(w,h,!0));Ua(t,w);2&w&&Object.freeze(t)}Ib(w)||(h=w,(c=1===d)?(32&w||(t=Oa(t),h=0,q=Eb(l,q,b,t,e)),w=Pa(w,2,!0)):w=Jb(w,q,f),w!==h&&Ua(t,w),c&&Object.freeze(t));2===d&&Ib(w)&&(t=Oa(t),w=Gb(w,q),w=Jb(w,q,f),Ua(t,w),Eb(l,q,b,t,e));return t},Lca=function(a,b,c,d){a=Fb(a,b,c,d);return Array.isArray(a)?a:cca},Mca=function(a,b){0===
a&&(a=Gb(a,b));return a=Pa(a,1,!0)},Ib=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)},Nca=function(a){return ab(a,!0,!0,!0)},Oca=function(a){return ab(a,!0,!0,!1)},Pca=function(a,b,c,d,e,f,h){var l=b&2;a:{var q=c,t=b&2;c=!1;if(null==q){if(t){a=vca();break a}q=[]}else if(q.constructor===zb){if(0==(q.arrayState&2)||t){a=q;break a}q=Gca(q)}else Array.isArray(q)?c=Sa(q):q=[];if(t){if(!q.length){a=vca();break a}c||(c=!0,Ta(q))}else if(c){c=!1;t=Oa(q);for(q=0;q<t.length;q++){var w=t[q]=Oa(t[q]);Array.isArray(w[1])&&
(w[1]=Ta(w[1]))}q=t}c||(Qa(q)&64?Lb(q,32):32&b&&fba(q));f=new zb(q,e,f,h);Eb(a,b,d,f,!1);a=f}if(null==a)return a;!l&&e&&(a.callToMutableOnAccess=!0);return a},Mb=function(a,b,c){a=a.internalArray_;var d=Cb(a);return Pca(a,d,Fb(a,d,b),b,void 0,vb,c)},Ob=function(a,b,c,d){a=a.internalArray_;var e=Cb(a);return Pca(a,e,Fb(a,e,b),b,c,d)},Pb=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);cb(f);if(null==c)return Eb(e,f,b),a;var h=Qa(c),l=h,q=!!(2&h)||Object.isFrozen(c),t=!q&&!1;if(Ica(a,h))for(h=21,q&&
(c=Oa(c),l=0,h=Gb(h,f),h=Jb(h,f,!0)),q=0;q<c.length;q++)c[q]=d(c[q]);t&&(c=Oa(c),l=0,h=Gb(h,f),h=Jb(h,f,!0));h!==l&&Ua(c,h);Eb(e,f,b,c);return a},Qb=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);cb(f);Eb(e,f,b,("0"===d?0===Number(c):c===d)?void 0:c);return a},Tb=function(a,b,c,d){var e=a.internalArray_,f=Qa(e);cb(Cb(a.internalArray_));a=Kca(e,f,b,!1);b=Qa(a);b=!!(4&b)&&!!(4096&b);if(Array.isArray(d))for(e=0;e<d.length;e++)a.push(c(d[e],b));else for(d=k(d),e=d.next();!e.done;e=d.next())a.push(c(e.value,
b))},Ub=function(a,b,c,d,e){var f=a.internalArray_,h=Cb(f);cb(h);b=Kca(f,h,b);f=Qa(b);d=c(d,!!(4&f)&&!!(4096&f));void 0!=e?b.splice(e,0,d):b.push(d);return a},Vb=function(a,b,c,d,e,f){cb(Cb(a.internalArray_));b=f(a,b,2,void 0,!0);nba(b,d);f=Qa(b);b[d]=c(e,!!(4&f)&&!!(4096&f));return a},Qca=function(a,b,c){for(var d=0,e=0;e<c.length;e++){var f=c[e];null!=Fb(a,b,f)&&(0!==d&&(b=Eb(a,b,d)),d=f)}return d},Rca=function(a,b,c,d){a=a.internalArray_;var e=Cb(a),f=Fb(a,e,c,d);b=ub(f,b,!1,e);b!==f&&null!=b&&
Eb(a,e,c,b,d);return b},Sca=function(a,b,c,d,e,f,h,l){var q=!!(2&b),t=q?1:e;e=1===t;t=2===t;h=!!h;l&&(l=!q);q=Lca(a,b,d,f);var w=Qa(q),B=!!(4&w);if(!B){w=Mca(w,b);var D=q,J=b,H;(H=!!(2&w))&&(J=Pa(J,2,!0));for(var O=!H,P=!0,U=0,aa=0;U<D.length;U++){var pa=ub(D[U],c,!1,J);if(pa instanceof c){if(!H){var ka=Sa(pa.internalArray_);O&&(O=!ka);P&&(P=ka)}D[aa++]=pa}}aa<U&&(D.length=aa);w=Pa(w,4,!0);w=Pa(w,16,P);w=Pa(w,8,O);Ua(D,w);H&&Object.freeze(D)}c=!!(8&w)||e&&!q.length;if(l&&!c){Ib(w)&&(q=Oa(q),w=Gb(w,
b),b=Eb(a,b,d,q,f));l=q;c=w;for(D=0;D<l.length;D++)w=l[D],J=Bb(w),w!==J&&(l[D]=J);c=Pa(c,8,!0);c=Pa(c,16,!l.length);Ua(l,c);w=c}Ib(w)||(l=w,e?(c=!!(32&w),c||(q=Oa(q),l=0,b=Eb(a,b,d,q,f)),w=Pa(w,!q.length||16&w&&(!B||c)?2:2048,!0)):w=Jb(w,b,h),w!==l&&Ua(q,w),e&&Object.freeze(q));t&&Ib(w)&&(q=Oa(q),w=Gb(w,b),w=Jb(w,b,h),Ua(q,w),Eb(a,b,d,q,f));return q},Gb=function(a,b){a=Pa(a,2,!!(2&b));a=Pa(a,32,!0);return a=Pa(a,2048,!1)},Jb=function(a,b,c){32&b&&c||(a=Pa(a,32,!1));return a},Tca=function(a,b,c,d,
e,f,h){a=a.internalArray_;var l=Cb(a);cb(l);b=Sca(a,l,c,b,2,f,!0);c=null!=d?d:new c;h&&nba(b,e);void 0!=e?b.splice(e,h,c):b.push(c);Sa(c.internalArray_)?Lb(b,8):Lb(b,16);return c},Uca=function(a){return rb(a,!0)},Wb=function(a,b){return null!=a?a:b},Vca=function(a){return ab(a,!1,!1,!1)},Wca=function(a,b,c){var d=pba(a),e=Cb(c?a.internalArray_:b);a=b.length;if(!a)return b;var f;if($a(c=b[a-1])){a:{var h=c;var l={},q=!1,t;for(t in h){var w=h[t];if(Array.isArray(w)){var B=w;if(bb(w,d,+t)||lba(w)&&0===
w.size)w=null;w!=B&&(q=!0)}null!=w?l[t]=w:q=!0}if(q){for(var D in l){h=l;break a}h=null}}h!=c&&(f=!0);a--}for(t=Va(e);0<a;a--){D=a-1;c=b[D];D-=t;if(!(null==c||bb(c,d,D)||lba(c)&&0===c.size))break;var J=!0}if(!f&&!J)return b;b=Array.prototype.slice.call(b,0,a);h&&b.push(h);return b},Yca=function(a){return Array.isArray(a)?a[0]instanceof Xb?a:[Xca,a]:[a,void 0]},gda=function(a){var b=a[Zca];if(!b){var c=$ca(a),d=ada(a),e=d.deserializeBinaryMessageSet;b=e?function(f,h){return e(f,h,d)}:function(f,h){for(;bda(h)&&
4!=h.nextWireType_;){var l=h.nextField_,q=d[l];if(!q){var t=d.extensions;t&&(t=t[l])&&(q=d[l]=cda(t))}q&&q(h,f,l)||(q=h,l=q.fieldCursor_,dda(q),q.discardUnknownFields?q=void 0:(t=q.decoder_.getCursor()-l,q.decoder_.cursor_=l,q=q.decoder_.readByteString(t)),l=f,q&&(fb||(fb=Symbol()),(t=l[fb])?t.push(q):l[fb]=[q]))}c===eda||c===fda||c.onlySubmessages||(f[gb()]=c)};a[Zca]=b}return b},cda=function(a){a=Yca(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=gda(a),d=ada(a).messageMetadata;return function(e,
f,h){return b(e,f,h,d,c)}}return b},hda=function(a,b,c){var d=c[1];if(d){var e=d[Yb];var f=e?e.messageMetadata:$ba(d[0]);a[b]=null!=e?e:d}f&&f===Yba?(a.mapFields||(a.mapFields=new Set)).add(b):c[0]&&(a.repeatedFields||(a.repeatedFields=new Set)).add(b)},ida=function(a,b){return[a.$$isRepeated,!b||0<b[0]?void 0:b]},$ca=function(a){var b=a[Yb];if(b)return b;b=jda(a,a[Yb]=new kda,ida,ida,hda);if(!b.extensions&&!b.repeatedFields&&!b.mapFields){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?($ba(a[0])===Yba?
fda?b=fda:(b=new kda,b.messageMetadata=$ba(!0),b=fda=b):b=eda||(eda=new kda),b=a[Yb]=b):b.onlySubmessages=!0}return b},lda=function(a,b,c){a[b]=c},mda=function(a){return Array.isArray(a)&&"number"===typeof a[0]&&0<a[0]},jda=function(a,b,c,d,e){e=void 0===e?lda:e;b.messageMetadata=$ba(a[0]);var f=0,h=a[++f];h&&h.constructor===Object&&(b.extensions=h,h=a[++f],"function"===typeof h&&(b.deserializeBinaryMessageSet=h,b.makeMessageSetExtensionWriterFn=a[++f],h=a[++f]));for(var l={};mda(h);){for(var q=0;q<
h.length;q++)l[h[q]]=h;h=a[++f]}for(q=1;void 0!==h;){"number"===typeof h&&(q+=h,h=a[++f]);var t=void 0;if(h instanceof Xb)var w=h;else w=nda,f--;if(w.$$isMsg){h=a[++f];t=a;var B=f;"function"==typeof h&&(h=h(),t[B]=h);t=h}h=a[++f];B=q+1;"number"===typeof h&&0>h&&(B-=h,h=a[++f]);for(;q<B;q++){var D=l[q];e(b,q,t?d(w,t,D):c(w,D))}}return b},qda=function(a){var b=a[oda];if(!b){var c=Zb(a);b=function(d,e){return pda(d,e,c)};a[oda]=b}return b},rda=function(a){return a.$$binaryWriterFn},sda=function(a,b){var c,
d,e=a.$$binaryWriterFn;return function(f,h,l){return e(f,h,l,d||(d=Zb(b).messageMetadata),c||(c=qda(b)))}},Zb=function(a){var b=a[tda];if(b)return b;b=jda(a,a[tda]={},rda,sda);uda(a);return b},vda=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,f){return c(d,e,f,b)}:c},wda=function(a,b,c){var d=a.$$binaryReaderFn,e,f;return function(h,l,q){return d(h,l,q,f||(f=ada(b).messageMetadata),e||(e=gda(b)),c)}},ada=function(a){var b=a[xda];if(b)return b;$ca(a);b=jda(a,a[xda]={},vda,wda);uda(a);
return b},uda=function(a){xda in a&&Yb in a&&tda in a&&(a.length=0)},yda=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=Yca(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=qda(c),f=Zb(c).messageMetadata;c=(c=a.makeMessageSetExtensionWriterFn)?c(f,e):function(h,l,q){return d(h,l,q,f,e)}}else c=d;return a[b]=c}},pda=function(a,b,c){for(var d=Cb(a),e=Va(d),f=a.length,h=f+(d&256?-1:0),l=d&512?1:0;l<h;l++){var q=a[l];if(null!=q){var t=l-e,w=yda(c,t);w&&w(b,q,t)}}if(d&256){d=a[f-
1];for(var B in d)e=+B,Number.isNaN(e)||(f=d[B],null!=f&&(h=yda(c,e))&&h(b,f,e))}if(a=fb?a[fb]:void 0)for($b(b,b.encoder_.end()),c=0;c<a.length;c++)$b(b,Ja(a[c])||Uaa())},ac=function(a,b){return new Xb(a,b,!1,!1)},bc=function(a,b,c){Eb(a,Cb(a),b,c)},zda=function(a,b,c,d,e){b=b instanceof n?b.internalArray_:Array.isArray(b)?m(b,d[0],d[1]):void 0;if(null!=b){dc(a,c,2);c=a.encoder_.end();$b(a,c);c.push(a.totalLength_);e(b,a);e=c.pop();for(e=a.totalLength_+a.encoder_.length()-e;127<e;)c.push(e&127|128),
e>>>=7,a.totalLength_++;c.push(e);a.totalLength_++}},Ada=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},fc=function(a,b,c){if(ec(a,1).split("/").pop()!=c)a=null;else{var d="function"===typeof b?b:b.constructor;a=a.internalArray_;b=Cb(a);c=Fb(a,b,2);if(null!=c&&!(Array.isArray(c)||"object"===typeof c&&Za(c)))throw Error("W`"+jb(c));var e=ub(c,d,!0,b);if(!(e instanceof d))throw Error("X`"+e.constructor.displayName+"`"+d.displayName);d=b&2;var f=Sa(e.internalArray_);
f&&!d?e=Bb(e):!f&&d&&(d=e.internalArray_,f=Cb(d),e=f&2?e:wb(e.constructor,Db(d,f,!0)));c!==e&&Eb(a,b,2,e);a=e}return a},Dda=function(a,b){return function(c,d){a:{if(Bda.length){var e=Bda.pop();e.setOptions(d);e.decoder_.init(c,void 0,void 0,d);c=e}else c=new Cda(c,d);try{var f=new a,h=f.internalArray_;gda(b)(h,c);var l=f;break a}finally{c.free()}l=void 0}return l}},Eda=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("S`"+jb(b)+"`"+b);Ta(b);return new a(b)}},gc=function(a){return function(b){return Fda(a,
b)}},hc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},ic=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Gda=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Hda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Ida=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Jda=function(a,b){return null!==a&&b in a},Kda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Lda=function(a,b){return(b=
Kda(a,b))&&a[b]},jc=function(a){for(var b in a)return!1;return!0},Mda=function(a){for(var b in a)delete a[b]},kc=function(a,b){b in a&&delete a[b]},Nda=function(a,b){return null!==a&&b in a?a[b]:void 0},lc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Pda=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<Oda.length;f++)c=Oda[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Qda=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Qda.apply(null,
arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},Rda=function(a){return-1===a.toString().indexOf("`")},nc=function(a){return new Sda(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},qc=function(a){var b=void 0===b?Tda:b;a:if(b=void 0===b?Tda:b,!(a instanceof oc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof Sda&&d.isValid(a)){a=new oc(a,Uda);break a}}a=void 0}return a||Vda},Xda=function(a){if(Wda.test(a))return a},sc=function(a){return a instanceof oc?
rc(a):Xda(a)},uc=function(a){return a instanceof tc},Yda=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("$");},vc=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Zda=function(a,b){a.src=wc(b).toString()},$da=function(a,b,c){b=sc(b);void 0!==b&&a.open(b,c,void 0)},aea=function(a){var b,c;return(a=null==(c=(b=a.document).querySelector)?void 0:c.call(b,"script[nonce]"))?a.nonce||a.getAttribute("nonce")||"":""},xc=function(a,b){a.src=wc(b);(b=aea(a.ownerDocument&&
a.ownerDocument.defaultView||window))&&a.setAttribute("nonce",b)},bea=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(l,q,t){q&&q.prototype&&e.forEach(function(w){var B=c+"."+d+"::"+w,D=q.prototype;try{if(D.hasOwnProperty(w)){var J=a.ObjectGetOwnPropertyDescriptor(D,w);J&&J.value?(J.value=a.wrapWithCurrentZone(J.value,B),a._redefineProperty(q.prototype,w,J)):D[w]&&(D[w]=a.wrapWithCurrentZone(D[w],B))}else D[w]&&(D[w]=a.wrapWithCurrentZone(D[w],B))}catch(H){}});
return h.call(b,l,q,t)};a.attachOriginToPatched(b[d],h)}},zc=function(a){return(yc.__Zone_symbol_prefix||"__zone_symbol__")+a},cea=function(){function a(ea){h&&h.mark&&h.mark(ea)}function b(ea,na){h&&h.measure&&h.measure(ea,na)}function c(ea){P||yc[D]&&(P=yc[D].resolve(0));if(P){var na=P[J];na||(na=P.then);na.call(P,ea)}else yc[B](ea,0)}function d(ea){0===Ya&&0===H.length&&c(e);ea&&H.push(ea)}function e(){if(!O){for(O=!0;H.length;){var ea=H;H=[];for(var na=0;na<ea.length;na++){var Da=ea[na];try{Da.zone.runTask(Da,
null,null)}catch(Ia){pa.onUnhandledError(Ia)}}}pa.microtaskDrainDone();O=!1}}function f(){}var h=yc.performance;a("Zone");var l=function(ea,na){this._parent=ea;this._name=na?na.name||"unnamed":"<root>";this._properties=na&&na.properties||{};this._zoneDelegate=new t(this,this._parent&&this._parent._zoneDelegate,na)};l.assertZonePatched=function(){if(yc.Promise!==aa.ZoneAwarePromise)throw Error("ba");};l.__load_patch=function(ea,na,Da){Da=void 0===Da?!1:Da;if(aa.hasOwnProperty(ea)){if(na=!0===yc[zc("forceDuplicateZoneCheck")],
!Da&&na)throw Error("ca`"+ea);}else yc["__Zone_disable_"+ea]||(Da="Zone:"+ea,a(Da),aa[ea]=na(yc,l,pa),b(Da,Da))};l.prototype.get=function(ea){var na=this.getZoneWith(ea);if(na)return na._properties[ea]};l.prototype.getZoneWith=function(ea){for(var na=this;na;){if(na._properties.hasOwnProperty(ea))return na;na=na._parent}return null};l.prototype.fork=function(ea){if(!ea)throw Error("da");return this._zoneDelegate.fork(this,ea)};l.prototype.wrap=function(ea,na){if("function"!==typeof ea)throw Error("ea`"+
ea);var Da=this._zoneDelegate.intercept(this,ea,na),Ia=this;return function(){return Ia.runGuarded(Da,this,arguments,na)}};l.prototype.run=function(ea,na,Da,Ia){ka={parent:ka,zone:this};try{return this._zoneDelegate.invoke(this,ea,na,Da,Ia)}finally{ka=ka.parent}};l.prototype.runGuarded=function(ea,na,Da,Ia){ka={parent:ka,zone:this};try{try{return this._zoneDelegate.invoke(this,ea,void 0===na?null:na,Da,Ia)}catch(Xa){if(this._zoneDelegate.handleError(this,Xa))throw Xa;}}finally{ka=ka.parent}};l.prototype.runTask=
function(ea,na,Da){if(ea.zone!=this)throw Error("fa`"+(ea.zone||U).name+"`"+this.name);if("notScheduled"!==ea.state||"eventTask"!==ea.type&&"macroTask"!==ea.type){var Ia="running"!=ea.state;Ia&&ea._transitionTo("running","scheduled");ea.runCount++;var Xa=Aa;Aa=ea;ka={parent:ka,zone:this};try{"macroTask"==ea.type&&ea.data&&!ea.data.isPeriodic&&(ea.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ea,na,Da)}catch(yb){if(this._zoneDelegate.handleError(this,yb))throw yb;}}finally{"notScheduled"!==
ea.state&&"unknown"!==ea.state&&("eventTask"==ea.type||ea.data&&ea.data.isPeriodic?Ia&&ea._transitionTo("scheduled","running"):(ea.runCount=0,this._updateTaskCount(ea,-1),Ia&&ea._transitionTo("notScheduled","running","notScheduled"))),ka=ka.parent,Aa=Xa}}};l.prototype.scheduleTask=function(ea){if(ea.zone&&ea.zone!==this)for(var na=this;na;){if(na===ea.zone)throw Error("ga`"+this.name+"`"+ea.zone.name);na=na.parent}ea._transitionTo("scheduling","notScheduled");na=[];ea._zoneDelegates=na;ea._zone=this;
try{ea=this._zoneDelegate.scheduleTask(this,ea)}catch(Da){throw ea._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Da),Da;}ea._zoneDelegates===na&&this._updateTaskCount(ea,1);"scheduling"==ea.state&&ea._transitionTo("scheduled","scheduling");return ea};l.prototype.scheduleMicroTask=function(ea,na,Da,Ia){return this.scheduleTask(new w("microTask",ea,na,Da,Ia,void 0))};l.prototype.scheduleMacroTask=function(ea,na,Da,Ia,Xa){return this.scheduleTask(new w("macroTask",
ea,na,Da,Ia,Xa))};l.prototype.scheduleEventTask=function(ea,na,Da,Ia,Xa){return this.scheduleTask(new w("eventTask",ea,na,Da,Ia,Xa))};l.prototype.cancelTask=function(ea){if(ea.zone!=this)throw Error("ha`"+(ea.zone||U).name+"`"+this.name);if("scheduled"===ea.state||"running"===ea.state){ea._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ea)}catch(na){throw ea._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,na),na;}this._updateTaskCount(ea,
-1);ea._transitionTo("notScheduled","canceling");ea.runCount=0;return ea}};l.prototype._updateTaskCount=function(ea,na){var Da=ea._zoneDelegates;-1==na&&(ea._zoneDelegates=null);for(var Ia=0;Ia<Da.length;Ia++)Da[Ia]._updateTaskCount(ea.type,na)};Ac.Object.defineProperties(l.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});Ac.Object.defineProperties(l,{root:{configurable:!0,enumerable:!0,get:function(){for(var ea=
l.current;ea.parent;)ea=ea.parent;return ea}},current:{configurable:!0,enumerable:!0,get:function(){return ka.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return Aa}}});l.__symbol__=zc;var q={name:"",onHasTask:function(ea,na,Da,Ia){return ea.hasTask(Da,Ia)},onScheduleTask:function(ea,na,Da,Ia){return ea.scheduleTask(Da,Ia)},onInvokeTask:function(ea,na,Da,Ia,Xa,yb){return ea.invokeTask(Da,Ia,Xa,yb)},onCancelTask:function(ea,na,Da,Ia){return ea.cancelTask(Da,Ia)}},t=function(ea,
na,Da){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this._zone=ea;this._parentDelegate=na;this._forkZS=Da&&(Da&&Da.onFork?Da:na._forkZS);this._forkDlgt=Da&&(Da.onFork?na:na._forkDlgt);this._forkCurrZone=Da&&(Da.onFork?this._zone:na._forkCurrZone);this._interceptZS=Da&&(Da.onIntercept?Da:na._interceptZS);this._interceptDlgt=Da&&(Da.onIntercept?na:na._interceptDlgt);this._interceptCurrZone=Da&&(Da.onIntercept?this._zone:na._interceptCurrZone);this._invokeZS=Da&&(Da.onInvoke?Da:na._invokeZS);
this._invokeDlgt=Da&&(Da.onInvoke?na:na._invokeDlgt);this._invokeCurrZone=Da&&(Da.onInvoke?this._zone:na._invokeCurrZone);this._handleErrorZS=Da&&(Da.onHandleError?Da:na._handleErrorZS);this._handleErrorDlgt=Da&&(Da.onHandleError?na:na._handleErrorDlgt);this._handleErrorCurrZone=Da&&(Da.onHandleError?this._zone:na._handleErrorCurrZone);this._scheduleTaskZS=Da&&(Da.onScheduleTask?Da:na._scheduleTaskZS);this._scheduleTaskDlgt=Da&&(Da.onScheduleTask?na:na._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Da&&(Da.onScheduleTask?this._zone:na._scheduleTaskCurrZone);this._invokeTaskZS=Da&&(Da.onInvokeTask?Da:na._invokeTaskZS);this._invokeTaskDlgt=Da&&(Da.onInvokeTask?na:na._invokeTaskDlgt);this._invokeTaskCurrZone=Da&&(Da.onInvokeTask?this._zone:na._invokeTaskCurrZone);this._cancelTaskZS=Da&&(Da.onCancelTask?Da:na._cancelTaskZS);this._cancelTaskDlgt=Da&&(Da.onCancelTask?na:na._cancelTaskDlgt);this._cancelTaskCurrZone=Da&&(Da.onCancelTask?this._zone:na._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;ea=Da&&Da.onHasTask;var Ia=na&&na._hasTaskZS;if(ea||Ia)this._hasTaskZS=ea?Da:q,this._hasTaskDlgt=na,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,Da.onScheduleTask||(this._scheduleTaskZS=q,this._scheduleTaskDlgt=na,this._scheduleTaskCurrZone=this._zone),Da.onInvokeTask||(this._invokeTaskZS=q,this._invokeTaskDlgt=na,this._invokeTaskCurrZone=this._zone),Da.onCancelTask||(this._cancelTaskZS=q,this._cancelTaskDlgt=na,this._cancelTaskCurrZone=this._zone)};
t.prototype.fork=function(ea,na){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ea,na):new l(ea,na)};t.prototype.intercept=function(ea,na,Da){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ea,na,Da):na};t.prototype.invoke=function(ea,na,Da,Ia,Xa){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ea,na,Da,Ia,Xa):na.apply(Da,Ia)};t.prototype.handleError=function(ea,na){return this._handleErrorZS?
this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ea,na):!0};t.prototype.scheduleTask=function(ea,na){var Da=na;if(this._scheduleTaskZS)this._hasTaskZS&&Da._zoneDelegates.push(this._hasTaskDlgtOwner),(Da=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ea,na))||(Da=na);else if(na.scheduleFn)na.scheduleFn(na);else if("microTask"==na.type)d(na);else throw Error("ia");return Da};t.prototype.invokeTask=function(ea,na,Da,Ia){return this._invokeTaskZS?
this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ea,na,Da,Ia):na.callback.apply(Da,Ia)};t.prototype.cancelTask=function(ea,na){if(this._cancelTaskZS)ea=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ea,na);else{if(!na.cancelFn)throw Error("ja");ea=na.cancelFn(na)}return ea};t.prototype.hasTask=function(ea,na){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ea,na)}catch(Da){this.handleError(ea,Da)}};
t.prototype._updateTaskCount=function(ea,na){var Da=this._taskCounts,Ia=Da[ea];na=Da[ea]=Ia+na;if(0>na)throw Error("ka");0!=Ia&&0!=na||this.hasTask(this._zone,{microTask:0<Da.microTask,macroTask:0<Da.macroTask,eventTask:0<Da.eventTask,change:ea})};Ac.Object.defineProperties(t.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}}});var w=function(ea,na,Da,Ia,Xa,yb){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ea;this.source=
na;this.data=Ia;this.scheduleFn=Xa;this.cancelFn=yb;if(!Da)throw Error("la");this.callback=Da;var Rb=this;this.invoke="eventTask"===ea&&Ia&&Ia.useG?w.invokeTask:function(){return w.invokeTask.call(yc,Rb,this,arguments)}};w.invokeTask=function(ea,na,Da){ea||(ea=this);Ya++;try{return ea.runCount++,ea.zone.runTask(ea,na,Da)}finally{1==Ya&&e(),Ya--}};w.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};w.prototype._transitionTo=function(ea,na,Da){if(this._state===
na||this._state===Da)this._state=ea,"notScheduled"==ea&&(this._zoneDelegates=null);else throw Error("ma`"+this.type+"`"+this.source+"`"+ea+"`"+na+"`"+(Da?" or '"+Da+"'":"")+"`"+this._state);};w.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)};w.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};Ac.Object.defineProperties(w.prototype,
{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var B=zc("setTimeout"),D=zc("Promise"),J=zc("then"),H=[],O=!1,P,U={name:"NO ZONE"},aa={},pa={symbol:zc,currentZoneFrame:function(){return ka},onUnhandledError:f,microtaskDrainDone:f,scheduleMicroTask:d,showUncaughtError:function(){return!l[zc("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},ka={parent:null,zone:new l(null,null)},Aa=null,Ya=0;b("Zone","Zone");return l},dea=function(a,b){return Zone.current.wrap(a,b)},eea=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=dea(a[c],b+"_"+c));return a},gea=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$153:void 0},e++){d.name$jscomp$153=b[e];var f=
a[d.name$jscomp$153];if(f){var h=Cc(a,d.name$jscomp$153);fea(h)&&(a[d.name$jscomp$153]=function(l){return function(q){var t=function(){return q.apply(this,eea(arguments,c+"."+l.name$jscomp$153))};Dc(t,q);return t}}(d)(f))}}},fea=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},kea=function(a,b,c){var d=Cc(a,b);!d&&c&&Cc(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=zc("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;
delete d.value;var e=d.get,f=d.set,h=b.slice(2),l=hea[h];l||(l=hea[h]=zc("ON_PROPERTY"+h));d.set=function(q){var t=this;t||a!==Ec||(t=Ec);t&&("function"===typeof t[l]&&t.removeEventListener(h,iea),f&&f.call(t,null),t[l]=q,"function"===typeof q&&t.addEventListener(h,iea,!1))};d.get=function(){var q=this;q||a!==Ec||(q=Ec);if(!q)return null;var t=q[l];return t?t:e&&(t=e.call(this))?(d.set.call(this,t),"function"===typeof q.removeAttribute&&q.removeAttribute(b),t):null};jea(a,b,d);a[c]=!0}},lea=function(a,
b,c){if(b)for(var d=0;d<b.length;d++)kea(a,"on"+b[d],c);else{b=[];for(d in a)"on"==d.slice(0,2)&&b.push(d);for(d=0;d<b.length;d++)kea(a,b[d],c)}},Gc=function(a){var b=Ec[a];if(b){Ec[zc(a)]=b;Ec[a]=function(){var e=eea(arguments,a);switch(e.length){case 0:this[Fc]=new b;break;case 1:this[Fc]=new b(e[0]);break;case 2:this[Fc]=new b(e[0],e[1]);break;case 3:this[Fc]=new b(e[0],e[1],e[2]);break;case 4:this[Fc]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("na");}};Dc(Ec[a],b);var c=new b(function(){}),
d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?Ec[a].prototype[e]=function(){return this[Fc][e].apply(this[Fc],arguments)}:jea(Ec[a].prototype,e,{set:function(f){"function"===typeof f?(this[Fc][e]=dea(f,a+"."+e),Dc(this[Fc][e],f)):this[Fc][e]=f},get:function(){return this[Fc][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(Ec[a][d]=b[d])}},Hc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=mea(d);!d&&a[b]&&(d=a);a=zc(b);var e=null;if(d&&
(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&Cc(d,b);if(fea(f)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};Dc(d[b],e)}}return e},nea=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=Hc(a,b,function(f){return function(h,l){var q=c(h,l);return 0<=q.cbIdx&&"function"===typeof l[q.cbIdx]?Zone.current.scheduleMacroTask(q.name,l[q.cbIdx],q,d,void 0):f.apply(h,l)}})},Dc=function(a,
b){a[zc("OriginalDelegate")]=b},qea=function(){if(oea)return pea;oea=!0;try{var a=Ic.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))pea=!0}catch(b){}return pea},rea=function(a,b,c){if(!c||0===c.length)return b;c=c.filter(function(e){return e.target===a});if(!c||0===c.length)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return-1===d.indexOf(e)})},sea=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&
2<b.length}).map(function(b){return b.substring(2)})},tea=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=Jc+c;b=Jc+b;Kc[a]={};Kc[a]["false"]=c;Kc[a]["true"]=b},Bea=function(a,b,c,d){function e(U,aa,pa){if(aa=aa||a.event){U=U||aa.target||a;var ka=U[Kc[aa.type][pa?"true":"false"]];if(ka){pa=[];if(1===ka.length)(aa=D(ka[0],U,aa))&&pa.push(aa);else{ka=ka.slice();for(var Aa=0;Aa<ka.length&&(!aa||!0!==aa[uea]);Aa++){var Ya=D(ka[Aa],U,aa);Ya&&pa.push(Ya)}}if(1===pa.length)throw pa[0];aa={};
for(U=0;U<pa.length;aa={err$jscomp$23:void 0},U++)aa.err$jscomp$23=pa[U],b.nativeScheduleMicroTask(function(ea){return function(){throw ea.err$jscomp$23;}}(aa))}}}function f(U,aa){function pa(tb,cc){return!Lc&&"object"===typeof tb&&tb?!!tb.capture:Lc&&cc?"boolean"===typeof tb?{capture:tb,passive:!0}:tb?"object"===typeof tb&&!1!==tb.passive?Object.assign({},tb,{passive:!0}):tb:{passive:!0}:tb}if(!U)return!1;var ka=!0;aa&&void 0!==aa.useG&&(ka=aa.useG);var Aa=aa&&aa.vh,Ya=!0;aa&&void 0!==aa.chkDup&&
(Ya=aa.chkDup);var ea=!1;aa&&void 0!==aa.rt&&(ea=aa.rt);for(var na=U;na&&!na.hasOwnProperty(h);)na=mea(na);!na&&U[h]&&(na=U);if(!na||na[w])return!1;var Da=aa&&aa.eventNameToString,Ia={},Xa=na[w]=na[h],yb=na[zc(l)]=na[l];U=na[zc(q)]=na[q];var Rb=na[zc(t)]=na[t],Sb;aa&&aa.prepend&&(Sb=na[zc(aa.prepend)]=na[aa.prepend]);var Wa=function(tb){if(!tb.isRemoved){var cc=Kc[tb.eventName],pc;cc&&(pc=cc[tb.capture?"true":"false"]);if(cc=pc&&tb.target[pc])for(var mc=0;mc<cc.length;mc++)if(cc[mc]===tb){cc.splice(mc,
1);tb.isRemoved=!0;0===cc.length&&(tb.allRemoved=!0,tb.target[pc]=null);break}}if(tb.allRemoved)return yb.call(tb.target,tb.eventName,tb.capture?H:J,tb.options)},Hb=function(tb){return Xa.call(Ia.target,Ia.eventName,tb.invoke,Ia.options)},od=function(tb){return Sb.call(Ia.target,Ia.eventName,tb.invoke,Ia.options)},db=function(tb){return yb.call(tb.target,tb.eventName,tb.invoke,tb.options)};Wa=ka?Wa:db;db=function(tb,cc){var pc=typeof cc;return"function"===pc&&tb.callback===cc||"object"===pc&&tb.originalDelegate===
cc};var Ra=aa&&aa.diff?aa.diff:db,nb=Zone[zc("UNPATCHED_EVENTS")],Nb=a[zc("PASSIVE_EVENTS")];db=function(tb,cc,pc,mc,Bc,Qc){Bc=void 0===Bc?!1:Bc;Qc=void 0===Qc?!1:Qc;return function(){var Xd=this||a,Ld=arguments[0];aa&&aa.transferEventName&&(Ld=aa.transferEventName(Ld));var Qt=arguments[1];if(!Qt||wea&&"uncaughtException"===Ld)return tb.apply(this,arguments);var vS=!1;if("function"!==typeof Qt){if(!Qt.handleEvent)return tb.apply(this,arguments);vS=!0}if(!Aa||Aa(tb,Qt,Xd,arguments)){var wS=Lc&&!!Nb&&
-1!==Nb.indexOf(Ld),Pk=pa(arguments[2],wS),xS=Pk&&"object"===typeof Pk&&Pk.signal&&"object"===typeof Pk.signal?Pk.signal:void 0;if(null==xS||!xS.aborted){if(nb)for(var yS=0;yS<nb.length;yS++)if(Ld===nb[yS])return wS?tb.call(Xd,Ld,Qt,Pk):tb.apply(this,arguments);wS=Pk?"boolean"===typeof Pk?!0:Pk.capture:!1;yS=Pk&&"object"===typeof Pk?Pk.once:!1;var okb=Zone.current,Rt=Kc[Ld];Rt||(tea(Ld,Da),Rt=Kc[Ld]);var nx=Rt[wS?"true":"false"];Rt=Xd[nx];var MI=!1;if(Rt){if(MI=!0,Ya)for(nx=0;nx<Rt.length;nx++)if(Ra(Rt[nx],
Qt))return}else Rt=Xd[nx]=[];var vea;nx=Xd.constructor.name;var cMa=xea[nx];cMa&&(vea=cMa[Ld]);vea||(vea=nx+cc+(Da?Da(Ld):Ld));Ia.options=Pk;yS&&(Ia.options.once=!1);Ia.target=Xd;Ia.capture=wS;Ia.eventName=Ld;Ia.isExisting=MI;if(MI=ka?yea:void 0)MI.taskData=Ia;xS&&(Ia.options.signal=void 0);var St=okb.scheduleEventTask(vea,Qt,MI,pc,mc);xS&&(Ia.options.signal=xS,tb.call(xS,"abort",function(){St.zone.cancelTask(St)},{once:!0}));Ia.target=null;MI&&(MI.taskData=null);yS&&(Pk.once=!0);if(Lc||"boolean"!==
typeof St.options)St.options=Pk;St.target=Xd;St.capture=wS;St.eventName=Ld;vS&&(St.originalDelegate=Qt);Qc?Rt.unshift(St):Rt.push(St);if(Bc)return Xd}}}};na[h]=db(Xa,B,ka?function(){if(!Ia.isExisting)return Xa.call(Ia.target,Ia.eventName,Ia.capture?H:J,Ia.options)}:Hb,Wa,ea);Sb&&(na.prependListener=db(Sb,".prependListener:",od,Wa,ea,!0));na[l]=function(){var tb=this||a,cc=arguments[0];aa&&aa.transferEventName&&(cc=aa.transferEventName(cc));var pc=arguments[2];pc=pc?"boolean"===typeof pc?!0:pc.capture:
!1;var mc=arguments[1];if(!mc)return yb.apply(this,arguments);if(!Aa||Aa(yb,mc,tb,arguments)){var Bc=Kc[cc],Qc;Bc&&(Qc=Bc[pc?"true":"false"]);if(Bc=Qc&&tb[Qc])for(var Xd=0;Xd<Bc.length;Xd++){var Ld=Bc[Xd];if(Ra(Ld,mc)){Bc.splice(Xd,1);Ld.isRemoved=!0;0===Bc.length&&(Ld.allRemoved=!0,tb[Qc]=null,pc||"string"!==typeof cc||(tb[Jc+"ON_PROPERTY"+cc]=null));Ld.zone.cancelTask(Ld);if(ea)return tb;return}}return yb.apply(this,arguments)}};na[q]=function(tb){var cc=this||a,pc=tb;aa&&aa.transferEventName&&
(pc=aa.transferEventName(pc));tb=[];cc=zea(cc,Da?Da(pc):pc);for(pc=0;pc<cc.length;pc++){var mc=cc[pc];tb.push(mc.originalDelegate?mc.originalDelegate:mc.callback)}return tb};na[t]=function(tb){var cc=this||a;if(tb){aa&&aa.transferEventName&&(tb=aa.transferEventName(tb));var pc=Kc[tb];if(pc){var mc=cc[pc["false"]];cc=cc[pc["true"]];if(mc)for(mc=mc.slice(),pc=0;pc<mc.length;pc++){var Bc=mc[pc];this[l].call(this,tb,Bc.originalDelegate?Bc.originalDelegate:Bc.callback,Bc.options)}if(cc)for(cc=cc.slice(),
mc=0;mc<cc.length;mc++)pc=cc[mc],this[l].call(this,tb,pc.originalDelegate?pc.originalDelegate:pc.callback,pc.options)}}else{tb=Object.keys(cc);for(cc=0;cc<tb.length;cc++)(mc=(mc=Aea.exec(tb[cc]))&&mc[1])&&"removeListener"!==mc&&this[t].call(this,mc);this[t].call(this,"removeListener")}if(ea)return this};Dc(na[h],Xa);Dc(na[l],yb);Rb&&Dc(na[t],Rb);U&&Dc(na[q],U);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",t=d&&d.rmAll||"removeAllListeners",
w=zc(h),B="."+h+":",D=function(U,aa,pa){if(!U.isRemoved){var ka=U.callback;"object"===typeof ka&&ka.handleEvent&&(U.callback=function(ea){return ka.handleEvent(ea)},U.originalDelegate=ka);try{U.invoke(U,aa,[pa])}catch(ea){var Aa=ea}var Ya=U.options;Ya&&"object"===typeof Ya&&Ya.once&&aa[l].call(aa,pa.type,U.originalDelegate?U.originalDelegate:U.callback,Ya);return Aa}},J=function(U){return e(this,U,!1)},H=function(U){return e(this,U,!0)},O=[],P=0;P<c.length;P++)O[P]=f(c[P],d);return O},zea=function(a,
b){if(!b){var c=[],d;for(d in a){var e=Aea.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=Kc[b];c||(tea(b),c=Kc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Cea=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[uea]=!0;c&&c.apply(d,e)}})},Jea=function(){Dea=Zone.__symbol__;Eea=Object[Dea("defineProperty")]=Object.defineProperty;Fea=
Object[Dea("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Gea=Object.create;Mc=Dea("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[Mc]&&a[Mc][b])throw new TypeError("oa`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=Hea(a,b,c));return Iea(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=k(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(null==(e=
Object.getOwnPropertyDescriptor(b,d))?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){"object"!==typeof b||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Hea(a,c,b[c])});return Gea(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Fea(a,b);c&&a&&a[Mc]&&a[Mc][b]&&(c.configurable=!1);return c}},Kea=function(a,b,c){var d=c.configurable;c=Hea(a,b,c);return Iea(a,b,c,d)},Hea=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||
(a[Mc]||Object.isFrozen(a)||Eea(a,Mc,{writable:!0,value:{}}),a[Mc]&&(a[Mc][b]=!0));return c},Iea=function(a,b,c,d){try{return Eea(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Eea(a,b,c)}catch(f){d=!1;if("createdCallback"===b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+b+"' with descriptor '"+
d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;}},Lea=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,t="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 w="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=w.map(function(aa){return"HTML"+aa+"Element"}).concat(t):
a.EventTarget?c.push("EventTarget"):c=t;var B=a.__Zone_disable_IE_check||!1,D=a.__Zone_enable_cross_context_check||!1,J=b.isIEOrEdge(),H={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(t=0;t<d.length;t++){var O=d[t],P=q+(O+l),U=q+(O+h);f[O]={};f[O][l]=P;f[O][h]=U}for(f=0;f<w.length;f++)for(h=
w[f],l=e[h]={},q=0;q<d.length;q++)t=d[q],l[t]=h+".addEventListener:"+t;d=[];for(e=0;e<c.length;e++)w=a[c[e]],d.push(w&&w.prototype);b.patchEventTarget(a,b,d,{vh:function(aa,pa,ka,Aa){if(!B&&J)if(D)try{var Ya=pa.toString();if("[object FunctionWrapper]"===Ya||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Ya)return aa.apply(ka,Aa),!1}catch(ea){return aa.apply(ka,Aa),!1}else{if(pa=pa.toString(),"[object FunctionWrapper]"===pa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
pa)return aa.apply(ka,Aa),!1}else if(D)try{pa.toString()}catch(ea){return aa.apply(ka,Aa),!1}return!0},transferEventName:function(aa){return H[aa]||aa}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Mea=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(l,q){var t=1<arguments.length?new f(l,q):new f(l),w=a.ObjectGetOwnPropertyDescriptor(t,"onmessage");if(w&&
!1===w.configurable){var B=a.ObjectCreate(t);var D=t;[d,e,"send","close"].forEach(function(J){B[J]=function(){var H=a.ArraySlice.call(arguments);if(J===d||J===e){var O=0<H.length?H[0]:void 0;O&&(O=Zone.__symbol__("ON_PROPERTY"+O),t[O]=B[O])}return t[J].apply(t,H)}})}else B=t;a.patchOnProperties(B,["close","error","message","open"],D);return B};c=b.WebSocket;for(var h in f)c[h]=f[h]},Nea=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,
"onclick")&&"undefined"!==typeof Element){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,"onreadystatechange"))return a.ObjectDefineProperty(c,
"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Pea=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Oea.length;c={onproperty:void 0},
d++){var e=Oea[d];c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var l;for(l=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],l);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},Qea=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},Nc=function(a,b,c,d){function e(t){var w=
t.data;w.args[0]=function(){return t.invoke.apply(this,arguments)};w.handleId=h.apply(a,w.args);return t}function f(t){return l.call(a,t.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=Hc(a,b,function(t){return function(w,B){if("function"===typeof B[0]){var D={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?B[1]||0:void 0,args:B},J=B[0];B[0]=function(){try{return J.apply(this,arguments)}finally{D.isPeriodic||("number"===typeof D.handleId?delete q[D.handleId]:D.handleId&&(D.handleId[Rea]=
null))}};w=Zone.current.scheduleMacroTask(b,B[0],D,e,f);if(!w)return w;B=w.data.handleId;"number"===typeof B?q[B]=w:B&&(B[Rea]=w);B&&B.ref&&B.unref&&"function"===typeof B.ref&&"function"===typeof B.unref&&(w.ref=B.ref.bind(B),w.unref=B.unref.bind(B));return"number"===typeof B||B?B:w}return t.apply(a,B)}});l=Hc(a,c,function(t){return function(w,B){w=B[0];if("number"===typeof w)var D=q[w];else(D=w&&w[Rea])||(D=w);D&&"string"===typeof D.type?"notScheduled"!==D.state&&(D.cancelFn&&D.data.isPeriodic||
0===D.runCount)&&("number"===typeof w?delete q[w]:w&&(w[Rea]=null),D.zone.cancelTask(D)):t.apply(a,B)}})},Oc=function(a){for(var b in a)if(a[b]===Oc)return b;throw Error("ta");},Pc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Rc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Uea=function(a){var b;(b=a.hasOwnProperty(Sea)?a[Sea]:null)||(b=a.hasOwnProperty(Tea)?a[Tea]:null);return b},Vea=function(a){return(a=a&&(a[Sea]||a[Tea]))?
a:null},Yea=function(a){return a&&(a.hasOwnProperty(Wea)||a.hasOwnProperty(Xea))?a[Wea]:null},Sc=function(a){return"string"===typeof a?a:null==a?"":String(a)},Tc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(Tc).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return""+a.overriddenName;if(a.name)return""+a.name;a=a.toString();if(null==a)return""+a;var b=a.indexOf("\n");return-1===b?a:a.substring(0,b)},Zea=function(a,b){return null==a||""===a?null===b?"":b:
null==b||""===b?a:a+" "+b},$ea=function(){throw new Uc(-201,!1);},afa=function(a,b){return Object.is(a,b)},Vc=function(a){var b=bfa;bfa=a;return b},efa=function(a){if(void 0!==a.liveConsumerNode){var b=cfa;cfa=!0;try{for(var c=k(a.liveConsumerNode),d=c.next();!d.done;d=c.next()){var e=d.value;e.dirty||dfa(e)}}finally{cfa=b}}},dfa=function(a){a.dirty=!0;efa(a);var b;null==(b=a.consumerMarkedDirty)||b.call(a,a)},ffa=function(a){a&&(a.nextProducerIndex=0);return Vc(a)},ifa=function(a,b){Vc(b);if(a&&
void 0!==a.producerNode&&void 0!==a.producerIndexOfThis&&void 0!==a.producerLastReadVersion){if(gfa(a))for(b=a.nextProducerIndex;b<a.producerNode.length;b++)hfa(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},lfa=function(a){jfa(a);for(var b=0;b<a.producerNode.length;b++){var c=a.producerNode[b],d=a.producerLastReadVersion[b];if(d!==c.version)return!0;if(!gfa(c)||c.dirty)if(c.dirty||
c.lastCleanEpoch!==kfa)(c.producerMustRecompute(c)||lfa(c))&&c.producerRecomputeValue(c),c.dirty=!1,c.lastCleanEpoch=kfa;if(d!==c.version)return!0}return!1},mfa=function(a){jfa(a);if(gfa(a))for(var b=0;b<a.producerNode.length;b++)hfa(a.producerNode[b],a.producerIndexOfThis[b]);a.producerNode.length=a.producerLastReadVersion.length=a.producerIndexOfThis.length=0;a.liveConsumerNode&&(a.liveConsumerNode.length=a.liveConsumerIndexOfThis.length=0)},hfa=function(a,b){null!=a.liveConsumerNode||(a.liveConsumerNode=
[]);null!=a.liveConsumerIndexOfThis||(a.liveConsumerIndexOfThis=[]);jfa(a);if(1===a.liveConsumerNode.length)for(var c=0;c<a.producerNode.length;c++)hfa(a.producerNode[c],a.producerIndexOfThis[c]);c=a.liveConsumerNode.length-1;a.liveConsumerNode[b]=a.liveConsumerNode[c];a.liveConsumerIndexOfThis[b]=a.liveConsumerIndexOfThis[c];a.liveConsumerNode.length--;a.liveConsumerIndexOfThis.length--;b<a.liveConsumerNode.length&&(c=a.liveConsumerIndexOfThis[b],a=a.liveConsumerNode[b],jfa(a),a.producerIndexOfThis[c]=
b)},gfa=function(a){var b,c;return a.consumerIsAlwaysLive||0<(null!=(c=null==a?void 0:null==(b=a.liveConsumerNode)?void 0:b.length)?c:0)},jfa=function(a){null!=a.producerNode||(a.producerNode=[]);null!=a.producerIndexOfThis||(a.producerIndexOfThis=[]);null!=a.producerLastReadVersion||(a.producerLastReadVersion=[])},qfa=function(a,b,c){var d=Object.create(nfa);c&&(d.consumerAllowSignalWrites=!0);d.fn=a;d.schedule=b;var e=function(f){d.cleanupFn=f};a={};d.ref=(a.notify=function(){return dfa(d)},a.run=
function(){if(null!==d.fn){if(cfa)throw Error("za");d.dirty=!1;if(!d.hasRun||lfa(d)){d.hasRun=!0;var f=ffa(d);try{d.cleanupFn(),d.cleanupFn=ofa,d.fn(e)}finally{ifa(d,f)}}}},a.cleanup=function(){return d.cleanupFn()},a.destroy=function(){if(null!==d.fn||null!==d.schedule)mfa(d),d.cleanupFn(),d.fn=null,d.schedule=null,d.cleanupFn=ofa},a[pfa]=d,a);return d.ref},Xc=function(a){var b=Wc;Wc=a;return b},rfa=function(a,b,c){if((a=Uea(a))&&"root"==a.providedIn)return void 0===a.value?a.value=a.factory():a.value;
if(c&8)return null;if(void 0!==b)return b;$ea()},Yc=function(a){a.__forward_ref__=Yc;a.toString=function(){return Tc(this())};return a},Zc=function(a){return sfa(a)?a():a},sfa=function(a){return"function"===typeof a&&a.hasOwnProperty(tfa)&&a.__forward_ref__===Yc},ad=function(a){var b=$c;$c=a;return b},ufa=function(a,b){b=void 0===b?0:b;if(void 0===$c)throw new Uc(-203,!1);return null===$c?rfa(a,void 0,b):$c.get(a,b&8?null:void 0,b)},p=function(a,b){b=void 0===b?0:b;return(Wc||ufa)(Zc(a),b)},bd=function(a,
b){return p(a,vfa(void 0===b?0:b))},vfa=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},wfa=function(a){for(var b=[],c=0;c<a.length;c++){var d=Zc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new Uc(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=l.token:f|=q:e=l}b.push(p(e,f))}else b.push(p(d))}return b},cd=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=
b;return a},xfa=function(a,b,c){for(var d=0;d<c.length;){var e=c[d];if("number"===typeof e){if(0!==e)break;d++;e=c[d++];var f=c[d++],h=c[d++];a.setAttribute(b,f,h,e)}else f=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,f):a.setAttribute(b,e,f),d++}},dd=function(a,b){if(null!==b&&0!==b.length)if(null===a||0===a.length)a=b.slice();else for(var c=-1,d=0;d<b.length;d++){var e=b[d];"number"===typeof e?c=e:0!==c&&(-1===c||2===c?yfa(a,c,e,b[++d]):yfa(a,c,e,null))}return a},yfa=function(a,b,c,d){var e=0,
f=a.length;if(-1===b)f=-1;else for(;e<a.length;){var h=a[e++];if("number"===typeof h)if(h===b){f=-1;break}else if(h>b){f=e-1;break}}for(;e<a.length;){h=a[e];if("number"===typeof h)break;else if(h===c){null!==d&&(a[e+1]=d);return}e++;null!==d&&e++}-1!==f&&(a.splice(f,0,b),e=f+1);a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},zfa=function(a){return 4===a.type&&"ng-template"!==a.value},Afa=function(a,b,c){var d=4,e=a.attrs,f;if(null!==e)a:{for(f=0;f<e.length;f++){var h=e[f];if(3===h||4===h||6===h)break a}f=
e.length}else f=0;h=!1;for(var l=0;l<b.length;l++){var q=b[l];if("number"===typeof q){if(!h&&0!==(d&1)&&0!==(q&1))return!1;h&&0===(q&1)||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,""!==q&&q!==(4!==a.type||c?a.value:"ng-template")||""===q&&1===b.length){if(0===(d&1))return!1;h=!0}}else if(d&8){var t;if(!(t=null===e)){a:{t=void 0;var w=a,B=0;if(c)for(;B<e.length&&"string"===typeof e[B];B+=2){if(w="class"===e[B]){b:{w=e[B+1].toLowerCase();for(var D=0,J=w.length;;){D=w.indexOf(q,D);if(-1===D){w=D;break b}if(0===
D||32>=w.charCodeAt(D-1)){var H=q.length;if(D+H===J||32>=w.charCodeAt(D+H)){w=D;break b}}D+=1}}w=-1!==w}if(w){q=!0;break a}}else if(zfa(w)){q=!1;break a}B=e.indexOf(1,B);if(-1<B)for(;++B<e.length&&"string"===typeof(t=e[B]);)if(t.toLowerCase()===q){q=!0;break a}q=!1}t=!q}if(t){if(0===(d&1))return!1;h=!0}}else{t=b[++l];a:if(null===e)q=-1;else if(B=0,c||!zfa(a)){for(w=!1;B<e.length;){J=e[B];if(J===q){q=B;break a}if(3===J||6===J)w=!0;else if(1===J||2===J){for(J=e[++B];"string"===typeof J;)J=e[++B];continue}else if(4===
J)break;else if(0===J){B+=4;continue}B+=w?1:2}q=-1}else b:{B=e.indexOf(4);if(-1<B)for(B++;B<e.length;){w=e[B];if("number"===typeof w)break;if(w===q){q=B;break b}B++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==t&&(q=q>f?"":e[q+1].toLowerCase(),d&2&&t!==q)){if(0===(d&1))return!1;h=!0}}}return 0===(d&1)||h},Bfa=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(Afa(a,b[d],c))return!0;return!1},Cfa=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if("string"===
typeof h)if(d&2){var l=a[++c];e+="["+h+(0<l.length?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=f?":not("+e.trim()+")":e,e=""),d=h,f=f||0!==(d&1);c++}""!==e&&(b+=f?":not("+e.trim()+")":e);return b},ed=function(a){return{toString:a}.toString()},r=function(a){return ed(function(){var b=Dfa(a),c;b=Object.assign({},b,{decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush:0===a.changeDetection,directiveDefs:null,
pipeDefs:null,dependencies:b.standalone&&a.dependencies||null,getStandaloneInjector:null,signals:null!=(c=a.signals)?c:!1,data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||fd,_:null,schemas:a.schemas||null,tView:null,id:""});Efa(b);c=a.dependencies;b.directiveDefs=Ffa(c,!1);b.pipeDefs=Ffa(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),
Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=k(d);for(var e=d.next();!e.done;e=d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},Hfa=function(a){return a[gd]||a[Gfa]||null},Ifa=function(a){return null!==a},hd=function(a){return ed(function(){return{type:a.type,bootstrap:a.bootstrap||fd,declarations:a.declarations||fd,imports:a.imports||fd,exports:a.exports||fd,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||
null}})},Jfa=function(a,b){if(null==a)return id;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],f=0;if(Array.isArray(e)){f=e[0];var h=e[1];var l=void 0;e=null!=(l=e[2])?l:h}else h=e;b?(c[h]=0!==f?[d,f]:d,b[h]=e):c[h]=d}return c},jd=function(a){return ed(function(){var b=Dfa(a);Efa(b);return b})},kd=function(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,standalone:!0===a.standalone,onDestroy:a.type.prototype.ngOnDestroy||null}},Lfa=function(a){return a[Kfa]||null},Dfa=function(a){var b=
{};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:b,inputTransforms:null,inputConfig:a.inputs||id,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||fd,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jfa(a.inputs,b),outputs:Jfa(a.outputs),
debugInfo:null}},Efa=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},Ffa=function(a,b){if(!a)return null;var c=b?Lfa:Hfa;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(Ifa)}},ld=function(a){return a.hasOwnProperty(Mfa)?a[Mfa]:null},Nfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?Nfa(c,b):b(c)})},Ofa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},nd=function(a,b,c){var d=md(a,b);if(0<=d)a[d|1]=c;
else{var e=d=~d,f=a.length;if(f==e)a.push(b,c);else if(1===f)a.push(c,a[0]),a[0]=b;else{f--;for(a.push(a[f-1],a[f]);f>e;)a[f]=a[f-2],f--;a[e]=b;a[e+1]=c}}return d},Pfa=function(a,b){b=md(a,b);if(0<=b)return a[b|1]},md=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)},Rfa=function(){return{"\u0275providers":Qfa(!0,pd.apply(0,arguments)),"\u0275fromNgModule":!0}},Qfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};
Nfa(pd.apply(1,arguments),function(f){Sfa(f,e,[],c)&&(d||(d=[]),d.push(f))});void 0!==d&&Tfa(d,e);return b},Tfa=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;Ufa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},Sfa=function(a,b,c,d){a=Zc(a);if(!a)return!1;var e=null,f=Yea(a),h=!f&&(a[gd]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(f=
Yea(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(f="function"===typeof h.dependencies?h.dependencies():h.dependencies,f=k(f),l=f.next();!l.done;l=f.next())Sfa(l.value,b,c,d)}else if(f){if(null!=f.imports&&!l){d.add(e);var q;Nfa(f.imports,function(w){Sfa(w,b,c,d)&&(q||(q=[]),q.push(w))});void 0!==q&&Tfa(q,b)}l||(h=ld(e)||function(){return new e},b({provide:e,useFactory:h,deps:fd},e),b({provide:Vfa,useValue:e,multi:!0},e),b({provide:Wfa,useValue:function(){return p(e)},
multi:!0},e));f=f.providers;if(null!=f&&!l){var t=a;Ufa(f,function(w){b(w,t)})}}else return!1;return e!==a&&void 0!==a.providers},Ufa=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Ufa(c,b):b(c)},Yfa=function(a){return null!==a&&"object"==typeof a&&Xfa in a},qd=function(a){return"function"===typeof a},aga=function(){void 0===Zfa&&(Zfa=new $fa);return Zfa},cga=function(a){var b=Uea(a);b=null!==b?b.factory:ld(a);if(null!==
b)return b;if(a instanceof rd)throw new Uc(204,!1);if(a instanceof Function)return bga(a);throw new Uc(204,!1);},bga=function(a){if(0<a.length)throw new Uc(204,!1);var b=Vea(a);return null!==b?function(){return b.factory(a)}:function(){return new a}},fga=function(a){if(Yfa(a))return sd(void 0,a.useValue);a=dga(a);return sd(a,ega)},dga=function(a){var b=void 0;if(qd(a))return b=Zc(a),ld(b)||cga(b);if(Yfa(a))b=function(){return Zc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,
u(wfa(a.deps||[])))};else if(a&&a.useExisting)b=function(){return p(Zc(a.useExisting))};else{var c=Zc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(u(wfa(a.deps)))))};else return ld(c)||cga(c)}return b},sd=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},gga=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?gga(c,b):c&&c&&c.\u0275providers?gga(c.\u0275providers,b):b(c)},ud=
function(a,b){a instanceof td&&hga(a);a=ad(a);var c=Xc();try{return b()}finally{ad(a),Xc(c)}},iga=function(){if(void 0===Wc&&null==$c)throw new Uc(-203,!1);},vd=function(a){return Array.isArray(a)&&"object"===typeof a[1]},wd=function(a){return Array.isArray(a)&&!0===a[1]},xd=function(){return jga},jga=function(a){a.type.prototype.ngOnChanges&&(a.setInput=kga);return lga},lga=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===id)a.previous=b;else for(var d in b)c[d]=
b[d];a.current=null;this.ngOnChanges(b)}},kga=function(a,b,c,d,e){d=this.declaredInputs[d];var f;(f=a.__ngSimpleChanges__||null)||(f=a.__ngSimpleChanges__={previous:id,current:null});var h=f;f=h.current||(h.current={});h=h.previous;var l=h[d];f[d]=new mga(l&&l.currentValue,c,h===id);null!==b?b.applyValueToInputSignal(b,c):a[e]=c},yd=function(a){for(;Array.isArray(a);)a=a[0];return a},zd=function(a,b){return yd(b[a.index])},Ad=function(a,b){a=b[a];return vd(a)?a:a[0]},Bd=function(a,b){return null===
b||void 0===b?null:a[b]},Cd=function(a){var b;return!!(a[2]&9216||(null==(b=a[23])?0:b.dirty))},oga=function(a){var b;null==(b=a[10].changeDetectionScheduler)||b.notify(1);a[2]&64&&(a[2]|=1024);Cd(a)&&nga(a)},nga=function(a){var b;null==(b=a[10].changeDetectionScheduler)||b.notify();for(a=Dd(a);null!==a&&!(a[2]&8192);){a[2]|=8192;if(128!==(a[2]&128))break;a=Dd(a)}},pga=function(a,b){if(256===(a[2]&256))throw new Uc(911,!1);null===a[21]&&(a[21]=[]);a[21].push(b)},Dd=function(a){a=a[3];return wd(a)?
a[3]:a},v=function(){return Ed.lView},x=function(a){Ed.contextLView=a;return a[8]},y=function(a){Ed.contextLView=null;return a},Fd=function(){for(var a=Ed.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},Gd=function(a,b){var c=Ed;c.currentTNode=a;c.isParent=b},Hd=function(){var a=Ed,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Id=function(a){var b=Ed,c=b.bindingIndex;b.bindingIndex+=a;return c},qga=function(a){var b=Ed.currentDirectiveIndex;return-1===
b?null:a[b]},sga=function(a,b,c){if(c&4){for(;!(b=b.parent,null!==b||c&1);){b=a[1];b=2===b.type?b.declTNode:1===b.type?a[5]:null;if(null===b)break;a=a[14];if(b.type&10)break}if(null===b)return!1}c=Ed=rga();c.currentTNode=b;c.lView=a;return!0},tga=function(a){var b=rga(),c=a[1];Ed=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},rga=function(){var a=Ed,b=null===a?null:a.child;return null===b?uga(a):b},uga=function(a){var b={currentTNode:null,
isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,child:null,inI18n:!1};null!==a&&(a.child=b);return b},vga=function(){var a=Ed;Ed=a.parent;a.currentTNode=null;a.lView=null;return a},wga=function(){var a=vga();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},Jd=function(){var a=Ed;return a.tView.data[a.selectedIndex]},Kd=function(){Ed.currentNamespace="svg"},xga=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,t=void 0;(null!=(t=(q=a).contentHooks)?t:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,(null!=(q=(e=a).contentHooks)?q:e.contentHooks=
[]).push(c,f),q=e=void 0,(null!=(q=(e=a).contentCheckHooks)?q:e.contentCheckHooks=[]).push(c,f));h&&(e=f=void 0,(null!=(e=(f=a).viewHooks)?e:f.viewHooks=[]).push(-c,h));l&&(f=h=void 0,(null!=(f=(h=a).viewHooks)?f:h.viewHooks=[]).push(c,l),f=h=void 0,(null!=(f=(h=a).viewCheckHooks)?f:h.viewCheckHooks=[]).push(c,l));null!=d&&(h=l=void 0,(null!=(h=(l=a).destroyHooks)?h:l.destroyHooks=[]).push(c,d))}},yga=function(a,b,c,d){(a[2]&3)===c&&Md(a,b,c,d)},zga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+
1)},Md=function(a,b,c,d){for(var e=null!=d?d:-1,f=b.length-1,h=0,l=void 0!==d?a[17]&65535:0;l<f;l++)if("number"===typeof b[l+1]){if(h=b[l],null!=d&&h>=d)break}else{0>b[l]&&(a[17]+=65536);if(h<e||-1==e){var q=0>b[l],t=b[l+1],w=a[q?-b[l]:b[l]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,Aga(w,t)):Aga(w,t);a[17]=(a[17]&4294901760)+l+2}l++}},Aga=function(a,b){var c=Vc(null);try{b.call(a)}finally{Vc(c)}},Bga=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},Dga=function(a){var b=Cga;Cga=a;return b},
Fga=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(Nd)&&(d=c[Nd]);null==d&&(d=c[Nd]=Ega++);c=d&255;b.data[a+(c>>5)]|=1<<c},Jga=function(a,b){var c=Gga(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,Hga(c.data,a),Hga(b,null),Hga(c.blueprint,null));c=Iga(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=Bga(c,b),f=e[1].data,h=0;8>h;h++)b[a+h]=e[d+h]|f[d+h];b[a+8]=c;return a},Hga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},Gga=function(a,
b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},Iga=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=Kga(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},Od=function(a){var b=Fd();if("class"===a)return b.classes;if("style"===a)return b.styles;if(b=b.attrs)for(var c=b.length,d=0;d<c;){var e=b[d];if(3===e||
4===e||6===e)break;if(0===e)d+=2;else if("number"===typeof e)for(d++;d<c&&"string"===typeof b[d];)d++;else{if(e===a)return b[d+1];d+=2}}return null},Lga=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=Xc();try{return a?a.get(b,d,c&8):rfa(b,d,c&8)}finally{Xc(e)}}c&8||void 0!==d?b=d:($ea(),b=void 0);return b},Nga=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&2048&&!(d&2)){a:{var f=d;for(var h=Pd,l=a,q=b;null!==l&&null!==q&&q[2]&2048&&!(q[2]&512);){var t=Mga(l,q,c,
f|2);if(t!==Pd){f=t;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,Pd,f),l!==Pd){f=l;break a}l=Kga(q);q=q[14]}}f=h}if(f!==Pd)return f}a=Mga(a,b,c,d);if(a!==Pd)return a}return Lga(b,c,d,e)},Mga=function(a,b,c,d){var e=Pd;if("string"===typeof c)var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Nd)?c[Nd]:void 0,f="number"===typeof f?0<=f?f&255:Oga:f;if("function"===typeof f){if(!sga(b,a,d))return d&1?d&8||void 0!==e?b=e:($ea(),b=void 0):b=Lga(b,c,d,e),b;try{var h=f(d);if(null!=h||d&8)return h;$ea()}finally{vga()}}else if("number"===
typeof f){h=null;var l=Gga(a,b),q=d&1?b[15][5]:null;if(-1===l||d&4){var t=-1===l?Iga(a,b):b[l+8];-1===t||d&2?l=-1:(h=b[1],l=t&32767,b=Bga(t,b))}for(;-1!==l;){a=b[1];if(a.data[l+(f>>5)]&1<<f){t=b[1];var w=t.data[l+8],B=Pga(w,t,c,null==h?-1<w.componentOffset&&Cga:h!=t&&0!==(w.type&3),d&1&&q===w);t=null!==B?Qd(b,t,B,w):Pd;if(t!==Pd)return t}t=b[l+8];-1!==t&&!(d&2||d&1&&b[1].data[l+8]===q)&&b[l+(f>>5)]&1<<f?(h=a,l=t&32767,b=Bga(t,b)):l=-1}}return e},Pga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,
l=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?l+q:a;for(d=d?l:l+q;d<f;d++)if(l=h[d],d<b&&c===l||d>=b&&l.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},Qd=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof Rd){var h=e;if(h.resolving)throw a=f[c],new Uc(-200,"function"===typeof a?a.name||a.toString():"object"===typeof a&&null!=a&&"function"===typeof a.type?a.type.name||a.type.toString():Sc(a));var l=Dga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?
Xc(h.injectImpl):null;sga(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&c>=d.directiveStart){var t=f[c],w=t.type.prototype,B=w.ngOnInit,D=w.ngDoCheck;if(w.ngOnChanges){var J=jga(t),H;(null!=(H=b.preOrderHooks)?H:b.preOrderHooks=[]).push(c,J);var O;(null!=(O=b.preOrderCheckHooks)?O:b.preOrderCheckHooks=[]).push(c,J)}if(B){var P;(null!=(P=b.preOrderHooks)?P:b.preOrderHooks=[]).push(-c,B)}if(D){var U;(null!=(U=b.preOrderHooks)?U:b.preOrderHooks=[]).push(c,D);var aa;(null!=(aa=b.preOrderCheckHooks)?
aa:b.preOrderCheckHooks=[]).push(c,D)}}}finally{null!==q&&Xc(q),Dga(l),h.resolving=!1,vga()}}return e},Oga=function(){return new Sd(Fd(),v())},Td=function(a){return ed(function(){var b=a.prototype.constructor;b=b[Mfa]||Qga(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[Mfa]||Qga(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},Qga=function(a){return sfa(a)?function(){var b=Qga(Zc(a));return b&&b()}:ld(a)},Kga=
function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[5]:null},Rga=function(a){return function(){var b=pd.apply(0,arguments);if(a){b=a.apply(null,u(b));for(var c in b)this[c]=b[c]}}},Ud=function(a){return ed(function(){function b(){function d(h,l,q){for(l=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;l.length<=q;)l.push(null);(l[q]=l[q]||[]).push(f);return h}var e=pd.apply(0,arguments);if(this instanceof b)return c.apply(this,
e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(u(e))));d.annotation=f;return d}var c=Rga(a);return b})},Uga=function(a,b,c,d){a=Sga(a,void 0===b?null:b,void 0===c?null:c,d);Tga(a);return a},Sga=function(a,b,c,d,e){b=void 0===b?null:b;e=void 0===e?new Set:e;c=[(void 0===c?null:c)||fd,Rfa(a)];d=d||("object"===typeof a?void 0:Tc(a));return new td(c,b||aga(),d||null,e)},Wga=function(){if(void 0!==Vga)return Vga;if("undefined"!==typeof document)return document;throw new Uc(210,!1);},
Vd=function(a,b){vd(b)?(a.__ngContext__=b[19],Xga.set(b[19],b)):a.__ngContext__=b},Yga=function(a){for(;null!==a&&!wd(a);)a=a[4];return a},Yd=function(a,b){return new Wd(zd(a,b))},Zga=function(a){return a instanceof Wd?a.nativeElement:a},$ga=function(){return new Zd(v())},$d=function(a){return a.ownerDocument.defaultView},aha=function(a){return a.ownerDocument},ae=function(a){if(!bha.has(a)){bha.add(a);var b,c;null==(b=performance)||null==(c=b.mark)||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},
cha=function(a){setTimeout(function(){throw a;},0)},be=function(a){a=a(function(b){b.name=b.constructor.name;b.stack=Error().stack});a.prototype=Object.create(Error.prototype);return a.prototype.constructor=a},ce=function(a){return"function"===typeof a},dha=function(a){return a instanceof de||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},ee=function(a){return a},eha=function(a){return 0===a.length?ee:1===a.length?a[0]:function(b){return a.reduce(function(c,
d){return d(c)},b)}},fha=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},gha=function(a){a||(a=fe.Promise||Promise);if(!a)throw Error("Ca");return a},hha=function(a){return new ge(function(b){return a.schedule(function(){return b.complete()})})},iha=function(a,b){return new ge(function(c){var d=new de,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},kha=function(a,
b){return b?iha(a,b):new ge(jha(a))},he=function(a){return a&&"function"===typeof a.schedule},lha=function(){var a=pd.apply(0,arguments),b=a[a.length-1];return he(b)?(a.pop(),iha(a,b)):kha(a)},ie=function(a,b){if(mha(a))return a.lift(b);throw new TypeError("Da");},nha=function(a,b,c){if(mha(a))return a.lift.call(b,c);throw new TypeError("Da");},mha=function(a){return a&&"function"===typeof a.lift},oha=function(a){return function(b){if(mha(b))return b.lift(function(c){try{return a(c,this)}catch(d){this.error(d)}});
throw new TypeError("Da");}},ke=function(){return function(a){return ie(a,function(b){var c=this,d=null;b._refCount++;var e=new je(c,void 0,void 0,void 0,function(){if(!b||0>=b._refCount||0<--b._refCount)d=null;else{var h=b._connection,l=d;d=null;!h||l&&h!==l||h.unsubscribe();c.unsubscribe()}}),f=b.subscribe(e);e.closed||(d=b.connect());return f})}},z=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Ea");return ie(b,new pha(a))}},qha=function(a,b,c){if(b)if(he(b))c=b;else return function(){return qha(a,
c).apply(null,u(pd.apply(0,arguments))).pipe(z(function(d){return le(d)?b.apply(null,u(d)):b(d)}))};return function(){var d=pd.apply(0,arguments),e=this,f,h=!1,l=!1,q;return new ge(function(t){if(c){var w=function(O){h=!0;f=1>=O.length?O[0]:O;t.add(c.schedule(function(){t.next(f);t.add(c.schedule(function(){t.complete()}))}))},B=function(O){l=!0;q=O;t.add(c.schedule(function(){t.error(q)}))};return c.schedule(function(){if(h)w(f);else if(l)B(q);else try{a.apply(e,[].concat(u(d),[function(){return w(pd.apply(0,
arguments))}]))}catch(O){B(O)}})}var D=!1,J=!1;if(h)t.next(f),t.complete();else if(l)t.error(q);else{var H=function(){var O=pd.apply(0,arguments);h=!0;f=1>=O.length?O[0]:O;t.next(f);D?t.complete():J=!0};try{a.apply(e,[].concat(u(d),[H]))}catch(O){l=!0,q=O,t.error(O)}D=!0;J&&!l&&t.complete()}})}},rha=function(a,b,c){if(b)if(he(b))c=b;else return function(){return rha(a,c).apply(null,u(pd.apply(0,arguments))).pipe(z(function(d){return le(d)?b.apply(null,u(d)):b(d)}))};return function(){var d=pd.apply(0,
arguments),e=this,f,h=!1,l=!1,q;return new ge(function(t){if(c){var w=function(O){h=!0;f=1>=O.length?O[0]:O;t.add(c.schedule(function(){t.next(f);t.add(c.schedule(function(){t.complete()}))}))},B=function(O){l=!0;q=O;t.add(c.schedule(function(){t.error(q)}))};return c.schedule(function(){if(h)w(f);else if(l)B(q);else try{a.apply(e,[].concat(u(d),[function(){var O=pd.apply(0,arguments),P=O.shift();null!=P?B(P):w(O)}]))}catch(O){B(O)}})}var D=!1,J=!1;if(h)t.next(f),t.complete();else if(l)t.error(q);
else{var H=function(){var O=pd.apply(0,arguments),P=O.shift();null!=P?(l=!0,q=P,t.error(P)):(h=!0,f=1>=O.length?O[0]:O,t.next(f),D?t.complete():J=!0)};try{a.apply(e,[].concat(u(d),[H]))}catch(O){l=!0,q=O,t.error(O)}D=!0;J&&!l&&t.complete()}})}},sha=function(a){return null!==a&&"object"===typeof a},tha=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},vha=function(a){return function(b){uha(a,b).catch(function(c){return b.error(c)})}},uha=function(a,b){var c,d,e,f,
h,l;return me(function(q){switch(q.nextAddress){case 1:ne(q,2,3);var t=a[Symbol.asyncIterator];f=void 0!==t?t.call(a):new wha(k(a));case 5:return oe(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:pe(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return oe(q,e.call(f),9);case 9:pe(q,0,0,1);if(c)throw c.error;qe(q,10,1);break;case 10:qe(q,4);break;case 2:l=re(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),
se(q)}})},te=function(a,b){if(!b.closed)return a instanceof ge?a.subscribe(b):xha(a)(b)},yha=function(a,b){if(!a)throw Error("Ha");return new ge(function(c){var d=new de;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})},Aha=function(a,b){if(!a)throw Error("Ha");return new ge(function(c){var d=new de,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});
d.add(b.schedule(function(){e=a[zha]();d.add(b.schedule(function(){if(!c.closed){try{var f=e.next();var h=f.value;var l=f.done}catch(q){c.error(q);return}l?c.complete():(c.next(h),this.schedule())}}))}));return d})},Bha=function(a,b){return new ge(function(c){var d=new de;d.add(b.schedule(function(){var e=a[ue]();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})},Cha=function(a,b){return new ge(function(c){var d=new de;d.add(b.schedule(function(){return a.then(function(e){d.add(b.schedule(function(){c.next(e);d.add(b.schedule(function(){return c.complete()}))}))},function(e){d.add(b.schedule(function(){return c.error(e)}))})}));return d})},Eha=function(a,b){if(null!=a){if(a&&"function"===typeof a[ue])return Bha(a,b);if(tha(a))return Cha(a,b);if(Dha(a))return iha(a,b);if(a&&"function"===typeof a[zha]||"string"===typeof a)return Aha(a,b);if(Symbol&&
Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return yha(a,b)}throw new TypeError("Ia`"+(null!==a&&typeof a||a));},ve=function(a,b){return b?Eha(a,b):a instanceof ge?a:new ge(xha(a))},we=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(we(function(e,f){return ve(a(e,f)).pipe(z(function(h,l){return b(e,h,f,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return ie(d,new Fha(a,c))}},xe=function(a){a=void 0===a?Infinity:
a;return we(ee,a)},ye=function(){return xe(1)(lha.apply(null,u(pd.apply(0,arguments))))},Gha=function(a){return new ge(function(b){try{var c=a()}catch(d){b.error(d);return}return ve(c).subscribe(b)})},Jha=function(a){return new ge(function(b){var c=a||Hha,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-d});b.closed||(f=Iha(e))};var f=Iha(e);return function(){return f.unsubscribe()}})},Kha=function(a,b){return new ge(function(c){var d=a.length;if(0===d)c.complete();else for(var e=
Array(d),f=0,h=0,l={i$jscomp$295:0};l.i$jscomp$295<d;l={hasValue:void 0,i$jscomp$295:l.i$jscomp$295},l.i$jscomp$295++){var q=ve(a[l.i$jscomp$295]);l.hasValue=!1;c.add(q.subscribe({next:function(t){return function(w){t.hasValue||(t.hasValue=!0,h++);e[t.i$jscomp$295]=w}}(l),error:function(t){return c.error(t)},complete:function(t){return function(){f++;f!==d&&t.hasValue||(h===d&&c.next(b?b.reduce(function(w,B,D){return w[B]=e[D],w},{}):e),c.complete())}}(l)}))}})},Lha=function(a,b,c,d){ce(c)&&(d=c,
c=void 0);return d?Lha(a,b,c).pipe(z(function(e){return le(e)?d.apply(null,u(e)):d(e)})):new ge(function(e){Mha(a,b,function(f){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(f)},e,c)})},Mha=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var f=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),f=function(){return a.off(b,
c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),f=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,l=a.length;h<l;h++)Mha(a[h],b,c,d,e);else throw new TypeError("Ja");d.add(f)},Nha=function(a,b,c){return c?Nha(a,b).pipe(z(function(d){return le(d)?c.apply(null,u(d)):c(d)})):new ge(function(d){var e=function(){var h=pd.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var f=a(e)}catch(h){d.error(h);return}if(ce(b))return function(){return b(e,
f)}})},Oha=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(f){b.error(f);return}else a.needIterate=!0;if(c){try{var d=c(a.state)}catch(f){b.error(f);return}if(!d){b.complete();return}if(b.closed)return}try{var e=a.resultSelector(a.state)}catch(f){b.error(f);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},Pha=function(a){return!le(a)&&0<=a-parseFloat(a)+1},Qha=function(a){var b=a.subscriber,c=a.counter;a=a.period;
b.next(c);this.schedule({subscriber:b,counter:c+1,period:a},a)},ze=function(){},Rha=function(){var a=pd.apply(0,arguments);if(0===a.length)return Ae;var b=k(a),c=b.next().value,d=Be(b);return 1===a.length&&le(c)?Rha.apply(null,u(c)):new ge(function(e){var f=function(){return e.add(Rha.apply(null,u(d)).subscribe(e))};return ve(c).subscribe({next:function(h){e.next(h)},error:f,complete:f})})},Sha=function(a){var b=a.keys,c=a.index,d=a.subscriber,e=a.subscription;a=a.obj;if(!d.closed)if(c<b.length){var f=
b[c];d.next([f,a[f]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},Ce=function(a,b){return function(c){return ie(c,new Tha(a,b))}},Uha=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},Wha=function(){var a=pd.apply(0,arguments);if(1===a.length)if(le(a[0]))a=a[0];else return ve(a[0]);return ie(kha(a),new Vha)},Xha=function(a){var b=a.start,c=a.index,d=a.subscriber;c>=a.count?d.complete():(d.next(b),d.closed||
(a.index=c+1,a.start=b+1,this.schedule(a)))},Yha=function(a){return a instanceof Date&&!isNaN(a)},$ha=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(he(b)?c=b:d=b);he(c)||(c=De);return new ge(function(e){var f=Math.max(0,Yha(a)?+a-c.now():a);return c.schedule(Zha,f,{counter:0,period:d,subscriber:e})})},Zha=function(a){var b=a.period,c=a.subscriber,d=a.counter++;c.next(d);if(!c.closed){if(0>b)return c.complete();this.schedule(a,b)}},Ee=function(a){var b;return function(c){var d=void 0,e=void 0,
f=null,h;b=null!=(h=b)?h:De;if(Yha(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||De;var q;f=null!=(q=a.meta)?q:null}var t;e=null!=(t=e)?t:aia;if(null==l&&null==d)throw new TypeError("La");return ie(c,function(w){var B=this,D=new de,J,H=null,O=null,P=0,U=function(aa){D.add(H=b.schedule(function(){var pa={meta:f,lastValue:O,seen:P};try{var ka=ve(e(pa))}catch(Aa){B.error(Aa);return}J.unsubscribe();D.add(ka.subscribe(B))},aa))};D.add(J=w.subscribe({next:function(aa){var pa;
null==(pa=H)||pa.unsubscribe();H=null;P++;O=aa;null!=d&&0<d&&U(d);B.next(aa)},error:function(aa){return B.error(aa)},complete:function(){return B.complete()}}));w=null!=l?"number"===typeof l?l:+l-b.now():d;U(w);return D})}},aia=function(a){throw new bia(a);},dia=function(a){return a in cia?(delete cia[a],!0):!1},eia=function(a){return function(b){setTimeout(a,void 0,b)}},fia=function(a){var b="function"===typeof Fe.requestAnimationFrame,c=b?Fe.requestAnimationFrame:null,d=Fe.setTimeout;if("undefined"!==
typeof Zone){if(b){var e;c=null!=(e=Fe[Zone.__symbol__("requestAnimationFrame")])?e:c}var f;d=null!=(f=Fe[Zone.__symbol__("setTimeout")])?f:d}var h=!0;d(function(){h&&(h=!1,a())});var l;null==(l=c)||l(function(){h&&(h=!1,a())});return function(){h=!1}},gia=function(){},hia=function(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(function(){return a.onStable.emit(null)})}finally{a.isStable=
!0}}},jia=function(a){a.isCheckStableRunning||a.callbackScheduled||(a.callbackScheduled=!0,a.scheduleCallback.call(Fe,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.callbackScheduled=!1;iia(a);a.isCheckStableRunning=!0;hia(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),iia(a))},lia=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,
d,e,f,h){if(Array.isArray(h)&&1===h.length){var l;c=!0===(null==(l=h[0].data)?void 0:l.__ignore_ng_zone__)}else c=!1;if(c)return b.invokeTask(d,e,f,h);try{return kia(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&jia(a),a._nesting--,hia(a)}},onInvoke:function(b,c,d,e,f,h,l){try{return kia(a),b.invoke(d,e,f,h,l)}finally{a.shouldCoalesceRunChangeDetection&&jia(a),a._nesting--,hia(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,
e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,iia(a),hia(a)):"macroTask"==e.change&&(a.hasPendingMacrotasks=e.macroTask))},onHandleError:function(b,c,d,e){b.handleError(d,e);a.runOutsideAngular(function(){return a.onError.emit(e)});return!1}})},iia=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&!0===a.callbackScheduled?!0:!1},kia=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},
mia=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new Ge:"zone.js"===a?new He(b):a},pia=function(a,b){!b&&iga();var c,d=null!=(c=null==b?void 0:b.injector)?c:bd(Ie);if("browser"!==(null!=d?d:bd(Ie)).get(Je))return nia;ae("NgAfterRender");var e,f,h=null!=(f=(e=d.get(Ke)).handler)?f:e.handler=new Le,l,q=null!=(l=null==b?void 0:b.phase)?l:2;b=function(){h.unregister(w);t()};var t=d.get(Me).onDestroy(b),w=ud(d,function(){return new oia(q,a)});h.register(w);return{destroy:b}},Ne=function(a,b){!b&&
iga();var c,d=null!=(c=null==b?void 0:b.injector)?c:bd(Ie);if("browser"!==(null!=d?d:bd(Ie)).get(Je))return nia;ae("NgAfterNextRender");var e,f,h=null!=(f=(e=d.get(Ke)).handler)?f:e.handler=new Le,l,q=null!=(l=null==b?void 0:b.phase)?l:2,t=function(){h.unregister(B);w()},w=d.get(Me).onDestroy(t),B=ud(d,function(){return new oia(q,function(){t();a()})});h.register(B);return{destroy:t}},ria=function(a){var b=qia?64:1088,c;for(null==(c=a[10].changeDetectionScheduler)||c.notify();a;){a[2]|=b;c=Dd(a);
if(0!==(a[2]&512)&&!c)break;a=c}},A=function(a){sia(Ed.tView,v(),Ed.selectedIndex+(void 0===a?1:a))},sia=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&Md(b,a,3,c)):(a=a.preOrderHooks,null!==a&&yga(b,a,0,c));Ed.selectedIndex=c},C=function(a,b){b=void 0===b?0:b;var c=v();return null===c?p(a,b):Nga(Fd(),c,Zc(a),b)},Oe=function(){throw Error("Ma");},tia=function(a,b,c,d,e,f){var h=Vc(null);try{var l=null;0!==(e&1)&&(l=b[d][pfa]);null!==l&&void 0!==l.transformFn&&(f=l.transformFn(f));
0!==(e&2)&&(f=a.inputTransforms[d].call(b,f));null!==a.setInput?a.setInput(b,l,f,c,d):(a=l,null!==a?a.applyValueToInputSignal(a,f):b[d]=f)}finally{Vc(h)}},wia=function(){return"".replace(uia,function(a){return a.replace(via,"\u200b$1\u200b")})},Pe=function(a,b,c,d,e){if(null!=d){var f=!1;if(wd(d))var h=d;else vd(d)&&(f=!0,d=d[0]);d=yd(d);if(0===a&&null!==c)null==e?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0);else if(1===a&&null!==c)b.insertBefore(c,d,e||null,!0);else if(2===a){var l=b.parentNode(d);
l&&b.removeChild(l,d,f)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],f=yd(h),d!==f&&Pe(a,b,c,d,e),e=10;e<h.length;e++)f=h[e],Qe(b,a,f[1].firstChild,f,c,d,!1)}},xia=function(a,b){var c;null==(c=b[10].changeDetectionScheduler)||c.notify(1);Qe(b[11],2,a.firstChild,b,null,null,!1)},yia=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},Re=function(a,b){if(!(10>=a.length)){var c=10+b,d=a[c];if(d){var e=d[16];null!==e&&e!==a&&yia(e,d);0<b&&(a[c-1][4]=d[4]);a=Ofa(a,10+b);xia(d[1],d);d[0]=null;d[5]=
null;b=a[18];null!==b&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},Aia=function(a,b){if(!(b[2]&256)){var c=b[11];c.destroyNode&&Qe(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;if(vd(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)vd(a)&&zia(a[1],a),a=a[3];null===a&&(a=b);vd(a)&&zia(a[1],a);c=a&&a[4]}a=c}else zia(b[1],b)}},zia=function(a,b){if(!(b[2]&256)){var c=Vc(null);try{b[2]&=-129;b[2]|=256;b[23]&&mfa(b[23]);var d;if(null!=a&&null!=(d=a.destroyHooks))for(var e=
0;e<d.length;e+=2){var f=b[d[e]];if(!(f instanceof Rd)){var h=d[e+1];if(Array.isArray(h))for(var l=0;l<h.length;l+=2)h[l+1].call(f[h[l]]);else h.call(f)}}var q=a.cleanup,t=b[7];if(null!==q)for(d=0;d<q.length-1;d+=2)if("string"===typeof q[d]){var w=q[d+3];if(0<=w)t[w]();else t[-w].unsubscribe();d+=2}else q[d].call(t[q[d+1]]);null!==t&&(b[7]=null);var B=b[21];if(null!==B)for(b[21]=null,q=0;q<B.length;q++)(0,B[q])();1===b[1].type&&b[11].destroy();var D=b[16];if(null!==D&&wd(b[3])){D!==b[3]&&yia(D,b);
var J=b[18];null!==J&&J.detachView(a)}Xga.delete(b[19])}finally{Vc(c)}}},Bia=function(a,b,c){for(;null!==b&&b.type&40;)b=b.parent;if(null===b)return c[0];var d=b.componentOffset;return-1<d&&(a=a.data[b.directiveStart+d].encapsulation,2===a||0===a)?null:zd(b,c)},Cia=function(a,b,c,d){a=Bia(a,d.parent,b);var e=b[11];d=d.parent||b[5];b=d.type&40?zd(d,b):null;if(null!=a)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,l=c[d];null!==b?f.insertBefore(h,l,b,!1):f.appendChild(h,l)}else null!==b?e.insertBefore(a,
c,b,!1):e.appendChild(a,c)},Eia=function(a,b){if(null!==b){var c=b.type;if(c&3)return zd(b,a);if(c&4)return Dia(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return Eia(a,c);a=a[b.index];return wd(a)?Dia(-1,a):yd(a)}if(c&32)return(void 0)(b,a)()||yd(a[b.index]);c=null!==b?a[15][5].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Dd(a[15]);return Eia(a,c)}return Eia(a,b.next)}return null},Dia=function(a,b){a+=11;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return Eia(a,
c)}return b[7]},Qe=function(a,b,c,d,e,f,h){for(;null!=c;){var l=d[c.index],q=c.type;h&&0===b&&(l&&Vd(yd(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)Qe(a,b,c.child,d,e,f,!1),Pe(b,a,e,l,f);else if(q&32){q=(void 0)(c,d);for(var t;t=q();)Pe(b,a,e,t,f);Pe(b,a,e,l,f)}else q&16?Fia(a,b,d,c,e,f):Pe(b,a,e,l,f);c=h?c.projectionNext:c.next}},Fia=function(a,b,c,d,e,f){var h=c[15];c=h[5].projection[d.projection];if(Array.isArray(c))for(d=0;d<c.length;d++)Pe(b,a,e,c[d],f);else h=h[3],128===(d.flags&128)&&(c.flags|=
128),Qe(a,b,c,h,e,f,!0)},Gia=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&xfa(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},Te=function(a){return a instanceof Se?a.changingThisBreaksApplicationSecurity:a},Ue=function(a,b){a=a instanceof Se&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("Na`"+b+"`"+a);}return a===b},Iia=function(){if(void 0===Hia&&(Hia=
null,Fe.trustedTypes))try{Hia=Fe.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Hia},Jia=function(a){var b;return(null==(b=Iia())?void 0:b.createHTML(a))||a},Lia=function(a){a=String(a);return a.match(Kia)?a:"unsafe:"+a},Ve=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},We=function(){for(var a={},b=k(pd.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},Mia=function(a){a=a.nodeName;return"string"===typeof a?a:"FORM"},Pia=function(a){return a.replace(/&/g,"&amp;").replace(Nia,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Oia,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Yia=function(a,b){var c=null;try{var d;if(!(d=Qia)){var e=new Ria(a);try{var f=!!(new window.DOMParser).parseFromString(Jia(""),
"text/html")}catch(aa){f=!1}d=f?new Sia(e):e}Qia=d;var h=b?String(b):"";c=Qia.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("Pa");a--;h=b;b=c.innerHTML;c=Qia.getInertBodyElement(h)}while(h!==b);var l=new Tia,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c).firstChild;h=!0;for(a=[];q;){if(q.nodeType===Node.ELEMENT_NODE){b=l;d=q;var t=Mia(d).toLowerCase();if(Uia.hasOwnProperty(t)){b.buf.push("<");b.buf.push(t);var w=d.attributes;for(d=0;d<w.length;d++){var B=
w.item(d),D=B.name,J=D.toLowerCase();if(Via.hasOwnProperty(J)){var H=B.value;Wia[J]&&(H=Lia(H));b.buf.push(" ",D,'="',Pia(H),'"')}}b.buf.push(">");h=!0}else h=!Xia.hasOwnProperty(t)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(Pia(q.nodeValue));if(h&&q.firstChild){a.push(q);var O=q.firstChild;if(O&&(q.compareDocumentPosition(O)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Oa`"+O.outerHTML);q=O}else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);
var P,U=q.nextSibling;if(U&&q!==U.previousSibling)throw Error("Oa`"+U.outerHTML);if(P=U){q=P;break}q=a.pop()}}return Jia(l.buf.join(""))}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c;c.firstChild;)c.removeChild(c.firstChild)}},$ia=function(){if(void 0===Zia&&(Zia=null,Fe.trustedTypes))try{Zia=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Zia},
aja=function(a){var b;return(null==(b=$ia())?void 0:b.createHTML(a))||a},bja=function(a){var b;return(null==(b=$ia())?void 0:b.createScriptURL(a))||a},Xe=function(a){var b=cja();return b?aja(b.sanitize(1,a)||""):Ue(a,"HTML")?aja(Te(a)):Yia(Wga(),Sc(a))},dja=function(a){var b=cja();return b?b.sanitize(2,a)||"":Ue(a,"Style")?Te(a):Sc(a)},Ye=function(a){var b=cja();return b?b.sanitize(4,a)||"":Ue(a,"URL")?Te(a):Lia(Sc(a))},eja=function(a){var b=cja();if(b)return bja(b.sanitize(5,a)||"");if(Ue(a,"ResourceURL"))return bja(Te(a));
throw new Uc(904,!1);},cja=function(){var a=v();return a&&a[10].sanitizer},gja=function(a,b,c,d,e,f,h,l,q,t,w){var B=b.blueprint.slice();B[0]=e;B[2]=d|204;if(null!==t||a&&a[2]&2048)B[2]|=2048;B[17]=0;B[3]=B[14]=a;B[8]=c;B[10]=h||a&&a[10];B[11]=l||a&&a[11];B[9]=q||a&&a[9]||null;B[5]=f;B[19]=fja++;B[6]=w;B[20]=t;B[15]=2==b.type?a[15]:B;return B},Ze=function(a,b,c,d,e){var f=a.data[b];if(null===f){f=Ed.currentTNode;var h=Ed.isParent,l=a.data,q=h?f:f&&f.parent,t=q?q.injectorIndex:-1,w=0;null!==hja&&(w|=
128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:t,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:w,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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};null===a.firstChild&&(a.firstChild=b);null!==f&&(h?null==f.child&&null!==b.parent&&(f.child=b):null===f.next&&(f.next=b,b.prev=f));f=b;Ed.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=Ed,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=null===a?-1:a.injectorIndex);Gd(f,!0);return f},ija=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,f=0;f<c;f++)b.push(d),a.blueprint.push(d),a.data.push(null);return e},jja=function(a,b,c,d,e){var f=Ed.selectedIndex;
try{Ed.selectedIndex=-1,d&2&&25<b.length&&sia(a,b,25),c(d,e)}finally{Ed.selectedIndex=f}},kja=function(a,b,c){if(0!==(b.flags&4)){var d=Vc(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{Vc(d)}}},oja=function(a,b,c){var d=zd(c,b),e=c.directiveStart,f=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=zd(c,b),q=lja(h),t=b[10].rendererFactory,w=16;h.signals?w=4096:h.onPush&&(w=64);h=mja(b,gja(b,
q,null,w,l,c,null,t.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||Jga(c,b);Vd(d,b);d=c.initialInputs;for(h=e;h<f;h++){l=a.data[h];q=Qd(b,a,h,c);Vd(q,b);if(null!==d&&(t=d[h-e],null!==t))for(w=0;w<t.length;){var B=t[w++],D=t[w++],J=t[w++],H=t[w++];tia(l,q,B,D,J,H)}l.template&&(Ad(c.index,b)[8]=Qd(b,a,h,c))}64===(c.flags&64)&&nja(a,b,c)},pja=function(a,b,c){c=void 0===c?zd:c;var d=b.localNames;if(null!==d)for(var e=b.index+1,f=0;f<d.length;f+=2){var h=d[f+1];h=-1===h?c(b,a):a[h];
a[e++]=h}},lja=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=qja(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},qja=function(a,b,c,d,e,f,h,l,q,t,w){d=25+d;e=d+e;for(var B=[],D=0;D<e;D++)B.push(D<d?null:$e);t="function"===typeof t?t():t;return B[1]={type:a,blueprint:B,template:c,queries:null,viewQuery:l,declTNode:b,data:B.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,
firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"===typeof f?f():f,pipeRegistry:"function"===typeof h?h():h,firstChild:null,schemas:q,consts:t,incompleteFirstPass:!1,ssrId:w}},sja=function(a,b,c,d,e){for(var f in b)if(b.hasOwnProperty(f)){var h=b[f];if(void 0!==h){null!=d||
(d={});var l=0;if(Array.isArray(h)){var q=h[0];l=h[1]}else q=h;h=f;if(null!==e){if(!e.hasOwnProperty(f))continue;h=e[f]}0===a?rja(d,c,h,q,l):rja(d,c,h,q)}}return d},rja=function(a,b,c,d,e){var f;a.hasOwnProperty(c)?(f=a[c]).push(b,d):f=a[c]=[b,d];void 0!==e&&f.push(e)},af=function(a,b,c,d,e,f,h,l){var q=zd(b,c),t=b.inputs,w;!l&&null!=t&&(w=t[d])?(tja(a,c,w,d,e),-1<b.componentOffset&&(a=Ad(b.index,c),a[2]&16||(a[2]|=64))):b.type&3&&(d="class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":
"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,e=null!=h?h(e,b.value||"",d):e,f.setProperty(q,d,e))},wja=function(a,b,c,d){var e=null===d?null:{"":-1};var f=a.directiveRegistry;var h=null,l=null;if(f)for(var q=0;q<f.length;q++){var t=f[q];if(Bfa(c,t.selectors,!1))if(h||(h=[]),t.template)if(null!==t.findHostDirectiveDefs){var w=[];l=l||new Map;t.findHostDirectiveDefs(t,w,l);h.unshift.apply(h,[].concat(u(w),[t]));uja(a,c,w.length)}else h.unshift(t),uja(a,c,0);else{l=
l||new Map;var B=w=void 0;null==(B=(w=t).findHostDirectiveDefs)||B.call(w,t,h,l);h.push(t)}}f=null===h?null:[h,l];null===f?f=h=null:(h=k(f),f=h.next().value,h=h.next().value);null!==f&&vja(a,b,c,f,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){f=e[d[b+1]];if(null==f)throw new Uc(-301,!1);a.push(d[b],f)}c.mergedAttrs=dd(c.mergedAttrs,c.attrs)},vja=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var l=Jga(c,b);Fga(l,a,d[h].type)}h=a.data.length;l=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=
h+l;c.providerIndexes=h;for(h=0;h<d.length;h++)l=d[h],l.providersResolver&&l.providersResolver(l);var q=!1,t=!1;h=ija(a,b,d.length,null);for(l=0;l<d.length;l++){var w=d[l];c.mergedAttrs=dd(c.mergedAttrs,w.hostAttrs);var B=a,D=c,J=b,H=h;B.data[H]=w;var O=w.factory||(w.factory=ld(w.type));O=new Rd(O,!!w.template);B.blueprint[H]=O;J[H]=O;O=B;var P=D;B=ija(B,J,w.hostVars,$e);if(J=w.hostBindings){D=O.hostBindingOpCodes;null===D&&(D=O.hostBindingOpCodes=[]);O=~P.index;a:{for(P=D.length;0<P;){var U=D[--P];
if("number"===typeof U&&0>U){P=U;break a}}P=0}P!=O&&D.push(O);D.push(H,B,J)}H=h;O=w;if(B=e){if(O.exportAs)for(J=0;J<O.exportAs.length;J++)B[O.exportAs[J]]=H;O.template&&(B[""]=H)}null!==w.contentQueries&&(c.flags|=4);if(null!==w.hostBindings||null!==w.hostAttrs||0!==w.hostVars)c.flags|=64;w=w.type.prototype;!q&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&(H=q=void 0,(null!=(H=(q=a).preOrderHooks)?H:q.preOrderHooks=[]).push(c.index),q=!0);t||!w.ngOnChanges&&!w.ngDoCheck||(w=t=void 0,(null!=(w=(t=a).preOrderCheckHooks)?
w:t.preOrderCheckHooks=[]).push(c.index),t=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){t=a[q];H=(w=f?f.get(t):null)?w.outputs:null;h=sja(0,t.inputs,q,h,w?w.inputs:null);l=sja(1,t.outputs,q,l,H);if(null===h||null===d||zfa(c))t=null;else{t=h;w=q;H=null;for(O=0;O<d.length;)if(B=d[O],0===B)O+=4;else{if(5!==B){if("number"===typeof B)break;if(t.hasOwnProperty(B))for(null===H&&(H=[]),J=t[B],D=0;D<J.length;D+=3)if(J[D]===w){H.push(B,J[D+1],J[D+2],d[O+1]);break}}O+=
2}t=H}e.push(t)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},nja=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,f=c.index;c=Ed.currentDirectiveIndex;try{for(Ed.selectedIndex=f;d<e;d++){var h=a.data[d],l=b[d];Ed.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,l)}}finally{Ed.selectedIndex=-1,Ed.currentDirectiveIndex=c}},uja=function(a,
b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},xja=function(a,b,c,d,e,f){var h=zd(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,f):(d=null==e?Sc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},yja=function(a,b){var c=a.contentQueries;if(null!==c){var d=Vc(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(-1!==h){var l=a.data[h];Ed.currentQueryIndex=f;l.contentQueries(2,b[h],h)}}}finally{Vc(d)}}},mja=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=
b},zja=function(a,b,c){Ed.currentQueryIndex=0;var d=Vc(null);try{b(a,c)}finally{Vc(d)}},Aja=function(a,b,c){if(null===a||a.template)a:{for(a=c[b.index];Array.isArray(a);){if("object"===typeof a[1]){c=a;break a}a=a[0]}c=null}return c[11]},Bja=function(a,b){(a=(a=a[9])?a.get(bf,null):null)&&a.handleError(b)},tja=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],l=c[f++],q=c[f++];tia(a.data[h],b[h],d,l,q,e)}},Cja=function(a,b){var c=yd(a[Ed.selectedIndex]);a[11].setValue(c,b)},Eja=function(a,
b,c){tga(b);try{var d=a.viewQuery;null!==d&&zja(1,d,c);var e=a.template;null!==e&&jja(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);var f;null!=(f=b[18])&&Dja(f,a);a.staticContentQueries&&yja(a,b);a.staticViewQueries&&zja(2,a.viewQuery,c);var h=a.components;if(null!==h)for(c=0;c<h.length;c++){var l=Ad(h[c],b),q=l[1];d=q;e=l;for(var t=e.length;t<d.blueprint.length;t++)e.push(d.blueprint[t]);null!==l[0]&&null===l[6]&&(l[6]=null);Eja(q,l,l[8])}}catch(w){throw a.firstCreatePass&&(a.incompleteFirstPass=
!0,a.firstCreatePass=!1),w;}finally{b[2]&=-5,wga()}},Fja=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(null!==b)for(var h=0;h<b.length;h++){var l=b[h];if("number"===typeof l)f=l;else if(1==f)e=Zea(e,l);else if(2==f){var q=b[++h];d=Zea(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Gja=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var f=b[c.index];null!==f&&d.push(yd(f));if(wd(f)){for(var h=d,l=10;l<f.length;l++){var q=f[l],t=q[1].firstChild;
null!==t&&Gja(q[1],q,t,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)Gja(a,b,c.child,d);else if(f&32)for(f=(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=null!==c?b[15][5].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,u(f)):(h=Dd(b[15]),Gja(h[1],h,f,d,!0)));c=e?c.projectionNext:c.next}return d},Ija=function(a,b,c){b=void 0===b?!0:b;c=void 0===c?0:c;var d=a[10],e=d.rendererFactory,f;null==(f=e.begin)||f.call(e);try{f=c;c=qia;try{for(qia=!0,Hja(a,f),f=0;Cd(a);){if(100===f)throw new Uc(103,
!1);f++;Hja(a,1)}}finally{qia=c}}catch(q){throw b&&Bja(a,q),q;}finally{var h;null==(h=e.end)||h.call(e);var l;null==(l=d.inlineEffectRunner)||l.flush()}},Jja=function(a,b){for(a=Yga(a[12]);null!==a;a=Yga(a[4]))for(var c=10;c<a.length;c++){var d=a[c];128===(d[2]&128)&&Hja(d,b)}},Hja=function(a,b){var c=a[1],d=a[2],e=a[23],f=!!(0===b&&d&16);f||(f=!!(d&64&&0===b));f||(f=!!(d&1024));f||(f=!!((null==e?0:e.dirty)&&lfa(e)));e&&(e.dirty=!1);a[2]&=-9217;if(f){if(e=c.template,b=a[8],f=a[2],256!==(f&256)){var h;
null!=(h=a[10].inlineEffectRunner)&&h.flush();tga(a);d=h=null;if(2!==c.type){if(null!=(h=a[23]))var l=h;else h=null!=(l=Kja.pop())?l:Object.create(Lja),h.lView=a,l=h;d=l;h=ffa(d)}try{a[17]=0;Ed.bindingIndex=c.bindingStartIndex;null!==e&&jja(c,a,e,2,b);if(l=3===(f&3)){var q=c.preOrderCheckHooks;null!==q&&Md(a,q,3,null)}else{var t=c.preOrderHooks;null!==t&&yga(a,t,0,null);zga(a,0)}for(var w=Yga(a[12]);null!==w;w=Yga(w[4]))if(w[2]&2){var B=w[9];for(q=0;q<B.length;q++){var D=B[q];D[2]&1024||(D[2]|=1024,
128===(D[2]&128)&&nga(D))}}Jja(a,0);null!==c.contentQueries&&yja(c,a);if(l){var J=c.contentCheckHooks;null!==J&&Md(a,J,3)}else{var H=c.contentHooks;null!==H&&yga(a,H,1);zga(a,1)}var O=c.hostBindingOpCodes;if(null!==O)try{for(w=0;w<O.length;w++){var P=O[w];if(0>P)Ed.selectedIndex=~P;else{B=P;var U=O[++w],aa=O[++w];D=Ed;D.bindingIndex=D.bindingRootIndex=U;Ed.currentDirectiveIndex=B;aa(2,a[B])}}}finally{Ed.selectedIndex=-1}var pa=c.components;null!==pa&&Mja(a,pa,0);var ka=c.viewQuery;null!==ka&&zja(2,
ka,b);if(l){var Aa=c.viewCheckHooks;null!==Aa&&Md(a,Aa,3)}else{var Ya=c.viewHooks;null!==Ya&&yga(a,Ya,2);zga(a,2)}!0===c.firstUpdatePass&&(c.firstUpdatePass=!1);if(a[22]){for(var ea=k(a[22]),na=ea.next();!na.done;na=ea.next()){var Da=na.value;Da()}a[22]=null}a[2]&=-73}catch(Ia){throw nga(a),Ia;}finally{null!==d&&(ifa(d,h),a=d,a.lView[23]!==a&&(a.lView=null,Kja.push(a))),wga()}}}else d&8192&&(Jja(a,1),c=c.components,null!==c&&Mja(a,c,1))},Mja=function(a,b,c){for(var d=0;d<b.length;d++){var e=c,f=Ad(b[d],
a);128===(f[2]&128)&&Hja(f,e)}},Nja=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];void 0!==d&&b.push({propName:Array.isArray(d)?d[0]:d,templateName:c})}return b},Oja=function(){xga(v()[1],Fd())},Pja=function(a,b,c){return new cf(a,b,c)},Rja=function(a,b,c){return(new Qja({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},df=function(a){return!!a&&"function"===typeof a.then},Sja=function(a){return!!a&&"function"===typeof a.subscribe},
Tja=function(a){return"function"===typeof a&&void 0!==a[pfa]},Vja=function(a){return function(b){return ie(b,new Uja(a))}},ef=function(a,b){b=void 0===b?De:b;return Vja(function(){return $ha(a,b)})},Wja=function(a){return oha(function(b,c){var d=[];b.subscribe(new je(c,function(e){return d.push(e)},void 0,function(){c.next(d);c.complete()}));a.subscribe(new je(c,function(){var e=d;d=[];c.next(e)},void 0,ze));return function(){d=null}})},gf=function(a){return function(b){return ie(b,function(c){var d=
this,e=new de,f=null,h=!1,l;f=c.subscribe(new ff(d,function(q){try{l=ve(a(q,gf(a)(c)))}catch(t){d.error(t)}l&&(f?(f.unsubscribe(),f=null,e.add(l.subscribe(d))):h=!0)}));h?(f.unsubscribe(),f=null,e.add(l.subscribe(d))):e.add(f);return e})}},Yja=function(){var a=pd.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&le(a[0])&&(a=a[0].slice());return function(c){return nha(c,ve([c].concat(u(a))),new Xja(b))}},hf=function(){return Yja.apply(null,u(pd.apply(0,arguments)))},
Zja=function(){var a=pd.apply(0,arguments);return function(b){return nha(b,ye.apply(null,[b].concat(u(a))))}},$ja=function(){var a=pd.apply(0,arguments);return function(b){return nha(b,ye.apply(null,[b].concat(u(a))))}},bka=function(a){return function(b){return ie(b,new aka(a))}},jf=function(a,b){b=void 0===b?De:b;return function(c){return ie(c,new cka(a,b))}},eka=function(a){dka(a)},gka=function(a){a=void 0===a?null:a;return function(b){return ie(b,new fka(a))}},kf=function(a,b){b=void 0===b?De:
b;var c=Yha(a)?+a-b.now():Math.abs(a);return function(d){return ie(d,new hka(c,b))}},lf=function(a){return function(b){return ie(b,new ika(a))}},mf=function(){if(isNaN(1))throw new TypeError("Ra");return function(a){return ie(a,new jka)}},mka=function(a){a=void 0===a?kka:a;return function(b){return ie(b,new lka(a))}},kka=function(){return new nf},of=function(a){return function(b){return ie(b,new nka(a))}},pf=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Ce(function(e,
f){return a(e,f,d)}):ee,mf(),c?gka(b):mka(function(){return new nf}))}},pka=function(){return function(a){return ie(a,new oka)}},rka=function(){if(isNaN(1))throw new TypeError("Ra");return function(a){return ie(a,new qka)}},ska=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Ce(function(e,f){return a(e,f,d)}):ee,rka(),c?gka(b):mka(function(){return new nf}))}},qf=function(a){return function(b){return ie(b,new tka(a))}},vka=function(a,b){var c=!1;2<=arguments.length&&(c=
!0);return function(d){return ie(d,new uka(a,b,c))}},xka=function(a){return function(b){var c="function"===typeof a?a:function(){return a};var d=Object.create(b,wka);d.source=b;d.subjectFactory=c;return d}},yka=function(){var a=new rf(1,void 0,void 0);return function(b){return xka(function(){return a})(b)}},zka=function(){var a=pd.apply(0,arguments);return function(b){return 0===a.length?b:nha(b,Wha.apply(null,[b].concat(u(a))))}},Aka=function(){return new sf},Bka=function(){return function(a){return ke()(xka(Aka)(a))}},
tf=function(a){var b;a&&"object"===typeof a?b=a:b={bufferSize:a,windowTime:void 0,refCount:!1,scheduler:void 0};return function(c){return ie(c,Cka(b))}},Cka=function(a){var b=void 0===a.bufferSize?Infinity:a.bufferSize,c=void 0===a.windowTime?Infinity:a.windowTime,d=a.refCount,e=a.scheduler,f,h=0,l;return function(q){h++;if(f)var t=f.subscribe(this);else f=new rf(b,c,e),t=f.subscribe(this),l=q.subscribe({next:function(w){f.next(w)},error:function(w){var B=f;f=l=void 0;B.error(w)},complete:function(){l=
void 0;f.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;t.unsubscribe();d&&0===h&&l&&(l.unsubscribe(),f=l=void 0)})}},uf=function(a){return function(b){return ie(b,new Dka(a))}},vf=function(){var a=pd.apply(0,arguments),b=a[a.length-1];return he(b)?(a.pop(),function(c){return ye(a,c,b)}):function(c){return ye(a,c)}},wf=function(a){return function(b){return ie(b,new Eka(a))}},Fka=function(a){return wf(function(){return a})},xf=function(a){return function(b){return ie(b,function(c){var d=
this;ve(a).subscribe(new je(d,function(){return d.complete()},void 0,ze));!d.closed&&c.subscribe(d)})}},Hka=function(a){var b=void 0===b?!1:b;return function(c){return ie(c,new Gka(a,b))}},yf=function(a,b){return function(c){return ie(c,new Ika(a,b))}},Lka=function(a){var b=void 0===b?Jka:b;return function(c){return ie(c,new Kka(a,!!b.leading,!!b.trailing))}},zf=function(){var a=pd.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return ie(b,new Mka(a,c))}},
Oka=function(){Nka=function(){throw new Uc(600,!1);}},Pka=function(a,b,c){try{var d=c();return df(d)?d.catch(function(e){b.runOutsideAngular(function(){return a.handleError(e)});throw e;}):d}catch(e){throw b.runOutsideAngular(function(){return a.handleError(e)}),e;}},Qka=function(a,b){return Array.isArray(b)?b.reduce(Qka,a):Object.assign({},a,b)},Rka=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Ska=function(a,b,c,d){(c||Cd(a))&&Ija(a,b,c&&!d?0:1)},Tka=function(a,b,c,d){var e=Vc(null);try{var f=
b.tView,h,l,q,t=gja(a,f,c,a[2]&4096?4096:16,null,b,null,null,null!=(h=null==d?void 0:d.injector)?h:null,null!=(l=null==d?void 0:d.embeddedViewInjector)?l:null,null!=(q=null==d?void 0:d.dehydratedView)?q:null);t[16]=a[b.index];var w=a[18];null!==w&&(t[18]=w.createEmbeddedView(f));Eja(f,t,c);return t}finally{Vc(e)}},Uka=function(a,b){b=10+b;if(b<a.length)return a[b]},Vka=function(a,b){return!b||null===b.firstChild||128===(a.flags&128)},Wka=function(a,b,c,d){d=void 0===d?!0:d;var e=b[1],f=10+c,h=a.length;
0<c&&(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];null!==f&&a!==f&&(h=f[9],b[15]!==b[3][3][15]&&(f[2]|=2),null===h?f[9]=[b]:h.push(b));f=b[18];null!==f&&Dja(f,e);oga(b);b[2]|=128;d&&(c=Dia(c,a),d=b[11],f=d.parentNode(a[7]),null!==f&&(a=a[5],b[0]=f,b[5]=a,Qe(d,1,e.firstChild,b,f,c,!1)));b=b[6];null!==b&&null!==b.firstChild&&(b.firstChild=null)},Yka=function(){return Xka(Fd(),v())},Zka=function(a){return a[8]||(a[8]=[])},Xka=function(a,
b){var c=b[a.index];if(wd(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,mja(b,d);$ka(d,b,a,c);return new Af(d,a,b)},ala=function(a,b,c,d){if(!a[7]){if(c.type&8)d=yd(d);else{d=b[11];var e=d.createComment("");c=zd(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},cla=function(a){return bla(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},dla=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)},bla=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},Bf=function(a,b,c){return a[b]=c},Cf=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},Df=function(a,b,c,d){c=Cf(a,b,c);return Cf(a,b+1,d)||c},fla=function(a,b,c,d,e,f,h,l,q,t){var w=c+25;if(b.firstCreatePass){var B=b.consts;h=Ze(b,w,4,h||null,l||null);wja(b,a,h,Bd(B,q));xga(b,h);d=h.tView=qja(2,h,d,e,f,b.directiveRegistry,b.pipeRegistry,null,b.schemas,B,null);null!==b.queries&&
(b.queries.template(b,h),d.queries=b.queries.embeddedTView(h));d=h}else d=b.data[w];Gd(d,!1);c=ela(b,a,d,c);Ef&&Cia(b,a,c,d);Vd(c,a);c=[c,!0,0,a,null,d,null,c,null,null];a[w]=c;mja(a,c);1===(d.flags&1)&&oja(b,a,d);null!=q&&pja(a,d,t)},E=function(a,b,c,d,e,f,h,l){var q=v(),t=Ed.tView;f=Bd(t.consts,f);fla(q,t,a,b,c,d,e,f,h,l);return E},gla=function(a,b){Ef=!0;return b[11].createComment("")},Ff=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 Uc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=hla(a.inputs);f.inputTransforms=hla(a.inputTransforms);f.declaredInputs=hla(a.declaredInputs);f.outputs=hla(a.outputs);(f=e.hostBindings)&&ila(a,f);f=e.viewQuery;var h=e.contentQueries;f&&jla(a,f);h&&kla(a,h);f=void 0;h=a;var l=e;for(f in l.inputs)if(l.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=l.inputs[f];if(void 0!==q&&(h.inputs[f]=q,h.declaredInputs[f]=l.declaredInputs[f],
null!==l.inputTransforms&&(q=Array.isArray(q)?q[0]:q,l.inputTransforms.hasOwnProperty(q)))){var t=void 0;null!=(t=h).inputTransforms||(t.inputTransforms={});h.inputTransforms[q]=l.inputTransforms[q]}}f=void 0;h=a.outputs;l=e.outputs;for(f in l)l.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=l[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===Ff&&(c=!1)}b=Object.getPrototypeOf(b)}a=
0;b=null;for(c=d.length-1;0<=c;c--)e=d[c],e.hostVars=a+=e.hostVars,e.hostAttrs=dd(e.hostAttrs,b=dd(b,e.hostAttrs))},hla=function(a){return a===id?{}:a===fd?[]:a},jla=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},kla=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},ila=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Gf=function(a){var b=a.inputConfig,c={},d;for(d in b)if(b.hasOwnProperty(d)){var e=
b[d];Array.isArray(e)&&e[3]&&(c[d]=e[3])}a.inputTransforms=c},Hf=function(a,b,c,d){var e=v(),f=Ed.bindingIndex++;Cf(e,f,b)&&(f=Jd(),xja(f,e,a,b,c,d));return Hf},If=function(a,b,c,d){return Cf(a,Ed.bindingIndex++,c)?b+Sc(c)+d:$e},lla=function(a,b,c,d,e,f){a=Df(a,Ed.bindingIndex,c,e);Id(2);return a?b+Sc(c)+d+Sc(e)+f:$e},Jf=function(a,b,c,d,e,f){var h=v();b=If(h,b,c,d);b!==$e&&(c=Jd(),xja(c,h,a,b,e,f));return Jf},Kf=function(a,b,c,d,e,f,h,l){var q=v();b=lla(q,b,c,d,e,f);b!==$e&&(c=Jd(),xja(c,q,a,b,h,
l));return Kf},mla=function(a,b,c,d,e,f,h,l,q,t){var w=v();var B=Ed.bindingIndex;var D=Df(w,B,c,e);B=Cf(w,B+2,h)||D;Id(3);b=B?b+Sc(c)+d+Sc(e)+f+Sc(h)+l:$e;b!==$e&&(c=Jd(),xja(c,w,a,b,q,t));return mla},F=function(a,b,c){var d=v(),e=Ed.bindingIndex++;if(Cf(d,e,b)){e=Ed.tView;var f=Jd();af(e,f,d,a,b,d[11],c,!1)}return F},nla=function(a,b,c,d,e){e=e?"class":"style";tja(a,c,b.inputs[e],e,d)},ola=function(a,b,c,d){for(var e=a[c+1],f=null===b,h=d?e>>17&32767:(e&131068)>>2,l=!1;0!==h&&(!1===l||f);){var q=
a[h+1],t=a[h],w=b;if(null===t||null==w||(Array.isArray(t)?t[1]:t)===w||Array.isArray(t)&&"string"===typeof w&&0<=md(t,w))l=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}l&&(a[c+1]=d?e|2:e|1)},pla=function(a,b){var c=Lf;if(c===b)return-1;for(b=Mf=b;b<c&&32<a.charCodeAt(b);)b++;b=Nf=b;return Of(a,b,c)},ula=function(a,b){var c=Lf;b=Mf=Of(a,b,c);if(c===b)return-1;for(var d;b<c&&(45===(d=a.charCodeAt(b))||95===d||65<=(d&-33)&&90>=(d&-33)||48<=d&&57>=d);)b++;b=Nf=b;b=qla(a,b,c);d=b=rla=Of(a,b,c);for(var e=
b=-1,f=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(59===q)break;else 34===q||39===q?l=h=sla(a,q,h,c):d===h-4&&85===f&&82===e&&76===b&&40===q?l=h=sla(a,41,h,c):32<q&&(l=h);f=e;e=b;b=q&-33}b=tla=l;return qla(a,b,c)},Of=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},qla=function(a,b,c){b=Of(a,b,c);b<c&&b++;return b},sla=function(a,b,c,d){for(var e=-1;c<d;){var f=a.charCodeAt(c++);if(f==b&&92!==e)return c;e=92==f&&92===e?0:f}throw Error();},Pf=function(a,b,c){vla(a,b,c,!1);return Pf},Qf=
function(a,b){vla(a,b,null,!0);return Qf},xla=function(a,b){var c;tla=rla=Nf=Mf=0;Lf=b.length;for(c=ula(b,Of(b,0,Lf));0<=c;c=ula(b,c))wla(a,b.substring(Mf,Nf),b.substring(rla,tla))},Rf=function(a){yla(zla,Ala,a,!0)},Ala=function(a,b){var c;tla=rla=Nf=Mf=0;Lf=b.length;for(c=pla(b,Of(b,0,Lf));0<=c;c=pla(b,c))nd(a,b.substring(Mf,Nf),!0)},vla=function(a,b,c,d){var e=v(),f=Ed.tView,h=Id(2);f.firstUpdatePass&&Bla(f,a,h,d);if(b!==$e&&Cf(e,h,b)){var l=f.data[Ed.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===
typeof c?b+=c:"object"===typeof b&&(b=Tc(Te(b))));Cla(f,l,e,q,a,e[h+1]=b,d,h)}},yla=function(a,b,c,d){var e=Ed.tView,f=Id(2);e.firstUpdatePass&&Bla(e,null,f,d);var h=v();if(c!==$e&&Cf(h,f,c)){var l=e.data[Ed.selectedIndex];if(0===(l.flags&(d?8:16))||f>=e.expandoStartIndex){var q=h[11],t=h[f+1];if(null==c||""===c)a=fd;else{var w=[];c=Te(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(w,c[b],!0);else if("object"===typeof c)for(var B in c)c.hasOwnProperty(B)&&a(w,B,c[B]);else"string"===typeof c&&b(w,
c);a=w}a=h[f+1]=a;t===$e&&(t=fd);b=w=0;c=0<t.length?t[0]:null;for(B=0<a.length?a[0]:null;null!==c||null!==B;){var D=w<t.length?t[w+1]:void 0,J=b<a.length?a[b+1]:void 0,H=null,O=void 0;c===B?(w+=2,b+=2,D!==J&&(H=B,O=J)):null===B||null!==c&&c<B?(w+=2,H=c):(b+=2,H=B,O=J);null!==H&&Cla(e,l,h,q,H,O,d,f);c=w<t.length?t[w]:null;B=b<a.length?a[b]:null}}else f=d?l.classesWithoutHost:l.stylesWithoutHost,null!==f&&(c=Zea(f,c?c:"")),nla(e,l,h,c,d)}},Bla=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var f=
e[Ed.selectedIndex];a=c>=a.expandoStartIndex;0!==(f.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=qga(e),l=d?f.residualClasses:f.residualStyles;if(null===h)0===(d?f.classBindings:f.styleBindings)&&(b=Dla(null,e,f,b,d),b=Sf(b,f.attrs,d),l=null);else{var q=f.directiveStylingLast;if(-1===q||e[q]!==h)if(b=Dla(h,e,f,b,d),null===l)h=d?f.classBindings:f.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=Dla(null,e,f,h[1],d),h=Sf(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>
17&32767]=h);else{l=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)l=Sf(l,e[q].hostAttrs,d);l=Sf(l,f.attrs,d)}}void 0!==l&&(d?f.residualClasses=l:f.residualStyles=l);h=b;l=d?f.classBindings:f.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var t=h[1];if(null===t||0<md(h,t))q=!0}else t=h;a?0!==l?(a=e[b+1]>>17&32767,e[c+1]=a<<17|b<<2,0!==a&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,0!==b&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+
1]=l<<17|0,0===b?b=c:e[l+1]=e[l+1]&-131069|c<<2,l=c);q&&(e[c+1]|=2);ola(e,t,c,!0);ola(e,t,c,!1);a=t;h=d?f.residualClasses:f.residualStyles;null!=h&&"string"==typeof a&&0<=md(h,a)&&(e[c+1]|=1);l=b<<17|l<<2;d?f.classBindings=l:f.styleBindings=l}},Dla=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<f;){var l=b[h];d=Sf(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},Sf=function(a,b,c){var d=c?1:2,e=-1;if(null!==b)for(var f=
0;f<b.length;f++){var h=b[f];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),nd(a,h,c?!0:b[++f]))}return void 0===a?null:a},wla=function(a,b,c){nd(a,b,Te(c))},zla=function(a,b,c){b=String(b);""===b||b.includes(" ")||nd(a,b,c)},Cla=function(a,b,c,d,e,f,h,l){if(b.type&3){a=a.data;var q=a[l+1];void 0===(1===(q&1)?Ela(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==f||2==(q&2)&&(f=Ela(a,null,c,e,l,h)),b=yd(c[Ed.selectedIndex]),h?f?d.addClass(b,e):d.removeClass(b,e):(h=-1===e.indexOf("-")?
void 0:2,null==f?d.removeStyle(b,e,h):("string"===typeof f&&f.endsWith("!important")&&(f=f.slice(0,-10),h|=1),d.setStyle(b,e,f,h))))}},Ela=function(a,b,c,d,e,f){for(var h=null===b,l=void 0;0<e;){var q=a[e],t=Array.isArray(q),w=t?q[1]:q,B=null===w,D=c[e+1];D===$e&&(D=B?fd:void 0);w=B?Pfa(D,d):w===d?D:void 0;t&&void 0===w&&(w=Pfa(q,d));if(void 0!==w&&(l=w,h))return l;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=f?b.residualClasses:b.residualStyles,null!=a&&(l=Pfa(a,d)));return l},Tf=function(a,
b,c){a=If(v(),a,b,c);yla(nd,Ala,a,!0)},Fla=function(a,b,c,d,e){return a===c&&Object.is(b,d)?1:Object.is(e(a,b),e(c,d))?-1:0},Lla=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var l=b.length-1;f<=h&&f<=l;){var q=a.at(f),t=b[f],w=Fla(f,q,f,t,c);if(0!==w)0>w&&a.updateValue(f,t),f++;else{var B=a.at(h);w=b[l];var D=Fla(h,B,l,w,c);0!==D?(0>D&&a.updateValue(h,w),h--,l--):(q=c(f,q),B=c(h,B),D=c(f,t),Object.is(D,B)?(B=c(l,w),Object.is(B,q)?(Gla(a,f,h),a.updateValue(h,w),l--,
h--):a.move(h,f),a.updateValue(f,t),f++):(null!=d||(d=new Hla),null!=e||(e=Ila(a,f,h,c)),Jla(a,d,f,D)?(a.updateValue(f,t),f++,h++):e.has(D)?(d.set(q,a.detach(f)),h--):(t=a.create(f,b[f]),a.attach(f,t),f++,h++)))}}for(;f<=l;)Kla(a,d,c,f,b[f]),f++}else if(null!=b){b=b[Symbol.iterator]();for(l=b.next();!l.done&&f<=h;)t=a.at(f),w=l.value,q=Fla(f,t,f,w,c),0!==q?(0>q&&a.updateValue(f,w),f++,l=b.next()):(null!=d||(d=new Hla),null!=e||(e=Ila(a,f,h,c)),q=c(f,w),Jla(a,d,f,q)?(a.updateValue(f,w),f++,h++,l=b.next()):
e.has(q)?(t=c(f,t),d.set(t,a.detach(f)),h--):(a.attach(f,a.create(f,w)),f++,h++,l=b.next()));for(;!l.done;)Kla(a,d,c,a.length,l.value),l=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var J;null==(J=d)||J.forEach(function(H){a.destroy(H)})},Jla=function(a,b,c,d){return void 0!==b&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},Kla=function(a,b,c,d,e){Jla(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},Ila=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},
Uf=function(a,b){ae("NgControlFlow");var c=v(),d=Ed.bindingIndex++,e=c[d]!==$e?c[d]:-1;e=-1!==e?c[25+e]:void 0;if(Cf(c,d,a)){d=Vc(null);try{if(void 0!==e){var f=Re(e,0);void 0!==f&&Aia(f[1],f)}if(-1!==a){a=25+a;var h=c[a],l=c[1].data[a],q=Tka(c,l,b,{dehydratedView:null});Wka(h,q,0,Vka(l,null))}}finally{Vc(d)}}else void 0!==e&&(c=Uka(e,0),void 0!==c&&(c[8]=b))},Mla=function(a){return a},Vf=function(a,b){return b},Wf=function(a,b,c,d,e,f,h){ae("NgControlFlow");var l=v(),q=Ed.tView;v()[25+a]=new Nla(h);
fla(l,q,a+1,b,c,d,e,Bd(q.consts,f))},Xf=function(a){var b=Vc(null),c=Ed.selectedIndex;try{var d=v(),e=d[1],f=d[c];void 0===f.liveCollection?(c+=1,f.liveCollection=new Ola(d[c],d,e.data[c])):f.liveCollection.reset();var h=f.liveCollection;Lla(h,a,f.trackByFn);if(h.needsIndexUpdate)for(a=0;a<h.length;a++)Uka(h.lContainer,a)[8].$index=a}finally{Vc(b)}},G=function(a,b,c,d){var e=v(),f=Ed.tView,h=25+a;a=e[11];if(f.firstCreatePass){var l=f.consts;c=Bd(l,c);c=Ze(f,h,2,b,c);wja(f,e,c,Bd(l,d));null!==c.attrs&&
Fja(c,c.attrs,!1);null!==c.mergedAttrs&&Fja(c,c.mergedAttrs,!0);null!==f.queries&&f.queries.elementStart(f,c);l=c}else l=f.data[h];Ef=!0;b=a.createElement(b,Ed.currentNamespace);e[h]=b;h=1===(l.flags&1);Gd(l,!0);Gia(a,b,l);32!==(l.flags&32)&&Ef&&Cia(f,e,b,l);0===Ed.elementDepthCount&&Vd(b,e);Ed.elementDepthCount++;h&&(oja(f,e,l),kja(f,l,e));null!==d&&pja(e,l);return G},I=function(){var a=Fd();Ed.isParent?Ed.isParent=!1:(a=a.parent,Gd(a,!1));var b=a;hja===b&&(hja=null);Ed.elementDepthCount--;var c=
Ed.tView;c.firstCreatePass&&(xga(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&nla(c,b,v(),b.classesWithoutHost,!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&nla(c,b,v(),b.stylesWithoutHost,!1);return I},K=function(a,b,c,d){G(a,b,c,d);I();return K},L=function(a,b,c){var d=v(),e=Ed.tView;a+=25;if(e.firstCreatePass){var f=e.consts;var h=Bd(f,b);b=Ze(e,a,8,"ng-container",h);null!==h&&Fja(b,h,!0);f=Bd(f,c);wja(e,d,b,f);null!==e.queries&&e.queries.elementStart(e,
b);f=b}else f=e.data[a];Gd(f,!0);Ef=!0;b=d[11].createComment(wia());d[a]=b;Ef&&Cia(e,d,b,f);Vd(b,d);1===(f.flags&1)&&(oja(e,d,f),kja(e,f,d));null!=c&&pja(d,f);return L},M=function(){var a=Fd(),b=Ed.tView;Ed.isParent?Ed.isParent=!1:(a=a.parent,Gd(a,!1));b.firstCreatePass&&(xga(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return M},Yf=function(a,b,c){L(a,b,c);M();return Yf},Zf=function(a,b,c){var d=v(),e=Ed.bindingIndex++;if(Cf(d,e,b)){e=Ed.tView;var f=Jd();af(e,f,d,a,b,d[11],c,!0)}return Zf},$f=
function(a,b,c){var d=v(),e=Ed.bindingIndex++;if(Cf(d,e,b)){e=Ed.tView;var f=Jd(),h=Aja(qga(e.data),f,d);af(e,f,d,a,b,h,c,!0)}return $f},ag=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=Pla(b))return a;b=b.split("-")[0];if(a=Pla(b))return a;if("en"===b)return Qla;throw new Uc(701,!1);},Pla=function(a){a in Rla||(Rla[a]=Fe.ng&&Fe.ng.common&&Fe.ng.common.locales&&Fe.ng.common.locales[a]);return Rla[a]},N=function(a,b,c,d){c=v();Sla(Ed.tView,c,c[11],Fd(),a,b,d);return N},bg=function(a,b){var c=
Fd(),d=v(),e=Ed.tView,f=Aja(qga(e.data),c,d);Sla(e,d,f,c,a,b);return bg},Tla=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var f=a[e];if(f===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof f&&(e+=2)}return null},Sla=function(a,b,c,d,e,f,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),t=b[7]||(b[7]=[]),w=!0;if(d.type&3||h){var B=zd(d,b),D=h?h(B):B;B=t.length;var J=h?function(P){return h(yd(P[d.index]))}:d.index,H=null;
!h&&l&&(H=Tla(a,b,e,d.index));null!==H?((H.__ngLastListenerFn__||H).__ngNextListenerFn__=f,H.__ngLastListenerFn__=f,w=!1):(f=Ula(d,b,f),a=c.listen(D,e,f),t.push(f,a),q&&q.push(e,J,B,B+1))}else f=Ula(d,b,f);a=d.outputs;var O;if(w&&null!==a&&(O=a[e])&&(w=O.length))for(a=0;a<w;a+=2)c=b[O[a]][O[a+1]].subscribe(f),l=t.length,t.push(f,c),q&&q.push(e,d.index,l,-(l+1))},Vla=function(a,b,c){var d=Vc(null);try{return!1!==b(c)}catch(e){return Bja(a,e),!1}finally{Vc(d)}},Ula=function(a,b,c){return function f(e){if(e===
Function)return c;var h=-1<a.componentOffset?Ad(a.index,b):b;ria(h);h=Vla(b,c,e);for(var l=f.__ngNextListenerFn__;l;)h=Vla(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},Q=function(a){a=void 0===a?1:a;for(var b=Ed.contextLView;0<a;)b=b[14],a--;return(Ed.contextLView=b)[8]},cg=function(a){var b=v()[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;null!==b;){if(a)a:{e=b;var f=a,h=null;b:{var l=e.attrs;if(null!=l){var q=l.indexOf(5);
if(0===(q&1)){l=l[q+1];break b}}l=null}for(q=0;q<f.length;q++){var t=f[q];if("*"===t)h=q;else{if(null===l)t=Bfa(e,t,!0);else b:{var w=0;c:for(;w<t.length;w++){var B=t[w];if(l.length===B.length){for(var D=0;D<l.length;D++)if(l[D]!==B[D])continue c;t=!0;break b}}t=!1}if(t){e=q;break a}}}e=h}else e=0;null!==e&&(d[e]?d[e].projectionNext=b:c[e]=b,d[e]=b);b=b.next}}},dg=function(a,b,c){b=void 0===b?0:b;var d=v(),e=Ed.tView;a=Ze(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);Ed.isParent=!1;
d[6]&&null===hja||32===(a.flags&32)||(b=d[11],e=Bia(e,a.parent,d),c=a.parent||d[5],c=c.type&40?zd(c,d):null,Fia(b,0,d,a,e,c))},fg=function(a,b,c){eg(a,"",b,"",c);return fg},eg=function(a,b,c,d,e){var f=v();b=If(f,b,c,d);b!==$e&&(c=Ed.tView,d=Jd(),af(c,d,f,a,b,f[11],e,!1));return eg},gg=function(a,b,c,d,e,f,h){var l=v();b=lla(l,b,c,d,e,f);b!==$e&&(c=Ed.tView,d=Jd(),af(c,d,l,a,b,l[11],h,!1));return gg},Wla=function(){return this._results[Symbol.iterator]()},Yla=function(){return Xla(Fd(),v())},Xla=
function(a,b){return a.type&4?new hg(b,a,Yd(a,b)):null},Zla=function(a,b,c,d){d=b[18].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,f=[],h=0;null!==e&&h<e.length;h+=2){var l=e[h];if(0>l)f.push(null);else{var q=f,t=q.push,w=b,B=a[l],D=e[h+1];l=c.metadata.read;-1===D?(l=B,w=l.type&11?Yd(l,w):l.type&4?Xla(l,w):null):-2===D?w=l===Wd?Yd(B,w):l===ig?Xla(B,w):l===jg?Xka(B,w):void 0:w=Qd(w,w[1],D,B);t.call(q,w)}}d.matches=f}return d.matches},$la=function(a,b,c,d){var e=a.queries.queries[c],
f=e.matches;if(null!==f)for(a=Zla(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(0<h)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var l=10;l<h.length;l++){var q=h[l];q[16]===q[3]&&$la(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],$la(q[1],q,e,d)}}return d},cma=function(a,b){var c=v();b=new kg(4===(b&4));var d=b.destroy,e=c[7]||(c[7]=[]);e.push(b);a.firstCreatePass&&(a.cleanup||(a.cleanup=[])).push(d,e.length-1);var f;(null!=(f=c[18])?f:c[18]=new ama).queries.push(new bma(b))},lg=function(a,
b,c){var d=Ed.tView;d.firstCreatePass&&(dma(d,new ema(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));cma(d,b)},mg=function(a,b,c,d){var e=Ed.tView;if(e.firstCreatePass){var f=Fd();dma(e,new ema(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);2===(c&2)&&(e.staticContentQueries=!0)}cma(e,c)},fma=function(a){return a.split(",").map(function(b){return b.trim()})},dma=function(a,b,c){null===a.queries&&(a.queries=new gma);a.queries.track(new ng(b,
c))},pg=function(a){var b=v(),c=Ed.tView,d=Ed.currentQueryIndex;Ed.currentQueryIndex=d+1;c=c.queries.queries[d];if(a.dirty&&4===(b[2]&4)===(2===(c.metadata.flags&2))){if(null===c.matches)a.reset([]);else{c=b[1];var e=c.queries.queries[d];b=e.crossesNgTemplate?$la(c,b,d,[]):Zla(c,b,e,d);a.reset(b,Zga);og(a)}return!0}return!1},qg=function(){return v()[18].queries[Ed.currentQueryIndex].queryList},R=function(a){return Ed.contextLView[25+a]},S=function(a,b){b=void 0===b?"":b;var c=v(),d=Ed.tView;a+=25;
var e=d.firstCreatePass?Ze(d,a,1,b,null):d.data[a];Ef=!0;b=c[11].createText(b);c[a]=b;Ef&&Cia(d,c,b,e);Gd(e,!1)},rg=function(a){T("",a,"");return rg},T=function(a,b,c){var d=v();a=If(d,a,b,c);a!==$e&&Cja(d,a);return T},sg=function(a,b,c,d,e){var f=v();a=lla(f,a,b,c,d,e);a!==$e&&Cja(f,a);return sg},hma=function(a,b,c,d,e,f,h,l,q){var t=v();var w=Ed.bindingIndex;var B=Df(t,w,b,d);w=Df(t,w+2,f,l)||B;Id(4);a=w?a+Sc(b)+c+Sc(d)+e+Sc(f)+h+Sc(l)+q:$e;a!==$e&&Cja(t,a);return hma},tg=function(a,b,c){Tja(b)&&
"function"===typeof b.set&&(b=b());var d=v(),e=Ed.bindingIndex++;if(Cf(d,e,b)){e=Ed.tView;var f=Jd();af(e,f,d,a,b,d[11],c,!1)}return tg},ug=function(a,b){var c=Tja(a)&&"function"===typeof a.set;c&&a.set(b);return c},vg=function(a,b){var c=v();Sla(Ed.tView,c,c[11],Fd(),a,b);return vg},ima=function(a,b,c,d,e){a=Zc(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)ima(a[f],b,c,d,e);else{f=Ed.tView;var h=v(),l=Fd(),q=qd(a)?a:Zc(a.provide),t=dga(a),w=l.providerIndexes&1048575,B=l.directiveStart,D=l.providerIndexes>>
20;if(qd(a)||!a.multi)d=new Rd(t,e),t=jma(q,b,e?w:w+D,B),-1===t?(t=Jga(l,h),Fga(t,f,q),kma(f,a,b.length),b.push(q),l.directiveStart++,l.directiveEnd++,e&&(l.providerIndexes+=1048576),c.push(d),h.push(d)):(c[t]=d,h[t]=d);else{B=jma(q,b,w+D,B);w=jma(q,b,w,w+D);var J=0<=B&&c[B];D=0<=w&&c[w];e&&!D||!e&&!J?(B=Jga(l,h),Fga(B,f,q),B=c.length,J=new Rd(e?lma:mma,e),J.multi=[],J.index=B,J.componentProviders=0,d&&!e&&J.componentProviders++,J.multi.push(t),!e&&D&&(c[w].providerFactory=J),kma(f,a,b.length,0),
b.push(q),l.directiveStart++,l.directiveEnd++,e&&(l.providerIndexes+=1048576),c.push(J),h.push(J)):(b=c[e?w:B],!e&&d&&b.componentProviders++,b=b.multi.push(t)-1,kma(f,a,-1<B?B:w,b));!e&&d&&D&&c[w].componentProviders++}}},kma=function(a,b,c,d){var e=qd(b),f=!!b.useClass;if(e||f)if(f=(f?Zc(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,f]):a[b+1].push(d,f)):a.push(c,f)},jma=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;
return-1},mma=function(){return nma(this.multi,[])},lma=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=Qd(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);nma(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],nma(b,c);return c},nma=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},wg=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=Ed.tView;f.firstCreatePass&&(d=
!!d.template,ima(b,f.data,f.blueprint,d,!0),ima(e,f.data,f.blueprint,d,!1))}}},yg=function(a){ae("NgStandalone");a.getStandaloneInjector=function(b){b=b.get(xg);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=Qfa(!1,a.type);c=0<c.length?Rja([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=null;return b}},zg=function(a,b){a=Hd()+a;var c=v();return c[a]===$e?Bf(c,a,b()):c[a]},Ag=function(a,b,c){return oma(v(),Hd(),a,b,c)},Bg=function(a,
b,c,d){return pma(v(),Hd(),a,b,c,d)},Cg=function(a,b,c,d,e){return qma(v(),Hd(),a,b,c,d,e)},sma=function(a,b,c,d,e,f){var h=rma,l=Hd()+8,q=v();var t=Df(q,l,a,b);t=Df(q,l+2,c,d)||t;return Df(q,l+4,e,f)||t?Bf(q,l+6,h(a,b,c,d,e,f)):q[l+6]},tma=function(a,b){a=a[b];return a===$e?void 0:a},oma=function(a,b,c,d,e,f){b+=c;return Cf(a,b,e)?Bf(a,b+1,f?d.call(f,e):d(e)):tma(a,b+1)},pma=function(a,b,c,d,e,f,h){b+=c;return Df(a,b,e,f)?Bf(a,b+2,h?d.call(h,e,f):d(e,f)):tma(a,b+2)},qma=function(a,b,c,d,e,f,h,l){b+=
c;c=Df(a,b,e,f);return Cf(a,b+2,h)||c?Bf(a,b+3,l?d.call(l,e,f,h):d(e,f,h)):tma(a,b+3)},V=function(a,b){var c=Ed.tView;a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=e;e--){var f=d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;(null!=(h=c.destroyHooks)?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||(b.factory=ld(b.type));b=Xc(C);try{var l=Dga(!1),q=h();Dga(l);var t=v();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=
null);t[a]=q}finally{Xc(b)}},W=function(a,b,c){a+=25;var d=v(),e=d[a];return d[1].data[a].pure?oma(d,Hd(),b,e.transform,c,e):e.transform(c)},Dg=function(a,b,c,d){a+=25;var e=v(),f=e[a];return e[1].data[a].pure?pma(e,Hd(),b,f.transform,c,d,f):f.transform(c,d)},uma=function(a,b,c,d){a+=25;var e=v(),f=e[a];return e[1].data[a].pure?qma(e,Hd(),b,f.transform,c,0,d,f):f.transform(c,0,d)},vma=function(a,b,c){a=a.\u0275cmp;a.directiveDefs=Ffa(b,!1);a.pipeDefs=Ffa(c,!0)},Eg=function(a,b){return Xla(a,b)},wma=
function(a){var b=Fd(),c=v();-1<b.componentOffset&&16!==(a&16)?(a=Ad(b.index,c),a=new Fg(a,a)):a=b.type&47?new Fg(c[15],c):null;return a},xma=function(a,b,c){a=a.previousIndex;if(null===a)return a;var d=0;c&&a<c.length&&(d=c[a]);return a+b+d},Bma=function(a){var b=a.schedulingMode;return[{provide:He,useFactory:a.ngZoneFactory},{provide:Wfa,multi:!0,useFactory:function(){var c=bd(Gg,{optional:!0});return function(){return c.initialize()}}},{provide:Wfa,multi:!0,useFactory:function(){var c=bd(Hg);return function(){c.initialize()}}},
{provide:yma,useFactory:zma},1===b?{provide:Ama,useValue:!0}:[],0===b?{provide:Ig,useExisting:Jg}:[]]},zma=function(){var a=bd(He),b=bd(bf);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},Cma=function(a){var b,c;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!=(b=null==a?void 0:a.eventCoalescing)?b:!1,shouldCoalesceRunChangeDetection:null!=(c=null==a?void 0:a.runCoalescing)?c:!1}},Hma=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+
b,e=new rd(d);return function(f){f=void 0===f?[]:f;var h=Dma();if(!h||h.injector.get(Ema,!1))if(f=[].concat(u(c),u(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Fma(f,d);if(Kg&&!Kg.get(Ema,!1))throw new Uc(400,!1);Oka();Kg=f;f.get(Lg);Gma(f)}f=Dma();if(!f)throw new Uc(401,!1);return f}},Fma=function(a,b){a=void 0===a?[]:a;return Mg({name:b,providers:[{provide:Ima,useValue:"platform"},{provide:Jma,useValue:new Set([function(){return Kg=null}])}].concat(u(a))})},Dma=function(){var a,b;return null!=(b=
null==(a=Kg)?void 0:a.get(Lg))?b:null},Gma=function(a){var b;null==(b=a.get(Kma,null))||b.forEach(function(c){return c()})},Ng=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},Og=function(a,b){b=void 0===b?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},Nma=function(a,b){ae("NgSignals");(null==b?0:b.injector)||iga();var c,d=null!=(c=null==b?void 0:b.injector)?c:bd(Ie);c=!0!==(null==b?void 0:b.manualCleanup)?d.get(Me):null;var e;a=new Lma(d.get(Mma),a,"undefined"===typeof Zone?
null:Zone.current,c,d,null!=(e=null==b?void 0:b.allowSignalWrites)?e:!1);if((d=d.get(Pg,null,{optional:!0}))&&d._lView[2]&8){var f,h;(null!=(h=(f=d._lView)[22])?h:f[22]=[]).push(a.watcher.notify)}else a.watcher.notify();return a},Oma=function(a){var b=Vc(null);try{return a()}finally{Vc(b)}},Pma=function(a,b){a=a[gd]||null;var c=b.elementInjector||aga();return(new Qg(a)).create(c,b.projectableNodes,b.hostElement,b.environmentInjector)},Qma=function(a){var b=a[gd]||null;if(!b)return null;var c=new Qg(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}}},Rma=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Ta`"+a+"`"+Tc(b));},Sma=function(a,b,c){a=ag(a);b=Rg([a[1],a[2]],b);return Rg(b,c)},Tma=function(a,b,c){a=ag(a);b=Rg([a[3],a[4]],b);return Rg(b,c)},Uma=function(a,b,c){a=ag(a);
b=Rg([a[5],a[6]],b);return Rg(b,c)},Vma=function(a,b){a=ag(a)[7];return Rg(a,b)},Wma=function(a,b){a=ag(a);return Rg(a[10],b)},Xma=function(a,b){a=ag(a);return Rg(a[11],b)},Yma=function(a,b){a=ag(a)[12];return Rg(a,b)},Sg=function(a,b){a=ag(a);var c=a[13][b];if("undefined"===typeof c){if(12===b)return a[13][0];if(13===b)return a[13][1]}return c},Zma=function(a){if(!a[21])throw Error("Ua`"+a[0]);},ana=function(a){a=ag(a);Zma(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?$ma(b):
[$ma(b[0]),$ma(b[1])]})},bna=function(a,b,c){a=ag(a);Zma(a);b=Rg([a[21][0],a[21][1]],b)||[];return Rg(b,c)||[]},Rg=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Va");},$ma=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},Tg=function(){return new Uc(2100,!1)},kna=function(a,b,c,d){var e=cna(a);b=Ug(c,b)||b;a=[];for(var f;b;)if(f=dna.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=ena(d,h),e=fna(e,d));var l="";a.forEach(function(q){a:if(gna[q])var t=gna[q];else{switch(q){case "G":case "GG":case "GGG":t=Vg(3,1);break;case "GGGG":t=Vg(3,2);break;case "GGGGG":t=Vg(3,0);break;case "y":t=Wg(0,1,0,!1,!0);break;case "yy":t=Wg(0,2,0,!0,!0);break;case "yyy":t=Wg(0,3,0,!1,!0);break;case "yyyy":t=Wg(0,4,0,!1,!0);break;case "Y":t=hna(1);break;case "YY":t=hna(2,!0);break;case "YYY":t=hna(3);break;case "YYYY":t=hna(4);break;case "M":case "L":t=Wg(1,1,1);break;case "MM":case "LL":t=
Wg(1,2,1);break;case "MMM":t=Vg(2,1);break;case "MMMM":t=Vg(2,2);break;case "MMMMM":t=Vg(2,0);break;case "LLL":t=Vg(2,1,1);break;case "LLLL":t=Vg(2,2,1);break;case "LLLLL":t=Vg(2,0,1);break;case "w":t=ina(1);break;case "ww":t=ina(2);break;case "W":t=ina(1,!0);break;case "d":t=Wg(2,1);break;case "dd":t=Wg(2,2);break;case "c":case "cc":t=Wg(7,1);break;case "ccc":t=Vg(1,1,1);break;case "cccc":t=Vg(1,2,1);break;case "ccccc":t=Vg(1,0,1);break;case "cccccc":t=Vg(1,3,1);break;case "E":case "EE":case "EEE":t=
Vg(1,1);break;case "EEEE":t=Vg(1,2);break;case "EEEEE":t=Vg(1,0);break;case "EEEEEE":t=Vg(1,3);break;case "a":case "aa":case "aaa":t=Vg(0,1);break;case "aaaa":t=Vg(0,2);break;case "aaaaa":t=Vg(0,0);break;case "b":case "bb":case "bbb":t=Vg(0,1,1,!0);break;case "bbbb":t=Vg(0,2,1,!0);break;case "bbbbb":t=Vg(0,0,1,!0);break;case "B":case "BB":case "BBB":t=Vg(0,1,0,!0);break;case "BBBB":t=Vg(0,2,0,!0);break;case "BBBBB":t=Vg(0,0,0,!0);break;case "h":t=Wg(3,1,-12);break;case "hh":t=Wg(3,2,-12);break;case "H":t=
Wg(3,1);break;case "HH":t=Wg(3,2);break;case "m":t=Wg(4,1);break;case "mm":t=Wg(4,2);break;case "s":t=Wg(5,1);break;case "ss":t=Wg(5,2);break;case "S":t=Wg(6,1);break;case "SS":t=Wg(6,2);break;case "SSS":t=Wg(6,3);break;case "Z":case "ZZ":case "ZZZ":t=jna(0);break;case "ZZZZZ":t=jna(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":t=jna(1);break;case "OOOO":case "ZZZZ":case "zzzz":t=jna(2);break;default:t=null;break a}gna[q]=t}l+=t?t(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,
"'")});return l},lna=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},Ug=function(a,b){var c=ag(a)[0];null!=Xg[c]||(Xg[c]={});if(Xg[c][b])return Xg[c][b];var d="";switch(b){case "shortDate":d=Wma(a,0);break;case "mediumDate":d=Wma(a,1);break;case "longDate":d=Wma(a,2);break;case "fullDate":d=Wma(a,3);break;case "shortTime":d=Xma(a,0);break;case "mediumTime":d=Xma(a,1);break;case "longTime":d=Xma(a,2);break;case "fullTime":d=Xma(a,3);break;case "short":d=Ug(a,"shortTime");
var e=Ug(a,"shortDate");d=mna(Yma(a,0),[d,e]);break;case "medium":d=Ug(a,"mediumTime");e=Ug(a,"mediumDate");d=mna(Yma(a,1),[d,e]);break;case "long":d=Ug(a,"longTime");e=Ug(a,"longDate");d=mna(Yma(a,2),[d,e]);break;case "full":d=Ug(a,"fullTime"),e=Ug(a,"fullDate"),d=mna(Yma(a,3),[d,e])}d&&(Xg[c][b]=d);return d},mna=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},Yg=function(a,b,c,d,e){var f="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,f=void 0===c?"-":c);for(a=
String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return f+a},Wg=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;e=void 0===e?!1:e;return function(f,h){f=nna(a,f);if(0<c||f>-c)f+=c;if(3===a)0===f&&-12===c&&(f=12);else if(6===a)return Yg(f,3).substring(0,b);h=Sg(h,5);return Yg(f,b,h,d,e)}},nna=function(a,b){switch(a){case 0:return b.getFullYear();case 1:return b.getMonth();case 2:return b.getDate();case 3:return b.getHours();case 4:return b.getMinutes();case 5:return b.getSeconds();case 6:return b.getMilliseconds();
case 7:return b.getDay();default:throw Error("Wa`"+a);}},Vg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,f){return ona(e,f,a,b,c,d)}},ona=function(a,b,c,d,e,f){switch(c){case 2:return Uma(b,e,d)[a.getMonth()];case 1:return Tma(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return f&&(c=ana(b),a=bna(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var t=k(q);q=t.next().value;t=t.next().value;var w=h>=q.hours&&l>=q.minutes,B=h<t.hours||h===t.hours&&l<t.minutes;
if(q.hours<t.hours){if(w&&B)return!0}else if(w||B)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:Sma(b,e,d)[12>h?0:1];case 3:return Vma(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Xa`"+c);}},jna=function(a){return function(b,c,d){b=-1*d;c=Sg(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+Yg(e,2,c)+Yg(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+Yg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+Yg(e,2,c)+":"+Yg(Math.abs(b%60),
2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+Yg(e,2,c)+":"+Yg(Math.abs(b%60),2,c);default:throw Error("Ya`"+a);}}},pna=function(a){var b=a.getDay();b=0===b?-3:4-b;return lna(a.getFullYear(),a.getMonth(),a.getDate()+b)},ina=function(a,b){b=void 0===b?!1:b;return function(c,d){if(b){var e=(new Date(c.getFullYear(),c.getMonth(),1)).getDay()-1;c=c.getDate();e=1+Math.floor((c+e)/7)}else{e=pna(c);c=e.getFullYear();var f=lna(c,0,1).getDay();c=lna(c,0,1+(4>=f?4:11)-f);e=1+Math.round((e.getTime()-c.getTime())/
6048E5)}return Yg(e,a,Sg(d,5))}},hna=function(a,b){b=void 0===b?!1:b;return function(c,d){c=pna(c).getFullYear();return Yg(c,a,Sg(d,5),b)}},ena=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},fna=function(a,b){var c=a.getTimezoneOffset();b=ena(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},cna=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;if("number"===typeof a&&!isNaN(a))return new Date(a);if("string"===
typeof a){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=k(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=void 0===c?1:c;b=b.next().value;return lna(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(qna))return rna(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Za`"+a);return b},rna=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,f=a[8]?b.setUTCHours:b.setHours;
a[9]&&(c=Number(a[9]+a[10]),d=Number(a[9]+a[11]));e.call(b,Number(a[1]),Number(a[2])-1,Number(a[3]));f.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||0),Math.floor(1E3*parseFloat("0."+(a[7]||0))));return b},sna=function(a,b){a=a.key;b=b.key;if(a===b)return 0;if(void 0===a)return 1;if(void 0===b)return-1;if(null===a)return 1;if(null===b)return-1;if("string"==typeof a&&"string"==typeof b)return a<b?-1:1;if("number"==typeof a&&"number"==typeof b)return a-b;if("boolean"==typeof a&&"boolean"==
typeof b)return a<b?-1:1;a=String(a);b=String(b);return a==b?0:a<b?-1:1},yna=function(a,b,c,d){var e=void 0===e?!1:e;var f="",h=!1;if(isFinite(a)){h=tna(a);e&&(h=una(h));f=b.minInt;e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(vna);if(null===q)throw Error("$a`"+d);d=q[1];var t=q[3];q=q[5];null!=d&&(f=wna(d));null!=t&&(e=wna(t));null!=q?l=wna(q):null!=t&&e>l&&(l=e)}xna(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(w){return!w});q<f;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);
0<q?l=d.splice(q,d.length):(l=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)f.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(Sg(c,1));l.length&&(f+=Sg(c,0)+l.join(""));e&&(f+=Sg(c,6)+"+"+e)}else f=Sg(c,9);return f=0>a&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},una=function(a){if(0===a.digits[0])return a;var b=a.digits.length-a.integerLen;a.exponent?a.exponent+=2:(0===b?a.digits.push(0,0):1===b&&a.digits.push(0),
a.integerLen+=2);return a},tna=function(a){a=Math.abs(a)+"";var b=0,c,d,e,f;-1<(c=a.indexOf("."))&&(a=a.replace(".",""));0<(d=a.search(/e/i))?(0>c&&(c=d),c+=+a.slice(d+1),a=a.substring(0,d)):0>c&&(c=a.length);for(d=0;"0"===a.charAt(d);d++);if(d===(f=a.length)){var h=[0];c=1}else{for(f--;"0"===a.charAt(f);)f--;c-=d;h=[];for(e=0;d<=f;d++,e++)h[e]=Number(a.charAt(d))}22<c&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},xna=function(a,b,c){if(b>c)throw Error("ab`"+b+"`"+c);var d=
a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(0<f){d.splice(Math.max(a.integerLen,f));for(var l=f;l<d.length;l++)d[l]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,l=1;l<f;l++)d[l]=0;if(5<=h)if(0>f-1){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=0!==c,t=b+a.integerLen;if(b=d.reduceRight(function(w,B,D,J){B+=w;J[D]=10>B?B:B-10;q&&(0===J[D]&&D>=
t?J.pop():q=!1);return 10<=B?1:0},0))d.unshift(b),a.integerLen++},wna=function(a){var b=parseInt(a);if(isNaN(b))throw Error("bb`"+a);return b},zna=function(a,b){if(0==a.length)return b;if(0==b.length)return a;var c=0;a.endsWith("/")&&c++;b.startsWith("/")&&c++;return 2==c?a+b.substring(1):1==c?a+b:a+"/"+b},Ana=function(a){var b=a.match(/#|\?|$/);b=b&&b.index||a.length;return a.slice(0,b-("/"===a[b-1]?1:0))+a.slice(b)},Zg=function(a){return a&&"?"!==a[0]?"?"+a:a},Bna=function(a){return RegExp("^(https?:)?//").test(a)?
(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Cna=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Dna=function(a){return function(b){if(Cna(b.value)||Cna(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},Ena=function(a){return Cna(a.value)?{required:!0}:null},Fna=function(a){return function(b){var c=b.value;return null!=c&&"number"===typeof c.length&&b.value.length>a?{maxlength:{requiredLength:a,actualLength:b.value.length}}:
null}},Hna=function(a){if(!a)return Gna;if("string"===typeof a){var b="";"^"!==a.charAt(0)&&(b+="^");b+=a;"$"!==a.charAt(a.length-1)&&(b+="$");var c=new RegExp(b)}else b=a.toString(),c=a;return function(d){if(Cna(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},Gna=function(){return null},Ina=function(a){return null!=a},Jna=function(a){return df(a)?(0,X.from)(a):a},Kna=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});
return 0===Object.keys(b).length?null:b},Lna=function(a,b){return b.map(function(c){return c(a)})},Mna=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},Nna=function(a){if(!a)return null;var b=a.filter(Ina);return 0==b.length?null:function(c){return Kna(Lna(c,b))}},Ona=function(a){return null!=a?Nna(Mna(a)):null},Pna=function(a){if(!a)return null;var b=a.filter(Ina);return 0==b.length?null:function(c){c=Lna(c,b).map(Jna);return(0,X.forkJoin)(c).pipe(z(Kna))}},
Qna=function(a){return null!=a?Pna(Mna(a)):null},Rna=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(u(a),[b]):[a,b]},Sna=function(a,b){return[].concat(u(b.path),[a])},$g=function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;Tna(a,b);b.valueAccessor.writeValue(a.value);if(a.disabled||"always"===c){var d,e;null==(e=(d=b.valueAccessor).setDisabledState)||e.call(d,a.disabled)}Una(a,b);Vna(a,b);Wna(a,b);Xna(a,b)},Zna=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),
b.valueAccessor.registerOnTouched(c));Yna(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},$na=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},Xna=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)})}},Tna=function(a,b){var c=a._rawValidators;null!==b.validator?aoa(a,
Rna(c,b.validator)):"function"===typeof c&&aoa(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?boa(a,Rna(c,b.asyncValidator)):"function"===typeof c&&boa(a,[c]);c=function(){return ah(a)};$na(b._rawValidators,c);$na(b._rawAsyncValidators,c)},Yna=function(a,b){var c=!1;if(null!==a){if(null!==b.validator){var d=a._rawValidators;if(Array.isArray(d)&&0<d.length){var e=d.filter(function(f){return f!==b.validator});e.length!==d.length&&(c=!0,a._assignValidators(e))}}null!==b.asyncValidator&&(d=a._rawAsyncValidators,
Array.isArray(d)&&0<d.length&&(e=d.filter(function(f){return f!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};$na(b._rawValidators,a);$na(b._rawAsyncValidators,a);return c},Una=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&coa(a,b)})},Wna=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&coa(a,
b);"submit"!==a.updateOn&&doa(a)})},coa=function(a,b){a._pendingDirty&&eoa(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},Vna=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)})},foa=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},goa=function(a,
b){a._syncPendingControls();b.forEach(function(c){var d=c.control;"submit"===d.updateOn&&d._pendingChange&&(c.viewToModelUpdate(d._pendingValue),d._pendingChange=!1)})},hoa=function(a){if(!a)return null;Array.isArray(a);var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===bh?b=e:Object.getPrototypeOf(e.constructor)===ch?c=e:d=e});return d?d:c?c:b?b:null},ioa=function(a){return(dh(a)?a.validators:a)||null},dh=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},joa=function(a,
b){a._forEachChild(function(c,d){if(void 0===b[d])throw new Uc(1002,"");})},koa=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},noa=function(){if(loa)return loa;if("object"!==typeof document||!document)return loa=new Set(moa);var a=document.createElement("input");return loa=new Set(moa.filter(function(b){a.setAttribute("type",b);return a.type===b}))},ooa=function(){if(null==eh&&"undefined"!==typeof window)try{window.addEventListener("test",
null,Object.defineProperty({},"passive",{get:function(){return eh=!0}}))}finally{eh=eh||!1}return eh},fh=function(a){return ooa()?a:!!a.capture},poa=function(){if(null==gh){if("object"!==typeof document||!document||"function"!==typeof Element||!Element)return gh=!1;if("scrollBehavior"in document.documentElement.style)gh=!0;else{var a=Element.prototype.scrollTo;gh=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return gh},roa=function(){if("object"!==typeof document||!document)return 0;if(null==
qoa){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);qoa=0;0===a.scrollLeft&&(a.scrollLeft=1,qoa=0===a.scrollLeft?1:2);a.remove()}return qoa},toa=function(a){if(null==soa){var b="undefined"!==typeof document?document.head:null;soa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return soa&&
(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},hh=function(){for(var a="undefined"!==typeof document&&document?document.activeElement:null;a&&a.shadowRoot;){var b=a.shadowRoot.activeElement;if(b===a)break;else a=b}return a},ih=function(a){return a.composedPath?a.composedPath()[0]:a.target},uoa=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||
"undefined"!==typeof Mocha&&!!Mocha},voa=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},woa=function(a){if(!voa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},xoa=function(a){return 0===a.buttons||0===a.detail},yoa=function(a){a=a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0];return!!a&&-1===a.identifier&&(null==a.radiusX||1===a.radiusX)&&(null==a.radiusY||
1===a.radiusY)},jh=function(a){var b=pd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},kh=function(a){return Array.isArray(a)?a:[a]},lh=function(a){return null!=a&&"false"!==""+a},mh=function(a){return null==a?"":"string"===typeof a?a:a+"px"},nh=function(a){return a instanceof Wd?a.nativeElement:a},oh=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},zoa=function(a){var b=void 0===b?/\s+/:b;var c=
[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=k(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);return c},Aoa=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},Boa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},Coa=function(){return null},Eoa=function(a,b,c){var d=Doa(a,b);c=c.trim();d.some(function(e){return e.trim()===c})||
(d.push(c),a.setAttribute(b,d.join(" ")))},ph=function(a,b,c){var d=Doa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},Doa=function(a,b){var c,d;return null!=(d=null==(c=a.getAttribute(b))?void 0:c.match(/\S+/g))?d:[]},Foa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},Hoa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+Goa++)},Ioa=function(){return bd(qh)},Joa=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})},Koa=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})},Loa=function(a){return a&&"function"===typeof a.connect&&!(a instanceof X.ConnectableObservable)},rh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Noa=function(a){if("number"!==typeof a&&null!=a){var b=k(a.split(Moa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:
parseFloat(a)}return a||null},Ooa=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)}},Poa=function(a,b){var c=function(){var d=a.apply(this,[].concat(u(pd.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};Y(c,a);Ac.Object.defineProperties(c.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(d){d=d||this.defaultColor;
d!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),d&&this._elementRef.nativeElement.classList.add("mat-"+d),this._color=d)}}});return c},Qoa=function(a){var b=function(){var c=a.apply(this,[].concat(u(pd.apply(0,arguments))))||this;c._disableRipple=!1;return c};Y(b,a);Ac.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=lh(c)}}});return b},
Roa=function(a){var b=function(){var c=a.apply(this,[].concat(u(pd.apply(0,arguments))))||this;c._disabled=!1;return c};Y(b,a);Ac.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=lh(c)}}});return b},Soa=function(){return bd(sh)},Toa=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)},Uoa=function(a){a&1&&K(0,"mat-pseudo-checkbox",
1);a&2&&(a=Q(),F("disabled",a.disabled)("state",a.selected?"checked":"unchecked"))},Voa=function(a){a&1&&K(0,"mat-pseudo-checkbox",3);a&2&&(a=Q(),F("disabled",a.disabled))},Woa=function(a){a&1&&(G(0,"span",4),S(1),I());a&2&&(a=Q(),A(),T("(",a.group.label,")"))},Xoa=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},Yoa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Zoa=function(){return{color:"accent"}},
$oa=function(a){a&1&&(G(0,"tr",0)(1,"td",3),S(2),I()());a&2&&(a=Q(),A(),Pf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Hf("colspan",a.numCols),A(),T(" ",a.label," "))},apa=function(a){a&1&&(G(0,"td",3),S(1),I());a&2&&(a=Q(2),Pf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Hf("colspan",a._firstRowOffset),A(),T(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},bpa=function(a,b){if(a&1){var c=v();G(0,"td",6)(1,"button",7);N("click",function(f){var h=
x(c).$implicit,l=Q(2);return y(l._cellClicked(h,f))})("focus",function(f){var h=x(c).$implicit,l=Q(2);return y(l._emitActiveDateChange(h,f))});G(2,"span",8);S(3);I();K(4,"span",9);I()()}if(a&2){a=b.$implicit;b=b.$index;var d=Q().$index,e=Q();Pf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);Hf("data-mat-row",d)("data-mat-col",b);A();Qf("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));F("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);Hf("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));A();Qf("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);A();T(" ",a.displayValue," ")}},cpa=function(a,b){a&1&&(G(0,"tr",1),E(1,apa,2,6,"td",4),Wf(2,bpa,5,48,"td",5,Vf),I());if(a&2){a=b.$implicit;b=b.$index;var c=Q();A();Uf(0===b&&c._firstRowOffset?1:-1);A();Xf(a)}},dpa=function(a){return"TD"===(null==a?void 0:a.nodeName)},epa=function(a){if(dpa(a))var b=a;else if(dpa(a.parentNode))b=a.parentNode;else{var c;dpa(null==(c=a.parentNode)?void 0:c.parentNode)&&
(b=a.parentNode.parentNode)}var d;return null!=(null==(d=b)?void 0:d.getAttribute("data-mat-row"))?b:null},fpa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},gpa=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},hpa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},ipa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},jpa=function(a,b){a&1&&(G(0,"th",2)(1,"span",6),S(2),I(),G(3,"span",3),S(4),I()());a&2&&(a=b.$implicit,A(2),rg(a.long),
A(2),rg(a.narrow))},lpa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=kpa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},th=function(a,b,c,d){return((a.getYear(b)-kpa(a,c,d))%24+24)%24},kpa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},mpa=function(){},npa=function(a){if(a&1){var b=v();G(0,"mat-month-view",4);vg("activeDateChange",function(c){x(b);var d=Q();ug(d.activeDate,c)||(d.activeDate=c);return y(c)});N("_userSelection",function(c){x(b);var d=
Q();return y(d._dateSelected(c))})("dragStarted",function(c){x(b);var d=Q();return y(d._dragStarted(c))})("dragEnded",function(c){x(b);var d=Q();return y(d._dragEnded(c))});I()}a&2&&(a=Q(),tg("activeDate",a.activeDate),F("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))},opa=function(a){if(a&1){var b=v();G(0,"mat-year-view",5);vg("activeDateChange",function(c){x(b);var d=Q();ug(d.activeDate,c)||(d.activeDate=c);return y(c)});N("monthSelected",function(c){x(b);var d=Q();return y(d._monthSelectedInYearView(c))})("selectedChange",function(c){x(b);var d=Q();return y(d._goToDateInView(c,"month"))});I()}a&2&&(a=Q(),tg("activeDate",a.activeDate),F("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},
ppa=function(a){if(a&1){var b=v();G(0,"mat-multi-year-view",6);vg("activeDateChange",function(c){x(b);var d=Q();ug(d.activeDate,c)||(d.activeDate=c);return y(c)});N("yearSelected",function(c){x(b);var d=Q();return y(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){x(b);var d=Q();return y(d._goToDateInView(c,"year"))});I()}a&2&&(a=Q(),tg("activeDate",a.activeDate),F("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},
rpa=function(a,b){return b.map(function(c){return c.replace(qpa,a)})},spa=function(a){var b=new Map;0<a.length&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=k(-1==d?[decodeURIComponent(c),""]:[decodeURIComponent(c.slice(0,d)),decodeURIComponent(c.slice(d+1))]);c=d.next().value;d=d.next().value;var e=b.get(c)||[];e.push(d);b.set(c,e)});return b},vpa=function(a){return encodeURIComponent(a).replace(tpa,function(b,c){var d;return null!=(d=upa[c])?d:b})},wpa=function(a){return""+
a},xpa=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},ypa=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},zpa=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},Apa=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,transferCache:a.transferCache}},Bpa=function(a,b){return b(a)},Cpa=function(a,
b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},Dpa=function(a,b,c){return function(d,e){return ud(c,function(){return b(d,function(f){return a(f,e)})})}},Hpa=function(a,b){var c=a.url.toLowerCase();if(!bd(Epa)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=bd(Fpa).getToken();var d=bd(Gpa);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},vh=function(a,b){b=void 0===b?{}:b;if(uc(a))return a;
a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return uh(a)},xh=function(a){var b=vh("");return uh(a.map(function(c){return wh(vh(c))}).join(wh(b).toString()))},Kpa=function(a){if(!Ipa.test(a))throw Error("$");if(-1!==Jpa.indexOf(a.toUpperCase()))throw Error("$");
},yh=function(a,b,c){Kpa(a);var d="<"+a;b&&(d+=Lpa(b));Array.isArray(c)||(c=void 0===c?[]:[c]);-1!==Mpa.indexOf(a.toUpperCase())?d+=">":(b=xh(c.map(function(e){return uc(e)?e:vh(String(e))})),d+=">"+b.toString()+"</"+a+">");return uh(d)},Lpa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!Ipa.test(e))throw Error("$");if(void 0!==f&&null!==f){if(/^on/i.test(e))throw Error("$");-1!==Npa.indexOf(e.toLowerCase())&&(f=f instanceof oc?f.toString():Xda(String(f))||"about:invalid#zClosurez");
f=e+'="'+vh(String(f))+'"';b+=" "+f}}return b},Ah=function(a){var b=pd.apply(1,arguments);if(0===b.length)return zh(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return zh(c)},Opa=function(){return new Uc(3008,!1)},Bh=function(a,b){return{type:7,name:a,definitions:b,options:{}}},Ch=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},Dh=function(a){return{type:3,steps:a,options:null}},Eh=function(a){return{type:6,styles:a,offset:null}},Fh=function(a,b){return{type:0,
name:a,styles:b,options:void 0}},Gh=function(a){return{type:5,steps:a}},Hh=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},Ih=function(){var a={optional:!0};return{type:11,selector:"@*",animation:{type:9,options:null},options:void 0===a?null:a}},Jh=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Ppa(parseFloat(a[1]),a[2])},Ppa=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Qpa=function(a,b,c){if(a.hasOwnProperty("duration"))b=
a;else a:{var d=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,e=0,f="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new Uc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Ppa(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Ppa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,0>a&&(b.push(new Uc(3100,!1)),c=!0),0>e&&(b.push(new Uc(3101,!1)),c=!0),c&&b.splice(d,0,new Uc(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},Rpa=function(a){return a.length?
a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},Kh=function(a,b,c){b.forEach(function(d,e){var f=Spa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},Lh=function(a,b){b.forEach(function(c,d){d=Spa(d);a.style[d]=""})},Mh=function(a){if(Array.isArray(a)){var b;1==a.length?b=a[0]:b={type:2,steps:a,options:null};a=b}return a},Upa=function(a,b,c){var d=b.params||{};a=Tpa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Uc(3001,!1))})},Tpa=function(a){var b=
[];if("string"===typeof a){for(var c;c=Vpa.exec(a);)b.push(c[1]);Vpa.lastIndex=0}return b},Nh=function(a,b,c){var d=""+a,e=d.replace(Vpa,function(f,h){h=b[h];null==h&&(c.push(new Uc(3003,!1)),h="");return h.toString()});return e==d?a:e},Spa=function(a){return a.replace(Wpa,function(){return pd.apply(0,arguments)[1].toUpperCase()})},Ypa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,l){d.has(l)||e.push(l);d.set(l,h)});if(e.length){c={};for(var f=1;f<b.length;c={kf$jscomp$1:void 0},
f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(l){return h.kf$jscomp$1.set(l,Xpa(a,l))}}(c))}}return b},Oh=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 Uc(3004,!1);}},Xpa=function(a,b){return window.getComputedStyle(a)[b]},Qh=function(a){switch(a.length){case 0:return new Ph;case 1:return a[0];default:return new Zpa(a)}},aqa=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(l){var q=l.get("offset"),t=q==f,w=t&&h||new Map;l.forEach(function(B,D){var J=D;if("offset"!==D)switch(J=Spa(J),B){case "!":B=b.get(D);
break;case "*":B=c.get(D);break;default:B=$pa(J,B,d)}w.set(J,B)});t||e.push(w);h=w;f=q});if(d.length)throw new Uc(3502,!1);return e},cqa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&bqa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&bqa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&bqa(c,"destroy",a))})}},bqa=function(a,b,c){var d=c.totalTime;b=dqa(a.element,a.triggerName,a.fromState,a.toState,b||a.phaseName,void 0==d?a.totalTime:
d,c.disabled?!0:!1);a=a._data;null!=a&&(b._data=a);return b},dqa=function(a,b,c,d,e,f,h){return{element:a,triggerName:b,fromState:c,toState:d,phaseName:void 0===e?"":e,totalTime:void 0===f?0:f,disabled:!!h}},Rh=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},eqa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},gqa=function(a){a=a.parentNode||a.host||null;return a===fqa?null:a},hqa=function(a,b){for(;b;){if(b===a)return!0;b=gqa(b)}return!1},iqa=function(a,b,c){return c?
Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},lqa=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=jqa(d,b),"function"==typeof d)){c.push(d);d=void 0;break a}var e=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==e||4>e.length)b.push(new Uc(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(kqa(d,e));"<"!=f[0]||"*"==d&&"*"==e||c.push(kqa(e,d));d=void 0}}return d}):c.push(a);return c},jqa=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 Uc(3016,!1)),"* => *"}},kqa=function(a,b){var c=mqa.has(a)||nqa.has(a),d=mqa.has(b)||nqa.has(b);return function(e,f){var h="*"==a||a==e,l="*"==b||b==f;!h&&c&&"boolean"===typeof e&&(h=e?mqa.has(a):nqa.has(a));!l&&d&&"boolean"===typeof f&&(l=f?mqa.has(b):nqa.has(b));return h&&l}},pqa=function(a){var b=
a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(oqa,""));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]},qqa=function(a){if("string"==typeof a)return null;var b=null;Array.isArray(a)?a.forEach(function(c){c instanceof Map&&c.has("offset")&&(b=parseFloat(c.get("offset")),c.delete("offset"))}):a instanceof Map&&a.has("offset")&&(b=parseFloat(a.get("offset")),a.delete("offset"));
return b},rqa=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Qpa(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=Qpa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Sh=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},sqa=
function(a,b,c,d,e,f,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:void 0===h?null:h,subTimeline:void 0===l?!1:l}},uqa=function(a,b,c,d,e,f,h,l,q,t){f=void 0===f?new Map:f;h=void 0===h?new Map:h;t=void 0===t?[]:t;return(new tqa).buildKeyframes(a,b,c,d,e,f,h,l,q,t)},vqa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},wqa=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===e){null!=d||(d=b.keys());e=k(d);for(var f=
e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=k(e),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;c.set(f,h)}});return c},xqa=function(a,b,c,d,e,f,h,l,q,t,w,B,D){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:t,postStyleProps:w,totalTime:B,errors:D}},yqa=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},zqa=function(a,b){var c=Object.assign({},
b);Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;null!=e&&(c[d]=e)});return c},Aqa=function(a,b){return new Th(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},Bqa=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))},Cqa=function(a){return a&&1===a.nodeType},Dqa=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},Fqa=function(a,b,
c,d,e){var f=[];c.forEach(function(q){return f.push(Dqa(q))});var h=[];d.forEach(function(q,t){var w=new Map;q.forEach(function(B){var D=b.computeStyle(t,B,e);w.set(B,D);D&&0!=D.length||(t.__ng_removed=Eqa,h.push(t))});a.set(t,w)});var l=0;c.forEach(function(q){return Dqa(q,f[l++])});return h},Gqa=function(a,b){function c(h){if(!h)return 1;var l=f.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:e.has(q)?l=1:l=c(q);f.set(h,l);return l}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(0==
b.length)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var l=c(h);1!==l&&d.get(l).push(h)});return d},Uh=function(a,b){var c;null==(c=a.classList)||c.add(b)},Vh=function(a,b){var c;null==(c=a.classList)||c.remove(b)},Hqa=function(a,b,c){Qh(c).onDone(function(){return Wh(a,b)})},Jqa=function(a){var b=[];Iqa(a,b);return b},Iqa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof Zpa?Iqa(d.players,b):b.push(d)}},Kqa=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},Lqa=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},Oqa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=Mqa(b[0]),1<b.length&&(d=Mqa(b[b.length-1]))):b instanceof Map&&(c=Mqa(b));return c||d?new Nqa(a,c,d):null},Mqa=function(a){var b=null;a.forEach(function(c,d){if("display"===d||"position"===
d)b=b||new Map,b.set(d,c)});return b},Pqa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},Qqa=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},Rqa=function(){},Sqa=function(a,b){for(var c=a.length;c--;)b(a[c])},Tqa=function(){},Uqa=function(a){return null==a?null:"number"===typeof a?a:a.endsWith("ms")?oh(a.substring(0,a.length-2)):a.endsWith("s")?1E3*oh(a.substring(0,a.length-1)):"0"===a?0:
null},Vqa=function(){},Wqa=function(a,b){for(var c=a.nativeElement.parentElement;c&&!c.classList.contains("mat-dialog-container");)c=c.parentElement;return c?b.find(function(d){return d.id===c.id}):null},Xqa=function(a){a&1&&K(0,"span",19)},Yqa=function(a){a&1&&(G(0,"label",18),dg(1,1),E(2,Xqa,1,0,"span",19),I());a&2&&(a=Q(2),F("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),Hf("for",a._control.id),A(2),Uf(!a.hideRequiredMarker&&a._control.required?2:-1))},Zqa=
function(a){a&1&&E(0,Yqa,3,5,"label",18);a&2&&(a=Q(),Uf(a._hasFloatingLabel()?0:-1))},$qa=function(a){a&1&&K(0,"div",5)},ara=function(){},bra=function(a){a&1&&E(0,ara,0,0,"ng-template",11);a&2&&(Q(2),a=R(1),F("ngTemplateOutlet",a))},cra=function(a){a&1&&(G(0,"div",7),E(1,bra,1,1,null,11),I());a&2&&(a=Q(),F("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),A(),Uf(a._forceDisplayInfixLabel()?-1:1))},dra=function(a){a&1&&(G(0,"div",8,2),dg(2,2),I())},era=function(a){a&1&&(G(0,"div",9,3),dg(2,3),
I())},fra=function(){},gra=function(a){a&1&&E(0,fra,0,0,"ng-template",11);a&2&&(Q(),a=R(1),F("ngTemplateOutlet",a))},hra=function(a){a&1&&(G(0,"div",12),dg(1,4),I())},ira=function(a){a&1&&(G(0,"div",13),dg(1,5),I())},jra=function(a){a&1&&K(0,"div",14)},kra=function(a){a&1&&(G(0,"div",16),dg(1,6),I());a&2&&(a=Q(),F("@transitionMessages",a._subscriptAnimationState))},lra=function(a){a&1&&(G(0,"mat-hint",20),S(1),I());a&2&&(a=Q(2),F("id",a._hintLabelId),A(),rg(a.hintLabel))},mra=function(a){a&1&&(G(0,
"div",17),E(1,lra,2,2,"mat-hint",20),dg(2,7),K(3,"div",21),dg(4,8),I());a&2&&(a=Q(),F("@transitionMessages",a._subscriptAnimationState),A(),Uf(a.hintLabel?1:-1))},ora=function(){if(void 0===nra&&(nra=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(nra=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return nra},pra=function(a){var b;return(null==(b=ora())?void 0:b.createHTML(a))||a},qra=function(){var a=bd(qh),b=a?a.location:null;return{getPathname:function(){return b?
b.pathname+b.search:""}}},rra=function(a){a&1&&(G(0,"mat-icon",9),S(1),I());a&2&&(a=Q(2),A(),rg(a.actionBtnIcon))},sra=function(a){if(a&1){var b=v();G(0,"button",6);N("click",function(){x(b);var c=Q();return y(c.action.emit())});G(1,"span",7);S(2);E(3,rra,2,1,"mat-icon",8);I()()}a&2&&(a=Q(),A(2),T(" ",a.actionBtnText," "),A(),F("ngIf",a.actionBtnIcon))},tra=function(a){if(a&1){var b=v();G(0,"onedev-feature-tooltip-body",1);N("action",function(){x(b);var c=Q();return y(c.action.emit())})("dismiss",
function(){x(b);var c=Q();c.hideFeatureTooltip();c.dismiss.emit();return y()});dg(1);I()}a&2&&(a=Q(),F("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",a.widthOffset))},Xh=function(a){a&&"function"==typeof a.dispose&&a.dispose()},ura=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];za(d)?ura.apply(null,d):Xh(d)}},vra=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=
271733878;e[4]=3285377520;w=t=0}function b(B){for(var D=h,J=0;64>J;J+=4)D[J/4]=B[J]<<24|B[J+1]<<16|B[J+2]<<8|B[J+3];for(J=16;80>J;J++)B=D[J-3]^D[J-8]^D[J-14]^D[J-16],D[J]=(B<<1|B>>>31)&4294967295;B=e[0];var H=e[1],O=e[2],P=e[3],U=e[4];for(J=0;80>J;J++){if(40>J)if(20>J){var aa=P^H&(O^P);var pa=1518500249}else aa=H^O^P,pa=1859775393;else 60>J?(aa=H&O|P&(H|O),pa=2400959708):(aa=H^O^P,pa=3395469782);aa=((B<<5|B>>>27)&4294967295)+aa+U+pa+D[J]&4294967295;U=P;P=O;O=(H<<30|H>>>2)&4294967295;H=B;B=aa}e[0]=
e[0]+B&4294967295;e[1]=e[1]+H&4294967295;e[2]=e[2]+O&4294967295;e[3]=e[3]+P&4294967295;e[4]=e[4]+U&4294967295}function c(B,D){if("string"===typeof B){B=unescape(encodeURIComponent(B));for(var J=[],H=0,O=B.length;H<O;++H)J.push(B.charCodeAt(H));B=J}D||(D=B.length);J=0;if(0==t)for(;J+64<D;)b(B.slice(J,J+64)),J+=64,w+=64;for(;J<D;)if(f[t++]=B[J++],w++,64==t)for(t=0,b(f);J+64<D;)b(B.slice(J,J+64)),J+=64,w+=64}function d(){var B=[],D=8*w;56>t?c(l,56-t):c(l,64-(t-56));for(var J=63;56<=J;J--)f[J]=D&255,
D>>>=8;b(f);for(J=D=0;5>J;J++)for(var H=24;0<=H;H-=8)B[D++]=e[J]>>H&255;return B}for(var e=[],f=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var t,w;a();return{reset:a,update:c,digest:d,digestString:function(){for(var B=d(),D="",J=0;J<B.length;J++)D+="0123456789ABCDEF".charAt(Math.floor(B[J]/16))+"0123456789ABCDEF".charAt(B[J]%16);return D}}},Ara=function(a,b){b=void 0===b?wra:b;if(!xra){var c;a=null==(c=a.navigator)?void 0:c.userAgentData;if(!a||"function"!==typeof a.getHighEntropyValues||a.brands&&"function"!==
typeof a.brands.map)return Promise.reject(Error("Gb"));c=(a.brands||[]).map(function(e){var f=new Yh;return Zh(f,1,e.brand).setVersion(e.version)});yra($h(zra,2,a.mobile),c);xra=a.getHighEntropyValues(b)}var d=new Set(b);return xra.then(function(e){var f=zra.clone();d.has("platform")&&f.setPlatform(e.platform);d.has("platformVersion")&&Zh(f,4,e.platformVersion);d.has("architecture")&&Zh(f,5,e.architecture);d.has("model")&&f.setModel(e.model);d.has("uaFullVersion")&&Zh(f,7,e.uaFullVersion);return f}).catch(function(){return zra.clone()})},
Bra=function(a){a&1&&(Kd(),G(0,"svg",2),K(1,"polygon",3),I())},Cra=function(a){if(a&1){var b=v();G(0,"div",0);N("keydown",function(c){x(b);var d=Q();return y(d._handleKeydown(c))})("click",function(){x(b);var c=Q();return y(c.closed.emit("click"))})("@transformMenu.start",function(c){x(b);var d=Q();return y(d._onAnimationStart(c))})("@transformMenu.done",function(c){x(b);var d=Q();return y(d._onAnimationDone(c))});G(1,"div",1);dg(2);I()()}a&2&&(a=Q(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",
a._panelAnimationState),Hf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Dra=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},Gra=function(a){var b=ai(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Era:new Fra;if(b.startsWith("application/x-protobuf")){a=ai(a,
"Content-Transfer-Encoding");if(!a)return new bi;if("base64"==a.toLowerCase())return new ci}return null},Hra=function(){},Ira=function(a){a&1&&(Kd(),G(0,"svg",2),K(1,"path",3),I())},Jra=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},Kra=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=d.apply(this,arguments)}return c}},di=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;
default:return null}},Lra=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}},Mra=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},ei=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""}},Nra=function(a){var b=a.getId(),c=
fi(a,3);var d=gi(a,2,hi());a=ii(a,4,hi());return ji({id:b,std_offset:c,names:d,transitions:a||[]})},Ora=function(a,b){return a.size!==b.size?!1:[].concat(u(a)).every(function(c){return b.has(c)})},Pra=function(a){var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=k(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},Qra=function(a,b){if(!Ora(a,b)){var c=[].concat(u(b)).filter(function(e){return!a.has(e)}),d=[].concat(u(a)).filter(function(e){return!b.has(e)});return{added:c,
removed:d}}},Rra=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(u(a===c?b:a)).filter(function(d){return c.has(d)}))},Sra=function(a,b){return a.size>=b.size&&[].concat(u(b)).every(function(c){return a.has(c)})},ki=function(a,b){if(a===b)return!0;if(null==a||null==b)return a===b;if(Array.isArray(a)){if(!Array.isArray(b))return!1;var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(!ki(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?Ora(a,b):!1;if(uc(a)||uc(b))return uc(a)&&uc(b)?a===b||a.toString()===b.toString():!1;if(a instanceof n||b instanceof n)return a instanceof n&&b instanceof n?(Ab=0,c=a==b||!(!a||!b)&&a instanceof b.constructor&&dca(a,b),a&&b&&a.constructor===b.constructor&&!c&&0<Ab&&!Tra++&&tba(),a=c):a=!1,a;if("object"===typeof a){if("object"!==
typeof b)return!1;c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var f=c[e];if(!Ura.call(b,f)||!ki(a[f],b[f]))return!1}return!0}return!1},Vra=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=k(b),f=e.next();!f.done;f=e.next())if(ki(c,f.value)){d=!0;break}d||b.push(c)}return b},Wra=function(a,b){for(var c=a.length-1;0<=c;c--)ki(a[c],b)&&a.splice(c,1)},Xra=function(a,b,c){c=void 0===c?Infinity:c;if(a===b)return!0;if((null==
a||null==b)&&a!==b)return!1;var d=Object.keys(a),e=Object.keys(b);if(d.length!==e.length)return!1;c=Math.min(d.length,c);for(e=0;e<c;e++){var f=d[e];if(a[f]!==b[f]&&("object"!==typeof a[f]||"object"!==typeof b[f]))return!1}return!0},Zra=function(a){return Object.assign.apply(Object,[{}].concat(u(Yra.map(function(b){var c={};return c[b]=a[b],c}))))},li=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=k(a);for(var c=
a.next();!c.done;c=a.next())b.push(li(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(li(c),li(d))}a=b}else if(!uc(a))if(a instanceof n)a=a.clone();else{b={};c=k(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[d]=li(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},$ra=function(a){return"number"===
typeof a},mi=function(a){return"string"===typeof a},ni=function(a){return Array.isArray(a)&&a.every(mi)},asa=function(a){return Array.isArray(a)&&a.every($ra)},bsa=function(a){if(null==a)return!1;a=String(a).trim();if(2>=a.length)return!1;var b=Number(a);return isNaN(b)?!1:String(b).length===a.length},oi=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},ri=function(a){if(a){if($ra(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new pi(b)}b=
a.split("/");if(3===b.length)return a=qi(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new pi(a,qi(b[0])-1,qi(b[1]));if(1===b.length)return ri(Number(a))}return new pi},csa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},dsa=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&"application/pdf"!==a)},esa=function(a,b){return a.map(function(c){return c[b]})},fsa=function(a,b){return a.filter(function(c){return!b.has(c)})},gsa=function(a,b){for(var c=k(a),d=c.next();!d.done;d=
c.next())if(!b.has(d.value))return!1;b=k(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},si=function(a,b){return fsa(a,new Set(b))},hsa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(ti).filter(function(d){return!!d})},isa=function(a,b){a=new URL(a);return a.host+a.pathname+b},ui=function(a){return void 0!==a.user},vi=function(a){return void 0!==a.group},jsa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";
default:return wi(a.replace(/_/g," ").toLowerCase())}},yi=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new xi;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);(null==d?0:d.length)&&e.setAliasesList(d);if(a)switch(a){case "UNSPECIFIED":e.setUserGaiaStatus(0);break;case "ACTIVE":e.setUserGaiaStatus(1);break;case "DELETED":e.setUserGaiaStatus(2);break;case "UNAVAILABLE":e.setUserGaiaStatus(3);break;default:vc(a)}return e},Ai=function(a){var b=
{},c=a.getEmailAddress();c&&(b.emailAddress=c);if(c=a.getObfuscatedEmailAddress())b.obfuscatedEmailAddress=c;c=a.getUserGaiaStatus();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("Xb`"+c);}a=a.getAliasesList(zi);if(null==a?0:a.length)b.aliases=a;return b},Bi=function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},Ci=function(a){if(null!=a)return String(a)},
ksa=function(a){if(null!=a&&"0"!==a)return a},Di=function(a){return null==a?void 0:a},lsa=function(a){return function(b){return null==b?a:b}},Ei=function(a){return null!=a},msa=function(a){if(null!=a)return a/1E3},osa=function(a){a=a.getIt();var b=a.getTrackerId_asString(),c=a.getName(),d=a.getComponentId_asString(),e=Fi(a,4,hi()).map(String);var f=Gi(a,Hi,6);f=null!=f?{logoUrl:f.getLogoUrl(),cocUrl:ec(f,3),theme:nsa[f.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,
branding:null!=f?f:null,internalBaseUrl:a.getInternalBaseUrl()||void 0,externalBaseUrl:a.getExternalBaseUrl()||void 0,collaboratorGroups:0<Ii(a,xi,10,hi()).length?Ii(a,xi,10,hi()).map(Ai):void 0}},psa=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(osa)},qsa=function(a){return{trackers:a.getTrackersList().map(osa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Ji=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(rsa[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";
case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Hsa=function(a){var b={};Ki(a,1)&&(b.showFullHistory=Li(a,1));Ki(a,2)&&(b.useCodefont=Li(a,2));Mi(a,5)&&(b.resultsPerPage=fi(a,5));Ki(a,26)&&(b.showRecentEventsFirst=Li(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(ssa).filter(Ei)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(tsa).filter(Ei)};Ni(a,7)&&(b.bannerMessageId=ec(a,7));if(c=Gi(a,usa,3)){var d={};Oi(c,1)&&(d.reportedPriority=
Pi[Qi(c,1,0)]);Oi(c,2)&&(d.assignedPriority=Pi[Qi(c,2,0)]);Oi(c,3)&&(d.verifiedPriority=Pi[Qi(c,3,0)]);Oi(c,4)&&(d.ccdPriority=Pi[Qi(c,4,0)]);Oi(c,9)&&(d.collaboratorPriority=Pi[Qi(c,9,0)]);Oi(c,5)&&(d.starredPriority=Pi[Qi(c,5,0)]);Ki(c,6)&&(d.excludeChangesByMe=Li(c,6));Ki(c,7)&&(d.unsubscribeFromAll=Li(c,7));Ki(c,8)&&(d.enableV2Prefs=Li(c,8));b.notificationPreferences=d}if(d=Gi(a,vsa,9)){c={showHotlists:Li(d,1),showStatusIcons:Li(d,4),wrapComponents:Li(d,3),wrapTitles:Li(d,2),rtlComponentPath:Li(d,
5)};var e=Mb(d,6,vb);c.fieldStatus=Object.fromEntries(e.entries());d=Mb(d,7,vb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Mi(c,1)&&(d.leftSidebarWidth=fi(c,1)),Ki(c,2)&&(d.expandIssueSlo=Li(c,2)),Mi(c,3)&&(d.rightSidebarWidth=fi(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Ni(c,1)&&(d.calendarFormat=ec(c,1)),Ni(c,2)&&(d.timeFormat=ec(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),Oi(c,7)&&(d.sloEtaViewAs=wsa[Qi(c,
7,0)]),b.dateTimePreferences=d;if(c=Gi(a,Ri,8))d={},Oi(c,1)&&(d.density=xsa[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=ysa(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId_asString()),b.homepagePreferences=d;if(c=Gi(a,zsa,17))d={},Ki(c,1)&&(d.enableAllHotkeys=Li(c,1,!0)),b.keyboardPreferences=d;null!=Si(a,16)&&(b.newFeaturesAcknowledgedMillis=Ti(a,16));Ki(a,18)&&(b.autoCcOnComment=Li(a,18));Ui(a,Vi,20)&&(d=
Gi(a,Vi,20),c=Qi(d,2,0),d=Qi(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Asa(c),lastPublishMode:Asa(d)});Ui(a,Wi,21)&&(c=Gi(a,Wi,21),d={},Ki(c,2)&&(d.announcementDismissed=Li(c,2)),Ki(c,1)&&(d.enableBugScreensaver=Li(c,1)),b.bugScreensaverPreferences=d);Ui(a,Xi,24)&&(c=Gi(a,Xi,24),d={},Yi(c,1)&&(d.announcementDismissedMillis=Zi(c,1)),b.g3nPreferences=d);if(c=Gi(a,$i,23))c=Ii(c,Bsa,1,hi()),b.teamWarningPreferences={componentTeamWarnings:c.map(Csa)};c=Ob(a,25,aj,vb);c.size&&(b.dismissalTimestamps=
Dsa(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Ki(a,29)&&(b.showInlineImages=a.getShowInlineImages());Ui(a,bj,28)&&(c=Gi(a,bj,28),d={},Oi(c,1)&&(d.commentFilter=Esa(Qi(c,1,0))),b.commentFilterPreferences=d);Ui(a,cj,30)&&(b.needsAttentionPreferences=Fsa(Gi(a,cj,30)));if(a=Gi(a,dj,31))b.missionControlPreferences=Gsa(a);return b},ssa=function(a){if(a.hasType()){var b={type:Isa[a.getType()]};a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId_asLegacyNumberOrString());
return b}},tsa=function(a){var b=a.getColumn();if(b=b&&ssa(b)){if(Oi(a,2))a:switch(a=Qi(a,2,1),a){case 1:a="ASCENDING";break a;case 2:a="DESCENDING";break a;default:a=vc(a,"Unknown sortOrder: "+a)}else a=void 0;if(a)return{column:b,order:a}}},Asa=function(a){if(0!==a)return rsa[a]},ysa=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 vc(a,"Unknown resourceType: "+a)}},
Csa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asLegacyNumberOrString());Yi(a,2)&&(b.dismissMillis=Zi(a,2));return b},Dsa=function(a){a=Array.from(a.entries()).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Esa=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 vc(a,"Unknown resourceType: "+a)}},Fsa=function(a){var b=
{};b.selectedSignals=ej(a,1,hi()).map(function(c){return Jsa[c]});return b},Gsa=function(a){var b=Mi(a,3)?fi(a,3):void 0,c=Mi(a,6)?fi(a,6):void 0,d=Mi(a,5)?fi(a,5):void 0,e=Mi(a,4)?fi(a,4):void 0,f=Ki(a,10)?Li(a,10):void 0,h=Ki(a,11)?Li(a,11):void 0,l=Ki(a,12)?Li(a,12):void 0,q=ej(a,7,hi()).map(function(w){return Ksa[w]}),t=ej(a,8,hi()).map(function(w){return Ksa[w]});b={workAreaUrls:gi(a,1,hi(zi)),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,needsAttentionSources:q,myTasksSources:t,
hideBadgeInNav:f,isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:l};c=Mb(a,9,Wba);c.size&&(b.workAreaQuickFilters=Lsa(c));a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},Lsa=function(a){var b={};a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b[c]=Msa[d]}return b},Zsa=function(a){var b=new fj;null!=a.showFullHistory&&$h(b,1,a.showFullHistory);null!=a.useCodefont&&$h(b,2,a.useCodefont);null!=
a.resultsPerPage&&gj(b,5,a.resultsPerPage);null!=a.displayColumns&&b.setDisplayColumns(Nsa(a.displayColumns));if(null!=a.sortColumns){var c=Osa(a.sortColumns);hj(b,ij,6,c)}null!=a.bannerMessageId&&Zh(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new usa;d=jj(d,1,kj[c.reportedPriority]);d=jj(d,2,kj[c.assignedPriority]);d=jj(d,3,kj[c.verifiedPriority]);d=jj(d,4,kj[c.ccdPriority]);d=jj(d,9,kj[c.collaboratorPriority]);d=jj(d,5,kj[c.starredPriority]);d=$h(d,
6,c.excludeChangesByMe);d=$h(d,7,c.unsubscribeFromAll);c=$h(d,8,c.unsubscribeFromAll);hj(b,usa,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new vsa,d=$h(d,1,c.showHotlists),d=$h(d,2,c.wrapTitles),d=$h(d,3,c.wrapComponents),d=$h(d,4,c.showStatusIcons),d=$h(d,5,c.rtlComponentPath),null!=c.fieldStatus&&lj(c.fieldStatus,Mb(d,6,vb)),null!=c.modeForField&&lj(c.modeForField,Mb(d,7,vb)),hj(b,vsa,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new Psa,null!=c.leftSidebarWidth&&gj(d,
1,c.leftSidebarWidth),null!=c.expandIssueSlo&&$h(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&gj(d,3,c.rightSidebarWidth),hj(b,Psa,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new mj,d=Zh(d,1,c.calendarFormat),d=Zh(d,2,c.timeFormat).setTimeZone(c.timeZone),c=jj(d,7,Qsa[c.sloEtaViewAs]),hj(b,mj,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Ri).setDensity(Rsa[c.density]),hj(b,Ri,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new nj,null!=c.resourceType&&
d.setResourceType(Ssa(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),hj(b,nj,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new zsa,c=$h(d,1,c.enableAllHotkeys),hj(b,zsa,17,c));null!=a.newFeaturesAcknowledgedMillis&&oj(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&$h(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new Vi,c.commentDisplayOverride&&jj(d,2,Tsa(c.commentDisplayOverride)),c.lastPublishMode&&jj(d,
1,Tsa(c.lastPublishMode)),hj(b,Vi,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Wi,null!=c.enableBugScreensaver&&$h(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&$h(d,2,c.announcementDismissed),hj(b,Wi,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Xi,null!=c.announcementDismissedMillis&&pj(d,1,c.announcementDismissedMillis),hj(b,Xi,24,d));null!=a.teamWarningPreferences&&(c=Usa(a.teamWarningPreferences),hj(b,$i,23,c));if(null!=a.dismissalTimestamps){d=
a.dismissalTimestamps;c=Ob(b,25,aj,vb);d=k(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;var h=f.next().value;f=c;var l=f.set,q=new aj,t=q;h=h.getTime();Number.isFinite(h)||(h=0);t.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(f,e,q)}}null!=a.collapsed&&lj(a.collapsed,b.getCollapsedMap());null!=a.showRecentEventsFirst&&$h(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&$h(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&
(d=a.commentFilterPreferences,c=new bj,null!=d.commentFilter&&(d=Vsa(d.commentFilter),jj(c,1,d)),hj(b,bj,28,c));null!=a.needsAttentionPreferences&&(d=a.needsAttentionPreferences,c=new cj,d.selectedSignals&&(d=d.selectedSignals.map(Wsa),qj(c,1,d)),hj(b,cj,30,c));if(null!=a.missionControlPreferences){a=a.missionControlPreferences;c=new dj;a.workAreaUrls&&rj(c,1,a.workAreaUrls);a.collapsed&&lj(a.collapsed,c.getCollapsedMap());if(a.workAreaQuickFilters){d=a.workAreaQuickFilters;e={};f=k(Object.keys(d));
for(l=f.next();!l.done;l=f.next())l=l.value,e[l]=Xsa[d[l]];lj(e,Mb(c,9,Wba))}null!=a.myTasksTab&&gj(c,3,a.myTasksTab);null!=a.workAreaTab&&gj(c,4,a.workAreaTab);null!=a.myTasksDaysOld&&gj(c,6,a.myTasksDaysOld);null!=a.needsAttentionDaysOld&&gj(c,5,a.needsAttentionDaysOld);a.needsAttentionSources&&(d=a.needsAttentionSources.map(Ysa),qj(c,7,d));a.myTasksSources&&(d=a.myTasksSources.map(Ysa),qj(c,8,d));null!=a.hideBadgeInNav&&$h(c,10,!!a.hideBadgeInNav);null!=a.isNeedsAttentionSourcesConfigured&&$h(c,
11,!!a.isNeedsAttentionSourcesConfigured);null!=a.isMyTasksSourcesConfigured&&$h(c,12,!!a.isMyTasksSourcesConfigured);hj(b,dj,31,c)}return b},Nsa=function(a){return(new sj).setColumnList(a.column.map(function(b){return $sa(b)}))},$sa=function(a){var b=(new tj).setType(ata[a.type]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},Osa=function(a){return(new ij).setColumnList(a.column.map(function(b){var c=(new uj).setColumn($sa(b.column));a:switch(b=b.order,b){case "ASCENDING":b=
1;break a;case "DESCENDING":b=2;break a;default:b=vc(b,"Unknown sortOrder: "+b)}return jj(c,2,b)}))},Ssa=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 vc(a,"Unknown resourceType: "+a)}},Tsa=function(a){switch(rsa[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},Usa=function(a){var b=new $i;null!=a.componentTeamWarnings&&bta(b,a.componentTeamWarnings.map(function(c){var d=
new Bsa;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&pj(d,2,c.dismissMillis);return d}));return b},Vsa=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 vc(a,"Unknown commentFilterType: "+a)}},Wsa=function(a){return cta[a]},Ysa=function(a){return dta[a]},lj=function(a,b){a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;
b.set(c,d)}},eta=function(a){a=wh(a).toString();var b=new vj;Zh(b,2,a);return b},xj=function(a){if(!a)return null;a=wj(a,2);return null===a||void 0===a?null:uh(a)},fta=function(a){if(!a)return null;a=wj(a,3);var b;null===a||void 0===a?b=null:b=new oc(a,Uda);return b},zj=function(a){return function(){var b=yj.getItem(a);if(null==b)return!1;try{return!!JSON.parse(b)}catch(c){return console.warn("getBooleanAt() JSON.parse("+a+") failed"),console.warn(c),!1}}},gta=function(a){return function(b){!0===
b?yj.setItem(a,"1"):yj.removeItem(a)}},hta=function(a){return a&&"object"===typeof a&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},ita=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?Date.parse(b.overrideUntilDate)>Date.now():!0})}},jta=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.")},nta=function(){if(kta("flag-overrides")()){var a=
lta("flag-overrides")();if(a&&"object"===typeof a&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(hta))return ita(a);mta();console.warn("Could not parse flag overrides.")}},mta=function(){Aj("flag-overrides")()},ota=function(a,b){var c=new Date(Date.now()+864E5);c=void 0===c?null:c;jta();var d,e=(null==(d=nta())?void 0:d.overrides)||[];Aj("flag-overrides")({overrides:[].concat(u(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},pta=function(a,
b){ota(a,b)},qta=function(a){jta();var b,c=(null==(b=nta())?void 0:b.overrides)||[];Aj("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},tta=function(){null==Bj&&(Bj=new rta(sta.buganizerSessionJspb));if(!Ui(Bj,Cj,2)){var a=Bj,b=new Cj;hj(a,Cj,2,b)}Ui(Bj,Dj,9)||(a=Bj,b=new Dj,hj(a,Dj,9,b));Bj.hasUser()||Bj.setUser(new Ej);Ui(Bj,fj,7)||(a=Bj,b=new fj,hj(a,fj,7,b));return Bj},Jj=function(){if(null==uta){var a=tta();var b=a.hasUser()?a.getUser():new Ej;b=Li(b,4)?{anonymous:!0,
email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Ui(a,Cj,2)?a.getConfig():new Cj;for(var d=new Map,e=k(Mb(c,4,Tba).entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={analyticsId:c.getAnalyticsId(),appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),whitelistedWhitelistDomainPartnerComponentIds:Fj(c,10),isDogfooder:Li(c,11),createRestrictedSubresourcesComponentIds:Fi(c,13,hi(zi)),indefiniteRetentionComponentsAllowlist:Fi(c,20,hi(zi)),similarIssuesComponentsAllowlist:Fi(c,21,hi(zi)),trustedEmailDomainsAllowlist:gi(c,22,hi(zi)),helpMeFixSidebarComponentAllowlist:Fi(c,
23,hi()),internalBaseUrl:c.getInternalBaseUrl(),externalBaseUrl:c.getExternalBaseUrl()};d=Hsa(Ui(a,fj,7)?a.getUserPreferences():new fj);f=Ui(a,Dj,9)?Gi(a,Dj,9):new Dj;e=Ii(f,Gj,1,hi()).map(Nra);Ui(f,Hj,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:Li(f,3),tags:f.getTagsList(zi)}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var l=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),t=a.getShowNewFeaturesDialog(),w=a.getAppBaseHref(),
B=Ui(a,Ij,11)?osa(a.getTracker()):null,D;Ui(a,vta,12)?(D=a.getPassiveLoginIframeUrl())?(D=wj(D,4),D=null===D||void 0===D?null:zh(D)):D=null:D=null;a=uta={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:t,userPreferences:d,preload:e,appBaseHref:w,tracker:B,passiveLoginIframeUrl:D,userRequiresCaptcha:Li(a,13)};if(b=nta()){c=k(b.overrides);for(d=c.next();!d.done;d=c.next())d=d.value,a.config.enabledFlags.set(d.flagName,d.value);console.warn("Active flag overrides:");
console.table(b.overrides);jta()}}return uta},Kj=function(){return"INTERNAL"===(Jj().frontendAccessMode||"INTERNAL")},wta=function(a){a=void 0===a?Jj():a;return a.config.environmentType||"QA"},Lj=function(a){a=void 0===a?Jj():a;a=wta(a);switch(a){case "NIGHTLY":case "PROD":return!0;case "QA":case "DEV":return!1;default:vc(a,"Unknown environment type.")}},xta=function(a){a&1&&(G(0,"button",16)(1,"span"),S(2,"Edit"),I(),K(3,"b-icon",17),I());if(a&2){a=Q();var b=R(7);F("disabled",a.isAnonymous)("matMenuTriggerFor",
b)}},yta=function(a){a&1&&(G(0,"button",16)(1,"span"),S(2,"Link"),I(),K(3,"b-icon",17),I());if(a&2){a=Q();var b=R(69);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},zta=function(a){a&1&&(G(0,"button",16)(1,"span"),S(2,"CC"),I(),K(3,"b-icon",17),I());if(a&2){a=Q();var b=R(85);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Ata=function(a){if(a&1){var b=v();G(0,"button",11);N("click",function(){x(b);var c=Q();return y(c.bulkEdit("ESTIMATED_EFFORT"))});S(1,"Estimated Effort");I()}},Bta=function(a,
b){if(a&1){var c=v();G(0,"button",11);N("click",function(){var d=x(c).$implicit,e=Q();return y(e.quickBulkEdit("PRIORITY",d))});S(1);I()}a&2&&(a=b.$implicit,A(),T(" ",a," "))},Cta=function(a,b){if(a&1){var c=v();G(0,"button",11);N("click",function(){var d=x(c).$implicit,e=Q();return y(e.quickBulkEdit("SEVERITY",d))});S(1);I()}a&2&&(a=b.$implicit,A(),T(" ",a," "))},Dta=function(a,b){if(a&1){var c=v();G(0,"button",11);N("click",function(){var d=x(c).$implicit,e=Q();return y(e.quickBulkEdit("STATUS",
d))});S(1);I()}a&2&&(a=b.$implicit,b=Q(),A(),T(" ",b.STATUS_JS_FULL_TEXT[a]," "))},Eta=function(a,b){if(a&1){var c=v();G(0,"button",18);N("click",function(){var e=x(c).$implicit,f=Q();return y(f.quickBulkEdit("TYPE",e))});S(1);I()}if(a&2){var d;a=b.$implicit;b=Q();F("matTooltip",null!==(d=b.constants.issueTypesShortDescriptions.get(a))&&void 0!==d?d:"");A();T(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},Fta=function(a){if(a&1){var b=v();G(0,"button",5);N("click",function(){x(b);var c=Q(2);
return y(c.exportCsvClicked.emit())});S(1,"Export issues to CSV ");I()}},Gta=function(a){if(a&1){var b=v();G(0,"button",5);N("click",function(){x(b);var c=Q(2);return y(c.flagAsSpamClicked.emit())});S(1,"Flag issues as spam ");I()}},Hta=function(a){a&1&&(L(0),G(1,"button",2)(2,"span"),S(3,"More"),I(),K(4,"b-icon",3),I(),G(5,"mat-menu",null,0),E(7,Fta,2,0,"button",4)(8,Gta,2,0,"button",4),I(),M());if(a&2){a=R(6);var b=Q();A();F("disabled",b.isAnonymous)("matMenuTriggerFor",a);A(6);F("ngIf",b.showExportCsv);
A();F("ngIf",b.showFlagIssuesAsSpam)}},Ita=function(a){a&1&&(L(0),S(1," Network connection has been interrupted. "),M())},Jta=function(a){a&1&&S(0," Network connection has been interrupted or login credentials may have expired. ")},Mta=function(a){if(a&1){var b=v();G(0,"button",5);N("click",function(c){x(b);Q(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=qc("undefined"!=
typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso");var f=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l="unsafe-url"===h;h=d.noreferrer;if(f&&h){if(l)throw Error("Yb");h=!1}f=d.target||"/refreshSso".target;l=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":l.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:l.push(q+"="+(d[q]?1:0))}q=l.join(",");
ra()&&c.navigator&&c.navigator.standalone&&f&&"_self"!=f?(d=Mj(document,"A"),d.href=Kta(e),d.target=f,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=Lta("",c,f,q),e=rc(e),c&&(Nj&&la(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=uh('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Oj(e)+'">'),(c=c.document)&&c.write&&(c.write(wh(e)),c.close()))):
((c=Lta(e,c,f,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return y()});S(1," Log in again ");I()}},Nta=function(a){a&1&&(G(0,"b-callout",2)(1,"b-callout-body"),E(2,Ita,2,0,"ng-container",3)(3,Jta,1,0,"ng-template",null,0,Eg),I(),G(5,"b-callout-actions"),E(6,Mta,2,0,"button",4),I()());if(a&2){a=R(4);var b=Q();F("messageType","error");A(2);F("ngIf",b.isAnonymous)("ngIfElse",a);A(4);F("ngIf",!b.isAnonymous)}},Pj=function(){return new Ota},Sta=function(a){var b={};a=Ob(a,1,Pta,
vb);a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:Qta[Qi(d,1,0)],detailedUserType:Rta[Qi(d,2,0)]}}return b},Tta=function(a,b){return a.map(function(c){return b[c]||null})},Uta=function(a){return a},Rj=function(a){return Qj(a,Uta)},Qj=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},Vta=function(a){return function(b){return Qj(b,a)}},Wta=function(a,b){return a.map(function(c,
d){return[c,b[d]]})},Xta=function(a,b){var c=void 0===a?[]:a;a=void 0===b?[]:b;if(0===c.length)return a;b=a.filter(function(d){return 0>c.indexOf(d)});return b.length===a.length?a:b},Yta=function(a,b){if(a.length!==b.length)return!1;a=[].concat(u(a)).sort();b=[].concat(u(b)).sort();return a.every(function(c,d){return c===b[d]})},Zta=function(a,b){if(0===a.length)return b;b=b.slice();b=Xta(a,b);return[].concat(u(a),u(b))},$ta=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)})}},aua=function(a,b){var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=null!=(f=c.get(e))?f:[];h.push(d);c.set(e,h)}return[].concat(u(c.values()))},bua=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},cua=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},dua=function(a){a&1&&(G(0,"a",1),S(1," Hiring!\n"),I())},eua=function(a){return a instanceof Sj?
a:new Sj(a,{})},Tj=function(a){a=eua(a);return new Sj(a.char,Object.assign({},a.modifiers,{shift:!0}))},fua=function(a){a=eua(a);return new Sj(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},gua=function(){var a=Tj("f");a=eua(a);return new Sj(a.char,Object.assign({},a.modifiers,{alt:!0}))},iua=function(a){if(a instanceof Sj){var b=hua(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(iua).join(" "):hua(a)},
Uj=function(){return pd.apply(0,arguments)},hua=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 vc(a)}},Vj=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},jua=function(a){return 0===a.length?0:a.reduce(Vj)/a.length},kua=function(a,b){b=void 0===b?jua(a):b;if(0===a.length)return 0;a=a.map(function(c){return Math.pow(c-b,2)}).reduce(Vj)/(a.length-1);return Math.sqrt(a)},Wj=function(a,b){if(5>a)return!1;if(!lua.get(b)){var c=jua(b),d=kua(b,c);lua.set(b,
{mean:c,stdDev:d})}b=lua.get(b);return a-b.mean>2*b.stdDev},mua=function(){for(var a={},b=k(Object.entries(Xj)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},nua=function(){var a=Object.values(Xj),b=a.map(function(c){return c-1}).reduce(Vj,0);a=a.reduce(Vj,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},oua=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||"full"===c.pathMatch&&(b.hasChildren()||d.length<
a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],f=a[c];if(":"===e[0])b[e.substring(1)]=f;else if(e!==f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},Yj=function(a,b){var c=a?pua(a):void 0,d=b?pua(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!qua(a[d],b[d]))return!1;return!0},pua=function(a){return[].concat(u(Object.keys(a)),u(Object.getOwnPropertySymbols(a)))},qua=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==
b.length)return!1;a=[].concat(u(a)).sort();var c=[].concat(u(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},Zj=function(a){return(0,X.isObservable)(a)?a:df(a)?(0,X.from)(Promise.resolve(a)):(0,X.of)(a)},tua=function(a,b,c){return rua[c.paths](a.root,b.root,c.matrixParams)&&sua[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},uua=function(a,b){return Yj(a,b)},wua=function(a,b,c){if(!ak(a.segments,b.segments)||!vua(a.segments,b.segments,
c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!wua(a.children[d],b.children[d],c))return!1;return!0},xua=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return qua(a[c],b[c])})},zua=function(a,b,c){return yua(a,b,b.segments,c)},yua=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),ak(a,c)&&!b.hasChildren()&&vua(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!ak(a.segments,
c)||!vua(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!zua(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 ak(a.segments,e)&&vua(a.segments,e,d)&&a.children.primary?yua(a.children.primary,b,c,d):!1},vua=function(a,b,c){return b.every(function(d,e){return sua[c](a[e].parameters,d.parameters)})},Aua=function(a,b){return ak(a,b)&&a.every(function(c,d){return Yj(c.parameters,b[d].parameters)})},ak=function(a,b){return a.length!==
b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Bua=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"===d&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},Eua=function(a){return a.segments.map(function(b){return Cua(b.path)+Dua(b.parameters)}).join("/")},bk=function(a,b){if(!a.hasChildren())return Eua(a);
if(b){b=a.children.primary?bk(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+bk(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Bua(a,function(d,e){return"primary"===e?[bk(a.children.primary,!1)]:[e+":"+bk(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Eua(a)+"/"+b[0]:Eua(a)+"/("+b.join("//")+")"},Fua=function(a){return encodeURIComponent(a).replace(/%40/g,
"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Gua=function(a){return Fua(a).replace(/%3B/gi,";")},Cua=function(a){return Fua(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Dua=function(a){return Object.entries(a).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return";"+Cua(b)+"="+Cua(c)}).join("")},Hua=function(a){a=Object.entries(a).map(function(b){b=k(b);var c=b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return Gua(c)+
"="+Gua(d)}).join("&"):Gua(c)+"="+Gua(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},Jua=function(a){return(a=a.match(Iua))?a[0]:""},Kua=function(a){var b={};return 0<a.segments.length?new ck([],(b.primary=a,b)):a},Lua=function(a){for(var b={},c=k(Object.entries(a.children)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e=Lua(e);if("primary"===d&&0===e.segments.length&&e.hasChildren())for(d=k(Object.entries(e.children)),e=d.next();!e.done;e=
d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new ck(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new ck(a.segments.concat(b.segments),b.children));return a},ek=function(a){return a instanceof dk},Mua=function(a){function b(f){for(var h={},l=k(f.children),q=l.next();!q.done;q=l.next()){q=q.value;var t=b(q);h[q.outlet]=t}h=new ck(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=Kua(d);
var e;return null!=(e=c)?e:d},Sua=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Nua(e,e,e,c,d);b=Oua(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Nua(e,e,new ck([],{}),c,d);var f=e;if(b.isAbsolute)a=new Pua(f,!0,0);else if(a)if(null===a.parent)a=new Pua(a,!0,0);else{f=a;a=a.segments.length-1+(Qua(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new Uc(4005,!1);a=f.segments.length}a=new Pua(f,!1,a-h)}else a=new Pua(f,
!1,NaN);b=a.processChildren?fk(a.segmentGroup,a.index,b.commands):Rua(a.segmentGroup,a.index,b.commands);return Nua(e,a.segmentGroup,b,c,d)},Qua=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},gk=function(a){return"object"===typeof a&&null!=a&&a.outlets},Nua=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;f[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:Tua(a,b,c);a=Kua(Lua(a));return new dk(a,
f,e)},Tua=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=k(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:Tua(f,b,c)});return new ck(a.segments,d)},Oua=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new Uua(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]="string"===typeof q?q.split("/"):q});
return[].concat(u(d),[{outlets:h}])}if(e.segmentPath)return[].concat(u(d),[e.segmentPath])}return"string"!==typeof e?[].concat(u(d),[e]):0===f?(e.split("/").forEach(function(l,q){if(0!=q||"."!==l)0==q&&""===l?c=!0:".."===l?b++:""!=l&&d.push(l)}),d):[].concat(u(d),[e])},[]);return new Uua(c,b,a)},Vua=function(a){if(gk(a[0]))return a[0].outlets;var b={};return b.primary=a,b},Rua=function(a,b,c){null!=a||(a=new ck([],{}));if(0===a.segments.length&&a.hasChildren())return fk(a,b,c);a:{var d=a;for(var e=
0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[f],q=c[e];if(gk(q))break;q=""+q;var t=e<c.length-1?c[e+1]:null;if(0<f&&void 0===q)break;if(q&&t&&"object"===typeof t&&void 0===t.outlets){if(q!=l.path||!Yj(t,l.parameters)){d=h;break a}e+=2}else{t={};if(q!=l.path||!Yj(t,l.parameters)){d=h;break a}e++}f++}d={match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new ck(a.segments.slice(0,
d.pathIndex),{}),b.children.primary=new ck(a.segments.slice(d.pathIndex),a.children),fk(b,0,e)):d.match&&0===e.length?new ck(a.segments,{}):d.match&&!a.hasChildren()?Wua(a,b,c):d.match?fk(a,0,e):Wua(a,b,c)},fk=function(a,b,c){if(0===c.length)return new ck(a.segments,{});var d=Vua(c),e={};if(Object.keys(d).some(function(f){return"primary"!==f})&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=fk(a.children.primary,b,c),new ck(a.segments,c.children);Object.entries(d).forEach(function(f){var h=
k(f);f=h.next().value;h=h.next().value;"string"===typeof h&&(h=[h]);null!==h&&(e[f]=Rua(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;void 0===d[f]&&(e[f]=h)});return new ck(a.segments,e)},Wua=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(gk(f))return a=Xua(f.outlets),new ck(d,a);if(0===e&&Qua(c[0]))d.push(new hk(a.segments[b].path,Yua(c[0]))),e++;else{f=gk(f)?f.outlets.primary:""+f;var h=e<c.length-
1?c[e+1]:null;f&&h&&Qua(h)?(d.push(new hk(f,Yua(h))),e+=2):(d.push(new hk(f,{})),e++)}}return new ck(d,{})},Xua=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=Wua(new ck([],{}),0,d))});return b},Yua=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},Zua=function(a,b){if(a===b.value)return b;b=k(b.children);for(var c=
b.next();!c.done;c=b.next())if(c=Zua(a,c.value))return c;return null},$ua=function(a,b){if(a===b.value)return[b];for(var c=k(b.children),d=c.next();!d.done;d=c.next())if(d=$ua(a,d.value),d.length)return d.unshift(b),d;return[]},ik=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},ava=function(a,b,c){var d=a.routeConfig,e;if(null===b||"always"!==(void 0===c?"emptyOnly":c)&&""!==(null==d?void 0:d.path)&&(b.component||(null==(e=b.routeConfig)?0:e.loadComponent))){var f;
a={params:Object.assign({},a.params),data:Object.assign({},a.data),resolve:Object.assign({},a.data,null!=(f=a._resolvedData)?f:{})}}else a={params:Object.assign({},b.params,a.params),data:Object.assign({},b.data,a.data),resolve:Object.assign({},a.data,b.data,null==d?void 0:d.data,a._resolvedData)};!d||"string"!==typeof d.title&&null!==d.title||(a.resolve[jk]=d.title);return a},bva=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return bva(a,c)})},cva=function(a){var b=0<a.children.length?
" { "+a.children.map(cva).join(", ")+" } ":"";return""+a.value+b},dva=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Yj(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Yj(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(!Yj(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Yj(b.data,c.data)||
a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},eva=function(a,b){var c=Yj(a.params,b.params)&&Aua(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||eva(a.parent,b.parent))},hva=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=fva(a,b,c);return new kk(d,b)}d=gva(b.value);b=b.children.map(function(e){return hva(a,e)});return new kk(d,b)},fva=function(a,b,c){return b.children.map(function(d){for(var e=
k(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return hva(a,d,f);return hva(a,d)})},gva=function(a){return new lk(new X.BehaviorSubject(a.url),new X.BehaviorSubject(a.params),new X.BehaviorSubject(a.queryParams),new X.BehaviorSubject(a.fragment),new X.BehaviorSubject(a.data),a.outlet,a.component,a)},jva=function(a){var b=ek(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a;a=b.redirectTo;b=b.navigationBehaviorOptions;var c=iva(0);c.url=a;c.navigationBehaviorOptions=
b;return c},iva=function(a){var b=Error("ec`");b.ngNavigationCancelingError=!0;b.cancellationCode=a;return b},kva=function(a){return!!a&&a.ngNavigationCancelingError},lva=function(a,b){a.providers&&!a._injector&&(a._injector=Rja(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},mva=function(a){var b=a.children&&a.children.map(mva);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=
mk);return a},nk=function(a){return a.outlet||"primary"},nva=function(a,b){var c=a.filter(function(d){return nk(d)===b});c.push.apply(c,u(a.filter(function(d){return nk(d)!==b})));return c},ok=function(a){if(!a)return null;var b;if(null==(b=a.routeConfig)?0:b._injector)return a.routeConfig._injector;for(a=a.parent;a;a=a.parent){b=a.routeConfig;var c=void 0;if(null==(c=b)?0:c._loadedInjector)return b._loadedInjector;c=void 0;if(null==(c=b)?0:c._injector)return b._injector}return null},pk=function(){return wf(function(a){return(0,X.combineLatest)(a.map(function(b){return b.pipe(mf(),
vf(ova))})).pipe(z(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===ova)return ova;if(!1===c||ek(c))return c}return!0}),Ce(function(b){return b!==ova}),mf())})},qk=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Uea(a)?b.get(a):a:d},rk=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=ik(b);a.children.forEach(function(h){var l=f[h.value.outlet],q=d.concat([h.value]),t=e;t=void 0===t?{canDeactivateChecks:[],
canActivateChecks:[]}:t;var w=h.value,B=l?l.value:null,D=c?c.getContext(h.value.outlet):null;if(B&&w.routeConfig===B.routeConfig){var J=pva(B,w,w.routeConfig.runGuardsAndResolvers);J?t.canActivateChecks.push(new qva(q)):(w.data=B.data,w._resolvedData=B._resolvedData);w.component?rk(h,l,D?D.children:null,q,t):rk(h,l,c,q,t);J&&D&&D.outlet&&D.outlet.isActivated&&t.canDeactivateChecks.push(new rva(D.outlet.component,B))}else B&&sk(l,D,t),t.canActivateChecks.push(new qva(q)),w.component?rk(h,null,D?D.children:
null,q,t):rk(h,null,c,q,t);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;return sk(l,c.getContext(h),e)});return e},pva=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!ak(a.url,b.url);case "pathParamsOrQueryParamsChange":return!ak(a.url,b.url)||!Yj(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!eva(a,b)||!Yj(a.queryParams,b.queryParams);default:return!eva(a,
b)}},sk=function(a,b,c){var d=ik(a),e=a.value;Object.entries(d).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;e.component?b?sk(h,b.children.getContext(f),c):sk(h,null,c):sk(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new rva(b.outlet.component,e)):c.canDeactivateChecks.push(new rva(null,e)):c.canDeactivateChecks.push(new rva(null,e))},tk=function(a){return"function"===typeof a},sva=function(a){return a instanceof X.EmptyError||"EmptyError"===
(null==a?void 0:a.name)},vva=function(a,b){return we(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,f=c.guards,h=f.canActivateChecks;f=f.canDeactivateChecks;return 0===f.length&&0===h.length?(0,X.of)(Object.assign({},c,{guardsResult:!0})):tva(f,d,e,a).pipe(we(function(l){return l&&"boolean"===typeof l?uva(d,h,a,b):(0,X.of)(l)}),z(function(l){return Object.assign({},c,{guardsResult:l})}))})},tva=function(a,b,c,d){return(0,X.from)(a).pipe(we(function(e){return wva(e.component,e.route,c,b,d)}),
pf(function(e){return!0!==e},!0))},uva=function(a,b,c,d){return(0,X.from)(b).pipe(we(function(e){var f=X.concat;var h=e.route.parent;null!==h&&d&&d(new xva(h));h=(0,X.of)(!0);var l=e.route;null!==l&&d&&d(new yva(l));l=(0,X.of)(!0);return f.call(X,h,l,zva(a,e.path,c),Ava(a,e.route,c))},1),pf(function(e){return!0!==e},!0))},Ava=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,X.of)(!0);d=d.map(function(e){return(0,X.defer)(function(){var f,h=null!=(f=ok(b))?
f:c,l=qk(e,h);f=l&&tk(l.canActivate)?l.canActivate(b,a):ud(h,function(){return l(b,a)});return Zj(f).pipe(pf())})});return(0,X.of)(d).pipe(pk())},zva=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var f=e.routeConfig?e.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:e,guards:f}:null}).filter(function(e){return null!==e}).map(function(e){return(0,X.defer)(function(){var f=e.guards.map(function(h){var l,q=null!=(l=ok(e.node))?l:c,t=qk(h,q);h=t&&
tk(t.canActivateChild)?t.canActivateChild(d,a):ud(q,function(){return t(d,a)});return Zj(h).pipe(pf())});return(0,X.of)(f).pipe(pk())})});return(0,X.of)(b).pipe(pk())},wva=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,X.of)(!0);f=f.map(function(h){var l,q=null!=(l=ok(b))?l:e,t=qk(h,q);h=t&&tk(t.canDeactivate)?t.canDeactivate(a,b,c,d):ud(q,function(){return t(a,b,c,d)});return Zj(h).pipe(pf())});return(0,X.of)(f).pipe(pk())},Cva=function(a,
b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,X.of)(!0);d=d.map(function(e){var f=qk(e,a);e=f&&tk(f.canLoad)?f.canLoad(b,c):ud(a,function(){return f(b,c)});return Zj(e)});return(0,X.of)(d).pipe(pk(),Bva())},Bva=function(){return(0,X.pipe)(yf(function(a){if("boolean"!==typeof a)throw jva(a);}),z(function(a){return!0===a}))},Dva=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,X.of)(!0);d=d.map(function(e){var f=qk(e,a);e=f&&tk(f.canMatch)?f.canMatch(b,c):ud(a,function(){return f(b,
c)});return Zj(e)});return(0,X.of)(d).pipe(pk(),Bva())},uk=function(a){return(0,X.throwError)(new Eva(a))},Hva=function(a,b,c,d){var e=Fva(a,b,c);if(!e.matched)return(0,X.of)(e);d=lva(b,d);return Dva(d,b,c).pipe(z(function(f){return!0===f?e:Object.assign({},Gva)}))},Fva=function(a,b,c){if("**"===b.path)return{matched:!0,parameters:0<c.length?(0<c.length?c[c.length-1]:null).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}};if(""===b.path)return"full"===b.pathMatch&&
(a.hasChildren()||0<c.length)?Object.assign({},Gva):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||oua)(c,a,b);if(!a)return Object.assign({},Gva);var d={},e;Object.entries(null!=(e=a.posParams)?e:{}).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;d[h]=l.path});e=0<a.consumed.length?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),
parameters:e,positionalParamSegments:null!=(f=a.posParams)?f:{}}},Lva=function(a,b,c,d){if(0<c.length&&Iva(a,c,d)){var e=ck;a=new ck(c,a.children);c={};c.primary=a;a=k(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,""===d.path&&"primary"!==nk(d)){var f=new ck([],{});c[nk(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&Jva(a,c,d)){b=ck;e=a.segments;f=a.children;var h={};d=k(d);for(var l=d.next();!l.done;l=d.next())if(l=l.value,Kva(a,c,l)&&!f[nk(l)]){var q=new ck([],{});
h[nk(l)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new ck(a.segments,a.children),slicedSegments:c};return c},Iva=function(a,b,c){return c.some(function(d){return Kva(a,b,d)&&"primary"!==nk(d)})},Jva=function(a,b,c){return c.some(function(d){return Kva(a,b,d)})},Kva=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},Mva=function(a){a.sort(function(b,c){return"primary"===b.value.outlet?-1:"primary"===c.value.outlet?
1:b.value.outlet.localeCompare(c.value.outlet)})},Nva=function(a){return(a=a.value.routeConfig)&&""===a.path},Ova=function(a){var b=[],c=new Set;a=k(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$167:void 0},d=a.next())e.node$jscomp$167=d.value,Nva(e.node$jscomp$167)?(d=b.find(function(f){return function(h){return f.node$jscomp$167.value.routeConfig===h.value.routeConfig}}(e)),void 0!==d?(d.children.push.apply(d.children,u(e.node$jscomp$167.children)),c.add(d)):b.push(e.node$jscomp$167)):b.push(e.node$jscomp$167);
a=k(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=Ova(e.children),b.push(new kk(e.value,d));return b.filter(function(f){return!c.has(f)})},Qva=function(a,b,c,d,e,f){return we(function(h){return(new Pva(a,b,c,d,h.extractedUrl,void 0===f?"emptyOnly":f,e)).recognize().pipe(z(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},Tva=function(a,b){return we(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,X.of)(c);var f=new Set(e.map(function(w){return w.route})),
h=new Set;e=k(f);for(var l=e.next();!l.done;l=e.next())if(l=l.value,!h.has(l)){l=k(Rva(l));for(var q=l.next();!q.done;q=l.next())h.add(q.value)}var t=0;return(0,X.from)(h).pipe(we(function(w){if(f.has(w))return Sva(w,d,a,b);w.data=ava(w,w.parent,a).resolve;return(0,X.of)(void 0)},1),yf(function(){return t++}),rka(),we(function(){return t===h.size?(0,X.of)(c):X.EMPTY}))})},Rva=function(a){var b=a.children.map(function(c){return Rva(c)}).flat();return[a].concat(u(b))},Sva=function(a,b,c,d){var e=a.routeConfig,
f=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&(f[jk]=e.title);return Uva(f,a,b,d).pipe(z(function(h){a._resolvedData=h;a.data=ava(a,a.parent,c).resolve;return null}))},Uva=function(a,b,c,d){var e=pua(a);if(0===e.length)return(0,X.of)({});var f={};return(0,X.from)(e).pipe(we(function(h){return Vva(a[h],b,c,d).pipe(pf(),yf(function(l){f[h]=l}))}),rka(),qf(f),gf(function(h){return sva(h)?X.EMPTY:(0,X.throwError)(h)}))},Vva=function(a,b,c,d){var e,f=null!=
(e=ok(b))?e:d,h=qk(a,f);a=h.resolve?h.resolve(b,c):ud(f,function(){return h(b,c)});return Zj(a)},Wva=function(a){return wf(function(b){var c=a(b);return c?(0,X.from)(c).pipe(z(function(){return b})):(0,X.of)(b)})},awa=function(a,b,c){return Zj(a.loadChildren()).pipe(z(Xva),we(function(d){return d instanceof Yva||Array.isArray(d)?(0,X.of)(d):(0,X.from)(Promise.resolve(new Zva(d)))}),z(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get($va,[],{optional:!0,self:!0}).flat()}return{routes:d.map(mva),
injector:e}}))},Xva=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},dwa=function(a,b,c){var d=a.get(bwa),e=a.get(qh);return a.get(He).runOutsideAngular(function(){if(!e.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,Promise.resolve();var f,h=new Promise(function(t){f=t}),l=e.startViewTransition(function(){f();return cwa(a)}),q=d.onViewTransitionCreated;q&&ud(a,function(){return q({transition:l,from:b,to:c})});return h})},cwa=function(a){return new Promise(function(b){Ne(b,
{injector:a})})},ewa=function(a,b){a.events.pipe(Ce(function(c){return c instanceof vk||c instanceof wk||c instanceof xk||c instanceof yk}),z(function(c){return c instanceof vk||c instanceof yk?0:c instanceof wk&&(0===c.code||1===c.code)?2:1}),Ce(function(c){return 2!==c}),mf()).subscribe(function(){b()})},fwa=function(a){throw a;},zk=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},gwa=function(a){for(var b=[];a;){var c=void 0,d=void 0;b.push(null!=(d=null==(c=a.routeConfig)?void 0:c.path)?
d:"");c=void 0;a=null==(c=a.children)?void 0:c[0]}return b.join("/")},hwa=function(a){return a instanceof vk},iwa=function(a){return a instanceof Ak},Bk=function(a){return null==console?!1:"function"===typeof console[a]},Ck=function(){Bk("debug")&&console.debug.apply(console,pd.apply(0,arguments))},Dk=function(){Bk("info")&&console.info.apply(console,pd.apply(0,arguments))},jwa=function(){Bk("log")&&console.log.apply(console,pd.apply(0,arguments))},Ek=function(){Bk("warn")&&console.warn.apply(console,
pd.apply(0,arguments))},kwa=function(){Bk("error")&&console.error.apply(console,pd.apply(0,arguments))},lwa=function(a){return function(b){return new X.Observable(function(c){return b.subscribe(function(d){return void a.run(function(){return void c.next(d)})},function(d){return void a.run(function(){return void c.error(d)})},function(){return void a.run(function(){return void c.complete()})})})}},Fk=function(a,b){b=new X.BehaviorSubject(b);a.subscribe(b);return b},Gk=function(a){var b;a.subscribe(function(c){b=
c}).unsubscribe();return b},Hk=function(){return lf(function(a,b){return ki(a,b)})},mwa=function(){return function(a){return a.pipe(z(function(b){return{event:b,timestamp:Date.now()}}),Wja(a.pipe(jf(1E4,X.asapScheduler))))}},nwa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},owa=function(a,b){a&1&&(G(0,"tr")(1,"td",5),S(2),I(),G(3,"td"),S(4,":"),I(),G(5,"td",6),S(6),I()());a&2&&(a=b.$implicit,A(2),rg(a.displayAs),A(4),rg(a.description))},pwa=function(a,b){a&1&&(G(0,"thead")(1,
"tr"),K(2,"th",3),G(3,"th",4),S(4),I()(),E(5,owa,7,2,"tr",1),I());a&2&&(a=b.$implicit,A(4),rg(a.title),A(),F("ngForOf",a.hotkeys))},Ik=function(){return qwa.performance&&qwa.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},rwa=function(a){var b=a.name;if(null!=b&&(a=Math.round(a.duration),!isNaN(a))){var c=k(b.split(" -> ")),d=c.next().value;c=c.next().value;if(null==d||null==
c)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},twa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(swa);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},xwa=function(){var a=window.performance.getEntries(),b=twa(a);if(null==b)return[];var c=b.startTime;return a.filter(uwa).filter(vwa).filter(wwa).filter(function(d){return d.startTime<=c})},swa=function(a){var b=a.name;
return"measure"===a.entryType&&0===b.indexOf("browserStart")},uwa=function(a){return 0!==a.name.indexOf("Zone")},wwa=function(a){return"resource"===a.entryType},ywa=function(a){return"xmlhttprequest"===a.initiatorType},vwa=function(a){return null==a.name.match(/\.html$/)},zwa=function(a,b){var c=b.transferSize||0,d=a.count+1,e=a.cacheHits+(0===c?1:0);return{count:d,duration:a.duration+b.duration,transferSize:a.transferSize+c,cacheHits:e,cacheHitRate:e/d}},Awa=function(){return"function"===typeof Jk.gtag},
Bwa=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},Ewa=function(a){a=a.getEntries().map(rwa).map(Bwa);a=k(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({},void 0!==d?{event_action:d}:{},void 0!==e?{event_category:e}:{},void 0!==f?{event_label:f}:{},void 0!==c?{event_value:c}:{});
Cwa(b,d)}}setTimeout(Dwa,100)},Dwa=function(){if(!Fwa){var a=xwa(),b=a.filter(function(c){return!ywa(c)}).reduce(zwa,Gwa());Kk("r-until-cf","asset","count",b.count);Kk("r-until-cf","asset","transferSize",b.transferSize);Kk("r-until-cf","asset","duration",b.duration);Kk("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(ywa).reduce(zwa,Gwa());Kk("r-until-cf","xhr","count",a.count);Kk("r-until-cf","xhr","transferSize",a.transferSize);Kk("r-until-cf","xhr","duration",a.duration);Fwa=!0}},
Kk=function(a,b,c,d){Cwa(a,Object.assign({},void 0!==b?{event_action:b}:{},void 0!==c?{event_label:c}:{},void 0!==d?{event_value:d}:{}))},Cwa=function(a,b){null!=b&&(Hwa("page_location","Scrubbed Page URL"),Hwa("page_title","Scrubbed Page Title"),Awa()&&Jk.gtag("event",a,b),Iwa&&Dk("[stub gtag.ts] gtag('event')",a,b))},Mk=function(a,b){Lk(a,b)},Hwa=function(a,b){if(Awa()){var c={};Jk.gtag("set",(c[a]=b,c))}Iwa&&Dk("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},Lk=function(a,b){if(Awa()){var c={};
Jk.gtag("set","user_properties",(c[a]=b,c))}Iwa&&Dk("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},Jwa=function(a){a=void 0===a?!1:a;var b=nua(),c=b.total,d=b.redundancyRatio;Kk("after-60s","xhr","redundant",b.redundant);Kk("after-60s","xhr","total",c);Kk("after-60s","xhr","redundancyRatio",d);a&&(console.table(mua()),console.log(b))},Ok=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Nk({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):
0===b?a=null:(a={customFieldId:b},a=new Nk({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},Kwa=function(a){a=Qk(a);if(Rk(a))return null;var b=a.split(":");if(2!==b.length||Rk(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=Ok(b[0]))&&a?new Sk(b,a):null},Uk=function(a,b,c,d){return{status:a,displayValue:Tk[a],open:b,assigneeRequirement:c,sortOrder:d}},Lwa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===
a},Wk=function(a){return a?a.map(Vk):[]},Xk=function(a){a=Wk(a);a.sort();return a},Vk=function(a){return a&&a.getUserGaiaStatus?Mwa(Yk(a)):Mwa(a)},Mwa=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Lwa(a)?Nwa(a)||"[No Data]":"[No Data]":""},Zk=function(a){return a&&a.getUserGaiaStatus?Nwa(Yk(a)):Nwa(a)},Nwa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},Yk=function(a){if(null!=a){var b={},c;if(c=a.getEmailAddress())b.emailAddress=
c;if(c=a.getObfuscatedEmailAddress())b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=Owa[c];(c=a.getAliasesList(zi))&&0<c.length&&(b.aliases=c);return b}},Pwa=function(a){if(!a)return null;var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=Yk(c.value))&&b.push(c);return b},al=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new $k;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Qwa[a]);
return e},bl=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Rwa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(bl(c.value));return b},Uwa=function(a,b){var c=new Swa;Twa(c,a,b);return c},Twa=function(a,b,c){var d=sa(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 l;a.isClosed=!(null==(l=cl[d.status])?0:l.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Vk(d.reporterUser);a.assignee=Vk(d.assigneeUser);a.assigneeEmail=Zk(d.assigneeUser);a.verifier=Vk(d.verifierUser);a.verifierEmail=Zk(d.verifierUser);a.cc=Wk(d.ccUsers);a.collaborator=
Wk(d.collaboratorsUsers);a.changelist=d.changelist;a.postmortem=d.postmortems;a.hotlistId=d.hotlistId;a.blockingIssueId=d.blockingIssueId;a.blockedByIssueId=d.blockedByIssueId;a.teamId=e&&e.teamId?e.teamId:0;a.createdTime=e?Math.round(e.createdTimeMicros/1E3):0;a.modifiedTime=e?Math.round(e.modifiedTimeMicros/1E3):0;a.resolvedTime=e&&e.resolvedTimeMicros?Math.round(e.resolvedTimeMicros/1E3):null;a.verifiedTime=e&&e.verifiedTimeMicros?Math.round(e.verifiedTimeMicros/1E3):null;a.majorModifiedTime=b.majorModifiedTimeMicros?
Math.round(b.majorModifiedTimeMicros/1E3):0;a.archived=b.isArchived;a.lastViewedTime=b.userData&&b.userData.lastViewedTimeMicros?Math.round(b.userData.lastViewedTimeMicros/1E3):null;a.title=d.title;a.foundInVersion=d.foundInVersion;a.targetedToVersion=d.targetedToVersion;a.verifiedInVersion=d.verifiedInVersion;d.inProd&&(a.inProd=d.inProd);a.duplicateOfIssueId=d.duplicateOfIssueId;a.starred=b.userData&&b.userData.starred?b.userData.starred:!1;a.voteCount=e?e.voteCount:0;a.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=Vk(null==(q=b.aggregatedData)?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=k(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=k(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},el=function(a,b){return dl("issues/:issueId",{id:a,params:b})},Vwa=function(a,b){return dl("issues/:issueId/dependencies",{id:a,params:b})},gl=function(a){return fl("issues",{params:a})},Wwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Xwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):
null},Ywa=function(a,b){return dl("components/:componentId/manage",{id:a,tab:b})},Zwa=function(a){return a?fl("settings/:settingsTab?",{id:a,token:":settingsTab?"}):fl("settings")},dl=function(a,b){b=void 0===b?{}:b;return null==b.id?"":fl(a,b)},fl=function(a,b){var c=b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var f=a;null!=b&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=$wa(f,d));e&&(f=f+"#"+e);return f},hl=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?
"comment"+b:void 0}},il=function(a,b){b=void 0===b?{}:b;b=void 0===b?{}:b;a={q:"status:open componentid:"+a};b.includeArchived&&(a.q+=" archived:all");a={path:"/issues",queryParams:a};a.queryParams.s="created_time:desc";return a},axa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},bxa=function(a){return{path:"/components/"+a}},cxa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},dxa=function(a){return{path:"/slos/"+
a+"/edit"}},exa=function(a){for(var b={},c=k(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=1<e.length?e:e[0]}return b},fxa=function(a){if(null!=a){var b=a.getYear();if(null==b)Ek("No year. dateToJs");else{var c=a.getDay();if(null==c)Ek("No day. dateToJs");else if(a=a.getMonth(),null==a)Ek("No month. dateToJs");else return{year:b,day:c,month:a}}}},gxa=function(a){var b=new jl;kl(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},ll=function(a){if(null!=a){var b=a.getSeconds_asLegacyNumberOrString();
a=a.getNanos();return{seconds:b,nanos:a}}},ml=function(a){var b=new aj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},hxa=function(a){var b=new nl;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},ixa=function(a){if(null!=a){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},ol=function(a){var b=1E3*a;a=0;b=void 0===b?0:b;if(-1E9>=b||1E9<=b)a+=Math.trunc(b/1E9),b%=1E9;0>b&&(b+=1E9,--a);return ml({seconds:a,nanos:b})},pl=function(a){if(!a)return 0;a=1E9*
a.getSeconds_asLegacyNumberOrString()+a.getNanos();return Math.round(a/1E3)},kxa=function(a){return"CUSTOM_FIELD"===a.type?[jxa[ata[a.type]],a.customFieldId].join(":"):jxa[ata[a.type]]},mxa=function(a){return a.includes(":")?(a=k(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:ql(a)}):{type:Isa[lxa[a]]}},nxa=function(a){var b;null==a?a=void 0:(a=gi(a,1,hi()),a=null==a?void 0:a.map(mxa));return null!=(b=a)?b:[]},oxa=function(a){var b=k(a.trim().split(" ")),c=b.next().value;
a=b.next().value;Be(b);b=mxa(c);c="DESCENDING";"asc"===a&&(c="ASCENDING");return{field:b,direction:c}},qxa=function(a){return a.map(pxa).join(",")},pxa=function(a){return kxa(a.field)+" "+("ASCENDING"===a.direction?"asc":"desc")},rxa=function(a){return qxa(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(oxa))},rl=function(a){switch(a.getIdentityCase()){case 0:throw Error("jc");case 1:return{user:Ai(a.getUser())};case 2:return{group:Ai(a.getGroup())};case 3:return{alias:a.getAlias()};default:throw Error("kc");}},tl=function(a){var b=new sl;ui(a)&&b.setUser(yi(a.user));vi(a)&&b.setGroup(yi(a.group));void 0!==a.alias&&
b.setAlias(a.alias);return b},sxa=function(a){var b=new ul;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("nc");}return b},txa=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("nc");}},vxa=function(a){if(a)return{accessLevel:uxa[a.getAccessLevel()]}},xxa=function(a){return(new vl).setAccessLevel(wxa[a.accessLevel])},Axa=function(a){if(a)return(a=Gi(a,yxa,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:zxa(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},a},zxa=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("oc`"+
a);}},Bxa=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("oc`"+a);}},Cxa=function(a){var b=new wl;b=xl(b,1,a.contentJudgementId);b=yl(b,2,a.resourcePath);var c=Bxa(a.severity);b=zl(b,3,c);b=yl(b,4,a.judgementReason);return yl(b,8,a.contentJudge)},Dxa=function(a){var b=new wl;var c=Bxa(a.severity);b=zl(b,3,c);return yl(b,4,a.judgementReason)},Fxa=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("pc`"+b);}}return{status:b,reason:Exa(a.getReason())}}},Exa=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("qc`"+a);}},Gxa=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("qc`"+a);}},Hxa=function(a){if(null!=a){var b,c;return{retentionPeriod:null!=(b=ixa(a.getRetentionPeriod()))?b:null,scheduledDeletionTime:null!=(c=ll(Gi(a,aj,2)))?c:null}}},Jxa=function(a){return{retentionSelection:Ixa[Qi(a,1,0)],retentionPeriodDays:fi(a,2),piiRetentionSelection:Ixa[Qi(a,3,0)],piiRetentionPeriodDays:fi(a,4),
spiiRetentionPeriodDays:fi(a,5)}},Lxa=function(a){var b=new Al;b=zl(b,1,Kxa[a.retentionSelection]);b=kl(b,2,a.retentionPeriodDays);b=zl(b,3,Kxa[a.piiRetentionSelection]);b=kl(b,4,a.piiRetentionPeriodDays);return kl(b,5,a.spiiRetentionPeriodDays)},Mxa=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("rc`"+a);}},Bl=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;
default:throw Error("rc`"+a);}},Oxa=function(a){var b=Bi(a.getAttachmentId_asLegacyNumberOrString());var c=a.getFilename();var d=Zi(a,3)||void 0,e=ec(a,2);c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,media:c,contentType:ec(a,2),filename:a.getFilename(),length:Zi(a,3),etag:Nxa(a.getEtag())||"",contentVerdict:Axa(a.getContentVerdict()),entityStatus:Fxa(a.getEntityStatus()),piiRetentionState:Hxa(a.getRestrictedRetentionState()),piiRetention:Mxa(a.getRestrictedRetention())}},
Qxa=function(a){var b=new Cl;var c=new Pxa;a=a?new Ga(a,Ha):Fa();c=Dl(c,2,a);b=hj(b,Pxa,5,c);c=b.setEntityStatus;a=new El;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},Rxa=function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},Txa=function(a){if(null!=a)return{customFieldId:Di(Bi(a.getCustomFieldId())),standardField:Sxa[Qi(a,Fl(a,Gl,2),0)]}},Vxa=function(a){var b=new Hl;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&
Il(b,2,Gl,Aba(Uxa[a.standardField]));return b},Wxa=function(a){if(a){var b=Bi(a.getCustomFieldId_asLegacyNumberOrString());if(null==b)Ek("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:Ii(a,vj,11,hi()).map(function(D){return wh(xj(D)).toString()})};switch(a.getValueCase()){case 2:b.textValue=Di(ec(a,Fl(a,Jl,2)));break;case 3:b.dateValue=fxa(a.getDateValue());break;case 4:b.enumValue=Di(ec(a,Fl(a,Jl,4)));break;case 5:b.numericValue=Di(Kl(a,Fl(a,Jl,5)));break;case 6:var c,
d;b.repeatedTextValue={values:null!=(d=null==(c=Ll(a,Ml,6,Jl))?void 0:c.getValuesList(zi))?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:null!=(f=null==(e=Ll(a,Ml,8,Jl))?void 0:e.getValuesList(zi))?f:[]};break;case 9:var h,l;b.repeatedNumericValue={values:null!=(l=null==(h=Ll(a,Nl,9,Jl))?void 0:h.getValuesList(zi))?l:[]};break;case 7:var q,t,w,B;b.repeatedDateValue={values:null!=(B=null==(q=Ll(a,Ol,7,Jl))?void 0:null==(t=q.getValuesList())?void 0:null==(w=t.map(fxa))?void 0:w.filter(Ei))?
B:[]}}return b}}},Xxa=function(a){var b=(new Pl).setCustomFieldId(a.customFieldId);null!=a.textValue?Ql(b,2,Jl,a.textValue):null!=a.dateValue?(a=gxa(a.dateValue),Rl(b,3,Jl,a)):null!=a.enumValue?Ql(b,4,Jl,a.enumValue):null!=a.numericValue?Il(b,5,Jl,ib(a.numericValue)):null!=a.repeatedTextValue?(a=(new Ml).setValuesList(a.repeatedTextValue.values),Rl(b,6,Jl,a)):null!=a.repeatedEnumValue?(a=(new Ml).setValuesList(a.repeatedEnumValue.values),Rl(b,8,Jl,a)):null!=a.repeatedNumericValue?(a=(new Nl).setValuesList(a.repeatedNumericValue.values),
Rl(b,9,Jl,a)):null!=a.repeatedDateValue&&(a=(new Ol).setValuesList(a.repeatedDateValue.values.map(gxa)),Rl(b,7,Jl,a));return b},Sl=function(a){var b=a.getCustomFieldId_asLegacyNumberOrString(),c=Yxa[a.getType()],d=!!Li(a,4),e=a.getName(),f=a.getDescription()||"",h=Wxa(Gi(a,Pl,10));var l=gi(a,8,hi(zi));b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:l,fieldSignificance:Zxa[Qi(a,9,0)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};a.getComponentId_asLegacyNumberOrString()&&
(b.componentId=Bi(a.getComponentId_asLegacyNumberOrString()));return b},$xa=function(a){return Sl(a)},cya=function(a){var b=new Tl;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(aya[a.type]);Ul(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=Xxa(a.typedDefaultValue);hj(b,Pl,10,c)}a.allowedValue&&rj(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(bya[a.fieldSignificance]);
b.setShared(a.shared);return b},dya=function(a){return{specId:Zi(a,1),estimate:ec(a,2),averageDays:Kl(a,3),totalOpen:Kl(a,4),totalComplete:Kl(a,5)}},jya=function(a){var b=new Vl;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&&eya(b,fya(new gya,a.numericSpec.multiplier));if(a.enumSpec){var c;hya(b,iya(new Wl,(null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Xl).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}zl(b,6,a)}return b},nya=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=Axa(c));c=void 0;var d=a.getFormattedComment();d&&(c=kya(d));d=void 0;var e=Gi(a,xi,3);e&&(d=Ai(e));e=void 0;var f=a.getEtag();f&&(e=Nxa(f));f=void 0;var h=a.getEntityStatus();h&&(f=Fxa(h));h=void 0;var l=a.getRestrictedRetentionState();l&&(h=Hxa(l));return{issueId:String(a.getIssueId_asLegacyNumberOrString()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:lya(a.getFormattingMode()),
formattedComment:c,lastEditorUser:d,lastModified:pl(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,piiRetention:Mxa(a.getRestrictedRetention()),redacted:Li(a,13),etag:e,commentReactions:mya(Gi(a,Yl,17))}},kya=function(a){if(Zl(a,$l,1,am)){var b=Ll(a,$l,1,am);var c;b={plainSection:(null!=(c=Ii(b,bm,1,hi()))?c:[]).map(oya)}}else b=void 0;return{plainFormat:b,markdownFormat:Zl(a,cm,2,am)?{content:xj(Ll(a,cm,2,am).getContent())}:void 0,
literalFormat:Zl(a,dm,3,am)?{content:xj(Ll(a,dm,3,am).getContent())}:void 0}},oya=function(a){return{isQuoted:Li(a,1),content:xj(a.getContent())}},pya=function(a){var b=new bm;return Ul(b,1,a.isQuoted).setContent(eta(a.content))},lya=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:throw Error("sc`"+a);}},em=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("sc`"+a);}},mya=function(a){var b,c;null==a?c=void 0:c=Ii(a,fm,2,hi());a=null!=(b=c)?b:[];b=new Map;a=k(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("tc`"+d);}}var e=void 0,f=void 0,h=void 0,l=void 0,q=null!=(f=Li(c,1))?f:!1;f=null!=(h=Zi(c,2))?h:0;c=Ii(c,xi,3,hi());c={type:d,hasReacted:q,count:f,recentResponders:null!=(l=null==(e=c)?void 0:e.map(Ai).filter(Ei))?
l:[]};b.set(d,c)}return b},qya=function(a){return a.map(function(b){return Gi(b,xi,1)}).filter(Ei).map(Ai).map(function(b){return{mentionedUser:b}})},rya=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"}},sya=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}},gm=function(a){a=gi(a,1,hi(zi));return{paths:null!=a?a:[]}},uya=function(a){return{startTime:ll(a.getStartTime()),targetTime:ll(Gi(a,aj,3)),endTime:ll(Gi(a,aj,2)),objective:ixa(a.getObjective()),businessDays:a.getBusinessDays(),dayType:tya[a.getDayType()]}},wya=function(a){var b=new hm;if(a.startTime){var c=ml(a.startTime);hj(b,aj,1,c)}a.targetTime&&(c=ml(a.targetTime),hj(b,aj,3,c));a.endTime&&(c=ml(a.endTime),hj(b,aj,2,c));a.objective&&b.setObjective(hxa(a.objective));
a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(vya[a.dayType]);return b},yya=function(a){var b=(new im).setInherit(a.inherit).setSource(xya[a.source]).setId(ql(a.id)).setComment(a.comment);return xl(b,6,ql(a.sourceComponentId)).setSourceTeamId(ql(a.sourceTeamId))},Aya=function(a){var b=String(a.getSloId_asLegacyNumberOrString()),c=a.getName(),d=a.getDescription(),e=String(Zi(a,2));var f=Ii(a,jm,5,hi());f=(null!=f?f:[]).map(zya);var h=Ii(a,jm,6,hi());h=(null!=h?h:[]).map(zya);
var l=a.getIsArchived();a:switch(a=Qi(a,8,0),a){case 0:a="OFF";break a;case 1:a="OFF";break a;case 2:a="ON";break a;default:throw Error("uc`"+a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:l,alertState:a}},zya=function(a){var b=Bya(a.getMetric()),c=a.getMatcher();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("wc`"+d);}}return{metric:b,matcher:c,dayType:d,objective:ixa(a.getObjective()),
businessDays:a.getBusinessDays()}},Bya=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("vc`"+a);}},Dya=function(a){var b=new jm,c=Cya(a.metric);b=zl(b,1,c).setMatcher(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("wc`"+d);}}return c.call(b,d).setObjective(hxa(a.objective)).setBusinessDays(a.businessDays)},
Cya=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("xc`"+a);}},Eya=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),updateText:ec(a,2),formattedText:Ui(a,km,3)?kya(Gi(a,km,3)):void 0,formattingMode:a.getFormattingMode()?lya(a.getFormattingMode()):void 0,author:a.hasAuthor()?Ai(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?Di(ll(a.getUpdateTime())):void 0,version:a.getVersion()}},
Fya=function(a){var b=(new lm).setFormattingMode(em(a.formattingMode));a.issueId&&b.setIssueId(a.issueId);a.updateText&&yl(b,2,a.updateText);if(a.formattedText){var c=a.formattedText,d=new km;if(c.plainFormat){var e=c.plainFormat;var f=new $l;e=e.plainSection.map(pya);f=mm(f,1,e);Rl(d,1,am,f)}c.markdownFormat&&(f=c.markdownFormat,f=(new cm).setContent(eta(f.content)),Rl(d,2,am,f));c.literalFormat&&(c=c.literalFormat,c=(new dm).setContent(eta(c.content)),Rl(d,3,am,c));hj(b,km,3,d)}a.author&&b.setAuthor(yi(a.author));
a.updateTime&&b.setUpdateTime(ml(a.updateTime));a.version&&b.setVersion(a.version);return b},Lya=function(a){var b=a.getAccessLimit(),c=Gya[Qi(a,30,0)],d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka=a.getComponentId_asLegacyNumberOrString(),Aa=a.getType()?rya(a.getType()):null,Ya=a.getStatus()?nm[a.getStatus()]:null,ea=a.getPriority()?om[a.getPriority()]:null,na=a.getSeverity()?Hya[a.getSeverity()]:null,Da=a.getTitle(),Ia=a.getReporter()?Ai(a.getReporter()):null,Xa=a.getAssignee()?Ai(a.getAssignee()):null,
yb=a.getVerifier()?Ai(a.getVerifier()):null,Rb=null!=(t=null==(d=a.getCcsList())?void 0:d.map(Ai))?t:[];d=null!=(w=null==(e=a.getCollaboratorsList())?void 0:e.map(Ai))?w:[];e=a.getCanonicalIssueId_asLegacyNumberOrString()?String(a.getCanonicalIssueId_asLegacyNumberOrString()):null;w=null!=(B=null==(f=a.getBlockedByIssueIdsList_asLegacyNumberOrString())?void 0:f.map(String))?B:[];f=null!=(D=null==(h=a.getBlockingIssueIdsList_asLegacyNumberOrString())?void 0:h.map(String))?D:[];h=null!=(J=a.getHotlistIdsList_asLegacyNumberOrString(zi))?
J:[];J=null!=(H=null==(l=a.getCustomFieldsList())?void 0:l.map(Wxa).filter(Ei))?H:[];l=null!=(O=a.getCodeChangesList(zi))?O:[];O=null!=(P=Ii(a,pm,35,hi()).map(Iya))?P:[];P=gi(a,17,hi(zi));P=null!=P?P:[];H=gi(a,18,hi(zi));H=null!=H?H:[];D=gi(a,19,hi(zi));D=null!=D?D:[];B=a.getInProd();t=a.getIsArchived();var Sb=null!=(U=null==(q=a.getDuplicateIssueIdsList_asLegacyNumberOrString())?void 0:q.map(String))?U:[];q=a.getIsDeleted();U=Jya[Qi(a,24,0)];var Wa=null!=(aa=ll(a.getSloSnoozeUntil()))?aa:null;aa=
null!=(pa=ll(a.getSloEndTime()))?pa:null;pa=gi(a,27,hi(zi));return{componentId:ka,type:Aa,status:Ya,priority:ea,severity:na,title:Da,reporterUser:Ia,assigneeUser:Xa,verifierUser:yb,ccUsers:Rb,collaboratorsUsers:d,duplicateOfIssueId:e,blockedByIssueId:w,blockingIssueId:f,hotlistId:h,customField:J,changelist:l,gerritChanges:O,foundInVersion:P,targetedToVersion:H,verifiedInVersion:D,inProd:B,isArchived:t,duplicateIssueId:Sb,isDeleted:q,deletionReason:U,sloStartTime:Wa,sloEndTime:aa,sloSnoozeType:"SLO_SNOOZE_TYPE_UNSPECIFIED"===
c?null:c,postmortems:null!=pa?pa:[],retention:Kya[a.getRetention()],effort:a.hasEffort()?dya(a.getEffort()):void 0,issueAccessLimitLevel:null!=b?txa(b):null,comment:"",formattingMode:void 0}},Sya=function(a){var b=new qm;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);null!=a.type&&b.setType(sya(a.type));null!=a.inProd&&b.setInProd(a.inProd);null!=a.isArchived&&b.setIsArchived(a.isArchived);null!=a.status&&b.setStatus(Mya[a.status]);null!=a.priority&&b.setPriority(Nya[a.priority]);
null!=a.severity&&b.setSeverity(Oya[a.severity]);a.reporterUser&&b.setReporter(yi(a.reporterUser));a.assigneeUser&&b.setAssignee(yi(a.assigneeUser));a.verifierUser&&b.setVerifier(yi(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(yi));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(yi));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(Xxa));a.changelist&&b.setCodeChangesList(a.changelist);if(a.gerritChanges){var c=a.gerritChanges.map(Pya);mm(b,35,c)}a.foundInVersion&&rj(b,17,a.foundInVersion);a.targetedToVersion&&rj(b,18,a.targetedToVersion);a.verifiedInVersion&&rj(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));null!=a.isDeleted&&b.setIsDeleted(a.isDeleted);null!=a.deletionReason&&
b.setDeletionReason(Qya[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(ml(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(ml(a.sloEndTime));null!=a.sloSnoozeType&&b.setSloSnoozeType(Rya[a.sloSnoozeType]);null!=a.retention&&b.setRetention(Bl(a.retention));if(a.effort){c=b.setEffort;var d=a.effort,e=new rm;d.specId&&xl(e,1,d.specId);d.estimate&&yl(e,2,d.estimate);d.averageDays&&sm(e,3,d.averageDays);d.totalOpen&&sm(e,4,d.totalOpen);d.totalComplete&&sm(e,5,d.totalComplete);c.call(b,e)}a.issueAccessLimitLevel&&
b.setAccessLimit(sxa(a.issueAccessLimitLevel));return b},Iya=function(a){return{host:ec(a,1),repo:ec(a,2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:Tya[a.getState()]}},Pya=function(a){var b=new pm;b=yl(b,1,a.host);return yl(b,2,a.repo).setChangeNumber(a.changeNumber).setState(Uya[a.state])},Yya=function(a){switch(tm(a,Vya)){case 2:var b=Ll(a,Wya,2,Vya);return 0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),commentNumber:b.getCommentNumber(),
sourceCommentNumber:fi(a,3)}:{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),sourceCommentNumber:fi(a,3)};case 1:return{type:"hyperlink",href:ec(Ll(a,Xya,1,Vya),1),sourceCommentNumber:fi(a,3)};case 0:throw Error("yc");default:throw Error("zc");}},vm=function(a){for(var b=a.getIssueState()?[Lya(a.getIssueState())]:[],c=new Map,d=k(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList_asLegacyNumberOrString().map(String)})}var h,
l,q;d=String(a.getIssueId_asLegacyNumberOrString());e=a.getVersion();f=a.hasDescription()?nya(a.getDescription()):void 0;var t;if(t=a.getUserData()){var w=Li(t,2);w=null==w?null:w;var B=Li(t,1);t={voted:w,starred:null==B?null:B,notificationSubscription:Zya[Qi(t,4,0)],lastViewedTimeMicros:pl(Gi(t,aj,5))}}else t=void 0;if(a){B=void 0;a.hasSloStatus()&&(w=a.getSloStatus(),B={assignmentBounds:(null==w?0:Ui(w,hm,1))?uya(Gi(w,hm,1)):void 0,responseBounds:(null==w?0:Ui(w,hm,2))?uya(Gi(w,hm,2)):void 0,closureBounds:(null==
w?0:Ui(w,hm,3))?uya(Gi(w,hm,3)):void 0});var D;w={voteCount:null!=(D=Zi(a,10))?D:0,createdTimeMicros:pl(a.getCreatedTime()),resolvedTimeMicros:pl(a.getResolvedTime()),verifiedTimeMicros:pl(a.getVerifiedTime()),modifiedTimeMicros:pl(a.getModifiedTime()),lastModifier:Ai(Gi(a,xi,14)),sloId:Bi(a.getSloId_asLegacyNumberOrString()),teamId:Bi(a.getTeamId_asLegacyNumberOrString()),retentionState:Hxa(a.getRetentionState()),sloStatus:B}}else w=void 0;D=vxa(a.getAccessLimit());B=a.getCustomFieldsList().map(Sl);
var J=Ii(a,Hl,34,hi()).map(Txa).filter(Ei),H=pl(a.getMajorModifiedTime()),O=a.getParentIssueIdsList_asLegacyNumberOrString().map(String),P=null!=(h=fi(a,39))?h:0;h=null!=(l=fi(a,45))?l:0;l=null!=(q=fi(a,46))?q:0;q=a.getIsArchived();var U=Ii(a,$ya,41,hi()).map(Yya),aa=ksa(String(a.getTrackerId_asLegacyNumberOrString())),pa=a.getStatusUpdate()&&Eya(a.getStatusUpdate()),ka;if(ka=Gi(a,um,47))a=Gi(a,um,47),ka={oneDayViewCount:Zi(a,1),sevenDayViewCount:Zi(a,2),thirtyDayViewCount:Zi(a,3)};return{issueId:d,
version:e,snapshot:b,description:f,userData:t,aggregatedData:w,accessLimit:D,customFields:B,visibleFields:J,majorModifiedTimeMicros:H,parentIssueIds:O,ancestors:c,childIssueCount:P,descendantCount:h,openDescendantCount:l,isArchived:q,relatedLinks:U,trackerId:aa,statusUpdate:pa,userActivityStats:ka}},bza=function(a){var b=(new wm).setIssueId(a.issueId).setVersion(a.version).setCustomFieldsList(a.customFields.map(cya)),c=a.visibleFields.map(Vxa);b=mm(b,34,c).setMajorModifiedTime(ol(a.majorModifiedTimeMicros)).setParentIssueIdsList(a.parentIssueIds.map(Bi).filter(Ei));
b=kl(b,39,a.childIssueCount);b=kl(b,45,a.descendantCount);b=kl(b,46,a.openDescendantCount).setIsArchived(a.isArchived);a.trackerId&&b.setTrackerId(a.trackerId);a.snapshot&&a.snapshot[0]&&b.setIssueState(Sya(a.snapshot[0]));a.statusUpdate&&b.setStatusUpdate(Fya(a.statusUpdate));if(a.userData){c=b.setUserData;var d=a.userData,e=new xm;d.voted&&Ul(e,2,d.voted);d.starred&&Ul(e,1,d.starred);d.notificationSubscription&&e.setNotificationSubscription(aza[d.notificationSubscription]);void 0!==d.lastViewedTimeMicros&&
(d=ol(d.lastViewedTimeMicros),hj(e,aj,5,d));c.call(b,e)}if(a.aggregatedData){c=xl(b,10,a.aggregatedData.voteCount).setCreatedTime(ol(a.aggregatedData.createdTimeMicros)).setResolvedTime(ol(a.aggregatedData.resolvedTimeMicros)).setVerifiedTime(ol(a.aggregatedData.verifiedTimeMicros)).setModifiedTime(ol(a.aggregatedData.modifiedTimeMicros));e=yi(a.aggregatedData.lastModifier);hj(c,xi,14,e);if(a.aggregatedData.sloStatus){c=b.setSloStatus;d=a.aggregatedData.sloStatus;e=new ym;if(d.assignmentBounds){var f=
wya(d.assignmentBounds);hj(e,hm,1,f)}d.responseBounds&&(f=wya(d.responseBounds),hj(e,hm,2,f));d.closureBounds&&(d=wya(d.closureBounds),hj(e,hm,3,d));c.call(b,e)}a.aggregatedData.sloId&&b.setSloId(a.aggregatedData.sloId);a.aggregatedData.teamId&&b.setTeamId(a.aggregatedData.teamId);a.aggregatedData.retentionState&&(c=b.setRetentionState,d=a.aggregatedData.retentionState,e=new zm,d.retentionPeriod&&(f=hxa(d.retentionPeriod),hj(e,nl,1,f)),d.scheduledDeletionTime&&(d=ml(d.scheduledDeletionTime),hj(e,
aj,2,d)),c.call(b,e))}a.accessLimit&&b.setAccessLimit(xxa(a.accessLimit));if(a.ancestors)for(c=b.getAncestorsMap(),e=k(a.ancestors.entries()),d=e.next();!d.done;d=e.next())f=k(d.value),d=f.next().value,f=f.next().value,c.set(Number(d),(new Am).setSourceIssueIdsList(f.sourceIssueIds.map(Bi).filter(Ei)));a.userActivityStats&&(a=a.userActivityStats,c=new um,c=xl(c,1,a.oneDayViewCount),c=xl(c,2,a.sevenDayViewCount),a=xl(c,3,a.thirtyDayViewCount),hj(b,um,47,a));return b},cza=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
position:a.getPosition(),issue:vm(a.getIssue())}},dza=function(a){var b=Ii(a,Bm,1,hi()).map(cza),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()}},eza=function(a){var b=new Cm,c=b.setIt,d,e,f,h,l,q=(new Dm).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy(qxa(null!=
(f=a.sortOrder)?f:[]));f=q.setDisplayPreferences;var t=new Em,w=null!=(h=null==(d=a.displayColumn)?void 0:d.map(kxa))?h:[];d=rj(t,1,w);q=f.call(q,d).setCreatedTime(ol(a.createdTimeMicros)).setModifiedTime(ol(a.modifiedTimeMicros)).setOwnersList(null!=(l=null==(e=a.adminUsers)?void 0:e.map(yi))?l:[]);void 0!==a.etag&&(e=q.setEtag,a=a.etag,a=a.length?new Ga(kaa(a,!0),Ha):Fa(),e.call(q,a));return c.call(b,q)},Fm=function(a){a=a.getIt();if(!a.getHotlistId_asLegacyNumberOrString())throw Error("Ac");if(!a.getName())throw Error("Bc");
if(!a.getCreatedTime())throw Error("Cc");if(!a.getModifiedTime())throw Error("Dc");var b,c,d,e;return{hotlistId:a.getHotlistId_asLegacyNumberOrString(),name:a.getName(),description:null!=(c=a.getDescription())?c:"",archived:null!=(d=a.getArchived())?d:!1,createdTimeMicros:pl(a.getCreatedTime()),modifiedTimeMicros:pl(a.getModifiedTime()),displayColumn:nxa(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(oxa),etag:Nxa(a.getEtag())||void 0,adminUsers:null!=(e=
null==(b=a.getOwnersList())?void 0:b.map(Ai))?e:[]}},fza=function(a){a=Ii(a,Cm,1,hi());return(null!=a?a:[]).map(Fm)},hza=function(a){return{fieldId:Txa(Gi(a,Hl,1)),stateOnIssues:gza[Qi(a,4,0)],enabledOnIssues:Li(a,5)}},iza=function(a){var b=a.getUser();return{user:b?Ai(b):{},isLead:Li(a,2)}},jza=function(a){var b=new Gm;return Ul(b,2,a.isLead).setUser(yi(a.user))},kza=function(a){var b=new Hm;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));
return b},lza=function(a){return(new Im).setInherit(a.inherit).setId(a.id)},mza=function(a){return{teamId:a.getTeamId_asLegacyNumberOrString(),score:a.getScore()}},nza=function(a){return(new Jm).setTeamId(a.teamId).setScore(a.score)},oza=function(a){var b=Bi(a);if(null==b)throw Error("Ec`"+a);return b},pza=function(a){var b=Ii(a,Km,4,hi()).map(hza);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=null!=(d=null==(c=Ii(a,Tl,5,hi()))?void 0:c.map($xa))?d:[];c=k(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)}var h,l;return{componentPathId:null!=(l=null==(h=Fi(a,1,hi()))?void 0:h.map(oza))?l:[],componentPathName:gi(a,2,hi(zi)),allCustomField:e,fieldConfigsMap:b}},qza=function(a){switch(a){case "ALL_PROTECTIONS":return 2;case "NO_PROTECTIONS":return 1;case "SPAM_PROTECTION_UNSPECIFIED":return 0;default:return 0}},tza=function(a){var b=Ui(a,Al,15)?Jxa(Gi(a,Al,15)):void 0,c=Ui(a,Lm,7)?
pza(Gi(a,Lm,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:rza[d.getSource()],id:String(d.getId_asLegacyNumberOrString()),sourceComponentId:String(Zi(d,6)),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString()),comment:d.getComment()}}else d=void 0;if(Ui(a,Vl,18)){var e=a.getEffortSpec();var f=e.getInherit();var h=e.getId_asLegacyNumberOrString(),l=e.getName();a:switch(Qi(e,6,0)){case 2:var q="MAX";break a;case 1:q="SUM";break a;default:q="AGGREGATION_TYPE_UNSPECIFIED"}f=
{inherit:f,id:h,name:l,aggregationType:q,customFieldId:e.getCustomFieldId_asLegacyNumberOrString()};if(Zl(e,gya,4,Mm)){var t=Ll(e,gya,4,Mm);t&&(f.numericSpec={multiplier:Kl(t,1)})}else if(Zl(e,Wl,5,Mm)&&(e=Ll(e,Wl,5,Mm),f.enumSpec={options:[]},e&&0<(null==e?void 0:null==(t=Ii(e,Xl,1,hi()))?void 0:t.length)))for(t=k(Ii(e,Xl,1,hi())),e=t.next();!e.done;e=t.next())e=e.value,l=h=void 0,null==(h=f.enumSpec)||null==(l=h.options)||l.push({label:e.getLabel(),value:e.getValue()})}else f=void 0;Ui(a,Im,16)?
(t=a.getTeam(),t={inherit:t.getInherit(),id:String(t.getId_asLegacyNumberOrString())}):t=void 0;e=vxa(a.getAccessLimit());h=Qi(a,21,0);h=2===h?"ALL_PROTECTIONS":1===h?"NO_PROTECTIONS":"SPAM_PROTECTION_UNSPECIFIED";var w,B;l=a.getComponentId_asLegacyNumberOrString();q=Zi(a,3);var D=a.getName(),J=a.getDescription(),H=a.getIsArchived(),O="buganizer-system+"+a.getComponentId_asLegacyNumberOrString()+"@google.com";var P=1===Qi(a,10,0)?"ENABLED":"DISABLED";return{componentId:l,parentComponentId:q,name:D,
description:J,archived:H,componentPathInfo:c,accessLimit:e,emailAlias:O,commentEditState:P,defaultTemplateId:oza(Zi(a,6)),slo:d,bugscopeSloId:String(Zi(a,14)),retentionSettings:b,fieldOrdering:sza[Qi(a,17,0)],effortSpec:f,team:t,teamSuggestions:null!=(B=null==(w=a.getTeamSuggestionsList())?void 0:w.map(mza))?B:[],trackerId:a.getTrackerId_asLegacyNumberOrString()?String(a.getTrackerId_asLegacyNumberOrString()):void 0,spamProtection:h}},uza=function(a){return{author:Ai(a.getAuthor()),timestamp:ll(a.getTimestamp()),
add:tza(a.getAdd()),remove:tza(a.getRemove()),addMask:gm(a.getAddMask()),removeMask:gm(a.getRemoveMask())}},Nm=function(a,b){return function(c,d){return vza(c,a,b,d)}},vza=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(u(a)).sort(function(e,f){var h="asc"===d?1:-1;return c(b(e),b(f))*h})},Om=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:isNaN(a)&&isNaN(b)?0:isNaN(a)?1:isNaN(b)?-1:a>b?1:a<b?-1:0},wza=function(a,b){return null==a||null==b?null==a&&null==
b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},Pm=function(a,b){var c=void 0===c?function(e){return e}:c;if(xza()&&(a=c(a),b=c(b),!ki(a,b))){var d=function(e,f){if(f instanceof Array)return f;if(!(f instanceof Object))return f;e=Nm(function(h){h=k(h);var l=h.next().value;h.next();return l},wza)([].concat(u(Object.entries(f))),"asc");return Object.fromEntries(e)};c=function(e,f){return d(e,void 0===f?null:f)};console.error("Discrepancy of messages during LeanFE migration.\n    ### obj1: "+JSON.stringify(a,
c,2)+"\n\n    ### obj2: "+JSON.stringify(b,c,2)+"\n    ");console.log({obj1:a,obj2:b})}},Qm=function(a){var b,c;return null!=(c=null==(b=tta().getConfig())?void 0:Mb(b,4,Tba).get(a))?c:!1},yza=function(a){return{author:Yk(a.getAuthor()),timestamp:ll(a.getTimestamp()),add:Rm(a.getAdd()),remove:Rm(a.getRemove()),addMask:gm(a.getAddMask()),removeMask:gm(a.getRemoveMask())}},Bza=function(a){var b,c={updates:(null!=(b=a.getUpdatesList())?b:[]).map(yza)};if(zza&&a.getIt()){a=a.getIt();var d;a={updates:(null!=
(d=Ii(a,Aza,1,hi()))?d:[]).map(uza)};Pm(c,a);return a}return c},Rm=function(a){return tza(a.getIt())},Cza=function(a){var b=new Sm;b=xl(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&(a=Lxa(a.retentionSettings),hj(b,Al,15,a));return(new Tm).setIt(b)},Dza=function(a){a=Ii(a,Tm,1,hi());return(null!=a?a:[]).map(Rm)},Eza=function(a){return{warningHeader:ec(a,1),warning:ec(a,2),isAllowed:Li(a,
3),isExternalMove:Li(a,4)}},Gza=function(a){a=a.getIt();var b=Lya(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=Fza[a.getFormattingMode()]);return{componentId:a.getComponentId_asLegacyNumberOrString(),templateId:a.getTemplateId_asLegacyNumberOrString(),name:a.getName(),description:a.getDescription(),default:Li(a,9),snapshot:b}},Hza=function(a){var b=new Um,c=b.setIt,d=(new Vm).setFormattingMode(em(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);
a=Ul(d,9,a.default).setIssueState(Sya(a.snapshot));return c.call(b,a)},Iza=function(a){a=Ii(a,Tm,1,hi());return(null!=a?a:[]).map(Rm)},Jza=function(a){return{componentPath:a.getComponentPath(),retentionSettings:Jxa(Gi(a,Al,3))}},Lza=function(a){return Ii(a,Kza,2,hi()).map(Jza)},Mza=function(a){var b=gi(a,1,hi(zi));a=gi(a,2,hi(zi));return{noAccessEmails:b,unknownEmails:a}},Nza=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=Yk(c);if(c=a.getGroup())b.group=Yk(c);if(c=a.getAlias())b.alias=
c;return b}},Xm=function(a){var b=new Wm;if(ui(a))return b.setUser(al(a.user)),b;if(vi(a))return b.setGroup(al(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},Qza=function(a){var b=Oza[a.getImplicitAccess()],c,d,e,f,h,l,q,t,w,B,D={admins:Ym(null!=(c=a.getAdminsList())?c:[]),appenders:Ym(null!=(d=a.getAppendersList())?d:[]),editors:Ym(null!=(e=a.getEditorsList())?e:[]),readers:Ym(null!=(f=a.getReadersList())?f:[]),restrictedReaders:Ym(null!=(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:Ym(null!=
(l=a.getRestrictedPlusReadersList())?l:[]),inheritedAdmins:Ym(null!=(q=a.getInheritedAdminsList())?q:[]),implicitAppenders:Ym(null!=(t=a.getImplicitAppendersList())?t:[]),implicitEditors:Ym(null!=(w=a.getImplicitEditorsList())?w:[]),implicitReaders:Ym(null!=(B=a.getImplicitReadersList())?B:[]),implicitAccess:b};if(Pza&&a.hasIt()){w=a.getIt();a=w.getAdminsList().map(rl);b=w.getAppendersList().map(rl);c=w.getEditorsList().map(rl);d=w.getReadersList().map(rl);e=w.getRestrictedReadersList().map(rl);f=
w.getRestrictedPlusReadersList().map(rl);h=w.getInheritedAdminsList().map(rl);l=w.getImplicitAppendersList().map(rl);q=w.getImplicitEditorsList().map(rl);t=w.getImplicitReadersList().map(rl);a:switch(w.getImplicitAccess()){case 0:w="IMPLICIT_ACCESS_UNSPECIFIED";break a;case 1:w="ALLOW";break a;case 2:w="DENY";break a;default:throw Error("lc");}a={admins:a,appenders:b,editors:c,readers:d,restrictedReaders:e,restrictedPlusReaders:f,inheritedAdmins:h,implicitAppenders:l,implicitEditors:q,implicitReaders:t,
implicitAccess:w};Pm(D,a);return a}return D},Ym=function(a){return a.map(Nza).filter(Ei)},Rza=function(a){return(new Zm).setIt(Vxa(a))},Tza=function(a){var b=Gi(a,$m,1);b=null!=b?Sl(b.getIt()):void 0;return Sza&&a.getIt()?(a=Sl(a.getIt()),Pm(b,a),a):b},Uza=function(a){return(new $m).setIt(cya(a))},Vza=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(Sl),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Wza=function(a){return qya(a.getIt().getMentionsList(zi)).map(function(b){return b.mentionedUser}).map(Zk).map(function(b){return b||
""})},Xza=function(a){a=a.getIt();return a.hasFormattedComment()?kya(a.getFormattedComment()):{}},Yza=function(a){"[Deleted User]"===a&&(a="nobody@google.com");a.includes("@")||(a+="@google.com");return(new xi).setEmailAddress(a)},Zza=function(a){var b;return null!=(b=null==a?void 0:a.trim().split(",").filter(Boolean).map(Yza))?b:[]},an=function(a){var b;return null!=(b=null==a?void 0:a.trim().split(",").filter(Boolean).map(Bi).filter(Ei))?b:[]},bn=function(a){var b;return null!=(b=null==a?void 0:
a.trim().split(",").filter(Boolean))?b:[]},aAa=function(a){var b=new cn,c=new cn,d=new qm,e=new qm;a=k(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;if(f.ignoreOnIssueEditRequest)break;switch(f.fieldName){case "assignee":f.value?(d.setAssignee(Yza(f.value)),dn(b,"assignee")):(e.setAssignee(new xi),dn(c,"assignee"));break;case "attachments":break;case "blockedByIssueId":"ADD"===f.actionType?(d.addAllBlockedByIssueIds(an(f.value)),dn(b,"blocked_by_issue_ids")):(e.addAllBlockedByIssueIds(an(f.value)),
dn(c,"blocked_by_issue_ids"));break;case "blockingIssueId":"ADD"===f.actionType?(d.addAllBlockingIssueIds(an(f.value)),dn(b,"blocking_issue_ids")):(e.addAllBlockingIssueIds(an(f.value)),dn(c,"blocking_issue_ids"));break;case "ccs":"ADD"===f.actionType?(d.addAllCcs(Zza(f.value)),dn(b,"ccs")):(e.addAllCcs(Zza(f.value)),dn(c,"ccs"));break;case "changelists":"ADD"===f.actionType?(d.addAllCodeChanges(bn(f.value)),dn(b,"code_changes")):(e.addAllCodeChanges(bn(f.value)),dn(c,"code_changes"));break;case "collaborators":"ADD"===
f.actionType?(d.addAllCollaborators(Zza(f.value)),dn(b,"collaborators")):(e.addAllCollaborators(Zza(f.value)),dn(c,"collaborators"));break;case "comment":break;case "componentId":d.setComponentId(Bi(f.value));dn(b,"component_id");break;case "customField":if(!f.customFieldValue)break;var h=Xxa(f.customFieldValue);"ADD"===f.actionType?(d.addCustomFields(h),dn(b,"custom_fields")):(e.addCustomFields(h),dn(c,"custom_fields"));break;case "deletionReason":null!=f.value?(d.setDeletionReason(Qya[f.value]),
dn(b,"deletion_reason")):(e.setDeletionReason(2),dn(c,"deletion_reason"));break;case "duplicateOfIssueId":(f=Bi(f.value))?(d.setCanonicalIssueId(f),dn(b,"canonical_issue_id")):dn(c,"canonical_issue_id");break;case "effortEstimate":f.value?(h=new rm,f=yl(h,2,f.value),d.setEffort(f),dn(b,"effort")):(e.setEffort(new rm),dn(c,"effort"));break;case "foundInVersion":"ADD"===f.actionType?(h=d,f=bn(f.value),Tb(h,17,sb,f),dn(b,"found_in_versions")):(h=e,f=bn(f.value),Tb(h,17,sb,f),dn(c,"found_in_versions"));
break;case "hotlists":"ADD"===f.actionType?(d.addAllHotlistIds(an(f.value)),dn(b,"hotlist_ids")):(e.addAllHotlistIds(an(f.value)),dn(c,"hotlist_ids"));break;case "inProd":d.setInProd("true"===f.value);dn(b,"in_prod");break;case "type":d.setType($za[f.value]);dn(b,"type");break;case "isArchived":d.setIsArchived("true"===f.value);dn(b,"is_archived");break;case "isDeleted":d.setIsDeleted("true"===f.value);dn(b,"is_deleted");break;case "parentId":break;case "priority":d.setPriority(Nya[f.value]);dn(b,
"priority");break;case "readState":break;case "reporter":d.setReporter(Yza(f.value));dn(b,"reporter");break;case "severity":d.setSeverity(Oya[f.value]);dn(b,"severity");break;case "sloEndTime":(f=Bi(f.value))?(d.setSloEndTime(ml({seconds:f,nanos:0})),dn(b,"slo_end_time")):(e.setSloEndTime(new aj),dn(c,"slo_end_time"));break;case "sloSnoozeType":d.setSloSnoozeType(Rya[f.value]);dn(b,"slo_snooze_type");break;case "sloStartTime":(f=Bi(f.value))?(d.setSloSnoozeUntil(ml({seconds:f,nanos:0})),dn(b,"slo_snooze_until")):
(e.setSloSnoozeUntil(new aj),dn(c,"slo_snooze_until"));break;case "status":d.setStatus(Mya[f.value]);dn(b,"status");break;case "targetedToVersion":"ADD"===f.actionType?(h=d,f=bn(f.value),Tb(h,18,sb,f),dn(b,"targeted_to_versions")):(h=e,f=bn(f.value),Tb(h,18,sb,f),dn(c,"targeted_to_versions"));break;case "title":d.setTitle(f.value);dn(b,"title");break;case "verifiedInVersion":"ADD"===f.actionType?(h=d,f=bn(f.value),Tb(h,19,sb,f),dn(b,"verified_in_versions")):(h=e,f=bn(f.value),Tb(h,19,sb,f),dn(c,"verified_in_versions"));
break;case "verifier":f.value?(d.setVerifier(Yza(f.value)),dn(b,"verifier")):(e.setVerifier(new xi),dn(c,"verifier"));break;default:vc(f.fieldName,"Unhandled IssueFieldName in actionsToIssueStateChanges")}}return{addMask:b,removeMask:c,stateAddBuilder:d,stateRemoveBuilder:e}},bAa=function(a){var b=a.actions.filter(function(h){return!h.ignoreOnIssueEditRequest}),c=b.filter(function(h){return"comment"!==h.fieldName}),d=aAa(c);c=d.addMask;var e=d.removeMask,f=d.stateAddBuilder;d=d.stateRemoveBuilder;
a=(new en).setIssueId(Number(a.issueId)).setAdd(f).setRemove(d).setAddMask(c).setRemoveMask(e);(b=sa(b.filter(function(h){return"comment"===h.fieldName})))&&null!=b.value&&a.setIssueComment((new fn).setComment(b.value));return a},eAa=function(a,b,c,d){if(cAa){var e=new gn,f=e.setIt;a=(new hn).setIssueId(a);b&&a.setIssueAccessLimit(sxa(b));c&&a.setAddedCollaboratorsList(c.map(yi));d&&a.setRemovedCollaboratorsList(d.map(yi));return f.call(e,a)}e=(new gn).setIssueId(a);b&&(b=dAa[b])&&(b=(new ul).setAccessLevel(b),
e.setIssueAccessLimit(b));c&&e.setAddedCollaboratorsList(c.map(al));d&&e.setRemovedCollaboratorsList(d.map(al));return e},fAa=function(a){if(jn)return(new kn).setIt((new ln).setIssueId(Number(a)));var b=new kn;b.setIssueId(String(a));return b},hAa=function(a){if(jn)return(new gAa).setIt((new mn).setIssueId(Number(a.issueId)).setComponentId(Number(a.componentId)));var b=new gAa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},jAa=function(a){if(jn)return(new iAa).setIt((new nn).setIssueId(String(a.issueId)).setComponentId(String(a.componentId)));
var b=new iAa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},kAa=function(a){return{issueId:ksa(a.getIssueId_asString()),status:nm[a.getStatus()],title:a.getTitle()}},nAa=function(a){var b=new lAa;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(mAa[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new on).setIt(Xxa(a));c.call(b,a)}return b},oAa=function(a){if(jn)return(new pn).setIt(bAa(a));
var b=new pn;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.filter(function(c){return!c.ignoreOnIssueEditRequest}).map(nAa));return b},qAa=function(a){var b=new pAa,c=a.addHotlistIds.map(String);Pb(b,1,c,pb);c=a.removeHotlistIds.map(String);Pb(b,2,c,pb);var d=a.hotlistIssue;jn?(a=(new Bm).setIssueId(Number(d.issueId)),d.position&&a.setPosition(d.position),d.issue&&a.setIssue(bza(d.issue)),a=(new qn).setIt(a)):(a=new qn,a.setIssueId(String(d.issueId)),d.position&&a.setPosition(d.position),
d.issue&&(c=a.setIssue,d=d.issue,d=(new rn).setIt(bza(d)),c.call(a,d)));hj(b,qn,3,a);return b},sAa=function(a){var b=Ii(a,rAa,1,hi());return{issueDigests:(null!=b?b:[]).map(kAa),numTotalResults:Zi(a,2)}},vAa=function(a){var b=new tAa;b.setIssueId(String(a.issueId));b.setTargetIdsList(a.targetIds.map(String));b.setRelation(uAa[a.relation]);b.setActionType(mAa[a.actionType]);return b},xAa=function(a){if(jn){var b=(new sn).setIssueId(a.issueId).setRetention(Bl(a.retention));a.significanceOverride&&b.setSignificanceOverride(bya[a.significanceOverride]);
return(new wAa).setIt(b)}b=new wAa;b.setIssueId(String(a.issueId));b.setRetention(Bl(a.retention));a.significanceOverride&&b.setSignificanceOverride(bya[a.significanceOverride]);return b},yAa=function(a){var b=new tn,c=b.setIt,d=(new wm).setIssueState(Sya(a.snapshot));a.snapshot.comment&&d.setIssueComment((new fn).setComment(a.snapshot.comment).setFormattingMode(em(a.snapshot.formattingMode)));a.attachments&&d.addAllAttachments(a.attachments.map(Qxa));d=(new un).setIssue(d);if(null!=a.templateId){var e=
new vn;e=Ul(e,1,!1).setTemplateId(a.templateId);hj(d,vn,3,e)}a.contentJudgement&&(e=d.setContentJudgement,a=zl(Dxa(a.contentJudgement),5,2),a=zl(a,6,1),e.call(d,a));return c.call(b,d)},zAa=function(a){return{issueId:ksa(a.getIssueId_asString())}},AAa=function(a){return Eya(a.getIt())},BAa=function(a){var b=new wn,c=b.setIt;var d=(new xn).setQuery(a.query);d=zl(d,2,bya[a.minimumSignificance]);a=kl(d,4,a.maximumSize);a=zl(a,3,2);return c.call(b,a)},CAa=function(a){a:{var b=a.getStatus();switch(b){case 1:b=
0;break a;case 2:b=1;break a;case 3:b=2;break a;case 0:throw Error("Fc");default:vc(b)}b=void 0}b={status:b,summary:ec(a,2)};Ui(a,yn,3)&&(b.formattedSummary={content:xj(Gi(a,yn,3).getContent())});return b},zn=function(a){if(null!=a)return vm(a.getIt())},DAa=function(a){var b;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:msa(a.lastModified),commentRedacted:Di(a.redacted),commentContentVerdict:a.commentContentVerdict,
commentRetentionState:a.piiRetentionState,commentDeletionStatus:null==(b=a.entityStatus)?void 0:b.status,commentRetention:a.piiRetention,lastCommentEditorUser:a.lastEditorUser,formattingMode:a.formattingMode,formattedComment:a.formattedComment,commentEtag:a.etag,commentReactions:a.commentReactions}},EAa=function(a,b){var c,d,e;b=ol(null!=(e=null==(c=b.aggregatedData)?void 0:c.createdTimeMicros)?e:0);c=null!=b?Number(b.toDate()):void 0;return{attachments:[],preDiffs:[],postDiffs:[],modifiedDate:c,
userPerformingActionUser:a.lastEditorUser,userPerformingAction:lsa("<none>")(Zk(a.lastEditorUser)),commentVersion:a.version,version:a.version,commentLastModifiedAtDate:msa(a.lastModified),commentRedacted:Di(a.redacted),commentContentVerdict:a.commentContentVerdict,commentRetentionState:a.piiRetentionState,commentDeletionStatus:null==(d=a.entityStatus)?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}},An=function(a){if(null!=a)if(a=zn(a.getIssue()),null==a)Ek("No issue. issueFetchResponseToJs");else return a},FAa=function(a){var b=new Bn;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(nAa));return b},GAa=function(a){return{issueId:a.getIssueId_asString(),message:a.getMessage()}},IAa=function(a){var b=
{};var c=Ob(a,1,rn,vb);c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=zn(e)}c={};d=Ob(a,3,Tm,vb);d=k(d.entries());for(e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=Rm(f)}a=Ii(a,HAa,2,hi());a=(null!=a?a:[]).map(GAa);return{affectedIssues:b,componentMap:c,errors:a}},JAa=function(a){var b;return(null!=(b=a.getIt().getIssueCommentsList())?b:[]).map(nya).map(DAa)},LAa=function(a){return KAa&&
a.getIt()?{readTimestamp:a.getIt().hasReadTimestamp()?pl(a.getIt().getReadTimestamp()):0}:{readTimestamp:Zi(a,1)}},MAa=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:rya(b.getType()),status:nm[b.getStatus()],priority:om[b.getPriority()],severity:Hya[b.getSeverity()],componentId:b.getComponentId_asLegacyNumberOrString(),accessLimitLevel:null!=c?txa(c):null};return{issueId:String(a.getIssueId_asLegacyNumberOrString()),issueState:b,modifiedTime:ll(a.getModifiedTime()),teamId:a.getTeamId_asLegacyNumberOrString()}},
NAa=function(a){return nya(a.getIt())},OAa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(NAa)},PAa=function(a){return mya(null==a?void 0:a.getIt())},RAa=function(a){if(QAa&&a.getIt())return a=a.getIt(),{issues:a.getIssuesList().filter(Ei).map(vm),numTotalResults:a.getTotalSize(),positionMap:void 0,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()};var b=a.getIssuesList();if(b){var c=[];b=k(b);for(var d=b.next();!d.done;d=
b.next())(d=d.value)&&(d=zn(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=Mb(a,4,Uba);if(void 0!==e){d={};e=k(e.entries());for(var f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d[Number(f)]=h}}else d=void 0;return{issues:c,numTotalResults:b,positionMap:d,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},VAa=function(a){if(a){var b=null==a?void 0:a.getTypeName();switch(b){case "google.protobuf.Int32Value":var c;
return{type:"NUMBER",value:null==(c=fc(a,SAa,b))?void 0:c.getValue()};case "google.protobuf.Int64Value":var d;return{type:"NUMBER",value:null==(d=fc(a,Cn,b))?void 0:d.getValue_asLegacyNumberOrString()};case "google.protobuf.StringValue":var e;return{type:"STRING",value:null==(e=fc(a,TAa,b))?void 0:e.getValue()};case "google.protobuf.BoolValue":var f;return{type:"BOOLEAN",value:null==(f=fc(a,UAa,b))?void 0:f.getValue()};case "google.protobuf.Timestamp":return{type:"TIMESTAMP",value:ll(fc(a,aj,b))};
case "google.devtools.issuetracker.v1.User":return a=fc(a,xi,b),{type:"USER",value:a&&Ai(a)};case "google.devtools.issuetracker.v1.CustomFieldValue":return a=fc(a,Pl,b),{type:"CUSTOM_FIELD_VALUE",value:a&&Wxa(a)};case "google.devtools.issuetracker.v1.IssueAccessLimit":return a=fc(a,ul,b),{type:"ISSUE_ACCESS_LIMIT",value:a&&txa(a)};case "google.devtools.issuetracker.v1.Issue.Effort":return a=fc(a,rm,b),{type:"STRING",value:a&&dya(a).estimate};case "google.devtools.issuetracker.v1.EntityStatus":return a=
fc(a,El,b),{type:"ENTITY_STATUS",value:a&&Fxa(a)};case "google.devtools.issuetracker.v1.GerritChange":return a=fc(a,pm,b),{type:"GERRIT_CHANGE",value:a&&Iya(a)};default:console.error("Unhandled type in parseProtoAny: "+b)}}},XAa=function(a){var b,c;return{issueId:String(a.getIssueId_asLegacyNumberOrString()),version:a.getVersion(),author:Ai(a.getAuthor()),timestamp:ll(a.getTimestamp()),fieldUpdates:a.getFieldUpdatesList().map(WAa).filter(Ei),attachments:a.getAttachmentsList().map(Oxa),comment:a.hasIssueComment()&&
0!==(null==(b=a.getIssueComment())?void 0:b.getIssueId_asLegacyNumberOrString())?nya(a.getIssueComment()):void 0,statusUpdate:a.hasStatusUpdate()?Eya(a.getStatusUpdate()):void 0,statusUpdateEntityStatus:(null==(c=a.getStatusUpdate())?0:c.getEntityStatus())?Fxa(a.getStatusUpdate().getEntityStatus()):void 0}},WAa=function(a){var b=a.getField();if(YAa.has(b)){var c=tm(a,ZAa);switch(c){case 3:a:{if(c=Ll(a,$Aa,3,ZAa)){a=VAa(Gi(c,Dn,1));var d=VAa(Gi(c,Dn,2));if(a||d){var e;c={type:null!=(e=null==a?void 0:
a.type)?e:null==d?void 0:d.type,oldValue:null==a?void 0:a.value,newValue:null==d?void 0:d.value};break a}}c=void 0}return{field:b,singleValueUpdate:c};case 4:return{field:b,collectionUpdate:aBa(Ll(a,bBa,4,ZAa))};default:console.error("Unexpected ValueUpdate oneof in Proto for field id:"+c)}}else console.error('Unexpected IssueStateMask value: "'+b+'"')},aBa=function(a){if(a){var b=Ii(a,Dn,1,hi()).map(VAa).filter(Ei);a=Ii(a,Dn,2,hi()).map(VAa).filter(Ei);var c=[].concat(u(b),u(a));if(0!==c.length)return{type:c[0].type,
added:b.map(function(d){return d.value}),removed:a.map(function(d){return d.value})}}},En=function(a){return new pi(a.year,a.month-1,a.day)},Fn=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},cBa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},Gn=function(a){return 0===a.numericValue?a.numericValue:a.textValue||a.dateValue||a.enumValue||a.numericValue||a.repeatedTextValue||a.repeatedDateValue||a.repeatedEnumValue||a.repeatedNumericValue||null},Hn=
function(a){a=Gn(a);return null==a?!0:"string"===typeof a?""===a:"number"===typeof a?!1:null!=a.values?0===a.values.length:!a||!a.day||!a.month||!a.year},dBa=function(a){return a?Fn(ri(a)):null},eBa=function(a){return a?(a=ql(a),isNaN(a)?null:a):null},gBa=function(a){return fBa.format(En(a))},In=function(a,b){return(void 0===b?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},iBa=function(a){var b=
a.match(hBa);if(b){a=b[1];var c=b[3];b=b[4];if(a&&c&&b)return{host:a,repo:c,changeNumber:Number(b),state:"MERGED"}}},kBa=function(a){return null==a?!1:jBa.has(a.name)},lBa=function(a){return"hotlist"===(null==a?void 0:a.name)},mBa=function(a){return null==a?!1:null!=a.href&&null!=a.value},nBa=function(a){return Array.isArray(a)?a.every(mBa):!1},Jn=function(a){return{value:String(a),href:"issues/"+a}},oBa=function(a){return{value:a,href:"https://critique.corp.google.com/"+a}},pBa=function(a){return{value:String(a),
href:"issues?q=hotlistid:"+a}},qBa=function(a){return{value:a,href:"https://pm.corp.google.com/"+a}},Kn=function(a){return a?1E3*a.seconds+a.nanos/1E6:0},Ln=function(a){var b=a+" day"+(1<a?"s":"");if(365>a)return b;a=Math.round(a/365*10)/10;return b+" (~"+(a+" year"+(1<a?"s":""))+")"},rBa=function(a){if(a){var b=new Mn;b.setTime(a.getTime());return b}},sBa=function(a){if(null!=a)return new Date(a.year,a.month-1,a.day)},tBa=function(a){if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});
return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},wBa=function(a){var b=a.fieldUpdates.map(function(c){return uBa(c,a)}).filter(Ei);a.statusUpdate&&b.push({name:"statusUpdate",displayName:"Status Update",type:"STATUS_UPDATE",important:!1,timestamp:Kn(a.timestamp),statusUpdateDiff:a.statusUpdateEntityStatus?{entityStatus:a.statusUpdateEntityStatus}:void 0});return vBa(b)},vBa=function(a){var b=a.filter(function(h){return"status"===h.name});a=a.filter(function(h){return"status"!==
h.name});var c=[].concat(u(a),u(b));b=[];a=void 0;c=k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,"canonicalId"===d.name?a=d:("status"===d.name&&a&&("Duplicate"===d.newValue&&(d.newValue="Duplicate of "+a.newValue),"Duplicate"===d.oldValue&&(d.oldValue="Duplicate of "+a.oldValue),a=void 0),b.push(d));var e,f;(null==(e=a)?0:e.oldValue)&&(null==(f=a)?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},uBa=function(a,b){var c=Kn(b.timestamp);b=0===b.version;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:Nn(e.oldValue),newValue:Nn(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(Jn),removed:e.removed.map(Jn)};case "blocking_issue_ids":return e=a.collectionUpdate,{name:"blockingId",displayName:"Blocking",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Jn),removed:e.removed.map(Jn)};case "canonical_issue_id":return e=a.singleValueUpdate,{name:"canonicalId",displayName:"Canonical",type:"SINGLE_VALUE",
important:!0,timestamp:c,oldValue:Ci(e.oldValue),newValue:Ci(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(Nn),removed:e.removed.map(Nn)};case "collaborators":return e=a.collectionUpdate,{name:"collaborators",displayName:"Collaborators",type:"USER_COLLECTION",important:!1,timestamp:c,isUser:!0,added:e.added.map(Nn),removed:e.removed.map(Nn)};case "child_issue_ids":return e=a.collectionUpdate,
{name:"childIssueIds",displayName:"Child Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Jn),removed:e.removed.map(Jn)};case "code_changes":return e=a.collectionUpdate,Object.assign({},{name:"changelist",displayName:"Changelist",important:!1,timestamp:c},Kj()?{type:"LINKED_COLLECTION",added:e.added.map(oBa),removed:e.removed.map(oBa)}:{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:null!=(e=Ci(f.oldValue))?e:"",newValue:null!=(h=Ci(f.newValue))?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:xBa(e.oldValue),newValue:xBa(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(Jn),removed:e.removed.map(Jn)};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,Object.assign({},{name:"gerritChange",
displayName:"Gerrit change",important:!1,timestamp:c},Kj()?{type:"LINKED_COLLECTION",added:e.added.map(function(na){return{value:na.changeNumber,href:In(na,!0)}}),removed:e.removed.map(function(na){return{value:na.changeNumber,href:In(na,!0)}})}:{type:"COLLECTION",added:e.added.map(function(na){return na.changeNumber}),removed:e.removed.map(function(na){return na.changeNumber})});case "hotlist_ids":return e=a.collectionUpdate,{name:"hotlist",displayName:"Hotlist",type:"LINKED_COLLECTION",important:!1,
timestamp:c,added:e.added.map(pBa),removed:e.removed.map(pBa)};case "in_prod":return e=a.singleValueUpdate,{name:"inProd",displayName:"In prod",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:null!=e.oldValue?String(e.oldValue):"",newValue:null!=e.newValue?String(e.newValue):""};case "is_archived":e=a.singleValueUpdate;var l;return{name:"isArchived",displayName:"Archived",type:"SINGLE_VALUE",important:!b||e.newValue,timestamp:c,oldValue:String(null!=(f=e.oldValue)?f:!1),newValue:String(null!=
(l=e.newValue)?l:!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(Jn),removed:e.removed.map(Jn)};case "postmortems":return e=a.collectionUpdate,Object.assign({},{name:"postmortem",displayName:"Postmortem",timestamp:c,important:!1},Kj()?{type:"LINKED_COLLECTION",added:e.added.map(qBa),removed:e.removed.map(qBa)}:{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:null!=e.oldValue?om[e.oldValue]:"",newValue:null!=e.newValue?om[e.newValue]:""};case "retention":e=a.singleValueUpdate;var q,t;return{name:"retention",displayName:"Retention",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:null!=(q=yBa(e.oldValue))?q:"",newValue:null!=(t=yBa(e.newValue))?t:""};case "reporter":return e=a.singleValueUpdate,{name:"reporter",displayName:"Reporter",type:"SINGLE_VALUE",
important:!1,timestamp:c,isUser:!0,oldValue:Nn(e.oldValue),newValue:Nn(e.newValue)};case "severity":return e=a.singleValueUpdate,{name:"severity",displayName:"Severity",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:null!=e.oldValue?Hya[e.oldValue]:"",newValue:null!=e.newValue?Hya[e.newValue]:""};case "slo_snooze_until":e=a.singleValueUpdate;var w,B,D,J;return{name:"sloStartTime",displayName:"SLO Start Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String(null!=(D=null==(w=e.oldValue)?
void 0:w.seconds)?D:"<none>"),newValue:String(null!=(J=null==(B=e.newValue)?void 0:B.seconds)?J:"<none>")};case "slo_end_time":e=a.singleValueUpdate;var H,O,P,U;return{name:"sloEndTime",displayName:"SLO End Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String(null!=(P=null==(H=e.oldValue)?void 0:H.seconds)?P:"<none>"),newValue:String(null!=(U=null==(O=e.newValue)?void 0:O.seconds)?U:"<none>")};case "status":e=a.singleValueUpdate;var aa,pa;return{name:"status",displayName:"Status",type:"SINGLE_VALUE",
important:!0,timestamp:c,oldValue:wi(null!=(aa=On.get(e.oldValue))?aa:""),newValue:wi(null!=(pa=On.get(e.newValue))?pa:"")};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 ka,Aa;return{name:"title",displayName:"Title",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:null!=(ka=e.oldValue)?ka:"",newValue:null!=(Aa=e.newValue)?Aa:
""};case "type":e=a.singleValueUpdate;var Ya,ea;return{name:"type",displayName:"Type",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:9===e.oldValue?"Program":null!=(Ya=zBa.get(e.oldValue))?Ya:"",newValue:9===e.newValue?"Program":null!=(ea=zBa.get(e.newValue))?ea:""};case "verifier":return e=a.singleValueUpdate,{name:"verifier",displayName:"Verifier",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:Nn(e.oldValue),newValue:Nn(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":break;default:vc(d,"Unexpected IssueStateMask in fieldUpdateToDiff")}},Nn=function(a){return lsa("<none>")(Zk(a))},xBa=function(a){var b;null==a?b="<none>":b=null!=a.textValue?a.textValue:null!=a.dateValue?gBa(a.dateValue):null!=a.enumValue?a.enumValue:null!=a.numericValue?String(a.numericValue):
null!=a.repeatedTextValue?a.repeatedTextValue.values.join(", "):null!=a.repeatedDateValue?a.repeatedDateValue.values.map(gBa).join(", "):null!=a.repeatedEnumValue?a.repeatedEnumValue.values.join(", "):null!=a.repeatedNumericValue?a.repeatedNumericValue.values.map(String).join(", "):"";return b},yBa=function(a){if(null!=a)switch(Kya[a]){case "COMPONENT_DEFAULT":return"Component Default";case "INDEFINITE":return"Indefinite"}},Pn=function(a){return!!a&&ABa.test(a)&&!BBa.test(a)},EBa=function(a){a=void 0===
a?"":a;return!CBa(a)||a.endsWith("-robots@google.com")||DBa(a)},DBa=function(a){return FBa.some(function(b){return a.endsWith(b)})},CBa=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},JBa=function(a){var b=void 0,c=void 0;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.updates.flatMap(function(w){return w.fieldUpdates}),f=void 0,h=null==(f=sa(e.filter(function(w){return"assignee"===w.field})))?void 0:f.singleValueUpdate;h&&(b=GBa(h));
f=void 0;var l=null==(f=sa(e.filter(function(w){return"verifier"===w.field})))?void 0:f.singleValueUpdate;l&&(c=GBa(l));f=void 0;l=null==(f=sa(e.filter(function(w){return"status"===w.field})))?void 0:f.singleValueUpdate;var q=void 0;f=null==(q=sa(e.filter(function(w){return"canonical_issue_id"===w.field})))?void 0:q.singleValueUpdate;q=void 0;e=null==(q=sa(e.filter(function(w){return"is_archived"===w.field})))?void 0:q.singleValueUpdate;if(l){q=null!=l.oldValue?nm[l.oldValue]:void 0;l=null!=l.newValue?
nm[l.newValue]:void 0;var t=void 0;f=Ci(null==(t=f)?void 0:t.newValue);HBa(d,IBa({oldStatus:q,newStatus:l,currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h}))}else h&&b?HBa(d,[Qn("Reassigned to "),Rn(b),Qn(".")]):f&&(l=void 0,f=Ci(null==(l=f)?void 0:l.newValue),HBa(d,IBa({oldStatus:"DUPLICATE",newStatus:"DUPLICATE",currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h})));e&&HBa(d,[Qn(e.newValue?"Archived.":"Unarchived.")])}},IBa=function(a){var b=a.oldStatus,
c=a.newStatus,d=a.currentAssignee,e=a.currentVerifier,f=a.canonicalIssueId;a=a.assigneeChanged;b=b&&cl[b];var h=c&&cl[c];if(b&&h&&!b.open&&h.open)return[Qn("Status: "+h.displayValue+" (reopened)")];switch(c){case "ASSIGNED":if(d)return[Qn("Assigned to "),Rn(d),Qn(".")];break;case "ACCEPTED":if(d)return[Qn("Accepted by "),Rn(d),Qn(".")];break;case "FIXED":return a&&d?[Qn("Marked as fixed, reassigned to "),Rn(d),Qn(".")]:[Qn("Marked as fixed.")];case "VERIFIED":if(e)return[Qn("Verified by "),Rn(e),
Qn(".")];break;case "DUPLICATE":if(f)return[Qn("Status: Duplicate of "),{text:f,tag:"bug"}]}return[Qn("Status: "+wi(h.displayValue))]},GBa=function(a){if(a)return a.newValue},Qn=function(a){return{text:a,tag:""}},Rn=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 Qn(a.obfuscatedEmailAddress);break;case "DELETED":return Qn("Deleted User");case "UNAVAILABLE":return Qn("Unavailable User");
default:return console.warn("Unexpected User Gaia status in userToTaggedText"),{text:""}}return Qn("User")},MBa=function(a){if(!a.length)return[];a=aua(a,function(b){return b.issueId}).flatMap(KBa);return LBa(a,"desc")},KBa=function(a){if(!a.length)return[];a=NBa(a);JBa(a);return a.map(function(b){return OBa(b)}).filter(PBa)},PBa=function(a){var b;return a.postDiffs.length||a.preDiffs.length||a.commentNumber||a.attachments.length||(null==(b=a.taggedSummary)?void 0:b.length)},NBa=function(a){var b=
QBa(a,"asc");a=[new RBa];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=sa(a),e;var f=e=void 0;if(0===d.updates.length)e=!0;else{var h;if(!(h=d.hasInitialUpdate)&&!(h=!d.author||!c.author)){h=d.author;var l=c.author;h=!(h===l||(h.emailAddress||l.emailAddress?h.emailAddress===l.emailAddress:(h.obfuscatedEmailAddress||l.obfuscatedEmailAddress)&&h.obfuscatedEmailAddress===l.obfuscatedEmailAddress))}if(h||d.comment&&c.comment)e=!1;else{if(h=null==(f=d.updates[0])?0:f.timestamp)f=null==
(e=d.updates[0])?void 0:e.timestamp,h=36E5<Math.abs(Kn(f)-Kn(c.timestamp));e=h?!1:!0}}e?SBa(d,c):a.push(SBa(new RBa,c))}return a},TBa=function(a){var b={};if(null==a)return b;a=Ii(a,Sn,1,hi());a=k(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},UBa=function(a,b){return a.map(function(c){var d=
c.resourceName;c=c.relation;return void 0!==b[d]&&void 0!==b[d][c]?b[d][c]:!1})},WBa=function(a){var b,c;return{issuesWithSignals:Ii(a,Tn,1,hi()).map(VBa),numTotalResults:null!=(b=a.getNumTotalResults())?b:0,nextPageToken:null!=(c=a.getNextPageToken())?c:""}},VBa=function(a){return{issue:zn(a.getIssue()),signals:a.getSignalsList().map(XBa)}},XBa=function(a){return{signalType:Jsa[Qi(a,1,0)],timestamp:ll(a.getTimestamp()),commentNumbers:a.getCommentNumbersList(zi)}},ZBa=function(a){return YBa&&a.getIt()?
{dismissTimestamp:a.getIt().hasDismissTimestamp()?ll(a.getIt().getDismissTimestamp()):void 0}:{dismissTimestamp:a.hasDismissTimestamp()?ll(a.getDismissTimestamp()):void 0}},$Ba=function(a){return cta[a]},aCa=function(a){if(a)return{status:nm[a.getStatus()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(Ci).filter(Ei)}},bCa=function(a){if(a)return{priority:om[a.getPriority()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(Ci).filter(Ei)}},cCa=function(){},dCa=function(a){return 0<
Object.values(a).length},eCa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},fCa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},gCa=function(a,b){var c=a.getValue(),d={};c=k(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=k(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},hCa=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(u(a)).sort());
return JSON.stringify(b)},iCa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},jCa=function(a){a=void 0===a?{}:a;return Zra(a)},kCa=function(a){var b=new X.Subject,c=a.subscribe(b);a=(0,X.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},lCa=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},mCa=function(){return new Promise(function(){})},pCa=function(a){return{experimentId:a.getExperimentId(),state:nCa[a.getState()],userGroup:oCa[Qi(a,3,0)],title:a.getTitle(),
description:a.getDescription(),learnMoreLink:ec(a,6)}},qCa=function(a){a=ii(a,1,hi(zi));return{changelistNumbers:null!=a?a:[]}},tCa=function(a){return{changelists:Ii(a,rCa,1,hi()).map(sCa),nextPageToken:a.getNextPageToken()}},sCa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),pending:a.getPending(),timestamp:ll(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList_asString())?b:[],fixedIssueIds:null!=(c=Fj(a,6))?c:[]}},uCa=function(a){var b=a.getAuthor(),
c=a.getDescription(),d=a.getPending(),e=a.getTimestamp_asLegacyNumberOrString();a=gi(a,5,hi(zi));return{author:b,description:c,pending:d,timestamp:e,affectedFiles:null!=a?a:[]}},Un=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,"+")},wCa=function(a){if(a){var b={accessLevel:uxa[a.getAccessLevel()]};return vCa&&a.getIt()?(a=
vxa(a.getIt()),Pm(b,a),a):b}},Vn=function(a,b){switch(a){case "HOTLIST":return"hotlists/"+b;case "BOOKMARK_GROUP":return"bookmarkGroups/"+b;case "SAVED_SEARCH":return"savedSearches/"+b;case "COMPONENT":return"components/"+b;case "COMPONENT_SLO":return"components/"+b+"/slo";case "ISSUE":return"issues/"+b;case "ISSUE_DEFAULTS":return"components/"+b+"/issueDefaults";case "SLO":return"slos/"+b;case "TEAM":return"teams/"+b;default:throw Error("Sc`"+a);}},Wn=function(a){return!!a&&"0"!==a},xCa=function(a){return Gza(Gi(a,
Um,1))},yCa=function(a){return(Ii(a,Um,1,hi())||[]).map(Gza)},zCa=function(a){if(a&1){var b=v();G(0,"div",1)(1,"button",2);N("click",function(){x(b);var c=Q();return y(c.action())});S(2);I()()}a&2&&(a=Q(),A(2),T(" ",a.data.action," "))},ACa=function(){},BCa=function(a){a&1&&(G(0,"span",6),S(1),I());a&2&&(a=Q(),A(),rg(a.data.message))},CCa=function(a){a&1&&K(0,"span",7);a&2&&(a=Q(),F("innerHtml",a.data.htmlMessage,Xe))},DCa=function(a){if(a&1){var b=v();G(0,"button",8);N("click",function(){x(b);var c=
Q();return y(c.snackBarRef.dismissWithAction())});S(1);I()}a&2&&(a=Q(),A(),T(" ",a.data.actionLabel," "))},ECa=function(a){if(a&1){var b=v();G(0,"button",8);N("click",function(){x(b);var c=Q();return y(c.snackBarRef.dismiss())});S(1);I()}a&2&&(a=Q(),A(),T(" ",a.data.dismissLabel," "))},FCa=function(a){if(a&1){var b=v();G(0,"button",9);N("click",function(){x(b);var c=Q();return y(c.snackBarRef.dismiss())});K(1,"mat-icon",10);I()}},GCa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},
Xn=function(a){return!!a&&Ba(a)&&(!!a.data&&void 0!==a.data.message||GCa(a))},Yn=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:GCa(a)&&a.error&&a.error.message?a.error.message:""},HCa=function(a){return null==a?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},ICa=function(a,b){if(null==a)return 0;var c=0;a=k(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0===d.issueIds?[]:d.issueIds;
d.status===b&&(c+=e.length)}return c},JCa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.changelists)?void 0:b.length)?c:0},KCa=function(a){if(null==a)return[];a=[].concat(u(a.assignees.map(function(b){return b.emailAddress})),u(a.collaborators.map(function(b){return b.emailAddress})),u(a.verifiers.map(function(b){return b.emailAddress})),u(a.reporters.map(function(b){return b.emailAddress})));return Rj(a).filter(Ei)},LCa=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;
if(!a)return!0;c=k(a);var d=c.next();for(a={};!d.done;a={customField$jscomp$10:void 0},d=c.next())if(a.customField$jscomp$10=d.value,a.customField$jscomp$10.required){d=!!a.customField$jscomp$10.typedDefaultValue;var e=void 0,f=void 0,h=null==(e=b)?void 0:null==(f=e.snapshot.customField)?void 0:f.some(function(l){return function(q){return q.customFieldId===l.customField$jscomp$10.customFieldId}}(a));if(!d&&!h)return!1}return!0},Zn=function(a){return!(null==a||!a.commentNumber)},$n=function(a){var b;
return 0<(null==(b=a.attachments)?void 0:b.length)},MCa=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment})},NCa=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(u(a.slice(0,d)),[c],u(a.slice(d+1)))},OCa=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},PCa=function(a){var b;return Vk(null==
(b=ao(a))?void 0:b.assigneeUser)||void 0},QCa=function(a){if(null==a)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=null==l?"":[JSON.stringify(l.retentionPeriod),JSON.stringify(l.scheduledDeletionTime)].join("-");return[f,h,l,null==(b=a.entityStatus)?void 0:b.reason,null==(c=a.entityStatus)?void 0:c.status,null==(d=a.contentVerdict)?void 0:null==(e=d.piiVerdict)?void 0:e.severity].join("-")},RCa=function(a){if(null==a)return"";var b=a.attachments.map(QCa).join("-"),c=[];
if(a.commentReactions&&0<a.commentReactions.size){var d,e=k(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=k(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,l;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?void 0:null==(l=h.piiVerdict)?void 0:l.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},SCa=function(a){return a.map(function(b){return b.commentNumber}).filter(Ei).reduce(function(b,
c){return Math.max(b,c)},1)},TCa=function(a,b){if(a===b)return!0;if(null==a||null==b||a.length!==b.length)return!1;for(var c=a.length-1;0<=c;c--){var d=a[c],e=b[c];if(d!==e&&(null==d||null==e||RCa(d)!==RCa(e)))return!1}return!0},bo=function(a){if(null==a||(null==a?0:a.isArchived))return!1;var b,c;a=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;var d,e;return null!=(e=null==(d=cl[a])?void 0:d.open)?e:!1},UCa=function(a){if(null==a||a.isArchived)return!1;
var b,c;a=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;b=cl[a];return null==b?!1:!(null==b?0:b.open)},VCa=function(a,b){if(null==a?0:a.isArchived)return!1;var c,d;return b===(null==a?void 0:null==(c=a.snapshot)?void 0:null==(d=c[0])?void 0:d.status)},co=function(a){return null==a.isArchived?!1:!a.isArchived},XCa=function(){var a=eo;return Nm(function(b){var c,d;return null!=(d=WCa[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Om)},YCa=function(){var a=
eo;return Nm(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},wza)},ZCa=function(){var a=eo;return Nm(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},wza)},$Ca=function(){var a=eo;return Nm(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},wza)},aDa=function(){var a=eo;return Nm(function(b){var c,d,e;return null!=(e=null==(c=a(b))?void 0:null==(d=c.aggregatedData)?
void 0:d.createdTimeMicros)?e:0},Om)},bDa=function(){var a=eo;return Nm(function(b){var c,d,e;return null!=(e=null==(c=a(b))?void 0:null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)?e:0},Om)},cDa=function(a){var b,c,d;return null!=(d=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.priority)?d:"PRIORITY_UNSPECIFIED"},eDa=function(){var a=eo;return Nm(function(b){return dDa[cDa(a(b))]},Om)},fo=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},ao=function(a){var b;
return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},fDa=function(a,b){var c=ao(a),d;a=[null==(d=a.aggregatedData)?void 0:d.lastModifier,null==c?void 0:c.reporterUser,null==c?void 0:c.assigneeUser,null==c?void 0:c.verifierUser].concat(u(b.map(function(e){return e.userPerformingActionUser})));return Qj(a.filter(Ei),Zk)},gDa=function(a,b){b=fDa(a,b);var c,d,e;a=null!=(e=null==(c=ao(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},go=function(a){var b;return"piper-bugupdater@prod.google.com"===
(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},hDa=function(a){return function(b){var c,d;return(null!=(d=null==b?void 0:null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}},jDa=function(a,b,c){b=iDa.get(c)||new Set(c.map(function(e){return e.issueId}));iDa.set(c,b);var d;a=k(null!=(d=a.parentIssueIds)?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},lDa=function(a,b){kDa.get(b)||kDa.set(b,[b.map(function(e){var f,
h;return null!=(h=null==e?void 0:null==(f=e.userActivityStats)?void 0:f.oneDayViewCount)?h:0}),b.map(function(e){var f,h;return null!=(h=null==e?void 0:null==(f=e.userActivityStats)?void 0:f.sevenDayViewCount)?h:0}),b.map(function(e){var f,h;return null!=(h=null==e?void 0:null==(f=e.userActivityStats)?void 0:f.thirtyDayViewCount)?h:0})]);var c=k(kDa.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return Wj(b[a],b)||Wj(d[a],d)||Wj(c[a],c)},mDa=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},nDa=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"}},oDa=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,f=a.actionIssueId;a=mDa(a.userPrincipals);return{title:"Allow "+
(1===a?"members of the group to ":nDa(a,d)+" to ")+(0===b.length?"comment?":"edit?"),content:"Adding "+c.join(", ")+" will allow "+(1===a?"all members of the group":"them")+" to "+(0===b.length?"comment on ":"edit ")+(e===f?"issue "+f:"canonical issue "+f)+"."}},pDa=function(a){return a.filter(function(b){var c,d;return!!b.signals&&0<(null!=(d=null==(c=b.signals)?void 0:c.length)?d:0)})},qDa=function(a,b){var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0;switch(null==(e=
d.resource)?void 0:e.source){case "CRITIQUE":e=void 0;var f=null==(e=d.resource)?void 0:e.critiqueResource;f&&(f.ccEmails.includes(b)||f.comments.some(function(h){return h.authorEmail===b}))&&c.push(d);break;case "DRIVE":break;case "ARIANE":break;default:e=void 0,console.warn("getMyTasksFollowing() Unhandled task type: "+(null==(e=d.resource)?void 0:e.source),d)}}return c},rDa=function(a){if(a)if("DRIVE"===a.source){var b;a=null==(b=a.driveResource)?void 0:b.type}else a=a.source;else a=void 0;switch(a){case "CRITIQUE":return"critique-logo";
case "ARIANE":return"launch-logo";case "Docs":return"drive-doc";case "Sheets":return"drive-sheet";case "Slides":return"drive-slide";case "GERRIT":return"gerrit-logo";default:return"link"}},sDa=function(a){a=a?"DRIVE"===a.taskResourceType?a.driveResource.fileType:a.taskResourceType:void 0;switch(a){case "CHANGELIST":return"critique-logo";case "LAUNCH":return"launch-logo";case "ISSUE":return"bug_report_24px";case "DOCUMENT":return"drive-doc";case "SPREADSHEET":return"drive-sheet";case "PRESENTATION":return"drive-slide";
case "GERRIT":return"gerrit-logo";default:return"link"}},uDa=function(a){a=a.getFavorite();return{user:Yk(a.getUser()),resourceType:tDa[a.getResourceType()],resourceId:Number(a.getResourceId_asString()),name:a.getName()}},vDa=function(a){a=a.getIt();var b;return{searchId:Number(a.getSavedSearchId_asLegacyNumberOrString()),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(oxa),displayColumn:nxa(a.getDisplayPreferences()),
adminUsers:(null!=(b=a.getOwnersList())?b:[]).map(Ai)}},wDa=function(a){a=Ii(a,ho,1,hi());return(null!=a?a:[]).map(vDa)},xDa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription(),adminUsers:Pwa(a.getAdminUsersList(zi)),starred:a.getStarred(),resourceType:a.getResourceType()}},yDa=function(a){var b=a.getId_asString(),c=a.getName(),d=a.getDescription(),e=Pwa(a.getAdminUsersList(zi)),f=a.getStarred();a=Ii(a,io,6,hi());return{id:b,name:c,description:d,adminUsers:e,starred:f,
sublinks:(null!=a?a:[]).map(xDa)}},zDa=function(a){var b,c=(null!=(b=a.getHotlistsList())?b:[]).map(xDa);b=Ii(a,jo,2,hi());b=(null!=b?b:[]).map(yDa);var d=Ii(a,io,3,hi());d=(null!=d?d:[]).map(xDa);a=Ii(a,jo,4,hi());return{hotlists:c,bookmarkGroups:b,archivedHotlists:d,archivedBookmarkGroups:(null!=a?a:[]).map(yDa)}},EDa=function(){var a=void 0===a?Kk:a;var b=Date.now(),c=ko(b);ko(ADa())!==c?a("retention","first-visit"):(c=ko(b),ko(ADa())===c&&1===BDa()&&a("retention","second-visit"));a=ko(b);ko(ADa())!==
a?CDa(1):(a=BDa()||0,CDa(a+1));DDa(b)},ko=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},FDa=function(){return pd.apply(0,arguments).map(String).join("__")},GDa=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},HDa=function(a){var b=new lo;b=xl(b,1,Number(a.targetIssueId));return xl(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},mo=
function(a){return{targetIssueId:String(Zi(a,1)),afterIssueId:Zi(a,2)?String(Zi(a,2)):void 0}},IDa=function(a){return{sourceIssueId:Zi(a,3),issueRelationships:a.getIssueRelationshipsList().map(mo),totalSize:a.getTotalSize()}},JDa=function(a){var b=1E3;b=void 0===b?150:b;var c,d=[];return function(e){d.push(e);c&&clearTimeout(c);c=setTimeout(function(){a(d);d=[];c=void 0},b)}},KDa=function(a){function b(){var e,f,h,l;return me(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();d=
!0;e=[].concat(u(c));c=[];f=k(e);h=f.next()}if(3!=q.nextAddress){if(h.done)return d=!1,oe(q,b(),0);l=h.value;return oe(q,a.apply(null,u(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=pd.apply(0,arguments),f=new Ota;c.push({args:e,returnValue:f});b();return f.promise}},no=function(a){var b=!1;return function(){var c=pd.apply(0,arguments);if(!b)return b=!0,a.apply(null,u(c))}},LDa=function(a){var b=[];a=k(a.entries());
for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},MDa=function(a){return!(null==a||!a.relatedChildren.length)},ODa=function(a,b){var c=[].concat(u(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=k(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(l){return l.targetIssueId===
h.newItem$jscomp$6.afterIssueId}}(e));var f=void 0;f=e.newItem$jscomp$6.afterIssueId?-1===d?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return NDa(c)},PDa=function(a,b){return NDa(a.filter(function(c){return c.targetIssueId!==b}))},NDa=function(a){for(var b=[],c=k(a.entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});b.push(d)}return b},
QDa=function(a){var b=new Map;a=k(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(u(d.previousOperation.eventTimestamps),u(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(u(b.values()));a=k(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(l){return l.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(f,h){var l=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,
u(f.issues.map(function(t){return l.findIndex(function(w){return w.targetIssueId===t.issueId})})));h=Math.min.apply(Math,u(h.issues.map(function(t){return q.findIndex(function(w){return w.targetIssueId===t.issueId})})));return f===h?0:f<h?-1:1})},SDa=function(a){return a.getResponsesList().map(function(b){return Ii(b,oo,1,hi()).map(RDa)}).flat().filter(function(b){return 0<b.signals.length})},RDa=function(a){return{task:TDa(a.getTask()),signals:a.getSignalsList().map(UDa).filter(Ei)}},VDa=function(a){return a.getResponsesList().map(function(b){return b.getTasksList().map(TDa).filter(Ei)}).flat()},
TDa=function(a){if(a){var b=a.getTaskId(),c=WDa(Qi(a,2,0)),d=a.getTitle(),e=ll(a.getCreatedTimestamp()),f=ll(a.getLastModifiedTimestamp()),h=a.getExternalLink();var l=Ii(a,XDa,7,hi());b={taskId:b,taskResourceType:c,title:d,createdTimestamp:e,lastModifiedTimestamp:f,externalLink:h,resourceRelationships:l.map(YDa)};a.hasDriveResource()?(a=a.getDriveResource(),a={fileType:ZDa[Qi(a,1,0)],lastMentionTimestamp:ll(Gi(a,aj,2)),lastMentionLink:ec(a,4),docwrapRequestTimestamp:ll(Gi(a,aj,3)),docwrapRequestLink:ec(a,
5)},b.driveResource=a):Zl(a,po,9,$Da)&&(a=Ll(a,po,9,$Da),a={priority:om[a.getPriority()],accessLevel:uxa[a.getAccessLevel()],hotlistIds:a.getHotlistIdsList_asLegacyNumberOrString(zi)},b.issueResource=a);return b}},YDa=function(a){return{category:aEa[a.getCategory()],roleName:ec(a,2)}},UDa=function(a){var b={timestamp:ll(a.getTimestamp()),url:fta(a.getUrl())};if(Zl(a,qo,3,ro)){a=Ll(a,qo,3,ro);var c={signal:bEa[a.getSignal()]};cEa.has(c.signal)?(null!=so(a,2,dEa)&&(c.commentId=a.getCommentId()),a=c):
a=null;if(!a)return null;b.driveAlert=a}else if(Zl(a,to,5,ro)){c=Ll(a,to,5,ro);a={signal:eEa[c.getSignal()]};if(cEa.has(a.signal)){Ui(c,nl,4)&&(a.reviewEstimate=ixa(Gi(c,nl,4)));c=Gi(c,fEa,5);var d=null==c?void 0:Ll(c,gEa,2,hEa);c=d?{currentAvailability:{comeBackTimestamp:ll(d.getComeBackTimestamp())}}:(c=null==c?void 0:Ll(c,iEa,1,hEa))?{futureAvailability:{comeBackTimestamp:ll(c.getComeBackTimestamp()),futureOooTimestamp:ll(Gi(c,aj,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;
b.changelistAlert=a}else if(Zl(a,uo,4,ro)){c=Ll(a,uo,4,ro);a={signal:jEa[c.getSignal()]};if(!cEa.has(a.signal)||!kEa&&"MENTIONED_NEEDS_RESPONSE"===a.signal)a=null;else if(c=c.getCommentNumbers())c=ii(c,1,hi(zi)),0<c.length&&(a.commentNumbers=c);if(!a)return null;b.issueAlert=a}else if(Zl(a,lEa,7,ro)){a=Ll(a,lEa,7,ro);a={signal:mEa[a.getSignal()]};a=cEa.has(a.signal)?a:null;if(!a)return null;b.gerritAlert=a}return b},WDa=function(a){switch(a){case 1:return"CHANGELIST";case 2:return"DRIVE";case 3:return"ISSUE";
case 4:return"LAUNCH";case 5:return"GERRIT";default:return"TASK_RESOURCE_TYPE_UNSPECIFIED"}},nEa=function(a){switch(a){case "CHANGELIST":return 1;case "DRIVE":return 2;case "ISSUE":return 3;case "LAUNCH":return 4;case "GERRIT":return 5;default:return 0}},oEa=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}},pEa=function(a){if(a=a.getResponse())return{commentId:a.getCommentId(),authorDisplayName:a.getAuthorDisplayName(),
content:a.getContent(),lastModifiedTimestamp:ll(a.getModifiedTimestamp())}},xEa=function(a){var b=a.getResponsesList().map(function(d){return d.getTasksList()}).flat();a=a.getResponsesList().map(function(d){return Ii(d,qEa,2,hi())}).flat();var c=rEa(a);return b.map(function(d){var e,f,h=d.getTaskId();var l=d.getResource();if(l){var q;var t={resourceId:l.getResourceId(),source:"TASK_SOURCE_UNSPECIFIED",title:l.getTitle(),lastModifiedTimestamp:null!=(q=Bi(Zi(l,3)))?q:0,externalLink:l.getExternalLink()};
if(Zl(l,vo,8,wo)){var w=Ll(l,vo,8,wo);l=w.getDescription();q=sEa(w.getCategory());var B=tEa(w.getStatus());var D=gi(w,6,hi(zi));var J=w.getCommentsList().map(uEa),H=w.getAuthorEmail(),O=Li(w,12);var P=gi(w,17,hi(zi));w=gi(w,11,hi(zi));t.critiqueResource={description:l,category:q,status:B,reviewerEmails:D,comments:J,authorEmail:H,needsAttention:O,attentionSetUsers:P,ccEmails:w};t.source="CRITIQUE"}else if(l.hasDriveResource())l=l.getDriveResource(),l={type:vEa(l.getMimeType()),createdTimestamp:l.getCreatedTimestamp_asLegacyNumberOrString(),
createdByMe:Li(l,2),ownedByMe:l.getOwnedByMe(),sharedWithMe:Li(l,14)},t.driveResource=l,t.source="DRIVE";else if(Zl(l,xo,9,wo))l=Ll(l,xo,9,wo),l={description:l.getDescription(),ownedByMe:l.getOwnedByMe(),needApprovalFromMe:Li(l,8),creatorEmail:l.getCreatorEmail()},t.launchResource=l,t.source="ARIANE";else throw Error("Uc");}else t=void 0;return{taskId:h,resource:t,createdTimestamp:null!=(e=Bi(d.getCreatedTimestamp_asLegacyNumberOrString()))?e:0,updatedTimestamp:null!=(f=Bi(d.getUpdatedTimestamp_asLegacyNumberOrString()))?
f:0,signals:c.has(d.getTaskId())?wEa(c.get(d.getTaskId())):void 0}})},rEa=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,b.has(c.getResourceId())){var d=b.get(c.getResourceId());b.set(c.getResourceId(),[].concat(u(d),[c]))}else b.set(c.getResourceId(),[c]);return b},wEa=function(a){return a.map(function(b){return{resourceId:b.getResourceId(),timestamp:ll(b.getTimestamp()),suggestedAction:ec(Gi(b,yEa,2),4),signalSpec:zEa(Gi(b,yEa,2))}}).filter(function(b){return AEa.has(b.signalSpec)})},
zEa=function(a){if(null!=yo(a,Fl(a,zo,2)))switch(Qi(a,Fl(a,zo,2),0)){case 0:return"CHANGELIST_SIGNAL_UNSPECIFIED";case 1:return"THREAD_MENTIONS_ME";case 3:return"AUTHOR_GOING_OOO";case 4:return"NEEDS_ATTENTION";case 5:return"NUDGED";case 6:return"READY_TO_SUBMIT";default:return"CHANGELIST_SIGNAL_UNSPECIFIED"}else if(null!=yo(a,Fl(a,zo,3)))switch(Qi(a,Fl(a,zo,3),0)){case 0:return"DRIVE_SIGNAL_UNSPECIFIED";case 1:return"TAGGED_IN_COMMENT";case 2:return"REQUIRES_APPROVAL";case 3:return"COMMENTS_REQUIRE_ATTENTION";
default:return"DRIVE_SIGNAL_UNSPECIFIED"}else if(null!=yo(a,Fl(a,zo,5)))switch(Qi(a,Fl(a,zo,5),0)){case 0:return"LAUNCH_SIGNAL_UNSPECIFIED";case 1:return"NEAR_LAUNCH_DATE";default:return"LAUNCH_SIGNAL_UNSPECIFIED"}return"SIGNAL_UNSPECIFIED"},sEa=function(a){switch(a){case 0:return"CATEGORY_UNSPECIFIED";case 1:return"INCOMING";case 2:return"OUTGOING";case 3:return"CC_REVIEW";case 4:return"PENDING_REVIEW";default:return"CATEGORY_UNSPECIFIED"}},tEa=function(a){switch(a){case 0:return"STATUS_UNSPECIFIED";
case 1:return"LGTM";case 2:return"PENDING";case 3:return"UNRESOLVED";case 4:return"REQUIRES_ATTN";case 5:return"SUBMITTED";case 6:return"DELETED";default:return"STATUS_UNSPECIFIED"}},uEa=function(a){return{authorEmail:a.getAuthorEmail()}},vEa=function(a){switch(a){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},BEa=function(a){switch(a){case "ARIANE":return 3;case "CRITIQUE":return 1;case "DRIVE":return 4;default:return 0}},
CEa=function(a){return vDa(a.getSearch())},DEa=function(a){return Ii(a,ho,1,hi()).map(vDa)},EEa=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:Qi(b,2,0))},GEa=function(a){var b;return 1===(null==(b=Gi(a,FEa,1))?void 0:b.getEffectiveSloEditPolicy())},HEa=function(a){var b=Gi(a,xi,2);a:{var c=Qi(a,3,0);switch(c){case 1:c="daily";break a;case 2:c="weekly";break a;case 3:c="monthly";break a;case 0:break;default:vc(c)}c=void 0}var d=a.getTimeZone(),e=Gi(a,Ao,6);if(null==b)throw Error("Wc");
if(null==c)throw Error("Xc");if(null==d)throw Error("Yc");if(null==e)throw Error("Zc");var f=a.getId_asLegacyNumberOrString();b=Ai(b);var h=fi(a,4),l={id:d.getId()};d.getVersion()&&(l.version=d.getVersion());d={hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()};e=Kl(a,7);var q=ej(a,8,hi()).map(rya);a=Fi(a,9,hi(zi));return{id:f,lead:b,frequency:c,ordinal:h,timeZone:l,timeOfDay:d,daysRemaining:e,types:q,sloIds:a}},JEa=function(a){var b=(new Bo).setId(a.id),c=yi(a.lead);
b=hj(b,xi,2,c).setFrequency(IEa(a.frequency));b=kl(b,4,a.ordinal);c=b.setTimeZone;var d=a.timeZone,e=(new Co).setId(d.id);d.version&&e.setVersion(d.version);b=c.call(b,e);c=a.timeOfDay;c=(new Ao).setHours(c.hours).setMinutes(c.minutes).setSeconds(c.seconds).setNanos(c.nanos);b=hj(b,Ao,6,c).setDaysRemaining(a.daysRemaining);c=a.types.map(sya);b=qj(b,8,c);return Do(b,9,a.sloIds)},KEa=function(a){return Aya(a.getIt())},LEa=function(a){var b=new Eo,c=b.setIt;var d=(new Fo).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);
var e=a.elements.map(Dya);d=mm(d,5,e);e=a.effectiveElements.map(Dya);d=mm(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("uc`"+a);}a=zl(d,8,a);return c.call(b,a)},MEa=function(a){a=a.getIt();return{author:Ai(a.getAuthor()),timestamp:ll(a.getTimestamp()),add:Aya(a.getAdd()),remove:Aya(a.getRemove()),addMask:gm(a.getAddMask()),removeMask:gm(a.getRemoveMask())}},IEa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;
case "monthly":return 3;default:return vc(a)}},NEa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},Ho=function(a){if(a=a.getIt()){var b=Gi(a,Go,7),c,d=null!=(c=null==b?void 0:b.getSlo())?c:new Hm;c=null==b?void 0:Gi(b,xi,4);var e=null==b?void 0:Gi(b,xi,5),f,h;return{teamId:String(a.getId_asLegacyNumberOrString()),version:null!=(f=null==b?void 0:b.getVersion())?f:0,name:a.getName(),description:a.getDescription(),pathNames:[].concat(u(a.getPathNamesList())),
pathIds:a.getPathIdsList_asLegacyNumberOrString().map(String),collapsedPathNames:[].concat(u(gi(a,5,hi()))),members:a.getMembersList().map(iza),deleted:a.getDeleted(),estimatedComponentCount:null!=(h=null==b?void 0:Zi(b,3))?h:0,slo:{inherit:d.getInherit(),sloId:String(d.getId_asLegacyNumberOrString()),comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString())},sloLead:c?Ai(c):void 0,defaultSloLead:e?Ai(e):void 0}}throw Error("$c");},OEa=function(a){return{teamId:a.getId_asString(),
name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(zi),pathIds:a.getPathIdsList_asString()}},PEa=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0,slo:{inherit:!1,sloId:"0",comment:"",sourceTeamId:"0"}}},QEa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},VEa=function(a,b){if(!b||!a)return REa;var c;return!SEa(null!=(c=b.readers)?c:[])||TEa(a)?UEa:REa},SEa=
function(a){return a.some(function(b){return void 0!==b.alias?"public"===b.alias||"public_non_google"===b.alias:!1})},TEa=function(a){return"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a},WEa=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 vc(a,"Unexpected pii severity")}},Io=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},XEa=function(a){switch(a){case "RESTRICTED":return"Restricted";
case "RESTRICTED_PLUS":return"Restricted+";default:return""}},YEa=function(a){a=a.getIt();return{contentJudgementId:Zi(a,1)?String(Zi(a,1)):void 0,resourcePath:ec(a,2)||void 0,severity:zxa(a.getRestrictionSeverity()),judgementReason:ec(a,4),contentJudge:ec(a,8)}},ZEa=function(a){a&1&&K(0,"bug-screensaver")},$Ea=function(a){a&1&&dg(0)},aFa=function(a){a&1&&Yf(0)},bFa=function(a){if(a&1){var b=v();G(0,"button",8,1);N("click",function(e){x(b);var f=Q();return y(f.onClick(e))});E(2,aFa,1,0,"ng-container",
9);I()}if(a&2){var c;a=Q();var d=R(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");Hf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);F("ngTemplateOutlet",d)}},cFa=function(a){a&1&&Yf(0)},dFa=function(a){if(a&1){var b=v();G(0,"button",10,1);N("click",function(e){x(b);var f=Q();return y(f.onClick(e))});E(2,cFa,1,0,"ng-container",9);I()}if(a&2){var c;a=Q();var d=R(1);F("color",a.color)("disabled",a.disabled)("ngClass",
a.size)("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");Hf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);F("ngTemplateOutlet",d)}},eFa=function(a){a&1&&Yf(0)},fFa=function(a){if(a&1){var b=v();G(0,"button",11,1);N("click",function(e){x(b);var f=Q();return y(f.onClick(e))});E(2,eFa,1,0,"ng-container",9);I()}if(a&2){var c;a=Q();var d=R(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");Hf("aria-label",a.bAriaLabel)("aria-expanded",
a.bAriaExpanded);A(2);F("ngTemplateOutlet",d)}},gFa=function(a){a&1&&Yf(0)},hFa=function(a){if(a&1){var b=v();G(0,"button",12,1);N("click",function(e){x(b);var f=Q();return y(f.onClick(e))});E(2,gFa,1,0,"ng-container",9);I()}if(a&2){var c;a=Q();var d=R(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");Hf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);F("ngTemplateOutlet",d)}},iFa=function(a){a&1&&Yf(0)},jFa=function(a){if(a&
1){var b=v();G(0,"button",8,1);N("click",function(e){x(b);var f=Q();return y(f.onClick(e))});E(2,iFa,1,0,"ng-container",9);I()}if(a&2){var c;a=Q();var d=R(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");Hf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);F("ngTemplateOutlet",d)}},kFa=function(a){a&1&&(G(0,"div")(1,"span",3),S(2,"|"),I(),G(3,"a",6),S(4,"Code of Conduct"),I()());a&2&&(a=Q(2),A(3),F("href",a.trackerCoc,
Ye))},lFa=function(a){a&1&&(G(0,"footer"),K(1,"img",1),G(2,"span",2),S(3),I(),S(4," Powered by Google "),G(5,"span",3),S(6,"|"),I(),G(7,"a",4),S(8,"Privacy"),I(),G(9,"span",3),S(10,"|"),I(),G(11,"a",5),S(12,"Terms"),I(),E(13,kFa,5,1,"div",0),I());a&2&&(a=Q(),A(),F("src",a.trackerLogo,Ye),A(2),T("",a.trackerName," Issue Tracker"),A(10),F("ngIf",a.trackerCoc))},mFa=function(a){var b;return null!=(b=Bi(a))?b:null},nFa=function(a){var b;return null!=(b=Ci(a))?b:null},oFa=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}},pFa=function(a){return a?wi(a.replace(/_/g," ").toLowerCase()):""},qFa=function(a){return a?a.join(", "):""},rFa=function(a,b){if(!a)return vh("");if(!b)return vh(a);b=b.split(" ").map(csa);b=b.filter(function(h){return!!h});b=b.map(Jo);if(0===b.length)return vh(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(yh("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return xh(c)},sFa=function(a){return a?"Yes":"No"},tFa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},uFa=function(a){if(1073741824<=a){a/=1073741824;var b="GB"}else 1048576<=a?(a/=1048576,b="MB"):1024<=a?(a/=1024,b="KB"):b="B";a=10>a?Math.round(10*a)/10:Math.round(a);return a+" "+b},vFa=function(a){if(!a)return null;
var b=new Mn;b.setTime(1E3*a.seconds);return b},wFa=function(a){if(a&&Pn(a))return a},Ko=function(a){return null==a?"":String(a)},xFa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},yFa=function(a,b){if(a&1){var c=v();G(0,"a",8);N("click",function(){var d=x(c).$implicit,e=Q(2);return y(e.clickSegment.emit(d.name||d.path))});S(1);I()}a&2&&(a=b.$implicit,F("href",a.path,Ye),A(),T(" ",a.name||a.path," "))},zFa=function(a){a&1&&(L(0),G(1,"button",
5),K(2,"mat-icon",6),I(),G(3,"mat-menu",null,0),E(5,yFa,2,2,"a",7),I(),M());if(a&2){a=R(4);var b=Q();A();F("matMenuTriggerFor",a);A(4);F("ngForOf",b.segments)}},AFa=function(a,b){if(a&1){var c=v();L(0);G(1,"b-fab-segmented",1);N("clickMain",function(e){x(c);var f=Q(2);return y(f.trackClick(e))})("clickSegment",function(e){x(c);var f=Q(2);return y(f.trackClick(e))});I();M()}if(a&2){a=b.ngIf;b=Q().ngIf;var d=Q();A();F("label",a)("icon",d.buttonIcon)("href",d.createIssuePath)("segments",b)}},BFa=function(a){a&
1&&(L(0),E(1,AFa,2,4,"ng-container",0),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.buttonLabel$)))},CFa=function(){return"NEAR_SLO MENTIONED MENTIONED_NEEDS_RESPONSE UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},DFa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(u(a));if(d.length<=b)return a;a=b-[].concat(u(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},EFa=function(a){a=
void 0===a?"":a;var b=new Set([].concat(u('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(u(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},FFa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},HFa=function(a){if(null!=a){a=[].concat(u(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=GFa[b.value])return b}},IFa=function(a){if(a.includes('"')||a.includes("'"))return[];
var b=[].concat(u(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=k(c);c.next();c.next();return c.next().value});a=[].concat(u(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=k(c);c.next();c.next();return c.next().value}):[]},JFa=function(a,b){var c;a=null!=(c=a)?c:"";var d;b=null!=(d=b)?d:"";return a.trim()===b.trim()},MFa=function(a){return a.map(function(b){var c,d,e,f,h;return{id:b.taskId,type:null==(c=b.resource)?
void 0:c.source,description:null!=(f=null==(d=b.resource)?void 0:d.title)?f:"",lastAlertTimestamp:KFa(b),signals:b.signals.map(LFa),icon:rDa(b.resource),link:null!=(h=null==(e=b.resource)?void 0:e.externalLink)?h:"",priority:null,accessLevel:null}})},LFa=function(a){return{type:a.signalSpec,timestamp:a.timestamp}},PFa=function(a){return a.filter(function(b){var c;return null==(c=b.issue)?void 0:c.issueId}).map(function(b){var c,d,e,f,h,l,q,t,w,B,D,J;return{id:"b/"+(null==(c=b.issue)?void 0:c.issueId),
issueId:null==(d=b.issue)?void 0:d.issueId,type:"Buganizer",description:null!=(B=null==(e=b.issue)?void 0:null==(f=e.snapshot[0])?void 0:f.title)?B:"",lastAlertTimestamp:NFa(b),signals:b.signals.map(function(H){return{type:H.signalType,timestamp:H.timestamp,commentNumbers:H.commentNumbers||[]}}),icon:"bug_report_24px",link:"issues/"+(null==(h=b.issue)?void 0:h.issueId),priority:OFa(b.issue),accessLevel:null!=(D=null==(l=b.issue)?void 0:null==(q=l.accessLimit)?void 0:q.accessLevel)?D:null,hotlistIds:null!=
(J=null==(t=b.issue)?void 0:null==(w=t.snapshot[0])?void 0:w.hotlistId)?J:[]}})},KFa=function(a){return a.signals.sort(function(b,c){var d,e;return(null!=(d=Kn(c.timestamp))?d:0)-(null!=(e=Kn(b.timestamp))?e:0)})[0].timestamp},NFa=function(a){var b=a.signals.sort(function(d,e){var f,h,l,q;return(null!=(l=null==(f=vFa(e.timestamp))?void 0:f.getTime())?l:0)-(null!=(q=null==(h=vFa(d.timestamp))?void 0:h.getTime())?q:0)})[0].timestamp;if(!b||0===Kn(b)){a=a.issue.majorModifiedTimeMicros;var c;return{seconds:Math.floor((null!=
(c=msa(a))?c:0)/1E3),nanos:a%1E6*1E3}}return b},QFa=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[],h=(new Date).getTime()-864E5*(void 0===d?30:d);e?f.push.apply(f,u(a)):f.push.apply(f,u(a.filter(function(l){return c.includes(l.type)}).filter(function(l){return Kn(l.lastAlertTimestamp)>h})));c.includes("BUGANIZER")&&!e&&f.push.apply(f,u(b.filter(function(l){return Kn(l.lastAlertTimestamp)>h})));return f.sort(function(l,q){return Kn(q.lastAlertTimestamp)-Kn(l.lastAlertTimestamp)})},RFa=function(a){return MFa(pDa(a.results))},
SFa=function(a){return PFa(a.issuesWithSignals)},XFa=function(a){return a.results.map(function(b){var c=b.task;if(c){var d,e,f,h=c.taskId,l=c.taskResourceType,q=c.title,t=TFa(b),w=UFa(b);if(c.issueResource){var B=c.issueResource.priority;B="P0"===B||"P1"===B?B:null}else B=null;return{id:h,type:l,description:q,lastAlertTimestamp:t,signals:w,link:c.externalLink,icon:sDa(c),priority:B,accessLevel:null!=(f=null==(d=c.issueResource)?void 0:d.accessLevel)?f:null,hotlistIds:c.issueResource?c.issueResource.hotlistIds:
[],issueId:1===IFa(c.taskId).length?IFa(c.taskId)[0]:null,futureAvailability:VFa(b),reviewEstimate:WFa(b),lastMentionLink:(null==(e=c.driveResource)?0:e.lastMentionLink)&&""!==c.driveResource.lastMentionLink?c.driveResource.lastMentionLink:void 0}}}).filter(Ei)},UFa=function(a){return YFa(a.signals).map(function(b){var c={timestamp:b.timestamp,type:"DRIVE_SIGNAL_UNSPECIFIED"};if(b.driveAlert){c.type=b.driveAlert.signal;c.driveFileId=a.task.taskId.split("/")[1];c.driveCommentId=b.driveAlert.commentId;
var d;c.driveCommentLink=null==(d=a.task.driveResource)?void 0:d.lastMentionLink}b.changelistAlert&&(c.type=b.changelistAlert.signal);b.issueAlert&&(c.type=b.issueAlert.signal,c.commentNumbers=b.issueAlert.commentNumbers);b.gerritAlert&&(c.type=b.gerritAlert.signal);return c})},YFa=function(a){var b=a.some(function(c){var d;return"MENTIONED_NEEDS_RESPONSE"===(null==(d=c.issueAlert)?void 0:d.signal)});return a.filter(function(c){var d;return!b||"COMMENT_MENTIONS_ME"!==(null==(d=c.issueAlert)?void 0:
d.signal)})},TFa=function(a){return a.signals.sort(function(b,c){var d,e;return(null!=(d=Kn(c.timestamp))?d:0)-(null!=(e=Kn(b.timestamp))?e:0)})[0].timestamp},Lo=function(a){switch(a.type){case "MENTIONED":case "MENTIONED_NEEDS_RESPONSE":case "NEEDS_ATTENTION":case "TAGGED_IN_COMMENT":case "THREAD_MENTIONS_ME":case "NEEDS_ATTENTION":case "THREAD_MENTIONS_ME":case "TAGGED_IN_COMMENT":case "COMMENT_MENTIONS_ME":case "GERRIT_CHANGE_NEEDS_ATTENTION":return 0;case "NEAR_SLO":case "REPLIED_TO_MENTION":case "ASSIGNED":case "REQUIRES_APPROVAL":case "READY_TO_SUBMIT":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 "MENTIONED_NEEDS_RESPONSE":return 1;
default:return 2}},ZFa=function(a){var b=a[0],c=Lo(b);a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,Lo(d)<c&&(b=d,c=Lo(b));return b},OFa=function(a){a=null==a?void 0:a.snapshot[0].priority;return"P0"===a||"P1"===a?a:null},VFa=function(a){return a.signals.map(function(b){var c,d;return null==(c=b.changelistAlert)?void 0:null==(d=c.clAuthorAvailability)?void 0:d.futureAvailability}).find(Ei)},WFa=function(a){return a.signals.map(function(b){var c;return null==(c=b.changelistAlert)?void 0:c.reviewEstimate}).find(Ei)},
$Fa=function(a){switch(tm(a,Mo)){case 1:var b=a.getHotlist(),c=null==b?void 0:b.getHotlist(),d,e,f;return{hotlistId:null!=(d=null==b?void 0:b.getHotlistId_asLegacyNumberOrString())?d:0,name:null!=(e=null==c?void 0:c.getName())?e:"",description:null!=(f=null==c?void 0:c.getDescription())?f:"",resourceType:"HOTLIST"};case 2:d=a.getSavedSearch();e=null==d?void 0:d.getSavedSearch();var h;return{savedSearchId:null!=(b=null==d?void 0:d.getSavedSearchId_asLegacyNumberOrString())?b:0,name:null!=(c=null==
e?void 0:e.getName())?c:"",description:null!=(h=null==e?void 0:e.getDescription())?h:"",resourceType:"SAVED_SEARCH"};default:throw Error("cd");}},aGa=function(a){var b=new No;"HOTLIST"===a.resourceType&&a.hotlistId&&b.setHotlist((new Oo).setHotlistId(a.hotlistId).setHotlist((new Dm).setName(a.name).setDescription(a.description)));"SAVED_SEARCH"===a.resourceType&&a.savedSearchId&&b.setSavedSearch((new Po).setSavedSearchId(a.savedSearchId).setSavedSearch((new Qo).setName(a.name).setDescription(a.description)));
return b},bGa=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asLegacyNumberOrString(),d=a.getDescription();var e=Ii(a,No,5,hi());return{archived:b,bookmarkGroupId:c,description:d,item:e.map($Fa),name:a.getName(),adminUsers:a.getOwnersList().map(Ai)}},cGa=function(a){return bGa(a.getIt())},dGa=function(a){a=Ii(a,Ro,2,hi());return(null!=a?a:[]).map(bGa)},eGa=function(a){if(a&1){var b=v();G(0,"button",5);N("click",function(){x(b);var c=Q();return y(c.dialogRef.close(!1))});S(1);I()}a&2&&(a=
Q(),A(),T(" ",a.cancelButtonText," "))},fGa=function(a){a&1&&Yf(0)},gGa=function(a){a&1&&Yf(0)},hGa=function(a){a&1&&(L(0),E(1,gGa,1,0,"ng-container",1),M());a&2&&(a=Q(),A(),F("ngTemplateOutlet",a.content))},iGa=function(a){a&1&&S(0," Archived ")},jGa=function(a){if(a&1){var b=v();G(0,"button",17);N("click",function(c){x(b);return y(c.stopPropagation())});K(1,"mat-icon",18);I()}a&2&&(Q(),a=R(5),F("matMenuTriggerFor",a))},kGa=function(a){if(a&1){var b=v();G(0,"button",19);N("click",function(){x(b);
var c=Q(3).$implicit;return y(c.unstar())});S(1," Unstar ");I()}},lGa=function(a){if(a&1){var b=v();G(0,"button",19);N("click",function(){x(b);var c=Q(3).$implicit;return y(c.unarchive())});S(1," Unarchive ");I()}},mGa=function(a){if(a&1){var b=v();G(0,"button",19);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.handleBookmarkGroupOpen(c.id))});S(1," Open ");I();G(2,"button",19);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.handleBookmarkGroupDashboard(c.id))});
S(3," Dashboard ");I();G(4,"button",19);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.openEditBookmarkGroup(c.id))});S(5," Settings ");I();E(6,kGa,2,0,"button",20)(7,lGa,2,0,"button",20)}a&2&&(a=Q(2).$implicit,A(6),F("ngIf",a.isUnstarable()),A(),F("ngIf",a.isEditable()))},nGa=function(a){a&1&&(G(0,"div",13)(1,"span",14),S(2),I(),E(3,jGa,2,1,"button",15),G(4,"mat-menu",null,4),E(6,mGa,8,2,"ng-template",16),I()());a&2&&(a=Q().$implicit,Jf("id","bv2-user-archived-bookmarkgroup-item-",
a.id,""),A(2),rg(a.name),A(),F("ngIf",a))},oGa=function(a,b){if(a&1){var c=v();G(0,"li",23)(1,"a",24);N("click",function(d){var e=x(c).$implicit,f=Q(5);return y(f.onAnchorClick(e.href,d))});G(2,"span",14);S(3);I()()()}a&2&&(a=b.$implicit,b=Q(2).$implicit,Qf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),mla("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),A(),F("href",
a.href,Ye),A(2),T(" ",a.name," "))},pGa=function(a){a&1&&(G(0,"ul",21),E(1,oGa,4,13,"li",22),I());a&2&&(a=Q().$implicit,A(),F("ngForOf",a.items))},qGa=function(a,b){a&1&&(G(0,"li",11)(1,"sidebar-zippy",12),E(2,nGa,7,4,"ng-template",null,2,Eg)(4,pGa,2,1,"ng-template",null,3,Eg),I()());if(a&2){a=b.$implicit;b=R(3);var c=R(5);F("title",a.name);A();F("header",b)("content",c)}},rGa=function(a){a&1&&(G(0,"button",28),K(1,"mat-icon",18),I());a&2&&(Q(),a=R(6),F("matMenuTriggerFor",a))},sGa=function(a){if(a&
1){var b=v();G(0,"button",19);N("click",function(){x(b);var c=Q(2).$implicit;return y(c.unstar())});S(1," Unstar ");I()}},tGa=function(a){if(a&1){var b=v();G(0,"button",19);N("click",function(){x(b);var c=Q(2).$implicit;return y(c.unarchive())});S(1," Unarchive ");I()}},uGa=function(a){if(a&1){var b=v();G(0,"button",19);N("click",function(){x(b);var c=Q().$implicit,d=Q(3);return y(d.openEditHotlist(c.id))});S(1," Settings ");I();E(2,sGa,2,0,"button",20)(3,tGa,2,0,"button",20)}a&2&&(a=Q().$implicit,
A(2),F("ngIf",a.isUnstarable()),A(),F("ngIf",a.isEditable()))},vGa=function(a,b){if(a&1){var c=v();G(0,"li",25)(1,"a",26);N("click",function(d){var e=x(c).$implicit,f=Q(3);return y(f.onAnchorClick(e.href,d))});G(2,"span",14);S(3);I()();E(4,rGa,2,1,"button",27);G(5,"mat-menu",null,5);E(7,uGa,4,2,"ng-template",16);I()()}a&2&&(a=b.$implicit,Qf("selected",a.isSelected()),eg("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),F("title",a.name),A(),F("href",a.href,Ye),A(2),rg(a.name),A(),F("ngIf",
a))},wGa=function(a){a&1&&(G(0,"ul",8),E(1,qGa,6,3,"li",9)(2,vGa,8,8,"li",10),I());a&2&&(a=Q(2),A(),F("ngForOf",a.bookmarkGroups),A(),F("ngForOf",a.hotlists))},xGa=function(a){a&1&&(G(0,"div"),K(1,"hr"),G(2,"sidebar-zippy",7),E(3,iGa,1,0,"ng-template",null,0,Eg)(5,wGa,3,2,"ng-template",null,1,Eg),I()());if(a&2){a=R(4);var b=R(6);A(2);F("header",a)("content",b)}},yGa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new X.Observable(function(c){(new MutationObserver(function(d){var e=
d[0].target,f;d=null!=(f=e.getAttribute("aria-label"))?f:"";var h;f=null!=(h=e.getAttribute("aria-valuenow"))?h:"indeterminate";c.next([d,f])})).observe(a,b)})},zGa=function(a){a&1&&(Kd(),G(0,"svg",11),K(1,"circle",12),I());a&2&&(a=Q(),Hf("viewBox",a._viewBox()),A(),Pf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),Hf("r",a._circleRadius()))},AGa=function(){return{diameter:100}},BGa=function(a){a&1&&
K(0,"mat-spinner",2);a&2&&(a=Q(),F("diameter",36),Hf("aria-label",a.ariaLabel))},CGa=function(a){a&1&&K(0,"mat-spinner",3);a&2&&(a=Q(),F("diameter",16)("strokeWidth",2),Hf("aria-label",a.ariaLabel))},EGa=function(a){if(null==DGa){var b="undefined"!==typeof document?document.head:null;DGa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return DGa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},FGa=function(a){if(a&1){var b=v();G(0,"div",
0);N("clickOutside",function(){x(b);var c=Q();return y(c.closeHovercard$.next())})("mouseenter",function(){x(b);Q().isOnHover$.next(!0);return y()})("mouseleave",function(){x(b);Q().isOnHover$.next(!1);return y()});dg(1);I()}a&2&&(a=Q(),Rf(a.className),F("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},GGa=function(a,b){if(a&1){var c=v();G(0,"div",1,0);N("@panelAnimation.done",function(d){x(c);var e=Q();return y(e._animationDone.next(d))});dg(2);I()}a&2&&(a=b.id,b=Q(),F("id",b.id)("ngClass",
b._classList)("@panelAnimation",b.isOpen?"visible":"hidden"),Hf("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},HGa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},IGa=function(a){a&1&&K(0,"b-spinner")},JGa=function(a){if(a&1){var b=v();G(0,"b-star-toggle",15);N("starClicked",function(){x(b);var c=Q().$implicit,d=Q();return y(d.toggleStar(c))});I()}a&2&&(a=Q().$implicit,F("starMessage","Star this item")("unStarMessage",
"Un-star this item")("starred",a.isStarred))},KGa=function(a){a&1&&K(0,"b-hotlist-card",16);a&2&&(a=Q().$implicit,F("hotlist",a))},LGa=function(a){a&1&&K(0,"b-bookmark-group-card",17);a&2&&(a=Q().$implicit,F("bookmarkGroup",a))},MGa=function(a,b){a&1&&(G(0,"mat-option",9)(1,"div",10),E(2,JGa,1,3,"b-star-toggle",11),G(3,"onedev-hovercard",null,2),E(5,KGa,1,1,"b-hotlist-card",12)(6,LGa,1,1,"b-bookmark-group-card",13),I(),G(7,"span",14),S(8),I()()());if(a&2){a=b.$implicit;b=R(4);var c=Q();F("value",
a);A();Qf("bv2-bookmark-group",c.showHotlists&&a.isGroup);A();F("ngIf",c.shouldShowStar(a));A(3);F("ngIf",!a.isGroup);A();F("ngIf",!!a.isGroup);A();F("onedevHovercardTrigger",b);A();rg(a.name)}},NGa=function(){return bka(function(){return(0,X.from)(Promise.resolve(void 0))})},OGa=function(a){a&1&&K(0,"a",1)},PGa=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);N("itemSelect",function(c){x(b);var d=Q();d.itemSelect.emit(c);d.dialog.disabled=
!0;d.dialog.disabled=!1;return y()});I()()()}a&2&&(a=Q(),A(2),F("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},QGa=function(a){if(a&1){var b=v();G(0,"span");S(1,"Bookmark groups");I();G(2,"b-hotlist-search-popup",8);N("itemSelect",function(c){x(b);var d=Q();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return y()})("click",function(c){x(b);return y(c.stopPropagation())});I()}a&2&&(A(2),F("showHotlists",!1))},RGa=function(a){if(a&
1){var b=v();G(0,"button",18);N("click",function(c){x(b);return y(c.stopPropagation())});K(1,"mat-icon",19);I()}a&2&&(Q(),a=R(5),F("matMenuTriggerFor",a))},SGa=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q(3).$implicit;return y(c.unstar())});S(1," Unstar ");I()}},TGa=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q(3).$implicit;return y(c.archive())});S(1," Archive ");I()}},UGa=function(a){if(a&1){var b=v();G(0,"button",20);N("click",
function(){x(b);var c=Q(3).$implicit;return y(c.setAsPreferredHomepage())});S(1," Set as homepage ");I()}},VGa=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.handleBookmarkGroupOpen(c.id))});S(1," Open ");I();G(2,"button",20);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.handleBookmarkGroupDashboard(c.id))});S(3," Dashboard ");I();G(4,"button",20);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.editBookmarkGroup(c.id))});
S(5," Settings ");I();E(6,SGa,2,0,"button",21)(7,TGa,2,0,"button",21)(8,UGa,2,0,"button",21)}a&2&&(a=Q(2).$implicit,A(6),F("ngIf",a.isUnstarable()),A(),F("ngIf",a.isEditable()),A(),F("ngIf",!a.isPreferredHomepage()))},WGa=function(a){a&1&&(G(0,"div",14)(1,"span",15),S(2),I(),E(3,RGa,2,1,"button",16),G(4,"mat-menu",null,4),E(6,VGa,9,3,"ng-template",17),I()());a&2&&(a=Q().$implicit,Jf("id","bv2-user-bookmarkgroup-item-",a.id,""),A(2),rg(a.name),A(),F("ngIf",a))},XGa=function(a){a&1&&(G(0,"button",27),
K(1,"mat-icon",19),I());a&2&&(Q(),a=R(6),F("matMenuTriggerFor",a))},YGa=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q(2).$implicit;return y(c.unstar())});S(1," Unstar ");I()}},ZGa=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q(2).$implicit;return y(c.setAsPreferredHomepage())});S(1," Set as homepage ");I()}},$Ga=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q().$implicit,d=Q(5);"HOTLIST"===c.type?
d.location.setUrl(d.paths.editHotlist(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));return y()});S(1," Settings ");I();E(2,YGa,2,0,"button",21)(3,ZGa,2,0,"button",21)}a&2&&(a=Q().$implicit,A(2),F("ngIf",a.isUnstarable()),A(),F("ngIf",!a.isPreferredHomepage()))},aHa=function(a,b){if(a&1){var c=v();G(0,"li",24)(1,"a",25);N("click",function(d){var e=x(c).$implicit,f=Q(5);return y(f.onAnchorClick(e.href,d))});G(2,"span",15);S(3);I()();E(4,XGa,2,1,"button",26);G(5,"mat-menu",null,5);E(7,$Ga,
4,2,"ng-template",17);I()()}a&2&&(a=b.$implicit,b=Q(2).$implicit,Qf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),mla("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.getDisplayName()),A(),F("href",a.href,Ye),A(2),T(" ",a.getDisplayName()," "),A(),F("ngIf",b))},bHa=function(a){a&1&&(G(0,"ul",22),E(1,aHa,8,14,"li",23),I());a&2&&(a=Q().$implicit,A(),F("ngForOf",a.items))},cHa=
function(a,b){a&1&&(G(0,"li",12)(1,"sidebar-zippy",13),E(2,WGa,7,4,"ng-template",null,2,Eg)(4,bHa,2,1,"ng-template",null,3,Eg),I()());if(a&2){a=b.$implicit;b=R(3);var c=R(5);F("title",a.name);A();F("header",b)("content",c)("expanded",!1)}},dHa=function(a){a&1&&(G(0,"ul",10),E(1,cHa,6,4,"li",11),I());a&2&&(a=Q(2),A(),F("ngForOf",a.bookmarkGroups))},eHa=function(a){a&1&&E(0,dHa,2,1,"ul",9);a&2&&(a=Q(),F("ngIf",a.bookmarkGroups))},fHa=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(u(a),
u(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},gHa=function(a,b,c){c=void 0===c?22:c;return["display: inline-block; border-radius: 50%;","width: "+c+"px;","min-width: "+c+"px;","height: "+c+"px;","background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);","box-shadow: inset 0 0 0 2px var(--divider);"].join(" ")},So=function(a){return"hotlist-"+a},To=function(a){return"savedsearch-"+a},Vo=function(a){if(null!=a){if(hHa.includes(a))return a;
var b=a.match(/\bhotlists?\b/)?Uo(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?Uo(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?Uo(a):void 0;b||(a=a.trim(),b=3>a.length?!1:!!a.match(/^\d+$/));if(b)return"issue"}},iHa=function(a){switch(Vo(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},Uo=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},jHa=function(a){var b=
Uo(a);if(null!=b)switch(Vo(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},kHa=function(a){var b=Uo(a);if(null!=b&&"issue"===Vo(a))return"/issues?q="+encodeURIComponent("id:"+b+" OR parentid:"+b+"+")},lHa=function(a){for(var b={},c={},d=k(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,t){var w,B;return-1*((null!=(w=t.descendantCount)?w:0)-(null!=(B=q.descendantCount)?B:0))});d=k(d);for(e=d.next();!e.done;e=
d.next()){var f=e.value,h=void 0;e=null!=(h=b[f.issueId])?h:0;h=void 0;f=k(null!=(h=f.parentIssueIds)?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],null!=h){var l=void 0;b[h.issueId]=null!=(l=b[h.issueId])?l:0;b[h.issueId]+=1+e}}return a.map(function(q){var t,w=null!=(t=b[q.issueId])?t:0;return[[w,q.openDescendantCount+10*w],q]})},mHa=function(a,b){a=a.results;if(a.length<(void 0===b?50:b))return[];a=lHa(a);a.sort(function(f,h){f=k(f);f=k(f.next().value);f.next();f=f.next().value;h=k(h);
h=k(h.next().value);h.next();return h.next().value-f});b=a.filter(function(f){f=k(f);return 0<k(f.next().value).next().value}).map(function(f){f=k(f);f.next();return f.next().value}).filter(function(f){return 2<=f.descendantCount}).filter(jDa);var c={};a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,l;return{title:null==(h=f.snapshot)?void 0:null==(l=h[0])?void 0:l.title,ref:f.issueId,suggestionRationale:f.descendantCount+
" descendants and "+c[f.issueId][0]+" recent personal touchpoints."}})},nHa=function(a){return a},oHa=function(a){"UNKNOWN_SOURCE"===a&&console.error("an UNKNOWN TaskSources snuck in");return a},pHa=function(a){if(a&1){var b=v();G(0,"span");S(1,"Hotlists");I();G(2,"b-hotlist-search-popup",5);N("itemSelect",function(c){x(b);var d=Q();Wo(d.analytics,"hotlistSearch","goToHotlist");d.location.setUrl(c.href);return y()})("click",function(c){x(b);return y(c.stopPropagation())});I()}a&2&&(A(2),F("showGroups",
!1))},qHa=function(a){a&1&&(G(0,"button",14),K(1,"mat-icon",15),I());a&2&&(Q(),a=R(6),F("matMenuTriggerFor",a))},rHa=function(a){if(a&1){var b=v();G(0,"button",17);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.addToMissionControl(c.id))});K(1,"mat-icon",19);S(2," Add to 'Home' screen ");I()}},sHa=function(a){if(a&1){var b=v();G(0,"button",17);N("click",function(){x(b);var c=Q(2).$implicit;return y(c.setAsPreferredHomepage())});K(1,"mat-icon",20);S(2," Set as preferred homepage ");
I()}},tHa=function(a){if(a&1){var b=v();G(0,"button",17);N("click",function(){x(b);var c=Q(2).$implicit;return y(c.unstar())});K(1,"mat-icon",21);S(2," Unstar ");I()}},uHa=function(a){if(a&1){var b=v();E(0,rHa,3,0,"button",16)(1,sHa,3,0,"button",16);G(2,"button",17);N("click",function(){x(b);var d=Q().$implicit,e=Q(3);return y(e.openEditHotlist(d.id))});K(3,"mat-icon",18);S(4," Settings ");I();E(5,tHa,3,0,"button",16)}if(a&2){a=Q().$implicit;var c=Q(3);F("ngIf",c.ENABLE_MISSION_CONTROL);A();F("ngIf",
!a.isPreferredHomepage());A(4);F("ngIf",a.isUnstarable())}},vHa=function(a,b){if(a&1){var c=v();G(0,"li",9)(1,"a",10);N("click",function(d){var e=x(c).$implicit,f=Q(3);return y(f.onAnchorClick(e.href,d))});G(2,"span",11);S(3);I()();E(4,qHa,2,1,"button",12);G(5,"mat-menu",null,2);E(7,uHa,6,3,"ng-template",13);I()()}a&2&&(a=b.$implicit,Qf("selected",a.isSelected()),eg("id","bv2-user-hotlists-hotlist-item-",a.id,""),F("title",a.name),A(),F("href",a.href,Ye),A(2),rg(a.name),A(),F("ngIf",a))},wHa=function(a){a&
1&&(G(0,"ul",7),E(1,vHa,8,8,"li",8),I());a&2&&(a=Q(2),A(),F("ngForOf",a.hotlists))},xHa=function(a){a&1&&E(0,wHa,2,1,"ul",6);a&2&&(a=Q(),F("ngIf",a.hotlists))},yHa=function(a){a&1&&(G(0,"span"),S(1,"Saved searches"),I())},zHa=function(a){if(a&1){var b=v();G(0,"button",15);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(3);return y(d.addToMissionControl(c.id))});K(1,"mat-icon",18);S(2," Add to 'Home' screen ");I()}},AHa=function(a){if(a&1){var b=v();G(0,"button",15);N("click",function(){x(b);var c=
Q(2).$implicit;return y(c.setAsPreferredHomepage())});K(1,"mat-icon",19);S(2," Set as preferred homepage ");I()}},CHa=function(a){if(a&1){var b=v();E(0,zHa,3,0,"button",14)(1,AHa,3,0,"button",14);G(2,"button",15);N("click",function(){x(b);var d=Q().$implicit,e=Q(3);return y(e.openEditSavedSearch(d.id))});K(3,"mat-icon",16);S(4," Settings ");I();G(5,"button",15);N("click",function(){x(b);var d=Q().$implicit,e=Q(3);return y(BHa(e,d))});K(6,"mat-icon",17);S(7," Delete ");I()}if(a&2){a=Q().$implicit;
var c=Q(3);F("ngIf",c.ENABLE_MISSION_CONTROL);A();F("ngIf",!a.isPreferredHomepage())}},DHa=function(a,b){if(a&1){var c=v();G(0,"li",8)(1,"a",9);N("click",function(d){var e=x(c).$implicit,f=Q(3);return y(f.onAnchorClick(e.href,d))});G(2,"span",10);S(3);I()();G(4,"button",11);K(5,"mat-icon",12);I();G(6,"mat-menu",null,2);E(8,CHa,8,2,"ng-template",13);I()()}a&2&&(a=b.$implicit,b=R(7),Qf("selected",a.isSelected()),Jf("id","bv2-saved-searches-search-item-",a.id,""),F("title",a.name),A(),F("href",a.href,
Ye),A(2),rg(a.name),A(),F("matMenuTriggerFor",b))},EHa=function(a){a&1&&(G(0,"ul",6),E(1,DHa,9,8,"li",7),I());a&2&&(a=Q(2),A(),F("ngForOf",a.searches))},FHa=function(a){a&1&&E(0,EHa,2,1,"ul",5);a&2&&(a=Q(),F("ngIf",a.searches))},IHa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(GHa).length;var c=a.filter(function(d){return!GHa(d)}).filter(HHa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},
HHa=function(a){a=String(a);a=a.replace("http://b/","");a=a.replace("https://b/","");a=a.replace("b/","");a=a.trim();return 3>a.length?!1:Xo(a)},GHa=function(a){return!!a.match(/\w:\w/g)},JHa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},KHa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?c:[];a.clear();c=k(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},LHa=function(a,b){a&1&&K(0,"mat-icon",26);a&2&&(a=b.$implicit,F("matBadge",
99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},MHa=function(a){a&1&&K(0,"mat-icon",27)},NHa=function(a){a&1&&(G(0,"button",28),K(1,"mat-icon",29),I());a&2&&(Q(),a=R(12),F("matMenuTriggerFor",a))},PHa=function(a){if(a&1){var b=v();G(0,"button",30);N("click",function(){x(b);var c=Q(2);OHa(c,"MISSION_CONTROL");return y()});S(1," Set as homepage ");I()}},QHa=function(a){if(a&1){var b=v();L(0);G(1,"li",23)(2,"a",9);N("click",function(d){x(b);
var e=Q();e.onAnchorClick(e.missionControlPath,d);return y()});E(3,LHa,1,3,"mat-icon",24);V(4,"async");V(5,"async");E(6,MHa,1,0,"ng-template",null,1,Eg);S(8," Home ");I();E(9,NHa,2,1,"button",25);V(10,"async");G(11,"mat-menu",null,2);E(13,PHa,2,0,"ng-template",11);I()();M()}if(a&2){a=R(7);var c=Q();A();Qf("selected",!!c.location.path().match(/^\/home\b/));A();F("href",c.missionControlPath,Ye);A();F("ngIf",!W(4,6,c.hideBadgeInNav$)&&W(5,8,c.missionControlTaskCount$))("ngIfElse",a);A(6);F("ngIf",!W(10,
10,c.isHomepageMissionControl$))}},RHa=function(a){a&1&&(L(0),G(1,"button",31),K(2,"mat-icon",29),I(),M());a&2&&(Q(),a=R(13),A(),F("matMenuTriggerFor",a))},SHa=function(a){if(a&1){var b=v();G(0,"button",30);N("click",function(){x(b);var c=Q();OHa(c,"ASSIGNED_TO_ME");return y()});S(1," Set as homepage ");I()}},THa=function(a){if(a&1){var b=v();G(0,"li")(1,"a",9);N("click",function(c){x(b);var d=Q();return y(d.onAnchorClick(d.votedPath,c))});K(2,"mat-icon",32);S(3," Upvoted by me ");I()()}a&2&&(a=Q(),
Qf("selected","vote:true"===a.appSearchState.currentQuery),A(),F("href",a.votedPath,Ye))},UHa=function(a,b){if(a&1){var c=v();G(0,"li")(1,"a",9);N("click",function(d){var e=x(c).$implicit,f=Q();return y(f.onAnchorClick(e,d))});K(2,"mat-icon",33);S(3," Recently Viewed ");I()()}a&2&&(a=b.$implicit,b=Q(),Qf("selected",!!b.location.path().match(/^\/recent\b/)),A(),F("href",a,Ye))},VHa=function(a){a&1&&K(0,"mat-icon",2);a&2&&(a=Q().$implicit,F("svgIcon",a.icon))},WHa=function(a,b){if(a&1){var c=v();G(0,
"button",1);N("click",function(){var e=x(c).$implicit,f=Q();return y(f.onClickButton(e.value))});E(1,VHa,1,1,"mat-icon",2);S(2);I()}if(a&2){var d;a=b.$implicit;b=Q();F("disableRipple",!0)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Hf("aria-checked",b.value===a.value);A();Uf(a.icon?1:-1);A();T(" ",a.name," ")}},XHa=function(){return{color:"accent",clickAction:"check-indeterminate"}},Yo=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]]}))})},Zo=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},YHa=function(a){a&1&&Yf(0)},ZHa=function(a){if(a&1){var b=v();G(0,"div",3);N("mouseenter",function(){x(b);var c=Q();return y(c.toggle(!0))})("mouseleave",function(){x(b);var c=Q();return y(c.toggle(!1))})("mousemove",function(){x(b);Q().activity.next();return y()});E(1,YHa,1,0,"ng-container",4);I()}a&2&&(a=Q(),F("ngClass",a.bubbleStyle)("@fade",void 0),A(),F("ngTemplateOutlet",a.panelTemplate))},
$Ha=function(a){a&1&&(L(0),G(1,"span",4),S(2),I(),M());a&2&&(a=Q(2),A(),Qf("xs",a.compactMode),F("ngClass",a.chipClass),A(),T(" ",a.chipText," "))},aIa=function(a){a&1&&(G(0,"div",7),S(1),G(2,"a",8),S(3," Learn more"),I()());a&2&&(a=Q(3),A(),T(" ",a.bubbleText," "),A(),F("href",$o(a.documentationLinks),Ye))},bIa=function(a){a&1&&(G(0,"xap-bubble",5)(1,"span",6),S(2),I(),E(3,aIa,4,2,"ng-template",null,1,Eg),I());if(a&2){a=R(4);var b=Q(2);F("panelTemplate",a);A();Qf("xs",b.compactMode);F("ngClass",
b.chipClass);A();T(" ",b.chipText," ")}},cIa=function(a){a&1&&(L(0),E(1,$Ha,3,4,"ng-container",3)(2,bIa,5,5,"ng-template",null,0,Eg),M());if(a&2){a=R(3);var b=Q();A();F("ngIf",b.labelOnlyMode)("ngIfElse",a)}},dIa=function(a){a&1&&(G(0,"span",12),S(1),I());a&2&&(a=Q(2),A(),T(" ",a.name," "))},eIa=function(a){a&1&&(L(0),S(1," Trackers are distinct communities with their own branding. "),M())},fIa=function(a){a&1&&(G(0,"a",10),S(1,"Learn More"),I());a&2&&(a=Q(2),F("href",a.documentationLinks.baseDocumentationUrl+
"/concepts/trackers",Ye))},gIa=function(a){a&1&&(L(0),G(1,"button",2),K(2,"img",3)(3,"img",4),E(4,dIa,2,1,"span",5),I(),G(5,"onedev-hovercard",null,0)(7,"div",6)(8,"div",7)(9,"span",8),S(10),E(11,eIa,2,0,"ng-container",1),I(),G(12,"div",9)(13,"a",10),S(14),I(),E(15,fIa,2,1,"a",11),I()()()(),M());if(a&2){a=R(6);var b=Q();A();Qf("xs",b.compactMode);F("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);A();F("src",b.logoLight,Ye);A();F("src",b.logoDark,Ye);A();F("ngIf",!b.compactMode);
A(6);T(" This component or issue is part of ",b.extendedName,". ");A();F("ngIf",!b.isGlobalBuganizer);A(2);F("href",b.redirectUrl,Ye);A();T("View ",b.extendedName,"");A();F("ngIf",!b.isGlobalBuganizer)}},hIa=function(a){a&1&&(K(0,"b-tracker-chip",1),V(1,"async"));a&2&&(a=Q(),F("tracker",W(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},iIa=function(a){a&1&&(L(0),K(1,"mat-icon",12),M())},jIa=function(a){if(a&1){var b=
v();L(0);G(1,"button",13);N("mousedown",function(c){x(b);var d=Q();return y(d.back(c))});K(2,"mat-icon",14);I();M()}},kIa=function(a){if(a&1){var b=v();L(0);G(1,"button",15);N("mousedown",function(c){x(b);var d=Q();return y(d.expand(d.componentOption,c))});K(2,"mat-icon",16);I();M()}a&2&&(a=Q(),A(),F("matTooltip","View child components of "+a.componentOption.name),Hf("aria-label","View child components of "+a.componentOption.name),A(),F("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},
lIa=function(a){if(a&1){var b=v();L(0);G(1,"a",19);V(2,"toString");V(3,"boldPrefixMatches");N("mousedown",function(d){x(b);var e=Q().$implicit;Q(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});I();M()}if(a&2){a=Q().$implicit;var c=Q(2);A();F("innerHtml",Dg(3,3,W(2,1,a.name),c.query),Xe)}},mIa=function(a){a&1&&S(0);a&2&&(a=Q().$implicit,T(" ",a.name," "))},nIa=function(a){a&1&&(L(0),S(1,"\u00a0>\u00a0"),M())},oIa=function(a,b){a&1&&(L(0),E(1,lIa,4,6,"ng-container",
8)(2,mIa,1,1,"ng-template",null,1,Eg)(4,nIa,2,0,"ng-container",18),M());if(a&2){a=b.$implicit;b=b.last;var c=R(3);A();F("ngIf",a.name!=a.id)("ngIfElse",c);A(3);F("ngIf",!b)}},pIa=function(a){a&1&&(L(0),E(1,oIa,5,3,"ng-container",17),M());a&2&&(a=Q(),A(),F("ngForOf",a.componentOption.componentPath))},qIa=function(a,b){if(a&1){var c=v();L(0);G(1,"a",20);N("mousedown",function(d){var e=x(c).ngIf;Q(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});S(2);I();M()}a&2&&(a=
b.ngIf,A(2),T(" ",a.name," "))},rIa=function(a){a&1&&E(0,qIa,3,1,"ng-container",18);a&2&&(a=Q(),F("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},sIa=function(a){a&1&&(G(0,"span",21),S(1," [Archived] "),I())},tIa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},uIa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},vIa=function(a,b){var c,
d=null!=(c=null==b?void 0:b.componentPathId)?c:[],e,f=null!=(e=null==b?void 0:b.componentPathName)?e:[];b=d.map(function(h,l){return{id:h,name:f[l],pathText:f.slice(0,l+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}},wIa=function(a){return new Map([].concat(u(a.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.map(uIa)]}))},xIa=function(a){a&
1&&K(0,"img",8);a&2&&(a=Q(),Hf("src",a.getLogoUrl(),Ye))},yIa=function(a){a&1&&(G(0,"span",12),S(1,"no components"),I())},zIa=function(a){a&1&&(G(0,"div",9),K(1,"div",10),V(2,"boldPrefixMatches"),E(3,yIa,2,0,"span",11),I());a&2&&(a=Q(),A(),F("innerHtml",Dg(2,2,a.teamOption.name,a.query),Xe),A(2),F("ngIf",a.hasNoComponent))},AIa=function(a){if(a&1){var b=v();L(0);G(1,"a",16);N("mousedown",function(c){x(b);var d=Q(2).index,e=Q(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();
c.stopPropagation();d&&e.selectTeamId.emit(d);return y()});S(2);I();M()}a&2&&(a=Q(2).$implicit,A(2),rg(a))},BIa=function(a){a&1&&S(0);a&2&&(a=Q(2).$implicit,rg(a))},CIa=function(a){a&1&&(L(0),E(1,AIa,3,1,"ng-container",15)(2,BIa,1,1,"ng-template",null,1,Eg),L(4),S(5," \u00b7 "),M()());if(a&2){a=R(3);var b=Q(3);A();F("ngIf",b.allowSegmentSelection)("ngIfElse",a)}},DIa=function(a){a&1&&(L(0),G(1,"strong",17),S(2),I(),M());a&2&&(a=Q(2).$implicit,A(2),rg(a))},EIa=function(a){a&1&&S(0);a&2&&(a=Q(2).$implicit,
rg(a))},FIa=function(a){a&1&&E(0,DIa,3,1,"ng-container",15)(1,EIa,1,1,"ng-template",null,2,Eg);if(a&2){a=R(2);var b=Q(3);F("ngIf",b.compact)("ngIfElse",a)}},GIa=function(a,b){a&1&&(L(0),E(1,CIa,6,2,"ng-container",15)(2,FIa,3,2,"ng-template",null,0,Eg),M());a&2&&(a=b.last,b=R(3),A(),F("ngIf",!a)("ngIfElse",b))},HIa=function(a){a&1&&(G(0,"div",13),E(1,GIa,4,2,"ng-container",14),I());a&2&&(a=Q(),A(),F("ngForOf",a.teamOption.pathNames))},IIa=function(){var a=bd(qh),b=a?a.location:null;return{getPathname:function(){return b?
b.pathname+b.search:""}}},JIa=function(a){if(a&1){var b=v();G(0,"button",12);N("mousedown",function(c){x(b);Q().clearQuery();return y(ap(c))});K(1,"mat-icon",13);I()}},KIa=function(a){a&1&&(G(0,"div",15),S(1," Checking for admin access... "),I())},LIa=function(a){a&1&&(G(0,"div",17),S(1," You do not have admin access to this component. "),G(2,"a",18),S(3,"View component admins"),I()());a&2&&(a=Q(3),A(2),F("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),Ye))},MIa=function(a){a&
1&&E(0,LIa,4,1,"div",16);a&2&&(a=Q(2),F("ngIf",!a.hasAccess&&a.selectedComponent))},NIa=function(a){a&1&&(G(0,"div"),E(1,KIa,2,0,"div",14)(2,MIa,1,1,"ng-template",null,5,Eg),I());if(a&2){a=R(3);var b=Q();A();F("ngIf",b.checkingAccess)("ngIfElse",a)}},OIa=function(a){a&1&&K(0,"mat-progress-bar",25)},PIa=function(a){a&1&&(L(0),S(1,"s"),M())},RIa=function(a,b){if(a&1){var c=v();L(0);G(1,"div",31);N("mousedown",function(e){var f=x(c).$implicit,h=Q(5);QIa(h.searchState,f);return y(ap(e))});G(2,"team-row",
32);N("selectTeamId",function(e){x(c);var f=Q(5);return y(bp(f.searchState,e))});I()();M()}if(a&2){a=b.$implicit;b=Q(5);var d=R(3);A();F("data",a);A();F("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},SIa=function(a){a&1&&(G(0,"div",28)(1,"div",29),S(2," Filter components by my teams "),G(3,"span"),S(4),E(5,PIa,2,0,"ng-container",11),I()(),E(6,RIa,3,4,"ng-container",30),K(7,"mat-divider"),I());a&2&&(a=Q().ngIf,A(4),T("",a.length," team"),A(),F("ngIf",1<a.length),
A(),F("ngForOf",a))},TIa=function(a,b){a&1&&(L(0),E(1,SIa,8,3,"div",27),M());a&2&&(a=b.ngIf,A(),F("ngIf",a.length))},UIa=function(a){a&1&&Yf(0)},WIa=function(a){a&1&&(L(0),E(1,TIa,2,1,"ng-container",11),V(2,"async"),E(3,UIa,1,0,"ng-container",26),M());if(a&2){a=Q(2);var b=R(12);A();F("ngIf",W(2,3,a.searchState.myTeams$));A(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(5,VIa,a.searchState.recentComponents))}},XIa=function(a){a&1&&(L(0),S(1,"s"),M())},YIa=function(a){a&1&&Yf(0)},aJa=function(a,
b){a&1&&(L(0),E(1,YIa,1,0,"ng-container",26),M());if(a&2){a=b.$implicit;b=b.index;Q(5);var c=R(10);A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Bg(4,ZIa,a,Ag(2,$Ia,b)))}},bJa=function(a){if(a&1){var b=v();G(0,"button",34);N("mousedown",function(){x(b);var c=Q(5);return y(c.searchState.showAllTeams$.next(!0))});K(1,"mat-icon",35);S(2," Show all teams ");I()}},cJa=function(a,b){a&1&&(G(0,"div",28)(1,"div",29),S(2," Filter components by teams "),G(3,"span"),S(4),E(5,XIa,2,0,"ng-container",11),
I()(),E(6,aJa,2,7,"ng-container",30),V(7,"async"),E(8,bJa,3,0,"button",33),V(9,"async"),K(10,"mat-divider"),I());a&2&&(a=b.ngIf,b=Q(4),A(4),T("",a," team"),A(),F("ngIf",1<a),A(),F("ngForOf",W(7,4,b.searchState.filteredTeamOptions$)),A(2),F("ngIf",W(9,6,b.searchState.hasHiddenTeams$)))},dJa=function(a,b){a&1&&(L(0),E(1,cJa,11,8,"div",27),M());a&2&&(a=b.ngIf,A(),F("ngIf",a.length))},eJa=function(a){a&1&&Yf(0)},gJa=function(a){a&1&&(L(0),E(1,dJa,2,1,"ng-container",11),V(2,"async"),E(3,eJa,1,0,"ng-container",
26),M());if(a&2){a=Q(2);var b=R(12);A();F("ngIf",W(2,3,a.searchState.teamOptions$));A(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(5,fJa,a.searchState.componentOptions))}},hJa=function(a){a&1&&Yf(0)},jJa=function(a,b){a&1&&(L(0),E(1,hJa,1,0,"ng-container",26),M());if(a&2){a=b.$implicit;b=b.index;Q(7);var c=R(10);A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Bg(4,ZIa,a,Ag(2,iJa,b)))}},kJa=function(a){a&1&&(G(0,"div",43),E(1,jJa,2,7,"ng-container",30),I());a&2&&(a=Q(2).ngIf,A(),F("ngForOf",
a))},nJa=function(a){if(a&1){var b=v();L(0);E(1,kJa,2,1,"div",42);G(2,"button",34);N("mousedown",function(c){x(b);var d=Q(5),e=d.searchState.teamScope$.value;e.expanded?lJa(d.searchState,e):mJa(d.searchState,e);return y(ap(c))});K(3,"mat-icon",35);S(4);I();M()}a&2&&(a=Q(5),A(),F("ngIf",a.searchState.teamScope$.value.expanded),A(2),Qf("expanded",a.searchState.teamScope$.value.expanded),A(),T(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},oJa=function(a,b){a&1&&(L(0),E(1,
nJa,5,4,"ng-container",11),M());a&2&&(a=b.ngIf,A(),F("ngIf",a.length))},rJa=function(a){if(a&1){var b=v();G(0,"div",37)(1,"div",29);S(2," Filtering by team: ");I();G(3,"div",38)(4,"team-row",39);N("selectTeamId",function(d){x(b);var e=Q(3);return y(bp(e.searchState,d))});I();G(5,"button",40);N("mousedown",function(d){x(b);var e=Q(3);pJa(e.searchState);return y(ap(d))});K(6,"mat-icon",41);I()();E(7,oJa,2,1,"ng-container",11);I()}if(a&2){a=Q(3);var c=R(3);A(3);F("data",a.searchState.teamScope$.value)("listOrder",
zg(7,qJa));A();F("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);A(3);F("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},sJa=function(a){a&1&&Yf(0)},uJa=function(a){a&1&&(L(0),E(1,rJa,8,8,"div",36)(2,sJa,1,0,"ng-container",26),M());if(a&2){a=Q(2);var b=R(12);A();F("ngIf",a.searchState.teamScope$.value);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Bg(3,tJa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},
xJa=function(a){if(a&1){var b=v();G(0,"div",45)(1,"div",46);S(2,"Component Tree Browser");I();G(3,"component-row",47);N("goBack",function(){x(b);var c=Q(3);return y(vJa(c.searchState))})("selectComponentId",function(c){x(b);var d=Q(3);return y(wJa(d.searchState,c))});I()()}a&2&&(a=Q(3),A(3),F("componentOption",a.searchState.componentScope))},yJa=function(a){a&1&&Yf(0)},AJa=function(a){a&1&&(L(0),E(1,xJa,4,1,"div",44)(2,yJa,1,0,"ng-container",26),M());if(a&2){a=Q(2);var b=R(12);A();F("ngIf",a.searchState.componentScope);
A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(3,zJa,a.searchState.componentOptions))}},BJa=function(a){if(a&1){var b=v();G(0,"div",19,6);N("mousedown",function(c){x(b);Q();return y(ap(c))});G(2,"div",20);E(3,OIa,1,0,"mat-progress-bar",21);I();G(4,"div",22);L(5,23);V(6,"async");E(7,WIa,4,7,"ng-container",24)(8,gJa,4,7,"ng-container",24)(9,uJa,3,6,"ng-container",24)(10,AJa,3,5,"ng-container",24);M();I()()}a&2&&(a=Q(),A(3),F("ngIf",a.isLoading()),A(2),F("ngSwitch",W(6,6,a.searchState.state$)),
A(2),F("ngSwitchCase","default"),A(),F("ngSwitchCase","global"),A(),F("ngSwitchCase","team_scope"),A(),F("ngSwitchCase","component_scope"))},CJa=function(a){if(a&1){var b=v();G(0,"button",51);N("mousedown",function(c){x(b);var d=Q().team,e=Q();d.expanded?lJa(e.searchState,d):mJa(e.searchState,d);return y(ap(c))});K(1,"mat-icon",52);I()}a&2&&(a=Q().team,A(),Qf("expanded",a.expanded))},DJa=function(a){a&1&&Yf(0)},FJa=function(a,b){a&1&&(L(0),E(1,DJa,1,0,"ng-container",26),M());if(a&2){a=b.$implicit;
b=b.index;var c=Q(2),d=c.level;c=c.order;Q();var e=R(10);A();F("ngTemplateOutlet",e)("ngTemplateOutletContext",Cg(2,EJa,a,d+1,c.concat(b)))}},GJa=function(a){a&1&&(L(0),E(1,FJa,2,6,"ng-container",30),M());if(a&2){a=Q().team;var b=Q();A();F("ngForOf",b.searchState.getChildTeams(a.id))}},HJa=function(a,b){if(a&1){var c=v();G(0,"div",48);N("mousedown",function(h){var l=x(c).team,q=Q();QIa(q.searchState,l);return y(ap(h))});G(1,"div",49);E(2,CJa,2,2,"button",50);G(3,"team-row",32);N("selectTeamId",function(h){x(c);
var l=Q();return y(bp(l.searchState,h))});I()()();E(4,GJa,2,1,"ng-container",11)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=Q(),f=R(3);F("listOrder",b)("data",a);A();Pf("margin-left",28*d,"px");A();F("ngIf",e.searchState.getChildTeams(a.id).length);A();Qf("indent",!e.searchState.getChildTeams(a.id).length);F("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));A();F("ngIf",a.expanded)}},IJa=function(a){a&1&&(L(0),S(1,"s"),M())},KJa=function(a,b){if(a&1){var c=
v();G(0,"div",56);N("mousedown",function(f){var h=x(c).$implicit,l=Q(3);JJa(l.searchState,h.id);return y(ap(f))});G(1,"component-row",57);N("selectComponentId",function(f){x(c);var h=Q(3);return y(JJa(h.searchState,f))})("expandComponent",function(f){x(c);var h=Q(3);return y(h.searchState.expandComponent(f))});I()()}if(a&2){a=b.$implicit;b=Q(2).mode;var d=Q(),e=R(3);F("data",a);A();F("showFolderSpecialIcon",cp(d.currentTracker))("componentOption",a)("query",e.value)("mode",b)}},LJa=function(a,b){a&
1&&(G(0,"div",54)(1,"div",29),S(2),G(3,"span"),S(4),E(5,IJa,2,0,"ng-container",11),I()(),E(6,KJa,2,5,"div",55),I());if(a&2){a=b.ngIf;var c=Q();b=c.$implicit;c=c.mode;A(2);T(" ","recent"===c?"Select recent component":"Select component"," ");A(2);T("",a," component");A();F("ngIf",1<a);A();F("ngForOf",b)}},MJa=function(a){a&1&&(L(0),S(1," No recent components "),M())},NJa=function(a){a&1&&(L(0),S(1," No child components "),M())},OJa=function(a){a&1&&(L(0),S(1),K(2,"mat-icon",61),S(3," above ("),G(4,
"a",62),S(5,"learn more "),K(6,"mat-icon",63),I(),S(7," about team associations)"),M());a&2&&(a=Q(4).teamScope,A(),T(" for ",a.name,". Remove the team filter by clicking on the "))},PJa=function(a){a&1&&(L(0),S(1," No components found "),E(2,OJa,8,1,"ng-container",11),M());a&2&&(a=Q(3).teamScope,A(2),F("ngIf",a))},QJa=function(a){a&1&&(G(0,"div",59),L(1,23),E(2,MJa,2,0,"ng-container",24)(3,NJa,2,0,"ng-container",24)(4,PJa,3,1,"ng-container",60),M(),I());a&2&&(a=Q(2).mode,A(),F("ngSwitch",a),A(),F("ngSwitchCase",
"recent"),A(),F("ngSwitchCase","leaf"))},RJa=function(a){a&1&&E(0,QJa,5,3,"div",58);a&2&&(a=Q(2),F("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},SJa=function(a,b){a&1&&E(0,LJa,7,4,"div",53)(1,RJa,1,1,"ng-template",null,7,Eg);a&2&&(a=b.$implicit,b=R(2),F("ngIf",a.length)("ngIfElse",b))},TJa=function(a,b){b=k([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},dp=function(a){return a?
la(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},WJa=function(a,b){var c=Math.floor((new Date).getTime()/1E3-a);if(300>c)return"just now";if(!(0>c)){for(var d=[],e=k(UJa),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;if(2<=d.length)break;var l=Math.floor(c/h);if(1<=l)b?d.push(""+l+VJa[f]):1===l?d.push(l+" "+f):d.push(l+" "+f+"s");else if(d.length)break;c-=l*h;if(1<l)break}if(d.length)return d.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",
a)}},XJa=function(a,b){b=void 0===b?156:b;var c=document.createElement("i");c.id=a;c.title=a;c.style.width="10px";c.style.height="10px";c.style.borderRadius="10px";c.style.backgroundColor="#ccc";c.style.zIndex="999";c.style.position="absolute";c.style.top="34px";c.style.left=b+"px";c.style.opacity="0";document.body.appendChild(c);return c},YJa=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)},$Ja=function(a,
b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;ZJa++;var d=156;d+=12*(ZJa-1);return function(e){e=void 0===e?b:e;var f,h=null!=(f=document.getElementById(a))?f:XJa(a,d);YJa(h,e,c)}},aKa=function(a,b){b=void 0===b?0:b;var c=new Date;c.setDate(c.getDate()+b);document.cookie="tracker_override="+a+(b?"; expires="+c.toUTCString():"")},bKa=function(a,b){if(null!=b)return a.memory.getData(b)},cKa=function(a){a=a.memory.cache.values();return[].concat(u(a)).map(function(b){return b.data})},dKa=function(a,b){if(a&
1){var c=v();L(0);G(1,"iframe",6);N("load",function(){x(c);var d=Q();return y(d.contentLoaded=!0)});I();M()}a&2&&(a=b.$implicit,b=Q(),A(),Qf("loading",!b.contentLoaded),F("src",a,eja))},eKa=function(a){a&1&&K(0,"mat-spinner",7)},gKa=function(a){return fKa.some(function(b){return b.test(a)})},hKa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},lKa=function(a,b){var c=hKa(a);c=(c&&iKa.includes(c)?hKa(a):"en").replaceAll("-","_").toLowerCase();var d;a=(null==(d=a.initializationData)?
0:d.useNightlyRelease)?"nightly":"live";var e;return(null==b?0:null==(e=b.getEnableAlohaBinarySplit)?0:e.call(b))?Ah(jKa,a):Ah(kKa,a,c)},nKa=function(a,b,c,d){if(mKa)return mKa;var e=lKa(a,d);return mKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var l=Mj(document,"SCRIPT");xc(l,e);l.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+
e.toString())};c.body.appendChild(l)})},pKa=function(a,b,c,d){if(oKa)return oKa;var e=lKa(a,d);return oKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var l=Mj(document,"SCRIPT");xc(l,e);l.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},qKa=function(a,b,c,d,e){e=void 0===
e?!0:e;var f,h,l,q,t;return me(function(w){switch(w.nextAddress){case 1:return f=Date.now(),oe(w,nKa(a,c,d,b),2);case 2:h=w.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(t=a.initializationData)?0:t.isLocalServer))){l=h.initializeFeedbackClient(a,f,b);w.jumpTo(3);break}return oe(w,h.initializeFeedbackClientAsync(a,f,b),4);case 4:l=w.yieldResult;case 3:return l.initiateAloha(),w.return(l)}})},rKa=function(a,b,c,d){var e,f,h;return me(function(l){if(1==l.nextAddress)return e=
Date.now(),oe(l,pKa(a,c,d.document,b),2);if(3!=l.nextAddress)return f=l.yieldResult,oe(l,f.initializeFeedbackClientAsync(a,e,b,d),3);h=l.yieldResult;h.initiateAloha();return l.return(h)})},sKa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,f,h,l,q,t,w,B,D,J;return me(function(H){e=c||da;if(null==(f=b)?0:null==(l=(h=f).getEnableAlohaBinarySplit)?0:l.call(h)){q=e;if(q.isFormOpened)throw t=Error("td"),t.name="DuplicateFormError",t;q.isFormOpened=!0;a.callbacks=a.callbacks||{};w=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(O){q.isFormOpened=!1;w(O)};try{return H.return(rKa(a,b,q,e))}catch(O){throw q.isFormOpened=!1,O;}}else{B=e;if(B.isFormOpened)throw D=Error("td"),D.name="DuplicateFormError",D;B.isFormOpened=!0;a.callbacks=a.callbacks||{};J=a.callbacks.onClose||function(){};a.callbacks.onClose=function(O){B.isFormOpened=!1;J(O)};try{return H.return(qKa(a,b,B,e.document,d))}catch(O){throw B.isFormOpened=!1,O;}}})},xKa=function(a,b){return me(function(c){return c.return(new Promise(function(d){var e=
tKa(null!=b?b:"")+"/aloha_form_properties?productId="+a;uKa(e,function(f){f=f.target;var h=null;try{h=Fda(vKa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(l){f=new vKa,h=wKa(),h=Ul(h,7,!0),h=Ul(h,10,!0),h=Ul(h,12,!0),h=Ul(h,13,!1),h=Ul(h,14,!0),h=Ul(h,15,!0),h=Ul(h,20,!1),h=hj(f,ep,1,h)}d(h)},"GET","",{},2E3,!0)}))})},tKa=function(a){return gKa(a)?a:"https://www.google.com/tools/feedback"},yKa=function(a){if(a&1){var b=v();G(0,"button",4);N("click",function(){x(b);var c=Q();return y(c.toggle())});
K(1,"mat-icon",5);I()}a&2&&(a=Q(),Qf("isClosed",a.isClosed),F("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),Hf("aria-label",a.toggleButtonLabel),A(),F("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},zKa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},AKa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},BKa=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(f){return c.partially(f)}:function(f){return c.fully(f)};
return(new X.Observable(function(f){f.next(e(a));var h=b(function(l){f.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(lf())},CKa=function(a,b,c){var d=(void 0===c?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return(0,X.merge)((0,X.of)(void 0),(0,X.fromEvent)(window,"scroll").pipe(jf(500))).pipe(z(function(){return d(a)}),lf())},EKa=function(a){return!!a.match(DKa)&&!a.endsWith("/history")},fp=function(a){return"hyperlink"===
a.type},FKa=function(a){return fp(a)&&EKa(a.href)},HKa=function(a){return fp(a)&&!!a.href.match(GKa)},IKa=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(DKa))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},JKa=function(a){return"issueReference"===a.type},KKa=function(a){return fp(a)&&!FKa(a)&&!(fp(a)&&a.href.startsWith("mailto:"))},LKa=function(a){a&1&&(L(0),K(1,"img",3),V(2,"async"),M());if(a&2){var b;a=Q(2);A();F("src",W(2,
2,a.srcRedirected$),Ye);Hf("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},MKa=function(a){a&1&&(L(0),E(1,LKa,3,4,"ng-container",2),V(2,"async"),M());if(a&2){a=Q();var b=R(3);A();F("ngIf",W(2,2,a.showImage$))("ngIfElse",b)}},NKa=function(a){if(a&1){var b=v();G(0,"a",4);V(1,"async");V(2,"async");N("click",function(c){x(b);var d=Q();return y(d.trigger(c))})("keydown.enter",function(c){x(b);var d=Q();return y(d.trigger(c))});G(3,"b-glue");K(4,"mat-icon",5);I();L(5);S(6);V(7,"async");M();
I()}a&2&&(a=Q(),F("href",W(1,3,a.src$),Ye)("title",W(2,5,a.src$)),A(6),rg(W(7,7,a.srcTruncated$)))},OKa=function(a){a&1&&(K(0,"mat-icon",6),V(1,"async"));a&2&&(a=Q(),eg("matTooltip","Unable to load image ",W(1,2,a.srcTruncated$),""))},PKa=function(a){a&1&&(K(0,"br"),G(1,"a",1),K(2,"b-secure-image-widget",2),I(),K(3,"br"));if(a&2){a=Q();var b=Q();A();F("href",a,Ye)("rel",b.EXTERNAL_LINK_REL);A();F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},QKa=function(a){a&1&&K(0,"b-secure-image-widget",
0);if(a&2){a=Q();var b=Q();F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},RKa=function(a){a&1&&(E(0,PKa,4,5),V(1,"async"),E(2,QKa,1,3,"b-secure-image-widget",0));if(a&2){var b;a=Q();Uf((b=W(1,1,a.displayMode$))===a.DisplayMode.SHOW?0:b===a.DisplayMode.COLLAPSE?2:-1)}},TKa=function(a){if(a&1){var b=v();G(0,"a",8);N("keydown.enter",function(){x(b);var c=Q(2);return y(SKa(c))})("keydown.space",function(){x(b);var c=Q(2);return y(SKa(c))})("click",function(){x(b);var c=Q(2);
return y(SKa(c))});S(1," Dismiss");I()}},UKa=function(a){a&1&&(G(0,"div",4)(1,"div",5),K(2,"span",6),E(3,TKa,2,0,"a",7),I()());a&2&&(a=Q(),A(2),F("innerHtml",a.announcement.message,Xe),A(),F("ngIf",a.announcement.dismissible))},WKa=function(a){if(a&1){var b=v();G(0,"b-resizable-sidebar",9);N("widthChanged",function(c){x(b);var d=Q();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,VKa(d,c));return y()});K(1,"b-sidebar");I()}a&2&&(a=Q(),F("size",a.matSidebarWidth)("disableToggleBtn",!0))},XKa=function(a){switch(a){case "COMFORTABLE":return"d-comfort";
case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},YKa=function(a){a&1&&(G(0,"div",2),S(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. "),G(2,"a",13),S(3," Learn more "),I()());a&2&&(a=Q(2),A(2),F("href",a.getRestrictedAccessHelpLink(),Ye))},$Ka=function(a){a&1&&(L(0),E(1,YKa,4,1,"div",8),M());a&2&&(a=Q(),A(),F("ngIf",ZKa(a)))},aLa=function(a){a&
1&&(G(0,"div",2)(1,"span",14),S(2," You do not have access to view this attachment. "),I()())},bLa=function(a){a&1&&K(0,"mat-spinner",15)},cLa=function(a,b){a&1&&(L(0),G(1,"time",1),V(2,"async"),S(3),I(),M());if(a&2){a=b.ngIf;b=Q();A();var c=If(v(),"padding-left: ",b.paddingLeftPx,"px");yla(wla,xla,c,!1);F("title",a.title);Hf("datetime",W(2,6,b.timestampIso$));A(2);rg(a.formatted)}},eLa=function(a){if(a&1){var b=v();G(0,"button",10);N("click",function(){x(b);var c=Q(2),d=new pi;c.date=d;c.dateSelectionChange.emit(d);
dLa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return y(c.saveClicked.emit())});S(1,"Today");I()}},fLa=function(a){if(a&1){var b=v();G(0,"button",11);N("click",function(){x(b);var c=Q(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return y(c.saveClicked.emit())});S(1,"None");I()}},gLa=function(a){a&1&&(G(0,"div",1),E(1,eLa,2,0,"button",8)(2,fLa,2,0,"button",9),K(3,"mat-divider"),I());a&2&&(a=Q(),A(),F("ngIf",a.todayButtonEnabled),
A(),F("ngIf",a.noneButtonEnabled&&!a.required))},hLa=function(a){a&1&&K(0,"b-formatted-date-time",4);a&2&&(a=Q(),F("date",a.value))},iLa=function(a){a&1&&(L(0),S(1,"---"),M())},jLa=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"mat-checkbox",10);N("change",function(){var d=x(c).$implicit,e=Q();e.focusFilterBox();var f=e.valueMap.get(d);f?e.valueMap.set(d,!1):!1===f?(f=null===e.originalValueMap.get(d),e.valueMap.set(d,f?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});
return y()})("click",function(d){x(c);return y(d.stopPropagation())});S(2);I()()}a&2&&(a=b.$implicit,b=Q(),F("title",b.getDisplayString(a)),A(),F("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),A(),T(" ",b.getDisplayString(a)," "))},lLa=function(a){if(a&1){var b=v();G(0,"input",11,1);N("keydown",function(c){x(b);var d=Q();"Enter"===c.key&&(kLa(d)&&d.addValue(),c.preventDefault());return y()})("click",function(c){x(b);return y(c.stopPropagation())});vg("ngModelChange",function(c){x(b);
var d=Q();ug(d.filterValue,c)||(d.filterValue=c);return y(c)});I()}a&2&&(a=Q(),F("type","REPEATED_NUMERIC"===a.type?"number":"text"),tg("ngModel",a.filterValue),F("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},mLa=function(a){a&1&&K(0,"mat-divider")},nLa=function(a){if(a&1){var b=v();G(0,"div",12);N("click",function(c){x(b);var d=Q();c.stopPropagation();return y(d.addValue())});S(1," Add ");I()}},oLa=function(a){if(a&1){var b=v();G(0,"div")(1,"b-date-time-input",
13);vg("valueChange",function(c){x(b);var d=Q();ug(d.currentSelectedDate,c)||(d.currentSelectedDate=c);return y(c)});I();G(2,"div",14);N("click",function(c){x(b);var d=Q();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return y()});S(3," Add ");I()()}a&2&&(a=Q(),A(),tg("value",a.currentSelectedDate))},pLa=function(a){if(a&1){var b=v();G(0,"div",0);N("keydown",function(c){x(b);var d=Q();
return y(d.processKeydown(c))});dg(1);I()}a&2&&(a=Q(),Rf(a.className),Hf("id",a.id))},qLa=function(a){if(a&1){var b=v();G(0,"div",6);Kd();G(1,"svg",7);K(2,"path",8);I();Ed.currentNamespace=null;G(3,"input",9,0);N("input",function(){x(b);var c=R(4),d=Q();return y(d.filterText$.next(c.value))});I()()}},rLa=function(a){a&1&&Yf(0)},tLa=function(a){if(a&1){var b=v();G(0,"div",12);N("click",function(){x(b);var d=Q(2);return y(d.select(void 0))});E(1,rLa,1,0,"ng-container",13);I()}if(a&2){Q();a=R(4);var c=
Q();F("option",void 0);Hf("aria-selected",c.isSelected(void 0));A();F("ngTemplateOutlet",a)("ngTemplateOutletContext",zg(4,sLa))}},uLa=function(a){a&1&&Yf(0)},wLa=function(a){if(a&1){var b=v();G(0,"div",12);N("click",function(){x(b);var e=Q().$implicit,f=Q(2);return y(f.select(e))});E(1,uLa,1,0,"ng-container",13);I()}if(a&2){a=Q().$implicit;Q();var c=R(4),d=Q();F("option",a);Hf("aria-selected",d.isSelected(a));A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ag(4,vLa,a))}},xLa=function(a,b){a&
1&&(L(0),E(1,wLa,2,6,"div",10),M());a&2&&(a=b.$implicit,A(),F("ngIf",a))},yLa=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q(2).$implicit,A(),T(" ",a," "))},zLa=function(a){a&1&&(G(0,"span",15),S(1,"--"),I())},ALa=function(a){a&1&&(L(0),E(1,yLa,2,1,"ng-container",14)(2,zLa,2,0,"ng-template",null,3,Eg),M());if(a&2){a=R(3);var b=Q().$implicit;A();F("ngIf",null!=b)("ngIfElse",a)}},BLa=function(a){a&1&&Yf(0)},CLa=function(a){a&1&&E(0,BLa,1,0,"ng-container",13);if(a&2){a=Q().$implicit;var b=Q(2);F("ngTemplateOutlet",
b.optionTemplate)("ngTemplateOutletContext",Ag(2,vLa,a))}},DLa=function(a){a&1&&E(0,ALa,4,2,"ng-container",14)(1,CLa,1,4,"ng-template",null,2,Eg);if(a&2){a=R(2);var b=Q(2);F("ngIf",!b.optionTemplate)("ngIfElse",a)}},ELa=function(a,b){a&1&&(L(0),E(1,tLa,2,5,"div",10)(2,xLa,2,1,"ng-container",11)(3,DLa,3,2,"ng-template",null,1,Eg),M());a&2&&(a=b.ngIf,b=Q(),A(),F("ngIf",b.includeEmptyOption),A(),F("ngForOf",a))},FLa=function(a){a&1&&Yf(0)},HLa=function(a){a&1&&(L(0),E(1,FLa,1,0,"ng-container",11),M());
a&2&&(a=Q(),A(),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ag(2,GLa,a.value)))},ILa=function(a){a&1&&Yf(0)},JLa=function(a){a&1&&(L(0),E(1,ILa,1,0,"ng-container",11),M());a&2&&(a=Q(2),A(),F("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Ag(2,GLa,a.value)))},KLa=function(a){a&1&&E(0,JLa,2,4,"ng-container",7);if(a&2){a=Q();var b=R(8);F("ngIf",a.optionTemplate)("ngIfElse",b)}},LLa=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q(2),A(),T(" ",a.value," "))},MLa=function(a){a&
1&&(G(0,"span",12),S(1,"--"),I())},NLa=function(a){a&1&&E(0,LLa,2,1,"ng-container",7)(1,MLa,2,0,"ng-template",null,4,Eg);if(a&2){a=R(2);var b=Q();F("ngIf",null!=b.value)("ngIfElse",a)}},OLa=function(a){a&1&&(Kd(),G(0,"svg",13),K(1,"path",14),I())},PLa=function(a){a&1&&(G(0,"div"),S(1," The selected issues have no custom fields in common. "),I())},QLa=function(a){a&1&&(G(0,"span"),S(1,"*"),I())},RLa=function(a){if(a&1){var b=v();G(0,"input",16);vg("ngModelChange",function(c){x(b);var d=Q(2).$implicit;
ug(d.textValue,c)||(d.textValue=c);return y(c)});I()}a&2&&(a=Q(2).$implicit,Q(),tg("ngModel",a.textValue),Hf("aria-labelledby",gp(a)))},SLa=function(a){if(a&1){var b=v();G(0,"input",17);vg("ngModelChange",function(c){x(b);var d=Q(2).$implicit;ug(d.numericValue,c)||(d.numericValue=c);return y(c)});I()}a&2&&(a=Q(2).$implicit,Q(),tg("ngModel",a.numericValue),Hf("aria-labelledby",gp(a)))},ULa=function(a){if(a&1){var b=v();G(0,"div")(1,"b-date-time-input",18);N("valueChange",function(e){x(b);var f=Q(2).$implicit;
Q();return y(f.dateValue=e?Fn(e):void 0)});I()()}if(a&2){var c;a=Q(2).$implicit;var d=Q();A();F("value",null!==(c=TLa(a.dateValue))&&void 0!==c?c:void 0)("required",d.isCustomFieldRequired(a))("customAriaLabelledBy",gp(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},WLa=function(a){if(a&1){var b=v();G(0,"onedev-single-select",19);vg("valueChange",function(d){x(b);var e=Q(2).$implicit;ug(e.enumValue,d)||(e.enumValue=d);return y(d)});I()}if(a&2){var c;a=Q(2).$implicit;Q();tg("value",a.enumValue);
F("options",null!==(c=a.allowedValue)&&void 0!==c?c:zg(3,VLa));Hf("aria-labelledby",gp(a))}},YLa=function(a){if(a&1){var b=v();G(0,"b-bulk-repeated-field-picker",20);N("onSave",function(e){x(b);var f=Q(2).$implicit,h=Q();return y(XLa(h,f.customFieldId,e))});I()}if(a&2){var c;a=Q(2).$implicit;var d=Q();F("type",d.getCustomFieldType(a))("originalValueMap",d.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(c=a.allowedValue)&&void 0!==c?c:zg(3,VLa))}},ZLa=function(a){a&1&&(L(0,10),
E(1,RLa,1,2,"input",11)(2,SLa,1,2,"input",12)(3,ULa,2,4,"div",13)(4,WLa,1,4,"onedev-single-select",14)(5,YLa,1,4,"b-bulk-repeated-field-picker",15),M());if(a&2){a=Q().$implicit;var b=Q();F("ngSwitch",b.getCustomFieldType(a));A();F("ngSwitchCase","TEXT");A();F("ngSwitchCase","NUMERIC");A();F("ngSwitchCase","DATE");A();F("ngSwitchCase","ENUM")}},$La=function(a){if(a&1){var b=v();G(0,"span");S(1," Multiple values ");I();G(2,"a",21);N("click",function(){x(b);var c=Q().$implicit,d=Q();return y(d.clearCustomFieldValue(c))});
S(3,"X");I()}},aMa=function(a,b){a&1&&(G(0,"div",6)(1,"div",7)(2,"label",8),S(3),E(4,QLa,2,0,"span",2),I()(),E(5,ZLa,6,5,"ng-template",9)(6,$La,4,0,"ng-template",null,0,Eg),I());a&2&&(a=b.$implicit,b=R(7),Q(),A(2),F("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]"),Hf("id",gp(a)),A(),T(" ",a.name," "),A(),F("ngIf",a.required),A(),F("ngIf",!a.hasMultipleValues)("ngIfElse",b))},bMa=function(a){a&1&&dg(0,4)},dMa=function(a){a&1&&(G(0,"div",11),K(1,"input",12),G(2,"div",13),Kd(),G(3,"svg",
14),K(4,"path",15),I(),Ed.currentNamespace=null,K(5,"div",16),I()());a&2&&(a=Q(),Qf("mdc-checkbox--disabled",a.disabled),A(),F("checked",a.selected)("disabled",a.disabled))},eMa=function(a){a&1&&(G(0,"div",17),K(1,"input",18),G(2,"div",19),K(3,"div",20)(4,"div",21),I()());a&2&&(a=Q(),Qf("mdc-radio--disabled",a.disabled),A(),F("checked",a.selected)("disabled",a.disabled))},fMa=function(){},gMa=function(a){a&1&&(G(0,"span",4),E(1,fMa,0,0,"ng-template",6),I());a&2&&(Q(),a=R(3),A(),F("ngTemplateOutlet",
a))},hMa=function(){},iMa=function(a){a&1&&(G(0,"span",5),E(1,hMa,0,0,"ng-template",6),I());a&2&&(Q(),a=R(5),A(),F("ngTemplateOutlet",a))},jMa=function(){},kMa=function(a){a&1&&E(0,jMa,0,0,"ng-template",6);a&2&&(Q(),a=R(1),F("ngTemplateOutlet",a))},lMa=function(){},mMa=function(a){a&1&&(G(0,"span",9),E(1,lMa,0,0,"ng-template",6),I());a&2&&(Q(),a=R(3),A(),F("ngTemplateOutlet",a))},nMa=function(){},oMa=function(a){a&1&&(G(0,"span",9),E(1,nMa,0,0,"ng-template",6),I());a&2&&(Q(),a=R(5),A(),F("ngTemplateOutlet",
a))},pMa=function(){},qMa=function(a){a&1&&E(0,pMa,0,0,"ng-template",6);a&2&&(Q(),a=R(1),F("ngTemplateOutlet",a))},rMa=function(a){a&1&&K(0,"img",9);a&2&&(a=Q(),F("src",a.person.imageUrl,Ye)("alt",a.person.name+"'s profile picture"))},sMa=function(a){a&1&&(G(0,"div",10),S(1),I());a&2&&(a=Q(),A(),T(" ",a.person.email," "))},tMa=function(a){a&1&&(G(0,"div",11)(1,"onedev-chip",12),K(2,"mat-icon",13),S(3),I()());a&2&&(a=Q(),A(3),T("",a.outOfOfficeDescription," "))},uMa=function(a){a&1&&(G(0,"li"),S(1),
I());a&2&&(a=Q(2),A(),rg(a.person.title))},vMa=function(a){a&1&&K(0,"li",18)},wMa=function(a){a&1&&(G(0,"li"),S(1),I());a&2&&(a=Q(2),A(),rg(a.person.department))},xMa=function(a){a&1&&(L(0),K(1,"mat-icon",14),G(2,"div",15)(3,"ul",16),E(4,uMa,2,1,"li",8)(5,vMa,1,0,"li",17)(6,wMa,2,1,"li",8),I()(),M());a&2&&(a=Q(),A(4),F("ngIf",a.person.title),A(),F("ngIf",a.person.title&&a.person.department),A(),F("ngIf",a.person.department))},yMa=function(a){a&1&&(L(0),K(1,"mat-icon",19),G(2,"div",15),S(3),I(),M());
a&2&&(a=Q(),A(3),rg(a.person.location))},zMa=function(a){a&1&&(L(0),K(1,"mat-icon",20),G(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),S(6,"Teams"),I()(),K(7,"li",18),G(8,"li")(9,"a",21),S(10,"Calendar"),I()(),K(11,"li",18),G(12,"li")(13,"a",21),S(14,"CLs"),I()(),K(15,"li",18),G(16,"li")(17,"a",21),S(18,"Readability"),I()()()(),M());a&2&&(a=Q(),A(5),F("href","https://moma.corp.google.com/person/"+a.person.ldap,Ye),A(4),F("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",
Ye),A(4),F("href","https://critique.corp.google.com/"+a.person.ldap,Ye),A(4),F("href","https://icanread.corp.google.com/s/"+a.person.ldap,Ye))},AMa=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},BMa=function(a){if(null!=a.queryParams){var b={},c;for(c in a.queryParams)void 0!==a.queryParams[c]&&(b[c]=a.queryParams[c]);a.queryParams=b}},CMa=function(a,b,c){c=void 0===c?{}:c;b=k(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=k(d.value);d=e.next().value;
e=e.next().value;d in a&&(c[e]=a[d])}return c},DMa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},EMa=function(a,b){return hp(b,a)},FMa=function(a,b,c){b[a]=c},GMa=function(){return{}},LMa=function(a,b){var c=new a;return null==b?c:HMa(b,IMa,JMa,KMa,a)},IMa=function(a,b){return b[a]},JMa=function(a,b,c){b.Serializable$values[a]=c},KMa=function(a){if(null==a)throw Error("Ad");return new a},HMa=function(a,b,c,d,e){e=
d(e);for(var f=MMa(a,e),h=f.arrays||{},l=f.objects||{},q=f.objectMaps||{},t=k(f.keys||[]),w=t.next(),B={};!w.done;B={mapMetadata:void 0},w=t.next()){w=w.value;var D=b(w,a);if(null!=D){var J=void 0;if(h.hasOwnProperty(w)){if(f.emptyArrayIsUnset&&0===D.length)continue;J=NMa(D,b,c,d,!0,!0,h[w])}else if(l.hasOwnProperty(w))J=NMa(D,b,c,d,!1,!0,l[w]);else if(q.hasOwnProperty(w))B.mapMetadata=q[w],J=B.mapMetadata.isPropertyArray?D.map(function(H){return function(O){return OMa(O,H.mapMetadata,b,c,d)}}(B)):
OMa(D,B.mapMetadata,b,c,d);else if(Array.isArray(D)){if(f.emptyArrayIsUnset&&0===D.length)continue;J=NMa(D,b,c,d,!0,!1)}else J=D;c(w,e,J)}}return e},OMa=function(a,b,c,d,e){for(var f={},h=k(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a[l];null!=q&&(f[l]=NMa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},NMa=function(a,b,c,d,e,f,h){if(f&&null==h)throw Error("Bd");if(null==a)return a;var l;e&&f?l=a.map(function(q){return HMa(q,b,c,d,h)}):e&&!f?l=a.map(function(q){return q}):
l=!e&&f?HMa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return l},MMa=function(a,b){if(b instanceof ip)a=DMa(b.getPartialClassMetadata());else if(a instanceof ip)a=DMa(a.getPartialClassMetadata());else throw Error("Cd");return a},QMa=function(a){return a&&PMa.test(a)?a.split("@")[0]:""},RMa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},SMa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===
(null==(c=b.metadata)?void 0:c.container)}):null},TMa=function(a,b){return a.map(function(c){var d,e,f,h=null==(e=null==b?void 0:null==(d=b.matches)?void 0:d.find(function(J){return J.lookupId===c}))?void 0:null==(f=e.personId)?void 0:f[0];if(!h)return{ldap:QMa(c),name:"",email:c};var l;d=null==b?void 0:null==(l=b.people)?void 0:l[h];var q;h=null==(q=SMa(null==d?void 0:d.email))?void 0:q.value;var t,w;q=null==d?void 0:null==(t=d.name)?void 0:null==(w=t[0])?void 0:w.displayName;var B,D;t=null==d?void 0:
null==(B=d.photo)?void 0:null==(D=B[0])?void 0:D.url;w=RMa(null==d?void 0:d.organization);B=null==w?void 0:w.title;D=null==w?void 0:w.department;w=null==w?void 0:w.location;return{ldap:QMa(h),email:h||c||"",name:q||"",imageUrl:t,title:B,department:D,location:w}})},UMa=function(){},XMa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=VMa?VMa:VMa=WMa(a)},YMa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},WMa=function(a){a=void 0===a?{}:
a;var b;return me(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):oe(c,ZMa(Ah($Ma),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("Dd");return b.client&&b.client.load?c.jumpTo(3):oe(c,YMa(),3)}return c.return(b)})},aNa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},cNa=function(a,b){b=void 0===b?0:b;var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now()<b){if(bNa.has(a))return bNa.get(a);
b=Promise.resolve(c.reloadAuthResponse()).finally(function(){bNa.delete(a)});bNa.set(a,b);return b}return Promise.resolve()},dNa=function(a,b){var c;return a.client.init({apiKey:b.apiKey,clientId:b.clientId,scope:b.scope,discoveryDocs:b.discoveryDocs,hostedDomain:b.hostedDomain,fetchBasicProfile:null!=(c=b.fetchBasicProfile)?c:!0})},eNa=function(a,b){a&1&&(G(0,"div",1),Kd(),G(1,"svg",2)(2,"g"),K(3,"path",3),I()(),Ed.currentNamespace=null,G(4,"span",4),S(5),I()());a&2&&(a=b.ngIf,Hf("aria-label",a)("title",
a),A(5),rg(a))},fNa=function(a,b){a&1&&(G(0,"onedev-person-hovercard-body",1),V(1,"async"),dg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),dg(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),I());a&2&&(a=b.ngIf,b=Q(),F("person",a)("outOfOfficeDescription",W(1,2,b.outOfOfficeDescription$)))},gNa=function(a){a&1&&(G(0,"onedev-person-hovercard",2,0),dg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),
I());if(a&2){a=R(1);var b=Q();F("email",b.email)("enableWaldo",!0)("onedevIsHovercardReady",a.init)}},hNa=function(a){a&1&&Yf(0)},iNa=function(a){a&1&&(L(0),G(1,"span",3),E(2,hNa,1,0,"ng-container",4),I(),G(3,"onedev-hovercard",null,1),K(5,"b-person-card",5),I(),M());if(a&2){a=R(4);var b=Q(),c=R(2);A();F("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.email);A();F("ngTemplateOutlet",c);A(3);F("email",b.email)}},jNa=function(a){a&1&&dg(0)},kNa=function(a){a&1&&K(0,"waldo-availability-chip",
1);a&2&&(a=Q(),F("user",a.user),Hf("coinonly",a.coinonly))},jp=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},lNa=function(a){var b=[];a=[].concat.apply([],u(a.map(function(e){return e.actions})));a=k(a);for(var c=a.next(),d={};!c.done;d={action$jscomp$46:void 0},c=a.next())d.action$jscomp$46=c.value,b.some(function(e){return function(f){return ki(e.action$jscomp$46,f)}}(d))||b.push(d.action$jscomp$46);return b},mNa=function(a){return Array.from(new Set([].concat.apply([],
u(a.map(function(b){return b.issueIds})))))},nNa=function(a){return{encryptedMedia:yca(kp(a,1)),errorMessage:a.getErrorMessage()}},pNa=function(a){var b=new oNa;lp(b,1,ab(a.attachment,!1,!0,!1));if(void 0!==a.contentJudgement){var c=b.setContentJudgement;a=a.contentJudgement;a=(new mp).setIt(Dxa(a));c.call(b,a)}return b},rNa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(qNa)}},qNa=function(a){if(null!=a)return Oxa(a.getIt())},sNa=function(a,b){a&1&&(G(0,"li"),S(1),
I());a&2&&(a=b.$implicit,A(),rg(a))},tNa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},uNa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},np=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},op=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},vNa=function(a,b){var c;return new Map(null!=(c=null==a?void 0:a.map(function(d){return[b(d),
d]}))?c:[])},wNa=function(a,b){return op([].concat(u(a.keys())),function(c){return b(a.get(c))})},xNa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},yNa=function(a){var b;return(null==a?void 0:null==(b=a.userData)?void 0:b.starred)||!1},zNa=function(a){var b;return(null==a?void 0:null==(b=a.userData)?void 0:b.lastViewedTimeMicros)||0},ANa=function(a){var b;return null==(b=fo(a))?void 0:b.title},BNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:
b.status)?c:void 0},CNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.priority)?c:void 0},DNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.assigneeUser)?c:void 0},ENa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.reporterUser)?c:void 0},FNa=function(a){var b;a=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.teamId;return Ci(a)},GNa=function(a){var b;a=null==(b=fo(a))?void 0:b.componentId;return Ci(a)},HNa=function(a){var b,c;return null!=(c=null==(b=
fo(a))?void 0:b.ccUsers)?c:[]},INa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},JNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.collaboratorsUsers)?c:[]},KNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.type)?c:void 0},LNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.foundInVersion)?c:[]},MNa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.targetedToVersion)?c:[]},NNa=function(a){var b,
c;return null!=(c=null==(b=fo(a))?void 0:b.changelist)?c:[]},ONa=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.postmortems)?c:[]},PNa=function(a){var b;return(null==(b=fo(a))?void 0:b.inProd)||!1},QNa=function(a){var b;return null==(b=fo(a))?void 0:b.effort},RNa=function(a){var b;return null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount},SNa=function(a){var b;return(null==a?void 0:null==(b=a.userData)?void 0:b.voted)||!1},UNa=function(a){return TNa(a)},TNa=function(a){var b,
c;return null!=(c=null==(b=ao(a))?void 0:b.isDeleted)?c:!1},WNa=function(a){return VNa(a)},VNa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},XNa=function(a){return(a=null==a?void 0:a.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},ZNa=function(a){return YNa(a)},YNa=function(a){var b,c;return null!=(c=null==(b=ao(a))?void 0:b.retention)?c:void 0},$Na=function(a){var b,c;return null!=(c=null==(b=fo(a))?void 0:b.duplicateOfIssueId)?c:void 0},bOa=function(a){return aOa(a)},
aOa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},cOa=function(a){var b;return Ci(null==a?void 0:null==(b=a.aggregatedData)?void 0:b.sloId)},dOa=function(a){var b;return null==a?void 0:null==(b=a.aggregatedData)?void 0:b.createdTimeMicros},eOa=function(a){return null==a?void 0:a.effortSpec},fOa=function(a){a=eOa(a);return!(!a||!a.name&&!a.inherit)},gOa=function(a){return null==a?void 0:a.componentPathInfo},hOa=function(a){if(!a)return{};
var b,c=k(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=k(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?d:[]);a.next();d=a.next().value;return{commentNumber:Bi(b),commentVersion:Bi(d)}},jOa=function(a,b){if(iOa[a])return iOa[a][b]},kOa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},nOa=function(a){if(a&1){var b=v();L(0,3);G(1,"onedev-hovercard-action",4);V(2,"async");N("onAction",function(){x(b);var e=
Q();return y(lOa(e))});G(3,"span");S(4);I()();G(5,"onedev-hovercard-action",4);V(6,"async");N("onAction",function(){x(b);var e=Q();return y(mOa(e))});G(7,"span");S(8);I()();M()}if(a&2){var c,d;a=Q();A();F("disabled",null!==(c=W(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);A(3);rg(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");A();F("disabled",null!==(d=W(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);A(3);rg(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},
oOa=function(a){a&1&&(L(0),K(1,"b-availability-chip",4),M());a&2&&(a=Q(2).ngIf,A(),F("user",a.email))},pOa=function(a){a&1&&(L(0),S(1),M(),E(2,oOa,2,1,"ng-container",2));if(a&2){a=Q().ngIf;var b=Q();A();rg(a.content);A();F("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},qOa=function(a){a&1&&Yf(0)},rOa=function(a){a&1&&(L(0),G(1,"span",5),E(2,qOa,1,0,"ng-container",6),I(),G(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",7),I(),M());if(a&2){a=R(4);var b=Q().ngIf,c=R(2),d=Q();
A();F("onedevHovercardTrigger",a);Hf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);A();F("ngTemplateOutlet",c);A(3);F("email",b.email)}},sOa=function(a,b){a&1&&(L(0),E(1,pOa,3,2,"ng-template",null,0,Eg)(3,rOa,6,4,"ng-container",3),M());if(a&2){a=b.ngIf;b=R(2);var c=Q();A(3);F("ngIf",c.hovercardEnabled&&c.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},tOa=function(a){a&1&&K(0,"b-user-display-name",2);a&2&&(a=Q(),F("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",
a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},uOa=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(),A(),rg(a.getDisplayString()))},vOa=function(a){a&1&&Yf(0)},wOa=function(a){a&1&&(L(0),G(1,"span",4),E(2,vOa,1,0,"ng-container",5),I(),G(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",6),I(),M());if(a&2){a=R(4);var b=Q().ngIf,c=R(3);A();F("onedevHovercardTrigger",a);A();F("ngTemplateOutlet",c);A(3);F("email",b.email)}},yOa=function(a){a&1&&(L(0),K(1,"img",8),
M());a&2&&(a=Q(2).ngIf,Q(),A(),F("src",xOa[a.email],Ye))},zOa=function(a){a&1&&K(0,"img",11);a&2&&(a=Q(3).ngIf,F("src",a.src,Ye)("srcset",a.srcset))},AOa=function(a){a&1&&(G(0,"span",9),E(1,zOa,1,2,"img",10),I());a&2&&(a=Q(2).ngIf,Qf("anonymous",!a.showImage),A(),F("ngIf",a.showImage))},COa=function(a){a&1&&E(0,yOa,2,1,"ng-container",2)(1,AOa,2,3,"span",7);if(a&2){a=Q().ngIf;var b=Q();F("ngIf",a.email&&BOa(b,a.email));A();F("ngIf",!BOa(b,a.email))}},DOa=function(a,b){a&1&&(L(0),E(1,wOa,6,3,"ng-container",
3)(2,COa,2,2,"ng-template",null,0,Eg),M());if(a&2){a=b.ngIf;b=R(3);var c=Q();A();F("ngIf",c.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},EOa=function(a){a&1&&(G(0,"div",8),K(1,"b-spinner"),I())},FOa=function(a){a&1&&K(0,"code",22);a&2&&(a=Q(2).$implicit,Q(2),F("innerHtml",wh(a.formattingModeDiff),Xe))},GOa=function(a){a&1&&(G(0,"code",23),S(1),I());a&2&&(a=Q(2).$implicit,A(),T(" ",a.formattingMode," "))},HOa=function(a){a&1&&(G(0,"p",19),S(1," Formatting: "),E(2,FOa,1,1,"code",20)(3,GOa,2,1,"code",
21),I());a&2&&(a=Q(3),A(2),F("ngIf",a.diffView),A(),F("ngIf",!a.diffView))},IOa=function(a){if(a&1){var b=v();G(0,"div")(1,"span",24)(2,"b-person-hovercard",25);V(3,"omitObfuscatedEmail");S(4);V(5,"appendDomain");I()();G(6,"a",26);N("click",function(c){x(b);var d=Q().$implicit,e=Q(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return y()});S(7);I()()}a&2&&(a=Q().$implicit,Q(2),A(2),F("email",W(3,7,Zk(a.lastEditorUser))),
A(2),T(" <",W(5,9,Zk(a.lastEditorUser)),"> "),A(2),Jf("aria-label","Comment version ",a.version,""),eg("id","bv2-edit-issue-comment-",a.version,""),A(),T(" #",a.version,""))},JOa=function(a){a&1&&(G(0,"div",30),S(1),I());a&2&&(a=Q(2).$implicit,A(),rg(a.preview))},KOa=function(a){a&1&&(G(0,"div",31),S(1,"Comment deleted."),I())},LOa=function(a){a&1&&(G(0,"div",32),S(1,"Comment history restricted."),I())},MOa=function(a){a&1&&(L(0),E(1,JOa,2,1,"div",27)(2,KOa,2,0,"div",28)(3,LOa,2,0,"div",29),M());
a&2&&(a=Q().$implicit,A(),F("ngIf",!a.restricted&&!a.deleted),A(),F("ngIf",!a.restricted&&a.deleted),A(),F("ngIf",a.restricted))},NOa=function(a){a&1&&(G(0,"div",35),S(1,"Comment deleted."),I())},OOa=function(a){a&1&&(K(0,"div",36),V(1,"async"));if(a&2){a=Q(2).$implicit;var b=Q(2);Qf("codefont",W(1,3,b.codefont.codefont$));F("innerHtml",a.unlinkifiedComment,Xe)}},POa=function(a){a&1&&(K(0,"div",36),V(1,"async"));if(a&2){a=Q(2).$implicit;var b=Q(2);Qf("codefont",W(1,3,b.codefont.codefont$));F("innerHtml",
wh(a.diff),Xe)}},QOa=function(a){a&1&&(G(0,"div",32),S(1," This comment is not available due to present or past restrictions on the comment. "),I())},ROa=function(a){a&1&&(L(0),E(1,NOa,2,0,"div",33)(2,OOa,2,5,"div",34)(3,POa,2,5,"div",34)(4,QOa,2,0,"div",29),M());if(a&2){a=Q().$implicit;var b=Q(2);A();F("ngIf",!a.restricted&&a.deleted);A();F("ngIf",!b.diffView&&!a.restricted&&!a.deleted);A();F("ngIf",b.diffView&&!a.restricted&&!a.deleted);A();F("ngIf",a.restricted)}},SOa=function(a,b){if(a&1){var c=
v();G(0,"li",11)(1,"div",12);K(2,"b-user-image",13);I();G(3,"div",14);N("click",function(){var d=x(c).$implicit;return y(d.open=!d.open)});K(4,"b-user-display",15)(5,"b-formatted-date-time",16);E(6,HOa,4,2,"p",17)(7,IOa,8,11,"div",18)(8,MOa,4,3,"ng-container",18);I();E(9,ROa,5,4,"ng-container",18);I()}a&2&&(a=b.$implicit,Q(2),Qf("comment-version-open",a.open),A(2),F("email",Zk(a.lastEditorUser)),A(2),F("model",a.lastEditorUser),A(),F("timestamp",a.lastModified),A(),F("ngIf",!a.deleted),A(),F("ngIf",
a.open),A(),F("ngIf",!a.open),A(),F("ngIf",a.open))},TOa=function(a){a&1&&(G(0,"ul",9),E(1,SOa,10,9,"li",10),I());a&2&&(a=Q(),A(),F("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},UOa=function(a){a&1&&K(0,"b-user-image",6);a&2&&(a=Q(),F("email",a.email))},VOa=function(a){a&1&&Yf(0)},WOa=function(a){a&1&&(L(0),G(1,"span",7),E(2,VOa,1,0,"ng-container",8),I(),G(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",9),I(),M());if(a&2){a=R(4);var b=Q(),c=R(4);A();F("onedevHovercardTrigger",a);A();
F("ngTemplateOutlet",c);A(3);F("email",b.email)}},XOa=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(),A(),a.ldapOnly?(a=a.email,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):a=a.email,rg(a))},YOa=function(a){a&1&&(G(0,"span",10),K(1,"b-availability-chip",11),I());a&2&&(a=Q(),A(),F("user",a.email))},ZOa=function(a){a&1&&K(0,"b-icon",9)},$Oa=function(a){a&1&&K(0,"b-user-image",10);a&2&&(a=Q(2),F("email",a.email))},
aPa=function(a){a&1&&(L(0),E(1,ZOa,1,0,"b-icon",8),V(2,"async"),E(3,$Oa,1,1,"ng-template",null,1,Eg),M());if(a&2){a=R(4);var b=Q();A();F("ngIf",b.enableGroupIcon&&W(2,2,b.isGroup$))("ngIfElse",a)}},bPa=function(a){a&1&&K(0,"b-user-display-name",11);a&2&&(a=Q(),F("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},cPa=function(a){a&1&&Yf(0)},dPa=function(a){a&1&&(L(0),G(1,"span",13),E(2,cPa,1,0,"ng-container",14),I(),G(3,"onedev-hovercard",null,3),K(5,"b-issue-person-card",
15),I(),M());if(a&2){a=R(4);Q();var b=R(2),c=Q();A();F("onedevHovercardTrigger",a);A();F("ngTemplateOutlet",b);A(3);F("email",c.email)}},ePa=function(a){a&1&&(G(0,"span",16),S(1),I());a&2&&(a=Q(2),A(),rg(a.email))},fPa=function(a){a&1&&E(0,dPa,6,3,"ng-container",12)(1,ePa,2,1,"ng-template",null,2,Eg);if(a&2){a=R(2);var b=Q();F("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",a)}},gPa=function(a){a&1&&(K(0,"mat-icon",17),V(1,"async"),V(2,"async"));if(a&2){var b,c;a=Q();F("svgIcon",null!==(b=W(1,
2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=W(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},hPa=function(a){a&1&&(L(0),K(1,"b-availability-chip",18),M());a&2&&(a=Q(),A(),F("user",a.email))},kPa=function(a,b){var c=new iPa;a=pp(c,a,b);jPa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return yh("span",{"class":"diff-removed"},d);case 1:return yh("span",{"class":"diff-added"},d);case 0:return yh("span",{"class":void 0},d);default:throw Error("Id`"+e);}});return xh(c)},lPa=function(a){var b;
return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},mPa=function(a){return new Set(a.map(function(b){return oi(b)}))},qp=function(a,b,c){return a.has(b)?c:""},nPa=function(a,b,c){return a.has(b)?c:[]},rp=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},qPa=function(a){if(!a)return"";var b=oPa.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=pPa.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},sPa=function(a){if(!a)return"";var b=a.inherit,c=rPa.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},tPa=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},uPa=function(a){a&1&&(G(0,"li")(1,"a",4),S(2," Create an issue in this component"),I()());a&2&&(a=Q(2),A(),F("href",a.createIssueUrl,Ye))},
vPa=function(a,b){a&1&&(L(0),G(1,"h3"),S(2),I(),G(3,"p"),S(4),I(),K(5,"b-component-access-level-indicator",3),G(6,"p"),S(7),I(),G(8,"ul")(9,"li")(10,"a",4),S(11," View recent open issues"),I()(),E(12,uPa,3,1,"li",2),G(13,"li")(14,"a",4),S(15," View component"),I()()(),M());a&2&&(a=b.ngIf,b=Q(),A(2),rg(a.name),A(2),T("ID: ",b.componentId,""),A(),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),A(2),rg(a.description),A(3),F("href",b.recentIssuesUrl,Ye),A(2),F("ngIf",
!b.isAnonymous),A(2),F("href",b.viewComponentUrl,Ye))},wPa=function(a){a&1&&(G(0,"span",4),S(1),I());a&2&&(a=Q(),A(),rg(a.placeholder))},xPa=function(a){a&1&&dg(0)},yPa=function(a){a&1&&(G(0,"span",11),S(1),I());a&2&&(a=Q(2),A(),rg(a.triggerValue))},zPa=function(a){a&1&&(G(0,"span",5),E(1,xPa,1,0)(2,yPa,2,1,"span",11),I());a&2&&(a=Q(),A(),Uf(a.customTrigger?1:2))},APa=function(a){if(a&1){var b=v();G(0,"div",12,1);N("@transformPanel.done",function(c){x(b);var d=Q();return y(d._panelDoneAnimatingStream.next(c.toState))})("keydown",
function(c){x(b);var d=Q();return y(d._handleKeydown(c))});dg(2,1);I()}a&2&&(a=Q(),Tf("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",a._getPanelTheme(),""),F("ngClass",a.panelClass)("@transformPanel","showing"),Hf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},BPa=function(a,b){a&1&&(G(0,"mat-option",16),S(1),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",a," "))},CPa=function(a){if(a&1){var b=
v();G(0,"mat-form-field",13)(1,"mat-select",15);N("selectionChange",function(c){x(b);var d=Q(2);return y(d._changePageSize(c.value))});Wf(2,BPa,2,2,"mat-option",16,Vf);I()()}a&2&&(a=Q(2),F("appearance",a._formFieldAppearance)("color",a.color),A(),F("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),A(),Xf(a._displayedPageSizeOptions))},DPa=function(a){a&1&&(G(0,
"div",14),S(1),I());a&2&&(a=Q(2),A(),rg(a.pageSize))},EPa=function(a){a&1&&(G(0,"div",2)(1,"div",12),S(2),I(),E(3,CPa,4,7,"mat-form-field",13)(4,DPa,2,1,"div",14),I());a&2&&(a=Q(),A(),Hf("id",a._pageSizeLabelId),A(),T(" ",a._intl.itemsPerPageLabel," "),A(),Uf(1<a._displayedPageSizeOptions.length?3:-1),A(),Uf(1>=a._displayedPageSizeOptions.length?4:-1))},FPa=function(a){if(a&1){var b=v();G(0,"button",17);N("click",function(){x(b);var c=Q();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return y()});
Kd();G(1,"svg",7);K(2,"path",18);I()()}a&2&&(a=Q(),F("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),Hf("aria-label",a._intl.firstPageLabel))},GPa=function(a){if(a&1){var b=v();G(0,"button",19);N("click",function(){x(b);var c=Q();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return y()});Kd();G(1,"svg",7);K(2,"path",
20);I()()}a&2&&(a=Q(),F("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),Hf("aria-label",a._intl.lastPageLabel))},HPa=function(a){if(a&1){var b=v();G(0,"mat-paginator",4);N("page",function(c){x(b);var d=Q(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return y()});I()}a&2&&(a=Q(),F("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},
IPa=function(a,b){if(a&1){var c=v();G(0,"li")(1,"a",5);N("click",function(){var e=x(c).$implicit,f=Q();return y(f.onVisit.emit(e))});S(2);I();G(3,"onedev-hovercard",null,0);K(5,"b-component-card",6);I()()}if(a&2){a=b.$implicit;b=R(4);var d=Q();A();F("onedevHovercardTrigger",b)("href",d.paths.manageComponent(a.componentId),Ye);A();T(" ",a.name," ");A(3);F("componentId",a.componentId.toString())}},JPa=function(a){if(a&1){var b=v();G(0,"button",6);N("click",function(){x(b);var c=Q();return y(c.onClickCopyIssueShortLinks.emit())});
S(1);I()}a&2&&(a=Q(),A(),T(" Copy '",a.shortLinkPrefix,"'' links "))},KPa=function(a){if(a&1){var b=v();G(0,"div",2)(1,"button",3);N("click",function(){x(b);var c=Q();return y(c.action())});S(2);I()()}a&2&&(a=Q(),A(2),rg(a.data.action))},LPa=function(){},MPa=function(a,b){a&1&&(G(0,"span",6)(1,"a",7),S(2),I(),G(3,"onedev-hovercard",null,0),K(5,"b-component-card",8),I()());a&2&&(a=b.$implicit,b=R(4),A(),F("onedevHovercardTrigger",b)("routerLinkObj",a.route),A(),rg(a.name),A(3),F("componentId",a.id.toString()))},
NPa=function(a){a&1&&(G(0,"span",9),S(1,"[Archived]"),I())},sp=function(a,b){b=void 0===b?il:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,f=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,l){var q;l=null!=(q=f[l])?q:String(h);q=b(h);return{id:h,name:l,route:q}})},OPa=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),rg(a.text))},PPa=function(a){a&1&&(G(0,"span"),K(1,"b-component-access-level-indicator",2),I());a&2&&(a=Q().$implicit,A(),F("accessLevel",
a.accessLevel))},QPa=function(a,b){a&1&&(G(0,"span"),E(1,OPa,2,1,"span",1)(2,PPa,2,1,"span",1),I());a&2&&(a=b.$implicit,Q(),A(),F("ngIf",void 0!==a.text),A(),F("ngIf",void 0===a.text))},SPa=function(a,b){var c=RPa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},TPa=function(a){if(a&1){var b=v();G(0,"div");K(1,"br");G(2,"mat-checkbox",8);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.acknowledged,c)||(d.acknowledged=c);
return y(c)});I();G(3,"span");S(4,"All information in this issue is suitable for external sharing.");I()()}a&2&&(a=Q(),A(2),tg("ngModel",a.acknowledged))},UPa=function(a){if(a&1){var b=v();G(0,"button",9);N("click",function(){x(b);var c=Q();return y(c.allow())});S(1," Move Issue ");I()}a&2&&(a=Q(),F("disabled",!a.acknowledged))},VPa=function(a){if(a&1){var b=v();G(0,"a",18);N("click",function(){x(b);var c=Q().$implicit,d=Q();return y(d.showChildren(c))});K(1,"mat-icon",19);I()}},WPa=function(a){if(a&
1){var b=v();G(0,"a",20);N("click",function(){x(b);var c=Q().$implicit;return y(c.showChildren=!1)});K(1,"mat-icon",21);I()}},YPa=function(a){a&1&&(G(0,"a",22),S(1," (Recent Issues) "),I());if(a&2){a=Q().$implicit;var b=Q();F("href",b.paths.listIssues(Ag(1,XPa,"status:open componentid:"+a.componentId)),Ye)}},ZPa=function(a){a&1&&(G(0,"span"),S(1,"[Archived]"),I())},$Pa=function(a){a&1&&(G(0,"a",23),S(1," Create issue "),I());if(a&2){a=Q().$implicit;var b=Q();F("href",b.paths.createIssue()+"?component="+
a.componentId,Ye)}},aQa=function(a){a&1&&(G(0,"div",28),S(1," No child components found. "),I())},bQa=function(a){a&1&&(G(0,"div",29),K(1,"b-spinner"),I())},cQa=function(a){if(a&1){var b=v();G(0,"component-subtree-list",30);N("childClosed",function(d){x(b);var e=Q(3);return y(e.onSubtreeChildClosed(d))});I()}if(a&2){a=Q(2).$implicit;var c=Q();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},dQa=function(a){a&1&&(G(0,"div",24),
E(1,aQa,2,0,"div",25)(2,bQa,2,0,"div",26)(3,cQa,1,4,"component-subtree-list",27),I());a&2&&(a=Q().$implicit,A(),F("ngIf",a.noChildren),A(),F("ngIf",!(a.noChildren||a.children)),A(),F("ngIf",a.children))},eQa=function(a,b){if(a&1){var c=v();G(0,"li",2);N("click",function(d){var e=x(c).$implicit,f=Q();return y(f.setSelected(e.componentId,d))});G(1,"div",3);K(2,"div",4);G(3,"div",5);E(4,VPa,2,0,"a",6)(5,WPa,2,0,"a",7);I();G(6,"div",8)(7,"div")(8,"a",9);S(9);I();E(10,YPa,2,3,"a",10)(11,ZPa,2,0,"span",
11);K(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);I();G(14,"div",14);S(15);I()();G(16,"div",15);E(17,$Pa,2,1,"a",16);I()();E(18,dQa,4,3,"div",17);I()}a&2&&(a=b.$implicit,b=Q(),eg("id","component-",a.componentId,""),A(4),F("ngIf",!a.showChildren),A(),F("ngIf",a.showChildren),A(3),F("href",b.paths.viewComponent(a.componentId),Ye),A(),T(" ",a.name," "),A(),F("ngIf",!a.archived),A(),F("ngIf",a.archived),A(),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),
A(),F("trackerId",a.trackerId),A(2),rg(a.description),A(2),F("ngIf",!a.archived),A(),F("ngIf",a.showChildren))},fQa=function(a){if(a&1){var b=v();G(0,"a",18);N("click",function(){x(b);var c=Q().$implicit,d=Q();return y(d.showChildren(c))});K(1,"mat-icon",19);I()}},gQa=function(a){if(a&1){var b=v();G(0,"a",20);N("click",function(){x(b);var c=Q().$implicit;return y(c.showChildren=!1)});K(1,"mat-icon",21);I()}},iQa=function(a){a&1&&(G(0,"a",22),S(1," (Recent Issues) "),I());if(a&2){a=Q().$implicit;var b=
Q();F("href",b.paths.listIssues(Ag(1,hQa,"status:open componentid:"+a.componentId)),Ye)}},jQa=function(a){a&1&&(G(0,"span"),S(1,"[Archived]"),I())},kQa=function(a){a&1&&(G(0,"a",23),S(1," Create issue "),I());if(a&2){a=Q().$implicit;var b=Q();F("href",b.paths.createIssue()+"?component="+a.componentId,Ye)}},lQa=function(a){a&1&&(G(0,"div",28),S(1," No child components found. "),I())},mQa=function(a){a&1&&(G(0,"div",29),K(1,"b-spinner"),I())},nQa=function(a){if(a&1){var b=v();G(0,"component-subtree-list",
30);N("childClosed",function(d){x(b);var e=Q(3);return y(e.onSubtreeChildClosed(d))});I()}if(a&2){a=Q(2).$implicit;var c=Q();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},oQa=function(a){a&1&&(G(0,"div",24),E(1,lQa,2,0,"div",25)(2,mQa,2,0,"div",26)(3,nQa,1,4,"component-subtree-list",27),I());a&2&&(a=Q().$implicit,A(),F("ngIf",a.noChildren),A(),F("ngIf",!(a.noChildren||a.children)),A(),F("ngIf",a.children))},pQa=function(a,
b){if(a&1){var c=v();G(0,"li",2);N("click",function(d){var e=x(c).$implicit,f=Q();return y(f.setSelected(e.componentId,d))});G(1,"div",3);K(2,"div",4);G(3,"div",5);E(4,fQa,2,0,"a",6)(5,gQa,2,0,"a",7);I();G(6,"div",8)(7,"div")(8,"a",9);S(9);I();E(10,iQa,2,3,"a",10)(11,jQa,2,0,"span",11);K(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);I();G(14,"div",14);S(15);I()();G(16,"div",15);E(17,kQa,2,1,"a",16);I()();E(18,oQa,4,3,"div",17);I()}a&2&&(a=b.$implicit,b=Q(),F("id","component-"+
a.componentId),A(4),F("ngIf",!a.showChildren),A(),F("ngIf",a.showChildren),A(3),F("href",b.paths.viewComponent(a.componentId),Ye),A(),T(" ",a.name," "),A(),F("ngIf",!a.archived),A(),F("ngIf",a.archived),A(),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),A(),F("trackerId",a.trackerId),A(2),rg(a.description),A(2),F("ngIf",!a.archived),A(),F("ngIf",a.showChildren))},qQa=function(a){a&1&&(G(0,"div",10),Kd(),G(1,"svg",12),K(2,"path",13),I(),G(3,"svg",14),K(4,"path",15),I()())},up=
function(a){return(null!=a?a:[]).map(tp)},wp=function(a){return(null!=a?a:[]).map(vp)},tp=function(a){if(null==a)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;null!=b?(a="USER",b=Zk(b)):null!=c?(a="GROUP",b=Zk(c)):null!=d?(a="ALIAS",b=d):b="";return void 0===a||""===b?"":a+":"+b},xp=function(a){return(null!=a?a:[]).map(tp)},rQa=function(a){return(null!=a?a:[]).map(vp)},vp=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Jd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};
case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Kd`"+b);}},yp=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},zp=function(a){return{admins:up(a.admins),editors:up(a.editors),appenders:up(a.appenders),readers:up(a.readers),restrictedReaders:up(a.restrictedReaders),restrictedPlusReaders:up(a.restrictedPlusReaders),inheritedAdmins:up(a.inheritedAdmins),implicitAccess:a.implicitAccess||
null}},Ap=function(a){return{admins:wp(a.admins),editors:wp(a.editors),appenders:wp(a.appenders),readers:wp(a.readers),restrictedReaders:wp(a.restrictedReaders),restrictedPlusReaders:wp(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},sQa=function(a){for(var b={},c=k(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=d.split("."),f=b,h=k(e.slice(0,e.length-1)),l=h.next();!l.done;l=h.next())l=l.value,f[l]||(f[l]={}),f=f[l];f[e[e.length-1]]=a[d]}return b},Bp=function(a){return null==
a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},wQa=function(){var a=Cp("gapi.config.get");if((a=Bp(a&&a("googleapis.config/sessionIndex")))||(a=Bp(da.__X_GOOG_AUTHUSER))||(a=Bp(Cp("google.authuser"))))return a;var b=da.location.href||"",c=tQa.exec(b);try{a=Bp(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=uQa.exec(b);try{a=Bp(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=vQa.exec(b);return(a=Bp(a&&a[1]))?a:""},xQa=function(){var a=Cp("gapi.auth.getToken");
a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=Cp("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}},yQa=function(a){a=void 0===a?"":a;var b;if(!(b=xQa())){b=a;var c=void 0===c?wQa():c;a={};var d=Dp([]);d&&(a.Authorization=d);b||(b=(b=Cp("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=
String(c));b=a}return b},zQa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=Cp("gapi.config.get"))?(c=c("oauth-flow/authUrl"))&&(0<c.indexOf("staging")||0<c.indexOf("test"))?2:1:0,c=2===c;c&&(b=7);switch(b){case 7:b="dev-";c="-googleapis.corp";break;case 1:b="autopush-";c="-googleapis.sandbox";break;case 2:b="staging-";c="-googleapis.sandbox";break;default:b="",c=".clients6"}a="https://"+b+a+c+".google.com";(b=(b=Cp("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},
BQa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return da.setTimeout(c,b)})).then(function(){return AQa(a-1,2*b)})},AQa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=da;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return BQa(a,b);da.gapi||(da.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,f){d.load("client",function(){d.client?e(d):f("gapi.client missing")})})},CQa=function(){var a=void 0===
a?"":a;var b=void 0===b?wQa():b;var c=Cp("gapi.config.update");c("googleapis.config/auth/useFirstPartyAuth",!0);c("googleapis.config/auth/useFirstPartyAuthV2",!0);b&&c("googleapis.config/sessionIndex",b);a&&c("client/apiKey",a)},DQa=function(a){return(new Ep).setEventType(2).setRpcType(2).setLookupType(a)},EQa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},Fp=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},Gp=function(a){var b=void 0===b?FQa:b;var c=Ca(a),d=function(e){e=
k(e);e.next();e=Be(e);return b(c,e)};return function(){var e=pd.apply(0,arguments),f=this||da,h=GQa.get(f);h||(h={},GQa.set(f,h));f=h;h=[this].concat(u(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var l=k(h);h=l.next().value;l=Be(l);h=a.apply(h,l);f=f[e]=h}return f}},JQa=function(a,b,c,d,e){e=void 0===e?"":e;a=new Hp(a,b);e&&(a.destinationUrl=e);d&&HQa(a,function(){return yQa().Authorization});a.setProductID(109303191);c&&c.length&&(d=new IQa,Ip(d,3,c),a.setClearExperimentIds(d));
return a.build()},Lp=function(a,b,c,d){Jp.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;KQa(this.transport_,this.id_);d&&Kp(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},LQa=function(a){var b={};if(a){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},NQa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return MQa(b.name,
b.email)}).join(", "):""},QQa=function(a,b,c){var d=[];a&&(OQa("name",a.name,b,d,c),OQa("phone",a.phone,b,d,c),OQa("photo",a.photo,b,d,c));return d.map(function(e){return new PQa(e)})},OQa=function(a,b,c,d,e){if(b){b=k(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,"CONTACT"!==Cp("metadata.containerType",f)){var h=f;var l=c,q=d,t=e,w=Cp("metadata.encodedContainerId",h),B=Cp("metadata.containerType",h);l.contains(w,B)?h=l.get(w,B)||0:(h=q.length,l.set(w,B,h),q.push({}),t.push(w));l=q[h];l[a]=
l[a]||[];l[a].push(f)}}},SQa=function(a,b){if(a){a=RQa(a);for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasValue()&&(!b||b(d.getMetaData())))return d.getValue()}}return null},TQa=function(a,b){if(a){a=a.getPhoto();for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasUrl()&&(!b||b(d.getMetaData())))return d.getUrl()}}return null},UQa=function(a){this.query_=a;this.error_=0},XQa=function(a,b){for(var c=[],d=a.length,e=0,f=[],h,l,q=0;q<d;){switch(e){case 0:var t=a.indexOf("<",
q);if(0>t){if(0===c.length)return a;c.push(a.substring(q));q=d}else c.push(a.substring(q,t)),l=t,q=t+1,VQa?(WQa.lastIndex=q,t=WQa.exec(a)):(WQa.lastIndex=0,t=WQa.exec(a.substring(q))),t?(f=["<",t[0]],h=t[1],e=1,q+=t[0].length):c.push("<");break;case 1:t=a.charAt(q++);switch(t){case "'":case '"':var w=a.indexOf(t,q);0>w?q=d:(f.push(t,a.substring(q,w+1)),q=w+1);break;case ">":f.push(t);c.push(b(f.join(""),h));e=0;f=[];l=h=null;break;default:f.push(t)}break;default:throw Error();}1===e&&q>=d&&(q=l+1,
c.push("<"),e=0,f=[],l=h=null)}return c.join("")},Np=function(a,b){b=a(b||YQa,void 0);a=Mp();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=ZQa(b),$Qa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},ZQa=function(a){return Ba(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof tc)?a:aRa("zSoyz"):aRa(String(a))},Pp=function(a,b,c,d,e,f,h){this.serverBase_="string"===typeof a?new Op(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=
e;this.testGaia_=!!f;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},bRa=function(a){a=a.getEmail();if(!a)return!1;for(var b=k(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},fRa=function(a,b,c){a=a.filter(cRa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=dRa(new eRa(c),
b,c.length);return a.concat(b.map(function(d){return d.contact}))},gRa=function(a){a&1&&(K(0,"div"),V(1,"lowercase"));a&2&&(a=Q(3),Tf("bv2-edit-icon ",W(1,3,a.type),""))},hRa=function(a){a&1&&(G(0,"div")(1,"label"),S(2),I(),E(3,gRa,2,5,"div",16),I());a&2&&(a=Q(2),Tf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),A(2),T(" ",a.title," "),A(),F("ngIf",!a.readonly&&!a.disabled))},iRa=function(a){a&1&&Yf(0)},jRa=function(a){if(a&1){var b=v();G(0,"div",19);N("menuClosed",function(){x(b);
var d=Q(3);return y(Qp(d,null,!1,!0))});E(1,iRa,1,0,"ng-container",20);I()}if(a&2){Q(2);a=R(7);Q();var c=R(7);F("matMenuTriggerFor",c);A();F("ngTemplateOutlet",a)}},lRa=function(a,b){a&1&&(G(0,"a",24),S(1),I());a&2&&(a=b.ngIf,b=Q(4),Kf("aria-label","customfield",b.customFieldId,":",a,""),F("queryParams",Ag(5,kRa,"customfield"+b.customFieldId+':"'+a+'"')),A(),T(" ",a," "))},mRa=function(a){a&1&&S(0," -- ")},nRa=function(a){if(a&1){var b=v();G(0,"div",21);E(1,lRa,2,7,"a",22)(2,mRa,1,0,"ng-template",
null,5,Eg);K(4,"br");G(5,"button",23);N("menuClosed",function(){x(b);var e=Q(3);return y(Qp(e,null,!1,!0))});S(6," Edit ");I()()}if(a&2){a=R(3);var c=Q(3),d=R(7);A();F("ngIf",c.getDisplayValue(""))("ngIfElse",a);A(4);Jf("aria-label","Edit item for ",c.title,"");F("matMenuTriggerFor",d)}},oRa=function(a){a&1&&(L(0),E(1,jRa,2,2,"div",18)(2,nRa,7,5,"ng-template",null,4,Eg),M());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",!(b.enableCustomFieldSearchImprovements&&50<b.choices.length)||0===b.customFieldId)("ngIfElse",
a)}},pRa=function(a){a&1&&Yf(0)},qRa=function(a){a&1&&(G(0,"div",25),E(1,pRa,1,0,"ng-container",20),I());a&2&&(Q(),a=R(7),A(),F("ngTemplateOutlet",a))},rRa=function(a){a&1&&K(0,"b-user-membership-chip",33);a&2&&(a=Q(5),F("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},sRa=function(a){a&1&&K(0,"b-user-image",34);a&2&&(a=Q(5),F("email",a.value))},tRa=function(a){a&1&&(G(0,"span",35)(1,"b-person-hovercard",36),S(2),I()());a&2&&(a=Q(5),A(),F("email",a.value),A(),T(" ",a.getDisplayValue("--"),
" "))},uRa=function(a){a&1&&(L(0),G(1,"div",29),E(2,rRa,1,4,"b-user-membership-chip",30)(3,sRa,1,1,"b-user-image",31)(4,tRa,3,2,"span",32),I(),M());a&2&&(a=Q(4),A(2),F("ngIf",a.enableTeamAnnotations&&!!a.value),A(),F("ngIf",!a.enableTeamAnnotations&&!!a.value),A(),F("ngIf",!a.enableTeamAnnotations))},vRa=function(a){a&1&&(G(0,"div"),E(1,uRa,5,3,"ng-container",11),I());a&2&&(a=Q(3),A(),F("ngIf",a.isUser))},wRa=function(a){a&1&&K(0,"b-truncated-span",41);a&2&&(a=Q(4),F("maxWidth",150)("modelValue",
a.getDisplayValue("--"))("disabled",!a.truncate))},xRa=function(a){a&1&&K(0,"b-truncated-span",42);a&2&&(a=Q(4),F("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},yRa=function(a){a&1&&K(0,"b-truncated-span",41);a&2&&(a=Q(4),Tf("chippy status-",a.value,""),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},zRa=function(a){a&1&&K(0,"div",43)},ARa=function(a){a&1&&(G(0,"div"),E(1,wRa,1,3,"b-truncated-span",
37)(2,xRa,1,4,"b-truncated-span",38)(3,yRa,1,6,"b-truncated-span",39)(4,zRa,1,0,"div",40),I());a&2&&(a=Q(3),A(),F("ngIf","Priority"!==a.title&&"Status"!==a.title),A(),F("ngIf","Priority"===a.title),A(),F("ngIf","Status"===a.title),A(),F("ngIf",!a.title&&!a.readonly&&!a.disabled))},BRa=function(a){a&1&&(G(0,"div",44),K(1,"mat-icon",45),I())},CRa=function(a){a&1&&(G(0,"div",46),K(1,"mat-icon",47),I())},ERa=function(a){if(a&1){var b=v();G(0,"div",26,6);N("keydown",function(c){x(b);var d=Q(2);return y(DRa(d,
c))})("click",function(c){x(b);var d=Q(2);return y(Qp(d,c,!0,!1))});E(2,vRa,2,1,"div",11)(3,ARa,5,4,"div",11)(4,BRa,2,0,"div",27)(5,CRa,2,0,"div",28);I()}a&2&&(a=Q(2),Qf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),A(2),F("ngIf",a.isUser),A(),F("ngIf",!a.isUser),A(),F("ngIf","ENUM"!=a.type),A(),F("ngIf","ENUM"==a.type))},FRa=function(a){if(a&1){var b=v();G(0,"div",15,2);N("click",function(c){x(b);var d=Q();return y(Qp(d,c,!0,!1))})("keydown",function(c){x(b);var d=Q();
return y(DRa(d,c))})("keydown.escape",function(){x(b);var c=R(2);return y(c.hide())});E(3,hRa,4,5,"div",16)(4,oRa,4,2,"ng-container",11)(5,qRa,2,1,"div",17)(6,ERa,6,8,"ng-template",null,3,Eg);I()}a&2&&(a=Q(),Tf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),Qf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),Kf("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),F("matTooltip",a.getTooltip()),Hf("aria-disabled",!1),A(3),F("ngIf",a.title),A(),F("ngIf","ENUM"===
a.type),A(),F("ngIf","ENUM"!==a.type))},GRa=function(a){if(a&1){var b=v();G(0,"div",51);N("click",function(){x(b);var c=Q(2);return y(c.setFieldValue(!c.value))});G(1,"label");S(2);I()()}a&2&&(a=Q(2),Tf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),A(2),rg(a.title))},IRa=function(a){if(a&1){var b=v();G(0,"div",48);E(1,GRa,3,4,"div",49);G(2,"b-slide-toggle",50);N("modelChange",function(){x(b);var d=Q();return y(d.setFieldValue(!d.value))});I()()}if(a&2){var c;a=Q();Tf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",
a.name,"");F("ngClass",Bg(10,HRa,a.disabled,a.readonly))("matTooltip",a.getTooltip());Hf("aria-disabled",!1);A();F("ngIf",a.title);A();F("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},JRa=function(a){a&1&&K(0,"b-availability-chip",53);a&2&&(a=Q(2),F("user",a.value))},KRa=function(a){a&1&&(L(0),E(1,JRa,1,1,"b-availability-chip",52),M());a&2&&(a=Q(),A(),F("ngIf",a.value&&a.enableWaldoAvailability))},LRa=function(a){if(a&1){var b=v();G(0,"button",
56);N("click",function(){x(b);var c=Q(2);return y(c.clearFieldValue())});G(1,"span",57);K(2,"mat-icon",58);I();S(3," \u00a0 ");I()}a&2&&(a=Q(2),Qf("b-menu-item-checked",null==a.value),F("disabled",null==a.value))},MRa=function(a){a&1&&(G(0,"span",62),S(1),I());a&2&&(a=Q().$implicit,A(),rg(a.hotkey.displayAs))},NRa=function(a,b){if(a&1){var c=v();G(0,"button",59);N("click",function(){var d=x(c).$implicit,e=Q(2);return y(e.setFieldValue(d.value))})("onHotkey",function(){var d=x(c).$implicit,e=Q(2);
e.setFieldValue(d.value);return y(e.enumMenuTrigger.closeMenu())});G(1,"span",60)(2,"span",57);K(3,"mat-icon",58);I();S(4);E(5,MRa,2,1,"span",61);I()()}a&2&&(a=b.$implicit,b=Q(2),Qf("b-menu-item-checked",b.value==a.value),F("disabled",b.value==a.value)("matTooltip",a.altText||"")("hotkey",a.hotkey),Hf("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),A(4),T(" ",a.displayText," "),A(),F("ngIf",a.hotkey&&b.showHotkeyHint))},ORa=function(a){a&1&&E(0,LRa,4,3,"button",54)(1,
NRa,6,9,"button",55);a&2&&(a=Q(),F("ngIf",a.clearable),A(),F("ngForOf",a.choices))},PRa=function(a){a&1&&Yf(0)},QRa=function(a){a&1&&Yf(0)},RRa=function(a){if(a&1){var b=v();G(0,"div",51);N("click",function(d){x(b);return y(d.stopPropagation())});G(1,"b-date-time-picker-content",67);N("dateSelectionChange",function(d){x(b);var e=Q(2);return y(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){x(b);var d=Q(2);return y(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){x(b);
var d=Q(2);return y(Qp(d,null,!1,!1))});I()()}if(a&2){var c;a=Q(2);A();F("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},TRa=function(a){if(a&1){var b=v();G(0,"textarea",76);vg("ngModelChange",function(c){x(b);var d=Q(4);ug(d.textBuffer,c)||(d.textBuffer=c);return y(c)});N("keydown",function(c){x(b);var d=Q(4);return y(SRa(d,c))});I()}a&2&&(a=Q(4),tg("ngModel",a.textBuffer),Hf("aria-label",a.title))},VRa=function(a){if(a&1){var b=v();G(0,"input",
77);vg("ngModelChange",function(c){x(b);var d=Q(4);ug(d.textBuffer,c)||(d.textBuffer=c);return y(c)});N("keydown",function(c){x(b);var d=Q(4);return y(URa(d,c))});I()}a&2&&(a=Q(4),tg("ngModel",a.textBuffer),Hf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},WRa=function(a){a&1&&(G(0,"div"),E(1,TRa,1,2,"textarea",74)(2,VRa,1,3,"input",75),I());a&2&&(a=Q(3),A(),F("ngIf",a.multiline),A(),F("ngIf",!a.multiline))},XRa=function(a){if(a&1){var b=v();G(0,"textarea",80);vg("ngModelChange",
function(c){x(b);var d=Q(4);ug(d.textBuffer,c)||(d.textBuffer=c);return y(c)});N("keydown",function(c){x(b);var d=Q(4);return y(SRa(d,c))})("autocompleteActive",function(c){x(b);var d=Q(4);return y(d.autocompleteActive=c)});I()}a&2&&(a=Q(4),tg("ngModel",a.textBuffer),F("bContactAutocomplete","MULTI"),Hf("aria-label",a.title))},YRa=function(a){if(a&1){var b=v();G(0,"input",81);vg("ngModelChange",function(c){x(b);var d=Q(4);ug(d.textBuffer,c)||(d.textBuffer=c);return y(c)});N("keydown",function(c){x(b);
var d=Q(4);return y(URa(d,c))})("autocompleteActive",function(c){x(b);var d=Q(4);return y(d.autocompleteActive=c)});I()}a&2&&(a=Q(4),tg("ngModel",a.textBuffer),F("bContactAutocomplete","SINGLE"),Hf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},ZRa=function(a){a&1&&(G(0,"div"),E(1,XRa,1,3,"textarea",78)(2,YRa,1,4,"input",79),I());a&2&&(a=Q(3),A(),F("ngIf",a.multiline),A(),F("ngIf",!a.multiline))},aSa=function(a){if(a&1){var b=v();G(0,"div",68);N("click",function(c){x(b);return y(c.stopPropagation())});
E(1,WRa,3,2,"div",11)(2,ZRa,3,2,"div",11);G(3,"div",69)(4,"button",70);N("click",function(){x(b);var c=Q(2);return y($Ra(c))});K(5,"mat-icon",71);I();G(6,"button",72);N("click",function(c){x(b);var d=Q(2);return y(Qp(d,c,!1,!0))});K(7,"mat-icon",73);I()();G(8,"div",44);K(9,"mat-icon",45);I()()}a&2&&(a=Q(2),A(),F("ngIf",!a.isUser),A(),F("ngIf",a.isUser),A(2),Jf("aria-label","Apply change to ",a.title,""),eg("matTooltip","Apply change to ",a.title,""),F("disabled",a.value==a.textBuffer),A(2),Jf("aria-label",
"Discard change to ",a.title,""),eg("matTooltip","Discard change to ",a.title,""))},bSa=function(a){a&1&&(G(0,"div",63,7),E(2,PRa,1,0,"ng-container",64)(3,QRa,1,0,"ng-container",64)(4,RRa,2,2,"div",65)(5,aSa,10,11,"div",66),I());a&2&&(a=Q(),Tf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),F("ngSwitch",a.type),A(2),F("ngSwitchCase","ENUM"),A(),F("ngSwitchCase","BOOL"),A(),F("ngSwitchCase","DATE"))},cSa=function(a){switch(null==a?void 0:a.type){case "ENUM":return"ENUM";case "DATE":return"DATE";
case "TEXT":return"TEXT";case "NUMERIC":return"NUMERIC";default:return null}},dSa=function(a,b){a&1&&(G(0,"span",9),S(1," by "),K(2,"b-user-display-name",10),I());a&2&&(a=b.ngIf,A(2),F("email",a)("hovercardEnabled",!1))},eSa=function(a,b){a&1&&(G(0,"div")(1,"span"),S(2),I(),K(3,"b-formatted-date-time",11),I());a&2&&(a=b.ngIf,b=Q().ngIf,A(2),rg(b.pending?"Created on: ":"Submitted on: "),A(),F("timestamp",a))},fSa=function(a,b){a&1&&(L(0),K(1,"br"),S(2),M());a&2&&(a=b.$implicit,A(2),T("",a," "))},gSa=
function(a,b){a&1&&(L(0),G(1,"div",3)(2,"a",4),S(3," CL "),G(4,"span"),S(5),I()(),E(6,dSa,3,2,"span",5),K(7,"br")(8,"br"),E(9,eSa,4,2,"div",2),G(10,"div",6),K(11,"div",7)(12,"br"),G(13,"div"),S(14," Affected files: "),E(15,fSa,3,1,"ng-container",8),I()()(),M());a&2&&(a=b.ngIf,b=Q(),A(2),F("href","http://critique.corp.google.com/"+b.changelistId,Ye),A(3),rg(b.changelistId),A(),F("ngIf",a.author),A(3),F("ngIf",a.timestamp),A(2),F("innerHTML",a.description,Xe),A(4),F("ngForOf",a.affectedFiles))},hSa=
function(a){a&1&&K(0,"b-changelist-card",5,1);if(a&2){a=R(1);var b=Q();F("onedevIsHovercardReady",a.init)("changelistId",b.changelistId)}},iSa=function(a){a&1&&K(0,"b-changelist-chip",0);a&2&&(a=Q(),F("changelistId",a.changelist))},jSa=function(a){a&1&&K(0,"b-gerrit-change-chip",1);a&2&&(a=Q(),F("gerritChange",a.gerritChange))},kSa=function(a){a&1&&K(0,"b-changelist-card",4,1);if(a&2){a=R(1);var b=Q();F("onedevIsHovercardReady",a.init)("changelistId",b.id)}},lSa=function(a){if(a&1){var b=v();G(0,
"mat-checkbox",9);N("click",function(d){x(b);return y(d.stopPropagation())})("change",function(){x(b);var d=Q().$implicit,e=Q();return y(e.toggleSelection(d))});S(1);I()}if(a&2){a=Q().$implicit;var c=Q();F("checked",c.selectedValuesMap[a]);A();T(" ",a," ")}},mSa=function(a){a&1&&(G(0,"div",10),S(1),I());a&2&&(a=Q().$implicit,A(),T(" ",a," "))},nSa=function(a,b){a&1&&(G(0,"mat-option",6),E(1,lSa,2,2,"mat-checkbox",7)(2,mSa,2,1,"div",8),I());a&2&&(a=b.$implicit,b=Q(),F("value",a),A(),F("ngIf",b.allowMultiSelect),
A(),F("ngIf",!b.allowMultiSelect))},pSa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"button",12);N("click",function(){x(b);var c=Q();return y(oSa(c))})("keydown.enter",function(){x(b);var c=Q();return y(oSa(c))});K(2,"mat-icon",13);I();G(3,"button",14);N("click",function(){x(b);var c=Q();return y(c.cancel())})("keydown.esc",function(){x(b);var c=Q();return y(oSa(c))});K(4,"mat-icon",15);I()()}a&2&&(a=Q(),A(),Jf("aria-label","Apply changes to ",a.customFieldTitle,""),F("disabled",!a.hasPendingChanges),
A(2),Jf("aria-label","Discard changes to ",a.customFieldTitle,""))},qSa=function(a){if(a&1){var b=v();G(0,"a",15);N("click",function(){x(b);var c=Q();return y(c.trackClick("viewTeamAssociationOnComponent"))});G(1,"button",11);S(2,"View team association on component");I()()}a&2&&(a=Q(),F("href",a.manageComponentLink(),Ye))},rSa=function(a){if(a&1){var b=v();G(0,"a",6);N("click",function(){x(b);var d=Q(2);return y(d.trackClick("viewTeamInMoma"))});G(1,"span");S(2);K(3,"mat-icon",7);I()()}if(a&2){a=
Q(2);var c=R(3);eg("href","https://moma.corp.google.com/team/",a.teamId,"",Ye);F("onedevHovercardTrigger",c);Hf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");A();Hf("id",a.teamLinkId);A();T("",a.teamName?a.teamName:a.teamId," ")}},sSa=function(a){a&1&&(G(0,"span",8),S(1),I());if(a&2){a=Q(2);var b=R(3);F("onedevHovercardTrigger",b);A();rg(a.teamName?a.teamName:a.teamId)}},tSa=function(a){a&1&&(L(0),E(1,rSa,4,7,"a",4)(2,sSa,2,2,
"span",5),M());a&2&&(a=Q(),A(),F("ngIf",a.anchorLinkEnabled),A(),F("ngIf",!a.anchorLinkEnabled))},uSa=function(a){a&1&&K(0,"span",11)},vSa=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(2),A(),rg(a.teamNotAssignedMessage))},wSa=function(a){a&1&&E(0,uSa,1,0,"span",9)(1,vSa,2,1,"span",10);a&2&&(a=Q(),F("ngIf","0"!=a.teamId),A(),F("ngIf","0"==a.teamId))},xSa=function(a){a&1&&K(0,"b-icon",7);a&2&&(a=Q(),F("name",a.iconName))},ySa=function(a){a&1&&(G(0,"span",8),S(1),I());a&2&&(a=Q(),A(),rg(a.title))},
zSa=function(a){a&1&&(G(0,"div",9),S(1,"\u00a0"),I())},DSa=function(a){var b=a.cloneNode(!0),c=b.querySelectorAll("[id]"),d=a.nodeName.toLowerCase();b.removeAttribute("id");for(var e=0;e<c.length;e++)c[e].removeAttribute("id");"canvas"===d?ASa(a,b):("input"===d||"select"===d||"textarea"===d)&&BSa(a,b);CSa("canvas",a,b,ASa);CSa("input, textarea, select",a,b,BSa);return b},CSa=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])},BSa=function(a,
b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+ESa++)},ASa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},FSa=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}},GSa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},Rp=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},
HSa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=.05*a.width,l=.05*a.height;return c>a.top-l&&c<e+l&&b>f-h&&b<d+h},ISa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var f=void 0;a.setProperty(d,e,(null==(f=c)?0:f.has(d))?"important":"")}else a.removeProperty(d)}},Sp=function(a,b){var c=b?"":"none";ISa(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})},KSa=function(a,b){ISa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},JSa)},LSa=function(a,b){return b&&"none"!=b?a+" "+b:a},MSa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},OSa=function(a){a=getComputedStyle(a);var b=NSa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=NSa(a,"transition-duration");a=NSa(a,"transition-delay");return MSa(c[b])+
MSa(a[b])},NSa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},PSa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},Tp=function(a){return"t"===a.type[0]},QSa=function(a,b){a=a.rootNodes;if(1===a.length&&a[0].nodeType===b.ELEMENT_NODE)return a[0];var c=b.createElement("div");a.forEach(function(d){return c.appendChild(d)});return c},RSa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=PSa(b.left,
b.top)},Up=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}},SSa=function(a,b){var c=a.top,d=a.bottom;a=.05*a.height;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},TSa=function(a,b){var c=a.left,d=a.right;a=.05*a.width;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},USa=function(a){a&1&&(G(0,"label"),S(1),I());a&2&&(a=Q(),A(),T(" ",a.title," "))},VSa=function(a){a&1&&K(0,"mat-icon",27)},XSa=function(a,
b){a&1&&(G(0,"div",31),Yf(1,32),I());if(a&2){a=b.$implicit;b=b.index;Q(2);var c=R(14);A();F("ngTemplateOutletContext",Bg(2,WSa,a,b))("ngTemplateOutlet",c)}},ZSa=function(a){a&1&&(G(0,"collapsible-panel",28),E(1,XSa,2,5,"div",29),Yf(2,30),I());if(a&2){a=Q();var b=R(16);F("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);A();F("ngForOf",YSa(a))("ngForTrackBy",a.trackByIndex);A();F("ngTemplateOutlet",b)}},$Sa=function(a,b){a&1&&(G(0,"div",31),
Yf(1,32),I());if(a&2){a=b.$implicit;b=b.index;Q(2);var c=R(14);A();F("ngTemplateOutletContext",Bg(2,WSa,a,b))("ngTemplateOutlet",c)}},aTa=function(a){a&1&&(G(0,"div"),S(1,"--"),I())},bTa=function(a){a&1&&(L(0),E(1,$Sa,2,5,"div",29),Yf(2,30),E(3,aTa,2,0,"div",20),M());if(a&2){a=Q();var b=R(16);A();F("ngForOf",YSa(a))("ngForTrackBy",a.trackByIndex);A();F("ngTemplateOutlet",b);A();F("ngIf",!(null==a.values?0:a.values.length))}},eTa=function(a){if(a&1){var b=v();G(0,"button",39);N("menuOpened",function(){x(b);
var d=Q(3);cTa(d);d.enumPendingValues=new Set(d.values||[]);return y()})("menuClosed",function(){x(b);var d=Q(3);return y(dTa(d))});S(1,"Edit ");I()}if(a&2){a=Q(3);var c=R(18);Jf("aria-label","Add item to ",a.title,"");F("matMenuTriggerFor",c)}},fTa=function(a){a&1&&(G(0,"button",40),S(1,"Edit "),I());if(a&2){a=Q(3);var b=R(25);Jf("aria-label","Edit items for ",a.title,"");F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},gTa=function(a){a&1&&(L(0),E(1,eTa,2,3,"button",37)(2,
fTa,2,4,"button",38),M());a&2&&(a=Q(2),A(),F("ngIf",!Vp(a)),A(),F("ngIf",Vp(a)))},hTa=function(a){a&1&&(G(0,"button",41),S(1,"Add "),I());if(a&2){a=Q(2);var b=R(23);Jf("aria-label","Add item to ",a.title,"");F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},iTa=function(a){if(a&1){var b=v();G(0,"button",42);N("beforeOpened",function(){x(b);var d=Q(2);return y(d.invalidMessage="")});S(1,"Add ");I()}if(a&2){a=Q(2);var c=R(21);Jf("aria-label","Add item to ",a.title,"");eg("dialogLabel",
"Add item to ",a.title,"");eg("matTooltip","Add item to ",a.title,"");F("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},jTa=function(a){a&1&&(L(0,33),E(1,gTa,3,2,"ng-container",34)(2,hTa,2,4,"button",35)(3,iTa,2,8,"button",36),M());a&2&&(a=Q(),F("ngSwitch",a.type),A(),F("ngSwitchCase","REPEATED_ENUM"),A(),F("ngSwitchCase","REPEATED_DATE"))},kTa=function(a){a&1&&(G(0,"div"),K(1,"b-code-change-chip",49),I());a&2&&(a=Q(2).item,A(),F("codeChange",a))},lTa=function(a){a&1&&(G(0,
"div")(1,"a",50),S(2),I()());if(a&2){a=Q(3).item;var b=Q();A();switch(b.environmentType){case "NIGHTLY":case "PROD":b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}F("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,Ye);Hf("aria-label","Workspace"+a.workspaceId);A();T(" ",a.workspaceName," ")}},mTa=function(a){a&1&&E(0,lTa,3,3,"div",46);if(a&2){Q();a=R(6);Q();var b=Q();F("ngIf","WORKSPACES"===b.type)("ngIfElse",
a)}},nTa=function(a){a&1&&(G(0,"div"),K(1,"b-team-display",51),I());a&2&&(a=Q(3).item,A(),F("teamId",a.teamId)("componentId",a.componentId))},oTa=function(a){a&1&&E(0,nTa,2,2,"div",46);if(a&2){Q();a=R(8);Q();var b=Q();F("ngIf","TEAM"===b.type)("ngIfElse",a)}},pTa=function(a){if(a&1){var b=v();G(0,"div")(1,"a",52);N("click",function(){x(b);var c=Q(4);return y(c.trackClick("postmortem"))});S(2);I()()}a&2&&(a=Q(3).item,A(),Jf("aria-label","Postmortem ",a,""),eg("href","https://pm.corp.google.com/",a,
"",Ye),A(),T(" ",a," "))},qTa=function(a){a&1&&E(0,pTa,3,5,"div",46);if(a&2){Q();a=R(10);Q();var b=Q();F("ngIf","POSTMORTEMS"===b.type)("ngIfElse",a)}},sTa=function(a){if(a&1){var b=v();G(0,"div",54)(1,"a",55);N("click",function(){x(b);var d=Q(4);return y(d.trackClick("repeated-enum"))});S(2);I()()}if(a&2){a=Q(3).item;var c=Q();F("matTooltip",a);A();Kf("aria-label","Search issues for customfield",c.customFieldId,":",a,"");F("queryParams",Ag(6,rTa,"customfield"+c.customFieldId+':"'+a+'"'));A();T(" ",
a," ")}},tTa=function(a){a&1&&E(0,sTa,3,8,"div",53);if(a&2){Q();a=R(12);Q();var b=Q();F("ngIf","REPEATED_ENUM"===b.type&&Vp(b))("ngIfElse",a)}},uTa=function(a){a&1&&(G(0,"div"),K(1,"b-truncated-span",57),I());if(a&2){a=Q(3).item;var b=Q();A();F("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},vTa=function(a){a&1&&K(0,"b-user-membership-chip",62);if(a&2){a=Q(4).item;var b=Q();F("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},wTa=function(a){a&
1&&K(0,"b-icon",63)},xTa=function(a){a&1&&(G(0,"b-person-hovercard",64),S(1),I());a&2&&(a=Q(4).item,F("email",a),A(),T(" ",a," "))},yTa=function(a){a&1&&(G(0,"div",58),E(1,vTa,1,5,"b-user-membership-chip",59)(2,wTa,1,0,"b-icon",60),V(3,"async"),E(4,xTa,2,2,"b-person-hovercard",61),I());if(a&2){var b;a=Q(3).item;var c=Q();A();F("ngIf",c.enableTeamAnnotations);A();F("ngIf",!c.enableTeamAnnotations&&(null==(b=W(3,3,c.groups$))?null:b.has(a)));A(2);F("ngIf",!c.enableTeamAnnotations)}},zTa=function(a){a&
1&&E(0,uTa,2,3,"div",20)(1,yTa,5,5,"div",56);if(a&2){a=Q(2).item;var b=Q();F("ngIf",!b.isUser&&b.isString(a));A();F("ngIf",b.isUser&&b.isString(a))}},BTa=function(a){if(a&1){var b=v();G(0,"button",65);V(1,"async");N("click",function(){x(b);var c=Q(3);return y(c.toggleAccessLimits.emit())});K(2,"b-icon",66);V(3,"async");I()}a&2&&(a=Q(3),F("disabled",!W(1,2,a.hasAclToAdmin$)),A(2),F("ngClass",Ag(6,ATa,!W(3,4,a.hasAclToAdmin$))))},CTa=function(a){if(a&1){var b=v();G(0,"button",68,13);N("click",function(){x(b);
var d=Q(3).$index,e=Q();return y(e.removeItem(d))});I()}if(a&2){a=Q(3).item;var c=Q();Kf("aria-label","Remove ",a," from ",c.title,"");F("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},DTa=function(a){a&1&&E(0,CTa,2,5,"button",67);a&2&&(a=Q(3),F("ngIf",!a.readonly&&("REPEATED_ENUM"!=a.type||Vp(a))))},ETa=function(a){a&1&&(G(0,"div",44)(1,"div",45),E(2,kTa,2,1,"div",46)(3,mTa,1,2,"ng-template",null,7,Eg)(5,oTa,1,2,"ng-template",null,8,Eg)(7,qTa,1,2,"ng-template",null,9,Eg)(9,tTa,1,2,
"ng-template",null,10,Eg)(11,zTa,2,2,"ng-template",null,11,Eg),I(),E(13,BTa,4,8,"button",47),V(14,"async"),E(15,DTa,1,1,"ng-template",null,12,Eg),K(17,"div",48),I());if(a&2){var b;a=R(4);var c=R(16),d=Q().item,e=Q();A(2);F("ngIf","CODE_CHANGES"===e.type)("ngIfElse",a);A(11);F("ngIf","USERCHIP"===e.type&&e.toggleAccessLimits.observed&&(null==(b=W(14,4,e.groups$))?null:b.has(d)))("ngIfElse",c)}},FTa=function(a,b){a&1&&E(0,ETa,18,6,"div",43);a&2&&(a=b.$index,b=Q(),F("ngIf",b.showingAll||a<b.defaultLineCount||
!!b.values&&b.values.length===b.defaultLineCount+1))},GTa=function(a){if(a&1){var b=v();G(0,"div",70,14);N("click",function(c){x(b);var d=Q(2);return y(Wp(d,!1,c))})("keydown.enter",function(c){x(b);var d=Q(2);return y(Wp(d,!1,c))})("keydown.space",function(c){x(b);var d=Q(2);return y(Wp(d,!1,c))});S(2," (show fewer) ");I()}a&2&&(a=Q(2),Kf("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),eg("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},HTa=function(a){if(a&
1){var b=v();G(0,"div")(1,"div",71);S(2);G(3,"span",72,15);N("click",function(c){x(b);var d=Q(2);return y(Wp(d,!0,c))})("keydown.enter",function(c){x(b);var d=Q(2);return y(Wp(d,!0,c))})("keydown.space",function(c){x(b);var d=Q(2);return y(Wp(d,!0,c))});S(5," (show all) ");I()()()}a&2&&(a=Q(2),A(2),T(" ... and ",a.values.length-a.defaultLineCount," more "),A(),Kf("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),eg("matTooltip","Show all ",null==a.values?null:a.values.length,
" items in the list"))},JTa=function(a){a&1&&E(0,GTa,3,5,"div",69)(1,HTa,6,6,"div",20);a&2&&(a=Q(),F("ngIf",a.showingAll&&ITa(a)),A(),F("ngIf",!a.showingAll&&ITa(a)))},LTa=function(a,b){if(a&1){var c=v();G(0,"button",74);N("click",function(d){var e=x(c).$implicit,f=Q(2),h=e.value;f.enumPendingValues.has(h)?f.enumPendingValues.delete(h):f.enumPendingValues.add(h);f.liveAnnouncer.announce(KTa(f,e));null==d||d.stopPropagation();return y()});G(1,"span",75);K(2,"mat-icon",76);I();S(3);I()}a&2&&(a=b.$implicit,
b=Q(2),Qf("b-menu-item-checked",b.enumPendingValues.has(a.value)),F("disabled",b.listFieldDisabled),Hf("aria-label",KTa(b,a)),A(3),T(" ",a.displayText," "))},MTa=function(a){a&1&&E(0,LTa,4,5,"button",73);a&2&&(a=Q(),F("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},NTa=function(a){a&1&&K(0,"input",85);a&2&&(a=Q(2),Jf("aria-label","Addition to ",a.title,""),F("bContactAutocomplete","MULTI"))},OTa=function(a){a&1&&K(0,"input",86);a&2&&(a=Q(2),Jf("aria-label","Addition to ",a.title,""),
F("type","REPEATED_NUMERIC"===a.type?"number":"text"))},PTa=function(a){a&1&&(G(0,"mat-error"),S(1),I());a&2&&(a=Q(2),Kf("aria-label","",a.title," error: ",a.invalidMessage,""),A(),T(" ",a.invalidMessage," "))},RTa=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",77,16);N("ngSubmit",function(){x(b);var d=R(3),e=R(4),f=Q();return y(QTa(f,d,e))});E(5,NTa,1,3,"input",78)(6,OTa,1,3,"input",79);G(7,"div",80)(8,"button",81);K(9,"mat-icon",82);I();G(10,"button",
83);N("click",function(){x(b);var d=Q();return y(Xp(d,!0))});K(11,"mat-icon",84);I()();E(12,PTa,2,4,"mat-error",20);I()()()}if(a&2){a=R(3);var c=Q();A(5);F("ngIf",c.isUser);A();F("ngIf",!c.isUser);A(2);Jf("aria-label","Apply addition to ",c.title,"");F("disabled",!a.valid||c.listFieldDisabled);A(2);Jf("aria-label","Discard addition to ",c.title,"");A(2);F("ngIf",c.invalidMessage)}},STa=function(a){if(a&1){var b=v();G(0,"b-date-time-picker-content",87);N("dateChange",function(c){x(b);var d=Q();return y(c&&
d.addItems(c))})("cancelClicked",function(){x(b);var c=Q();return y(Xp(c,!1))});I()}a&2&&F("required",!0)("renderPanel",!1)},VTa=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",88);N("onApplyChanges",function(c){x(b);var d=Q();return y(TTa(d,c))})("onCancelChanges",function(){x(b);var c=Q();return y(Xp(c,!0))});I()()()}a&2&&(a=Q(),A(2),F("allowMultiSelect",!0)("customFieldTitle",a.title)("allowedValues",UTa(a))("selectedValues",
a.values))},Yp=function(a,b){return{originX:a,originY:b}},Zp=function(a,b){return{overlayX:a,overlayY:b}},WTa=function(a){switch(null==a?void 0:a.type){case "REPEATED_TEXT":return"REPEATED_TEXT";case "REPEATED_DATE":return"REPEATED_DATE";case "REPEATED_ENUM":return"REPEATED_ENUM";case "REPEATED_NUMERIC":return"REPEATED_NUMERIC";default:return null}},XTa=function(a){if(a.match(/^(https:\/\/|http:\/\/)?(cl)\/[\d]+/)||a.match(/^(https:\/\/|http:\/\/)?(cr)\/[\d]+/)||a.match(/^(https:\/\/|http:\/\/)?(critique\.corp\.google\.com)/)||
a.match(/^(https:\/\/|http:\/\/)?(critique-ng\.corp\.google\.com)/))a=a.replace(/^.*\//,"");return a.match(/^[1-9]\d*$/)?a:null},$Ta=function(a){if(a&1){var b=v();G(0,"b-edit-field",3);N("valueChange",function(e){x(b);var f=Q(2);return y(f.save.emit(e))});I()}if(a&2){var c;a=Q().ngIf;var d=Q();F("readonly",d.readonly)("name","customField"+d.field.customFieldId)("title",d.field.name)("type",d.field.type)("tooltip",d.getTooltip())("clearable",!d.field.required)("value",YTa(d))("displayValueOverride",
d.getDisplayValue())("choices",null!==(c=a.choices)&&void 0!==c?c:zg(12,ZTa))("showEnumTitle",!0)("disabled",d.disabled)("customFieldId",d.field.customFieldId)}},bUa=function(a){if(a&1){var b=v();G(0,"b-list-field",4);N("valuesChange",function(d){x(b);var e=Q(2);return y(e.save.emit(d.values))});I()}if(a&2){a=Q().ngIf;var c=Q();F("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",aUa(c))("displayValuesOverride",
a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},cUa=function(a,b){a&1&&(L(0),E(1,$Ta,1,13,"b-edit-field",1)(2,bUa,1,10,"b-list-field",2),M());a&2&&(a=b.ngIf,A(),F("ngIf",!a.isRepeated()),A(),F("ngIf",a.isRepeated()))},dUa=function(a){a&1&&(G(0,"div"),S(1," Loading custom fields... "),I())},eUa=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q(2),A(),T(" There are no custom fields in component ",a.selectedComponent.name,". "))},fUa=function(a,b){a&1&&(G(0,"mat-option",9),
S(1),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",a.name," "))},gUa=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",6)(2,"mat-label");S(3,"Custom field");I();G(4,"mat-select",7);N("selectionChange",function(c){x(b);var d=Q(2);return y(d.fieldSelected.emit(c.value))});E(5,fUa,2,2,"mat-option",8);I()()()}a&2&&(a=Q(2),A(5),F("ngForOf",a.customFields))},hUa=function(a){a&1&&(G(0,"div",4),E(1,dUa,2,0,"div",5)(2,eUa,2,1,"div",5)(3,gUa,6,1,"div",5),I());a&2&&(a=Q(),A(),F("ngIf",null==a.customFields),
A(),F("ngIf",a.customFields&&!a.customFields.length),A(),F("ngIf",null==a.customFields?null:a.customFields.length))},iUa=function(a){a&1&&Yf(0)},jUa=function(){},kUa=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().value,A(),rg(a.textValue))},lUa=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",5),M());if(a&2){a=Q().value;var b=Q();A();F("date",b.toDate(a.dateValue))}},mUa=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().value,A(),rg(a.enumValue))},nUa=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().value,
A(),rg(a.numericValue))},oUa=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,b=b.last,A(),sg("",a,"",b?"":", ",""))},pUa=function(a){a&1&&(L(0),E(1,oUa,2,2,"ng-container",6),M());a&2&&(a=Q().value,A(),F("ngForOf",a.repeatedTextValue.values))},qUa=function(a,b){a&1&&(L(0),K(1,"b-formatted-date-time",5),S(2),M());if(a&2){a=b.$implicit;b=b.last;var c=Q(3);A();F("date",c.toDate(a));A();rg(b?"":", ")}},rUa=function(a){a&1&&(L(0),E(1,qUa,3,2,"ng-container",6),M());a&2&&(a=Q().value,A(),F("ngForOf",
a.repeatedDateValue.values))},sUa=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,b=b.last,A(),sg("",a,"",b?"":", ",""))},tUa=function(a){a&1&&(L(0),E(1,sUa,2,2,"ng-container",6),M());a&2&&(a=Q().value,A(),F("ngForOf",a.repeatedEnumValue.values))},uUa=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,b=b.last,A(),sg("",a,"",b?"":", ",""))},vUa=function(a){a&1&&(L(0),E(1,uUa,2,2,"ng-container",6),M());a&2&&(a=Q().value,A(),F("ngForOf",a.repeatedNumericValue.values))},wUa=function(a,b){a&
1&&E(0,kUa,2,1,"ng-container",4)(1,lUa,2,1,"ng-container",4)(2,mUa,2,1,"ng-container",4)(3,nUa,2,1,"ng-container",4)(4,pUa,2,1,"ng-container",4)(5,rUa,2,1,"ng-container",4)(6,tUa,2,1,"ng-container",4)(7,vUa,2,1,"ng-container",4);a&2&&(a=b.value,b=Q(),F("ngIf",null!=a.textValue),A(),F("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),A(),F("ngIf",null!=a.enumValue),A(),F("ngIf",null!=a.numericValue),A(),F("ngIf",null!=a.repeatedTextValue),A(),F("ngIf",null!=a.repeatedDateValue),A(),F("ngIf",null!=a.repeatedEnumValue),
A(),F("ngIf",null!=a.repeatedNumericValue))},$p=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},xUa=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},aq=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},yUa=function(a,b){return a?a.join(" > "):String(b)},zUa=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""}},AUa=function(a){a&1&&(G(0,"div")(1,"p"),S(2),I()());a&2&&(a=Q(),A(2),sg(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},BUa=function(a,b){a&1&&(G(0,"li"),S(1),
I());a&2&&(a=b.$implicit,A(),sg(" ",a.issueId," - ",a.title," "))},CUa=function(a){a&1&&(G(0,"div")(1,"p"),S(2),I(),G(3,"ul"),E(4,BUa,2,2,"li",9),I()());a&2&&(a=Q(),A(2),T(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),A(2),F("ngForOf",a.protectedIssues))},DUa=function(a){if(a&1){var b=v();G(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");S(3);I();G(4,"input",5);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.numericEstimatedEffort,
c)||(d.numericEstimatedEffort=c);return y(c)});N("keypress",function(c){x(b);var d=Q();return y(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});I()()()}a&2&&(a=Q(),A(3),T(" ",a.effortSpecName," "),A(),tg("ngModel",a.numericEstimatedEffort))},EUa=function(a){if(a&1){var b=v();G(0,"div",6)(1,"label");S(2);I();G(3,"onedev-single-select",7);vg("valueChange",function(c){x(b);var d=Q();ug(d.currentEnumLabel,c)||(d.currentEnumLabel=c);return y(c)});I()()}a&2&&(a=Q(),A(2),T(" ",a.effortSpecName," "),
A(),tg("value",a.currentEnumLabel),F("includeEmptyOption",!0)("options",a.allowedLabels))},JUa=function(a,b){if(a&1){var c=v();G(0,"div",21,4);N("click",function(){var e=x(c).$implicit,f=Q(2);FUa(f,e)||bq(f,e);return y()});G(2,"mat-pseudo-checkbox",22);N("click",function(e){var f=x(c).$implicit,h=Q(2);e.stopPropagation();return y(GUa(h,f))});I();G(3,"span");S(4);I()()}if(a&2){a=b.$implicit;b=b.index;var d=Q(2);Pf("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");Qf("focused",b===d.focusedRowIndex);
fg("title",a.name);Hf("id","hotlist-item-"+a.hotlistId)("aria-checked",HUa(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",FUa(d,a));A(2);F("state",IUa(d.selectedHotlistMap[a.hotlistId]))("disabled",FUa(d,a));A(2);T(" ",a.name," ")}},KUa=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(2),A(),T(" (",a.filterText,")"))},LUa=function(a){if(a&1){var b=v();G(0,"div",23,5);N("click",function(){x(b);var c=Q(2);return y(c.loadHotlist())})("keydown.enter",function(){x(b);var c=Q(2);return y(c.loadHotlist())});
S(2,"Load hotlist from id ");G(3,"span");S(4);I()()}a&2&&(a=Q(2),Qf("focused",a.focusedRowIndex===a.choices.length+1),Hf("aria-label","Load hotlist from"+a.filterText),A(4),T("(",a.filterText,")"))},NUa=function(a){if(a&1){var b=v();G(0,"div",24,6);N("click",function(){x(b);var c=Q(2);return y(MUa(c))})("keydown.enter",function(){x(b);var c=Q(2);return y(MUa(c))});S(2,"Apply");I()}a&2&&(a=Q(2),Qf("focused",a.focusedRowIndex===a.choices.length+2))},OUa=function(a){if(a&1){var b=v();G(0,"div",11)(1,
"div",15,2);E(3,JUa,5,11,"div",16);I()();K(4,"mat-divider");G(5,"div",17,3);N("click",function(){x(b);var c=Q();return y(c.createHotlist())})("keydown.enter",function(){x(b);var c=Q();return y(c.createHotlist())});S(7,"Create new hotlist ");E(8,KUa,2,1,"span",18);I();E(9,LUa,5,4,"div",19)(10,NUa,3,2,"div",20)}a&2&&(a=Q(),A(3),F("ngForOf",a.choices),A(2),Qf("focused",a.focusedRowIndex===a.choices.length),F("disabled",!a.canCreate),Hf("aria-label","Create new hotlist"+a.filterText),A(3),F("ngIf",!!a.filterText),
A(),F("ngIf",a.canLoad),A(),F("ngIf",a.pendingChanges))},cq=function(a){var b={};a=a.replace(/\r/g,"").split("\n");for(var c=0;c<a.length;c++){var d=a[c],e=d.indexOf(":");0>e||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b},dq=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},PUa=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},RUa=function(a){a=lc(a);for(var b=0;b<QUa.length;++b){var c=QUa[b],d=dq(a,c);d&&(a["X-Goog-Upload-Header-"+
c]=d,PUa(a,c))}return a},SUa=function(a){a=lc(a);PUa(a,"X-Goog-Upload-Status");return a},UUa=function(a){if(a&1){var b=v();G(0,"button",3);N("fileSelected",function(c){x(b);var d=Q();return y(TUa(d,c))});K(1,"mat-icon",4);I()}a&2&&(a=Q(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},VUa=function(a){if(a&1){var b=v();G(0,"button",5);N("fileSelected",function(c){x(b);var d=Q();return y(TUa(d,c))});K(1,"mat-icon",4);S(2," Add attachments ");
I()}a&2&&(a=Q(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},WUa=function(a){a&1&&(G(0,"span"),S(1),V(2,"humanFileSize"),V(3,"humanFileSize"),I());if(a&2){var b;a=Q().$implicit;A();sg(" ",W(2,2,a.transferredBytes)," of ",W(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},XUa=function(a){a&1&&(G(0,"span",11),S(1),I());a&2&&(a=Q().$implicit,A(),T(" ",a.errorMessage," "))},YUa=function(a){a&1&&(G(0,"span",11),S(1),V(2,"humanFileSize"),I());if(a&
2){var b;a=Q().$implicit;A();T(" ",W(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},$Ua=function(a,b){if(a&1){var c=v();G(0,"div",3)(1,"div",4);K(2,"mat-icon",5);G(3,"span",6);S(4);I();G(5,"span",7);E(6,WUa,4,6,"span",8)(7,XUa,2,1,"span",9)(8,YUa,3,3,"span",9);I()();G(9,"button",10);N("click",function(){var d=x(c).$implicit,e=Q(2);return y(e.cancel(d))});I()()}a&2&&(a=b.$implicit,b=Q(2),F("ngClass",Ag(8,ZUa,a.state===b.uploadStates.ERROR)),A(3),F("matTooltip",a.name),A(),rg(a.name),A(2),F("ngIf",a.state===
b.uploadStates.UPLOADING),A(),F("ngIf",a.state===b.uploadStates.ERROR),A(),F("ngIf",a.state===b.uploadStates.COMPLETE),A(),F("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),Hf("aria-label","Remove attachment"+a.name))},aVa=function(a){a&1&&(G(0,"div",1),E(1,$Ua,10,10,"div",2),I());a&2&&(a=Q(),A(),F("ngForOf",a.uploads))},bVa=function(a){this.action=a;this.wfv=!1},cVa=function(a,b){bVa.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},dVa=function(a){a=
a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},fVa=function(a,b){var c=b&&b.getWindow()||window;if(dVa(b))a();else if(eVa)eVa.push(a);else var d=eVa=[a],e=c.setInterval(function(){if(dVa(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();eVa=null}},100)},hVa=function(a,b){var c=new eq(a);fq(b,c);var d={passive:!1};b.listen(c,"mousewheel",function(e){return void gVa(a,e)},d).listen(a,"scroll",function(e){return void gVa(a,e)},d)},gVa=function(a,b){var c;a:{for(c=b.target;c;){if(1==
c.nodeType){var d=gq(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}if(!c||!iVa(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)b.preventDefault(),b.stopPropagation()},jVa=function(a,b){if(b)1===a.nodeType&&Yda(a),a.innerHTML=wh(b);else for(;a.lastChild;)a.lastChild.remove()},kVa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},hq=function(a){return a.endsWith("px")?
Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},lVa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},mVa=function(a){if(a&1){var b=v();G(0,"div",5);N("clickOutside",function(){x(b);var c=Q();return y(c.hide())});G(1,"div",6);S(2," Relative link may be malformed:\u00a0 ");G(3,"code");S(4);I();G(5,"button",7);N("click",function(){x(b);var c=Q();return y(c.copyToClipboard())});K(6,"mat-icon",8);I()();G(7,"div",6);S(8," Force open as: \u00a0 ");G(9,"a",9);N("click",function(c){x(b);
var d=Q();lVa(c)||(c.preventDefault(),c.stopPropagation(),iq(d.domSafe,"http://"+d.originalHref));return y()});S(10);I()()()}a&2&&(a=Q(),A(4),rg(a.originalHref),A(5),eg("href","http://",a.originalHref,"",Ye),A(),T(" http://",a.originalHref," "))},nVa=function(a){a&1&&(G(0,"b-glue"),K(1,"mat-icon",5),I())},rVa=function(a){if(a&1){var b=v();G(0,"div",6);N("clickOutside",function(){x(b);var c=Q();return y(c.hide())});G(1,"span",7)(2,"a",8);N("click",function(c){x(b);var d=Q();return y(oVa(d,c))})("keydown",
function(c){x(b);var d=Q();return y(pVa(d,c))});S(3);I()();G(4,"button",9);N("keydown.Tab",function(c){x(b);var d=Q();return y(qVa(d,c))})("click",function(){x(b);var c=Q();return y(c.copyToClipboard())});K(5,"mat-icon",10);I()()}a&2&&(a=Q(),A(2),F("href",a.originalHref,Ye)("rel",a.EXTERNAL_LINK_REL),A(),rg(a.originalHref))},sVa=function(a){a&1&&(G(0,"div",4),Yf(1,5),I());a&2&&(a=Q(),F("onedevIsHovercardReady",a.hovercardReady))},tVa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},uVa=
function(a,b){a&1&&(L(0),K(1,"b-plain-format-section",2),M());a&2&&(a=b.$implicit,A(),F("section",a))},vVa=function(a){a&1&&K(0,"b-plain-format-quoted-section",1);a&2&&(a=Q(),F("section",a.section))},wVa=function(a){a&1&&K(0,"b-plain-format-unquoted-section",1);a&2&&(a=Q(),F("section",a.section))},yVa=function(a){if(a&1){var b=v();G(0,"a",4);N("click",function(){x(b);var c=Q();c.showQuote=!0;xVa(c);return y()});S(1," - Show quoted text - ");I()}a&2&&(a=Q(),Hf("aria-controls",a.childId))},zVa=function(a){if(a&
1){var b=v();G(0,"a",5);N("click",function(){x(b);var c=Q();c.showQuote=!1;xVa(c);return y()});S(1," - Hide quoted text - ");I()}a&2&&(a=Q(),Hf("aria-controls",a.childId))},AVa=function(a,b){a&1&&(L(0),K(1,"b-literal-format-presenter",1),M());a&2&&(a=b.ngIf,A(),F("content",a))},BVa=function(a,b){a&1&&(L(0),K(1,"b-markdown-format-presenter",1),M());a&2&&(a=b.ngIf,A(),F("content",a))},CVa=function(a,b){a&1&&(L(0),K(1,"b-plain-format-presenter",1),M());a&2&&(a=b.ngIf,A(),F("content",a))},DVa=function(a){switch(a.formattingMode){case "LITERAL":return(0,X.of)({literalFormat:{content:vh(a.comment)}});
case "MARKDOWN":return a={markdownFormat:{content:vh("")}},(0,X.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:vh(a.comment)}]}},(0,X.of)(a);default:return vc(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},EVa=function(a,b){a&1&&(L(0),G(1,"div",1),K(2,"b-formatted-comment-presenter",2),I(),M());a&2&&(a=b.$implicit,b=Q(),A(),Qf("invisible",""===(b.comment||"").trim())("error",a.isFallback),A(),F("formattedComment",
a.formattedComment))},FVa=function(a){a&1&&(G(0,"a",2),K(1,"mat-icon",3),I());a&2&&(a=Q(),F("href",a.mdHelpLink,Ye)("disableRipple",!0))},GVa=function(a){a&1&&K(0,"b-formatted-comment-presenter",4);a&2&&(a=Q(),F("formattedComment",a.note.formattedComment))},HVa=function(a){a&1&&K(0,"b-live-preview",5);a&2&&(a=Q(),F("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},IVa=function(){},
JVa=function(a){a&1&&dg(0)},KVa=function(){},LVa=function(a){a&1&&E(0,KVa,0,0,"ng-template",12);a&2&&(a=Q().$implicit,F("cdkPortalOutlet",a.templateLabel))},MVa=function(a){a&1&&S(0);a&2&&(a=Q().$implicit,rg(a.textLabel))},NVa=function(a,b){if(a&1){var c=v();G(0,"div",7,2);N("click",function(){var f=x(c),h=f.$implicit;f=f.$index;var l=Q(),q=R(1);return y(l._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=x(c).$index,l=Q();return y(l._tabFocusChanged(f,h))});K(2,"span",8)(3,"div",9);G(4,"span",
10)(5,"span",11);E(6,LVa,1,1,null,12)(7,MVa,1,1);I()()()}if(a&2){a=b.$implicit;b=b.$index;var d=R(1),e=Q();Qf("mdc-tab--active",e.selectedIndex===b);F("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("fitInkBarToContent",e.fitInkBarToContent);Hf("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);A(3);F("matRippleTrigger",d)("matRippleDisabled",a.disabled||e.disableRipple);A(3);Uf(a.templateLabel?6:7)}},OVa=function(a){a&1&&dg(0)},PVa=function(a,b){if(a&1){var c=v();G(0,"mat-tab-body",13);N("_onCentered",function(){x(c);var e=Q();return y(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){x(c);var f=Q();return y(f._setTabBodyWrapperHeight(e))});I()}if(a&2){a=b.$implicit;b=b.$index;var d=Q();Qf("mat-mdc-tab-body-active",d.selectedIndex===b);F("id",d._getTabContentId(b))("ngClass",
a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);Hf("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))("aria-hidden",d.selectedIndex!==b)}},TVa=function(a){if(a&1){var b=v();G(0,"input",9,2);N("change",function(){x(b);var c=Q();if(QVa(c)){var d=jq(c);RVa(c);SVa(c,!0);jq(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;
d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return y()})("keyup",function(c){x(b);var d=Q();document.activeElement===kq(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,SVa(d,!0),jq(d).focus()):SVa(d));return y()});I()}a&2&&(a=Q(),F("value",a.autocompleteUserName))},UVa=function(a){a&1&&K(0,"div",10,3)},VVa=function(a){a&1&&Yf(0)},WVa=function(a){a&1&&Yf(0)},XVa=function(a){if(a&1){var b=v();G(0,"div",1);K(1,"mat-icon",2);G(2,"div",3);S(3," Comment and vote +1 on this issue to increase visibility ");
I();G(4,"div",4)(5,"button",5);N("click",function(){x(b);var c=Q();return y(c.onClick())});S(6,"Comment and vote +1");I()()()}a&2&&(A(),F("matTooltip","The +1 button is located in the top right corner of the issue details page"))},YVa=function(a){if(a&1){var b=v();L(0);G(1,"b-plus-one-comment-callout",8);N("onSubmitComment",function(){x(b);Q().onSubmit.emit();return y()});I();M()}a&2&&(a=Q(),A(),F("isPlusOneText","+1"===a.comment.value.trim()))},ZVa=function(a){if(a&1){var b=v();G(0,"b-drive-attachment",
13);N("onPickDoc",function(c){x(b);var d=Q(2);d.comment&&(d.comment.value="MARKDOWN"===d.comment.formattingMode?d.comment.value+("\n\n["+c.name+"]("+c.url+")"):d.comment.value+("\n\n"+c.name+" - "+c.url));return y()})("onCloneBlob",function(c){x(b);var d=Q(2);return y(d.addUpload(c))});I()}a&2&&(a=Q(2),F("disabled",a.attachmentsDisabled))},$Va=function(a){if(a&1){var b=v();L(0);G(1,"button",16);N("click",function(){x(b);var c=Q(3);return y(c.onRestrict.emit())});K(2,"mat-icon",17);I();M()}a&2&&(a=
Q(3),A(),F("disabled",a.attachmentsDisabled))},aWa=function(a){if(a&1){var b=v();G(0,"button",18);N("click",function(){x(b);var c=Q(3);return y(c.onRestrict.emit())});K(1,"mat-icon",17);S(2);I()}a&2&&(a=Q(3),A(2),T(" ",a.getRestrictedLabel()," "))},bWa=function(a){a&1&&(G(0,"div",14),E(1,$Va,3,1,"ng-container",15)(2,aWa,3,1,"ng-template",null,1,Eg),I());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",!b.isRestricted())("ngIfElse",a)}},cWa=function(a){if(a&1){var b=v();G(0,"div",9);dg(1,2,[1,"goog-inline-block"]);
G(2,"b-attachment-selector",10);N("onSelect",function(d){x(b);var e=Q();return y(e.uploadFile(d))});I();E(3,ZVa,1,1,"b-drive-attachment",11);V(4,"async");E(5,bWa,4,2,"div",12);I()}if(a&2){var c;a=Q();A(2);F("disabled",a.attachmentsDisabled);A();F("ngIf",!(null!==(c=W(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));A(2);F("ngIf",a.showRestrictionOptions)}},dWa=function(a){a&1&&(G(0,"div"),K(1,"b-live-preview",19),I());a&2&&(a=Q(),A(),F("comment",a.comment.value)("issueId",a.issueId)("audience",
a.audience)("formattingMode",a.comment.formattingMode))},fWa=function(a,b){if(a&1){var c=v();G(0,"div",7)(1,"b-contact-chip",8);N("chipSelection",function(){var d=x(c).index,e=Q();e.selectedChipIndex!==d&&lq(e,d)&&(eWa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return y()})("chipClear",function(){x(c);var d=Q();return y(eWa(d))})("chipRemove",function(){var d=x(c).index,e=Q();return y(e.removeItem(d))});I()()}a&2&&(a=b.$implicit,b=Q(),A(),F("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()))},iWa=function(a){if(a&1){var b=v();G(0,"input",9,0);N("autocompleteActive",function(){x(b);var c=Q();return y(c.chipifyFn())});vg("ngModelChange",function(c){x(b);var d=Q();ug(d.typedText,c)||(d.typedText=c);return y(c)});N("focus",function(){x(b);var c=Q();return y(gWa(c))})("blur",function(){x(b);
var c=Q();hWa(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return y()});I()}a&2&&(a=Q(),F("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn),tg("ngModel",a.typedText),F("disabled",a.isWidgetDisabled()))},jWa=function(a){a&1&&(G(0,"span"),S(1," Groups cannot be granted Restricted+ reader permission. "),G(2,"a",10),S(3,"Learn more"),I()());a&2&&(a=Q(),A(2),Hf("href",$o(a.documentationLinks)+"#components",Ye))},kWa=function(a){a&1&&(G(0,"span"),S(1," Invalid user(s). "),
I())},lWa=function(a){a&1&&(G(0,"span"),S(1,' "Public" or external users are not allowed for component designated as "internal access". '),I())},mWa=function(a){a&1&&(G(0,"span"),S(1,' "Public" is not allowed for components designated as "external partner access". '),I())},nWa=function(a){a&1&&(G(0,"span"),S(1," SLO lead can not be a group. "),I())},oWa=function(a){a&1&&(G(0,"span"),S(1," SLO lead can only be a full-time Googler. "),I())},pWa=function(a,b){a&1&&(G(0,"a",9),S(1," Learn more. "),I());
a&2&&F("href",b.$implicit,Ye)},qWa=function(a,b){a&1&&K(0,"b-multi-user-input",11);a&2&&(F("users",b),Hf("disabled",!0))},rWa=function(a){a&1&&(L(0,10),K(1,"br"),G(2,"h2"),S(3,"Users who can view"),I(),E(4,qWa,1,2,"b-multi-user-input",11),V(5,"async"),M());if(a&2){var b;a=Q(2);F("onedevIsHovercardReady",a.showHovercard$);A(4);Uf((b=W(5,2,a.viewers$))?4:-1,b)}},tWa=function(a){if(a&1){var b=v();L(0);G(1,"span",3,0);V(3,"async");V(4,"async");N("focus",function(){x(b);var e=R(2);Q().loadTooltipOnce();
e.disabled=!1;return y(e.show())})("blur",function(){x(b);var e=R(2);e.disabled=!0;return y(e.hide())});S(5);V(6,"async");I();G(7,"onedev-hovercard",null,1)(9,"div",4)(10,"div",5)(11,"div",6);S(12);V(13,"async");E(14,pWa,2,1,"a",7)(15,rWa,6,4,"ng-container",8);I()()()();M()}if(a&2){var c;a=R(8);var d=Q();A();Qf("xs",d.compactMode);F("onedevHovercardTrigger",a)("matTooltipDisabled",!0)("matTooltip",null!==(c=W(3,9,d.tooltipText$))&&void 0!==c?c:"")("ngClass",W(4,11,d.chipClass$));A(4);T(" ",W(6,13,
d.chipText$)," ");A(7);T(" ",W(13,15,d.bubbleText$)," ");A(2);F("ngIf",sWa(d.documentationLinks))}},uWa=function(a){return"visible_to_listed_partners"===a||"visible_to_listed_public_users"===a},vWa=function(a){a&1&&Yf(0)},wWa=function(a){a&1&&(G(0,"span"),S(1,"Details"),I())},xWa=function(a){a&1&&(G(0,"span"),S(1,"Members"),I())},zWa=function(a){a&1&&(G(0,"div",13)(1,"a",14),E(2,wWa,2,0,"span",15)(3,xWa,2,0,"span",15),I()());if(a&2){a=Q(2);A();if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());
var c=encodeURIComponent(a.email);b=yWa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":DBa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}F("href",b,Ye);A();F("ngIf",yWa(a.email));A();F("ngIf",!yWa(a.email))}},AWa=function(a){a&1&&(L(0),G(1,"span",3),E(2,vWa,1,0,"ng-container",4),I(),G(3,"onedev-hovercard",null,1)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),S(11),I()(),G(12,"div",10),K(13,"mat-icon",
11),G(14,"span"),S(15),I()()(),E(16,zWa,4,3,"div",12),I()()()(),M());if(a&2){a=R(4);var b=Q(),c=R(2);A();F("onedevHovercardTrigger",a);A();F("ngTemplateOutlet",c);A(9);rg(b.getName());A(4);rg(b.email);A();F("ngIf",b.shouldShowLinks())}},BWa=function(a){a&1&&dg(0)},CWa=function(a,b){a&1&&K(0,"mat-icon",8);a&2&&F("svgIcon",b.ngIf)},DWa=function(a){a&1&&(G(0,"b-person-hovercard",9),S(1),I());a&2&&(a=Q(),F("email",a.value),A(),T(" ",a.displayText," "))},EWa=function(a){a&1&&(G(0,"b-group-email-card",
9),S(1),I());a&2&&(a=Q(),F("email",a.value),A(),T(" ",a.displayText," "))},FWa=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q(),A(),T(" ",a.displayText," "))},GWa=function(a){if(a&1){var b=v();G(0,"div",10);N("click",function(){x(b);var c=Q();return y(c.chipRemove.emit())})("keydown.enter",function(){x(b);var c=Q();return y(c.chipRemove.emit())});K(1,"mat-icon",11);I()}a&2&&(a=Q(),eg("matTooltip","'Remove ",a.displayText,"'"),Hf("aria-label","Remove "+a.displayText))},HWa=function(a,b){a&1&&(G(0,
"div",19),K(1,"b-contact-chip",20),I());a&2&&(a=b.$implicit,b=Q(2),A(),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},IWa=function(a){a&1&&(G(0,"div",12)(1,"div",13)(2,"div",14),E(3,HWa,2,5,"div",15),G(4,"div",16),K(5,"div",17)(6,"div",18),I()()()());a&2&&(a=Q(),A(3),F("ngForOf",a.nestedChips))},JWa=function(a){a&1&&(G(0,"li")(1,"a",1),S(2),I(),K(3,"b-issue-visibility-chip",2),I());a&2&&(a=Q().$implicit,
A(),eg("href","issues/",a.issueId,"",Ye),A(),T("b/",a.issueId,""),A(),F("issueId",a.issueId))},KWa=function(a,b){a&1&&E(0,JWa,4,4,"li");a&2&&Uf("issue"===b.$implicit.type?0:-1)},LWa=function(a){a&1&&(G(0,"ul"),Wf(1,KWa,1,1,null,null,Mla),I(),S(3," within: "));a&2&&(a=Q(2),A(),Xf(a.externalWarnings))},MWa=function(a){a&1&&(G(0,"li"),S(1),K(2,"b-component-access-level-indicator",3),I());a&2&&(a=Q().$implicit,A(),T(" ",a.path," "),A(),F("accessLevel",a.accessLevel))},NWa=function(a,b){a&1&&E(0,MWa,3,
2,"li");a&2&&Uf("component"===b.$implicit.type?0:-1)},OWa=function(a){a&1&&(G(0,"div",0)(1,"div")(2,"strong"),S(3,"You are editing issues in components that may have external viewers:"),I()(),E(4,LWa,4,0),G(5,"ul"),Wf(6,NWa,1,1,null,null,Mla),I()());a&2&&(a=Q(),A(4),Uf(a.enableNewVisibilityChips?4:-1),A(2),Xf(a.externalWarnings))},QWa=function(a,b){if(a&1){var c=v();G(0,"button",13);N("click",function(){var d=x(c).$implicit,e=Q(3);return y(PWa(e.issueEditBuilder,d))});S(1);I()}a&2&&(a=b.$implicit,
b=Q(3),F("disabled",b.issueEditBuilder.issueState==a),A(),T(" ",a.displayValue," "))},RWa=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");S(2,"Multiple");I();G(3,"a",28);N("click",function(){x(b);var c=Q(4);return y(c.issueEditBuilder.clearAssignee())});S(4,"X");I()()}},SWa=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");S(2,"Possibly multiple");I();G(3,"a",28);N("click",function(){x(b);var c=Q(4);return y(c.issueEditBuilder.clearAssignee())});S(4,"X");I()()}},UWa=function(a){if(a&1){var b=
v();G(0,"div")(1,"input",29);vg("ngModelChange",function(c){x(b);var d=Q(4);ug(d.issueEditBuilder.commonAssignee,c)||(d.issueEditBuilder.commonAssignee=c);return y(c)});N("ngModelChange",function(){x(b);var c=Q(4);return y(TWa(c.issueEditBuilder))});I()()}a&2&&(a=Q(4),A(),tg("ngModel",a.issueEditBuilder.commonAssignee),F("bContactAutocomplete","SINGLE"),Hf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},VWa=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");S(2);I();G(3,"a",30);
N("click",function(){x(b);var c=Q(4);return y(c.issueEditBuilder.clearVerifier())});S(4,"X");I()()}a&2&&(a=Q(4),Qf("bv2-invalid-multiple-user-chip",!mq(a.issueEditBuilder)),A(2),T(" Multiple ",mq(a.issueEditBuilder)?"":"(some unset)"," "))},WWa=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");S(2);I();G(3,"a",30);N("click",function(){x(b);var c=Q(4);return y(c.issueEditBuilder.clearVerifier())});S(4,"X");I()()}a&2&&(a=Q(4),Qf("bv2-invalid-multiple-user-chip",!mq(a.issueEditBuilder)),A(2),T(" Possibly multiple ",
mq(a.issueEditBuilder)?"":"(some unset)"," "))},XWa=function(a){if(a&1){var b=v();G(0,"div")(1,"input",31);vg("ngModelChange",function(c){x(b);var d=Q(4);ug(d.issueEditBuilder.commonVerifier,c)||(d.issueEditBuilder.commonVerifier=c);return y(c)});I()()}a&2&&(a=Q(4),A(),tg("ngModel",a.issueEditBuilder.commonVerifier),F("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),Hf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||
null))},YWa=function(a){a&1&&(G(0,"div")(1,"div",21)(2,"label",22),S(3," Assignee "),I(),G(4,"div",15),E(5,RWa,5,0,"div",23)(6,SWa,5,0,"div",23)(7,UWa,2,3,"div",24),I()(),G(8,"div",21)(9,"label",25),S(10," Verifier "),I(),G(11,"div",15),E(12,VWa,5,3,"div",26)(13,WWa,5,3,"div",26)(14,XWa,2,4,"div",24),I()()());a&2&&(a=Q(3),A(4),F("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),A(),F("ngSwitchCase","MULTIPLE"),A(),F("ngSwitchCase","POSSIBLY_MULTIPLE"),A(5),F("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),
A(),F("ngSwitchCase","MULTIPLE"),A(),F("ngSwitchCase","POSSIBLY_MULTIPLE"))},ZWa=function(a){if(a&1){var b=v();G(0,"div",21)(1,"label",32);S(2," Issue ID ");I();G(3,"input",33);N("ngModelChange",function(c){x(b);var d=Q(3).issueEditBuilder;c=IFa(c);return y(d.commonDuplicateOf=1===c.length?c[0]:"")});I()()}a&2&&(a=Q(3),A(3),F("ngModel",a.issueEditBuilder.commonDuplicateOf),Hf("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},$Wa=function(a){if(a&1){var b=v();G(0,"div",10)(1,"button",11)(2,
"span");S(3);I();K(4,"b-icon",12);I();G(5,"mat-menu",null,2)(7,"button",13);N("click",function(){x(b);var d=Q(2);return y(d.issueEditBuilder.issueState=void 0)});S(8,"No change ");I();E(9,QWa,2,2,"button",14);I();G(10,"div",15);E(11,YWa,15,6,"div",16)(12,ZWa,4,2,"div",17);I();G(13,"div")(14,"b-comment-box",18);N("onSubmit",function(){x(b);var d;null==(d=Q(2).matDialogRef)||d.close(!0);return y()});I()();K(15,"div",19)(16,"b-external-warnings",20);I()}if(a&2){a=R(6);var c=Q(2);A();F("matMenuTriggerFor",
a);A(2);rg(c.issueEditBuilder.issueState?c.issueEditBuilder.issueState.displayValue:"No change");A(4);F("disabled",!c.issueEditBuilder.issueState);A(2);F("ngForOf",c.issueStates);A();F("ngSwitch",!c.issueEditBuilder.issueState||"DUPLICATE"!==c.issueEditBuilder.issueState.status);A();F("ngSwitchCase",!0);A(3);F("comment",c.comment)("showToolbar",!1);A(2);F("externalWarnings",c.externalWarnings)}},aXa=function(a){if(a&1){var b=v();G(0,"div",34)(1,"b-recaptcha",35);N("onUpdate",function(c){x(b);var d=
Q(2);return y(d.issueEditBuilder.recaptchaResponse=c)});I()()}},cXa=function(a){a&1&&(G(0,"form",null,1)(2,"h1",3),S(3,"Change issue status"),I(),G(4,"div",4)(5,"span"),S(6,"Enter updated issue status information below"),I(),E(7,$Wa,17,9,"div",5),I(),E(8,aXa,2,0,"div",6),G(9,"div",7)(10,"button",8),S(11," Cancel "),I(),G(12,"button",9),S(13," Save "),I()()());if(a&2){var b=R(1);a=Q();A(7);F("ngIf",a.issueEditBuilder);A();F("ngIf",a.issueEditBuilder&&a.enableRecaptcha);A(2);F("mat-dialog-close",!1);
A(2);var c=F("mat-dialog-close",!0);if(!(b=b.invalid))a:{if(null!=a.issueEditBuilder){b=bXa(a.issueEditBuilder);var d=b.get("status");if("DUPLICATE"===d){b=!b.get("duplicateOfIssueId");break a}if("VERIFIED"===d){b=!mq(a.issueEditBuilder)&&!b.get("verifier");break a}}b=!1}c("disabled",b||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},dXa=function(a,b){return{displayAs:"Team: "+a.name,queryAtom:"teamId:"+a.teamId+(void 0===b||b?"+":""),tooltip:"Issues within this team's components"}},
eXa=function(a,b){return{displayAs:"Component: "+a.name,queryAtom:"componentId:"+a.componentId+(void 0===b||b?"+":""),tooltip:"Issues within this component"}},nq=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(Ei);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},oq=function(){return pd.apply(0,arguments).filter(Boolean).join(" AND ")},fXa=function(a){var b,c=new pq,d=c.setIt;var e=(new qq).setIssueId(a.issueId);e=yl(e,2,a.scope);e=yl(e,4,a.scopeSortOrder).setMaxResults(null!=
(b=a.maxResults)?b:7);a=yl(e,3,a.keyword);return d.call(c,a)},gXa=function(a,b){a=Wta([].concat(u(a.scores),u(b.scores)),[].concat(u(a.similarIssues),u(b.similarIssues))).sort(function(c,d){return d[0]-c[0]});a=Qj(a,function(c){c=k(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]})}},hXa=function(a){a&1&&K(0,"div",2)},iXa=function(a){a&1&&(L(0),dg(1),M())},jXa=function(a){a&1&&K(0,"b-formatted-date-time",3);a&2&&
(a=Q(),F("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},kXa=function(a){a&1&&S(0,"--")},lXa=function(a){a&1&&K(0,"mat-icon",11)},mXa=function(a){a&1&&(G(0,"span",28),S(1),I());a&2&&(a=Q(3),A(),rg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},nXa=function(a){a&1&&(G(0,"span",28),S(1),I());a&2&&(a=Q(4),A(),rg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},oXa=function(a){if(a&1){var b=v();G(0,"div",17)(1,"label",18);S(2,"Issue shortlink");I();G(3,"input",29,5);N("onHotkey",function(){x(b);var d=
R(4),e=Q(3);return y(rq(e,d))})("focus",function(){x(b);var d=R(4);return y(d.select())});I();E(5,nXa,2,1,"span",20);G(6,"button",30);N("onHotkey",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))})("click",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))});K(7,"mat-icon",22);I()()}if(a&2){a=R(4);var c=Q(3);A();F("htmlFor",a.id);A(2);F("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys);Hf("value",c.getAppBaseUrl().replace(/^.*?:\/\//,""));A(2);F("ngIf",c.enableHotkeys);
A();F("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys)}},pXa=function(a){a&1&&(G(0,"span",28),S(1),I());a&2&&(a=Q(3),A(),rg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},qXa=function(a){a&1&&(G(0,"span",28),S(1),I());a&2&&(a=Q(3),A(),rg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},rXa=function(a){a&1&&(G(0,"span",28),S(1),I());a&2&&(a=Q(4),A(),rg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},sXa=function(a){if(a&1){var b=v();G(0,"div",17)(1,"label",18);S(2,"Issue email");I();G(3,"input",
31,6);N("onHotkey",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))})("focus",function(){x(b);var d=R(4);return y(d.select())});I();E(5,rXa,2,1,"span",20);G(6,"button",32);N("onHotkey",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))})("click",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))});K(7,"mat-icon",22);I()()}if(a&2){a=R(4);var c=Q(3);A();F("htmlFor",a.id);A(2);F("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys);Hf("value","buganizer-system"+(Lj(c.activeSession.session)?
"":"-qa")+("+"+c.componentId+"+"+c.issueId)+"@google.com");A(2);F("ngIf",c.enableHotkeys);A();F("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys)}},tXa=function(a){a&1&&(G(0,"span",28),S(1),I());a&2&&(a=Q(4),A(),rg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},uXa=function(a){if(a&1){var b=v();G(0,"div",17)(1,"label",18);S(2,"TODO comment");I();G(3,"input",33,7);N("onHotkey",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))})("focus",function(){x(b);var d=R(4);return y(d.select())});
I();E(5,tXa,2,1,"span",20);G(6,"button",34);N("onHotkey",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))})("click",function(){x(b);var d=R(4),e=Q(3);return y(rq(e,d))});K(7,"mat-icon",22);I()()}if(a&2){a=R(4);var c=Q(3);A();F("htmlFor",a.id);A(2);F("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys);Hf("value","TODO: "+c.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - "+c.issueTitle);A(2);F("ngIf",c.enableHotkeys);A();F("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys)}},
vXa=function(a){if(a&1){var b=v();G(0,"div",16)(1,"div",17)(2,"label",18);S(3,"Issue ID");I();G(4,"input",19,2);N("onHotkey",function(){x(b);var f=R(5),h=Q(2);return y(rq(h,f))})("focus",function(){x(b);var f=R(5);return y(f.select())});I();E(6,mXa,2,1,"span",20);G(7,"button",21);N("onHotkey",function(){x(b);var f=R(5),h=Q(2);return y(rq(h,f))})("click",function(){x(b);var f=R(5),h=Q(2);return y(rq(h,f))});K(8,"mat-icon",22);I()();E(9,oXa,8,7,"div",23);G(10,"div",17)(11,"label",18);S(12,"Issue URL");
I();G(13,"input",24,3);N("onHotkey",function(){x(b);var f=R(14),h=Q(2);return y(rq(h,f))})("focus",function(){x(b);var f=R(14);return y(f.select())});I();E(15,pXa,2,1,"span",20);G(16,"button",25);N("onHotkey",function(){x(b);var f=R(14),h=Q(2);return y(rq(h,f))})("click",function(){x(b);var f=R(14),h=Q(2);return y(rq(h,f))});K(17,"mat-icon",22);I()();G(18,"div",17)(19,"label",18);S(20,"URL and title");I();G(21,"input",26,4);N("onHotkey",function(){x(b);var f=R(22),h=Q(2);return y(rq(h,f))})("focus",
function(){x(b);var f=R(22);return y(f.select())});I();E(23,qXa,2,1,"span",20);G(24,"button",27);N("onHotkey",function(){x(b);var f=R(22),h=Q(2);return y(rq(h,f))})("click",function(){x(b);var f=R(22),h=Q(2);return y(rq(h,f))});K(25,"mat-icon",22);I()();E(26,sXa,8,7,"div",23)(27,uXa,8,7,"div",23);I()}if(a&2){a=R(5);var c=R(14),d=R(22),e=Q(2);F("cdkTrapFocusAutoCapture",!0);A(2);F("htmlFor",a.id);A(2);F("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);Hf("value",e.issueId);A(2);F("ngIf",
e.enableHotkeys);A();F("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);A(2);F("ngIf",e.activeSession.isInternalSession()&&!cp(e.currentTracker));A(2);F("htmlFor",c.id);A(2);F("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);Hf("value",e.getIssueUrl());A(2);F("ngIf",e.enableHotkeys);A();F("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);A(3);F("htmlFor",d.id);A(2);F("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);Hf("value",
e.getAppBaseUrl(e.isExternalIssue)+" "+e.issueTitle);A(2);F("ngIf",e.enableHotkeys);A();F("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);A(2);F("ngIf",e.activeSession.isInternalSession()&&!cp(e.currentTracker));A();F("ngIf",e.activeSession.isInternalSession()&&!cp(e.currentTracker))}},wXa=function(a){if(a&1){var b=v();L(0);G(1,"button",12,0);N("onHotkey",function(){x(b);var d=Q();d.disabled||d.trigger.open();return y()})("onedevPopupPanelTriggerOpened",function(){x(b);var d=
Q();return y(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){x(b);var d=Q();return y(d.isOpen=!1)})("click",function(){x(b);var d=Q();d.disabled||d.trigger.open();return y()});K(3,"mat-icon",13);I();G(4,"onedev-popup-panel",14,1);E(6,vXa,28,25,"div",15);I();M()}if(a&2){a=R(5);var c=Q();A();F("onedevPopupPanelTriggerFor",a)("hotkey",c.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",c.enableHotkeys);Hf("aria-label","Show links for the issue "+c.issueId);A(5);F("ngIf",c.isOpen)}},xXa=function(a){a&
1&&K(0,"b-issue-id-picker",2);a&2&&(a=Q(),F("issueId",a.id)("showCopyOptions",!1))},yXa=function(a){a&1&&(L(0),K(1,"b-issue-priority-display",3),M());a&2&&(a=Q(),A(),F("issuePriority",a.priority))},zXa=function(a){a&1&&S(0,"--")},AXa=function(a,b){a&1&&(G(0,"a",4),S(1," Fix Pending "),I());a&2&&(a=Q(),Tf("chippy status-",a.IssueStatus.FIXED,""),eg("href","http://cl/",b.changelistNumber,"",Ye),gg("matTooltip","Open cl/",b.changelistNumber," from ",b.author,""))},BXa=function(a,b){a&1&&(G(0,"div",6),
S(1),I());a&2&&(a=b.$implicit,b=Q(2),Tf("chippy status-",a,""),F("title",b.STATUS_JS_FULL_TEXT[a]),A(),T(" ",b.STATUS_JS_TERSE[a]," "))},CXa=function(a){a&1&&E(0,BXa,2,5,"div",5);if(a&2){a=Q();var b=R(4);F("ngIf",a.status)("ngIfElse",b)}},DXa=function(a){a&1&&S(0,"--")},EXa=function(a,b){b=void 0===b?"":b;return a.filter(function(c){return c.fixedIssueIds.includes(b)})[0]},FXa=function(a){a&1&&(L(0),S(1,"Un-"),M())},GXa=function(a){a&1&&K(0,"b-issue-visibility-chip",6);a&2&&(a=Q(2),F("issueId",a.issueId))},
HXa=function(a){a&1&&K(0,"b-component-access-level-indicator",7);a&2&&(a=Q(2),F("labelOnlyMode",!0)("accessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel))},IXa=function(a){a&1&&(G(0,"span"),S(1," Assigned to "),K(2,"b-user-display",17),I());a&2&&(a=Q(2).ngIf,A(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},JXa=function(a){a&1&&(G(0,"span"),S(1," Accepted by "),K(2,"b-user-display",17),I());a&2&&(a=Q(2).ngIf,A(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},KXa=
function(a){a&1&&(G(0,"span"),S(1," Duplicate of "),G(2,"a",3),S(3),I()());if(a&2){var b;a=Q(2).ngIf;var c=Q();A(2);Jf("aria-label","Go to issue ",a.duplicateOfIssueId,"");F("href",c.editIssue(null!==(b=a.duplicateOfIssueId)&&void 0!==b?b:void 0),Ye);A();T(" ",a.duplicateOfIssueId," ")}},LXa=function(a){a&1&&(G(0,"span"),S(1),I());if(a&2){a=Q().ngIf;var b=Q(2);A();T(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},MXa=function(a,b){a&1&&(L(0,14),E(1,IXa,3,2,"span",15)(2,JXa,3,2,"span",15)(3,KXa,4,4,"span",15)(4,
LXa,2,1,"span",16),M());a&2&&(F("ngSwitch",b.ngIf),A(),F("ngSwitchCase","ASSIGNED"),A(),F("ngSwitchCase","ACCEPTED"),A(),F("ngSwitchCase","DUPLICATE"))},NXa=function(a,b){a&1&&(L(0),K(1,"b-app-vote-button",18),M());if(a&2){var c;a=b.ngIf;b=Q().ngIf;var d=Q(2);A();F("issueId",d.issueId)("voteCount",b.voteCount)("upvoted",null!==(c=a.voted)&&void 0!==c?c:!1)}},OXa=function(a){a&1&&(L(0),E(1,NXa,2,3,"ng-container",1),M());a&2&&(a=Q(2),A(),F("ngIf",a.issue.userData))},QXa=function(a){if(a&1){var b=v();
L(0);G(1,"button",19);N("click",function(){x(b);var c=Q(2);return y(PXa(c,c.childContextId))});S(2," Unlink parent ");I();M()}},RXa=function(a,b){a&1&&(G(0,"li"),S(1," Last updated by "),K(2,"b-user-display",17),S(3," on: "),K(4,"b-formatted-date-time",20),I());a&2&&(a=b.ngIf,b=Q().ngIf,A(2),F("model",a)("hovercardEnabled",!1),A(2),F("timestamp",b.modifiedTimeMicros/1E3))},SXa=function(a,b){a&1&&(L(0),E(1,RXa,5,3,"li",1),G(2,"li"),S(3," Reported by "),K(4,"b-user-display",17),S(5," on: "),K(6,"b-formatted-date-time",
20),I(),M());a&2&&(a=b.ngIf,b=Q().ngIf,A(),F("ngIf",a.lastModifier),A(3),F("model",b.reporterUser)("hovercardEnabled",!1),A(2),F("timestamp",a.createdTimeMicros/1E3))},TXa=function(a){a&1&&(G(0,"li",21),K(1,"b-note-container",22),I());if(a&2){var b;a=Q(2);A();F("issueId",a.issueId)("issueAccessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel)("formattingMode",null!==(b=null==a.firstEvent?null:a.firstEvent.formattingMode)&&void 0!==b?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE)("note",
a.getNote())}},WXa=function(a,b){if(a&1){var c=v();L(0);G(1,"div",2)(2,"h3")(3,"a",3);S(4);I();S(5," \u00a0 ");G(6,"span",4);S(7);I()();G(8,"ul")(9,"li",5);E(10,GXa,1,1,"b-issue-visibility-chip",6)(11,HXa,1,2,"b-component-access-level-indicator",7);I();G(12,"li",8)(13,"span",9);S(14);I();S(15," \u00a0 ");E(16,MXa,5,4,"ng-container",10);I()();G(17,"div",11)(18,"b-cc-button",12);N("onCc",function(f){x(c);var h=Q();h.location&&f&&Wo(h.analytics,h.location+"_"+sq.ISSUE_CARD,"add","CC");return y()});I();
E(19,OXa,2,1,"ng-container",1)(20,QXa,3,0,"ng-container",1);I();G(21,"ul");E(22,SXa,7,4,"ng-container",1)(23,TXa,2,4,"li",13);I()();M()}if(a&2){var d,e;a=b.ngIf;b=Q();A(3);Jf("aria-label","Go to issue ",b.issueId,"");F("href",b.editIssue(b.issueId),Ye);A();rg(b.issueId);A(3);rg(a.title);A(3);Uf(b.enableNewVisibilityChips?10:11);A(3);F("ngClass",b.priorityClass(a.priority));A();rg(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);A(2);F("ngIf",
a.status);A(2);F("issueId",b.issueId)("ccState",UXa(b,null!==(e=a.ccUsers)&&void 0!==e?e:zg(15,VXa)));A();F("ngIf",b.issue.aggregatedData);A();F("ngIf",b.childContextId);A(2);F("ngIf",b.issue.aggregatedData);A();F("ngIf",null==b.firstEvent?null:b.firstEvent.unlinkifiedComment)}},YXa=function(a){if(a&1){var b=v();L(0);G(1,"span",7);N("onedevHovercardShown",function(){x(b);var d=Q();return y(XXa(d))});S(2);I();G(3,"a",8);N("keydown",function(d){x(b);Q();"Enter"===d.key&&d.stopPropagation();return y()})("click",
function(d){x(b);return y(d.stopPropagation())});K(4,"mat-icon",9);I();M()}if(a&2){a=Q();var c=R(7);A();F("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);A();rg(a.title||"--");A();F("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250)}},ZXa=function(a){if(a&1){var b=v();G(0,"a",10);N("keydown",function(d){x(b);Q();"Enter"===d.key&&d.stopPropagation();return y()})("click",function(d){x(b);return y(d.stopPropagation())})("onedevHovercardShown",function(){x(b);
var d=Q();return y(XXa(d))});S(1);I()}if(a&2){a=Q();var c=R(7);F("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);A();rg(a.title||"--")}},$Xa=function(a,b){a&1&&(G(0,"span",11),S(1),I());if(a&2){var c;a=b.$implicit;Rf(a.cssClass);Kf("aria-label","",a.title," - ",a.tooltip,"");F("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");A();rg(a.title)}},aYa=function(a){a&1&&K(0,"b-issue-card",12);a&2&&(a=Q(),F("issueId",a.issue.issueId))},
bYa=function(a){a&1&&(G(0,"span",3),dg(1,1),I())},cYa=function(a){a&1&&(G(0,"span",6),dg(1,2),I())},dYa=function(a){a&1&&(G(0,"span",3),dg(1,1),G(2,"span",8),Kd(),G(3,"svg",9),K(4,"path",10),I()()())},eYa=function(a){a&1&&(G(0,"span",6),dg(1,2),I())},fYa=function(){return{color:"accent"}},gYa=function(a){a&1&&dg(0,2)},hYa=function(a){a&1&&(G(0,"thead",0),Yf(1,1),I(),G(2,"tbody",0),Yf(3,2)(4,3),I(),G(5,"tfoot",0),Yf(6,4),I())},iYa=function(a){a&1&&Yf(0,1)(1,2)(2,3)(3,4)},jYa=function(a,b){return a.concat(Array.from(b))},
kYa=function(a,b){b=b.toUpperCase();for(a=a.viewContainer.element.nativeElement;a;){var c=1===a.nodeType?a.nodeName:null;if(c===b)return a;if("TABLE"===c)break;a=a.parentNode}return null},lYa=function(a){a&1&&dg(0,2)},mYa=function(a){a&1&&(G(0,"thead",0),Yf(1,1),I(),G(2,"tbody",2),Yf(3,3)(4,4),I(),G(5,"tfoot",0),Yf(6,5),I())},nYa=function(a){a&1&&Yf(0,1)(1,3)(2,4)(3,5)},oYa=function(a,b){a&1&&(G(0,"div",16)(1,"div",17),S(2,"CURRENT ISSUE"),I(),G(3,"div",18),S(4),I()());a&2&&(a=b.ngIf,A(4),T(" ",null==
a?null:a.snapshot[0].title," "))},qYa=function(a){a&1&&(G(0,"onedev-feature-tooltip-controller",19)(1,"onedev-feature-tooltip",20)(2,"p",21),S(3,"Try the AI powered deduplication!"),I(),K(4,"br"),S(5,' Explore the suggestions for canonical issue. Try the new "smart search" to experience the power of semantic search. '),I()());a&2&&(a=Q(),F("showTooltip$",a.showFeatureTooltip$),A(),F("customPositions",Ag(3,pYa,a.TOOLTIP_POSITIONS.LEFT_TOP))("tooltipId",a.TOOLTIP_ISSUE_PICKER_SIMILAR_ISSUE))},rYa=function(a){a&
1&&K(0,"mat-icon",22)},sYa=function(a){a&1&&K(0,"mat-icon",23)},tYa=function(a,b){a&1&&E(0,rYa,1,0,"mat-icon",22)(1,sYa,1,0,"mat-icon",23);a&2&&(a=Q(),Uf(b===a.SearchSource.SEMANTIC_SEARCH?0:1))},uYa=function(a){if(a&1){var b=v();G(0,"mat-select",24);V(1,"async");N("selectionChange",function(c){x(b);Q().selectedSearchSource$.next(c.value);return y()});G(2,"mat-option",25);S(3);I();G(4,"mat-option",26);S(5);I()()}a&2&&(a=Q(),F("value",W(1,5,a.selectedSearchSource$)),A(2),F("value",a.SearchSource.SEMANTIC_SEARCH),
A(),T(" ",a.SearchSource.SEMANTIC_SEARCH," "),A(),F("value",a.SearchSource.EXACT_MATCH),A(),T(" ",a.SearchSource.EXACT_MATCH," "))},vYa=function(a){if(a&1){var b=v();G(0,"mat-chip-listbox",39)(1,"mat-chip-option",40,2);N("keydown.enter",function(){x(b);var d=R(2);return y(d.openMenu())})("keyup.space",function(){x(b);var d=R(2);return y(d.openMenu())});G(3,"span");S(4);I();K(5,"mat-icon",41);I()()}if(a&2){Q();a=R(7);var c=Q(3);F("selectable",!1);A();F("matMenuTriggerFor",a);A(3);rg(c.selectedScopeFilter.displayAs)}},
xYa=function(a){if(a&1){var b=v();G(0,"button",42);N("click",function(){x(b);var c=Q(4);return y(wYa(c,c.componentFilter))});K(1,"mat-icon",43);S(2);I()}a&2&&(a=Q(4),F("matTooltip",a.componentFilter.tooltip||""),A(),Qf("invisible",a.componentFilter!==a.selectedScopeFilter),A(),T(" ",a.componentFilter.displayAs," "))},yYa=function(a){if(a&1){var b=v();G(0,"button",42);N("click",function(){x(b);var c=Q(4);return y(wYa(c,c.teamFilter))});K(1,"mat-icon",43);S(2);I()}a&2&&(a=Q(4),F("matTooltip",a.teamFilter.tooltip||
""),A(),Qf("invisible",a.teamFilter!==a.selectedScopeFilter),A(),T(" ",a.teamFilter.displayAs," "))},zYa=function(a){if(a&1){var b=v();G(0,"div",27)(1,"mat-chip-listbox",28);N("change",function(c){x(b);var d=Q(3);c.value?d.selectedFilters$.add(tq):d.selectedFilters$.delete(tq);return y()});G(2,"mat-chip-option",29)(3,"span",30);S(4);I()()();E(5,vYa,6,3,"mat-chip-listbox",31);G(6,"mat-menu",32,1);E(8,xYa,3,4,"button",33)(9,yYa,3,4,"button",33);I();G(10,"mat-chip-listbox",34);N("change",function(){x(b);
var c=Q(3);c.includeDescendants=!c.includeDescendants;var d=Gk(c.component$),e=Gk(c.team$);if(d&&e){d=eXa(d,c.includeDescendants);e=dXa(e,c.includeDescendants);var f=new Set(Gk(c.selectedFilters$.value$));f&&c.componentFilter&&c.teamFilter&&(f.has(c.componentFilter)?(f.delete(c.componentFilter),f.add(d),c.selectedScopeFilter=d):(f.delete(c.teamFilter),f.add(e),c.selectedScopeFilter=e),c.componentFilter=d,c.teamFilter=e,c.selectedFilters$.reset(f))}return y()});G(11,"mat-chip-option",35)(12,"span",
36);S(13);I()()();G(14,"button",37);N("click",function(){x(b);var c=Q(3);return y(c.openLearnMore())});K(15,"mat-icon",38);I()()}a&2&&(a=Q(3),A(2),F("selected",a.selectedFilters$.has(a.openFilter))("value",a.openFilter),A(),F("matTooltip",a.openFilter.tooltip||""),A(),T(" ",a.openFilter.displayAs," "),A(),F("ngIf",a.selectedScopeFilter),A(3),F("ngIf",a.componentFilter),A(),F("ngIf",a.teamFilter),A(4),T(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":"teams"," "))},AYa=function(a,
b){a&1&&(L(0),E(1,zYa,16,8,"div",27),M());a&2&&(a=b.$implicit,b=Q(2),A(),Uf(a===b.SearchSource.SEMANTIC_SEARCH&&b.tableDataSource!==b.TableDataSource.ISSUE_IDS?1:-1))},BYa=function(a){a&1&&(L(0),E(1,AYa,2,1,"ng-container",11),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.selectedSearchSource$)))},CYa=function(a){a&1&&K(0,"ai-spinner",45);a&2&&F("large",!0)},DYa=function(a){a&1&&K(0,"ai-spinner",46)},EYa=function(a){a&1&&K(0,"b-spinner",47)},FYa=function(a){a&1&&(G(0,"div",44),E(1,CYa,1,1,"ai-spinner",
45),V(2,"async"),E(3,DYa,1,0,"ai-spinner",46)(4,EYa,1,0,"b-spinner",47),I());a&2&&(a=Q(),A(),Uf(!a.searchText$.value&&a.isSimilarIssuesUiEnabled?1:a.searchText$.value&&W(2,1,a.selectedSearchSource$)===a.SearchSource.SEMANTIC_SEARCH?3:4))},GYa=function(a){a&1&&(G(0,"b-callout",53)(1,"b-callout-body"),S(2," This issue was suggested by AI! Save time by exploring the suggestions first next time. "),G(3,"a",54),S(4,"Learn more"),I()()())},HYa=function(a){a&1&&(G(0,"h3",50),K(1,"mat-icon",55),S(2," Possible duplicates "),
I())},IYa=function(a){a&1&&(G(0,"th",74)(1,"span",75),S(2,"Selection"),I()())},JYa=function(a,b){a&1&&(G(0,"td",76),K(1,"mat-radio-button",77),V(2,"async"),I());a&2&&(a=b.$implicit,b=Q(3),A(),F("checked",W(2,3,uq(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},KYa=function(a){a&1&&(G(0,"th",74),S(1," Title "),I())},LYa=function(a,b){a&1&&(G(0,"td",76),K(1,"b-issue-title-cell",78),I());a&2&&(a=b.$implicit,b=Q(3),A(),F("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",
!0)("enableHovercard",!0))},MYa=function(a){a&1&&(G(0,"th",74),S(1," Id "),I())},NYa=function(a,b){a&1&&(G(0,"td",76),K(1,"b-issue-id-cell",79),I());a&2&&(a=b.$implicit,A(),F("id",a.issueId))},OYa=function(a){a&1&&(G(0,"th",74),S(1," Priority "),I())},PYa=function(a,b){a&1&&(G(0,"td",76),K(1,"b-issue-priority-cell",80),I());a&2&&(a=b.$implicit,A(),F("issue",a))},QYa=function(a){a&1&&(G(0,"th",81),S(1," Status "),I())},RYa=function(a,b){a&1&&(G(0,"td",76),K(1,"b-issue-status-cell",80),I());a&2&&(a=
b.$implicit,A(),F("issue",a))},SYa=function(a){a&1&&(G(0,"th",74),S(1," Dupes "),I())},TYa=function(a,b){a&1&&(G(0,"td",82),S(1),I());if(a&2){var c;a=b.$implicit;A();T(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},UYa=function(a){a&1&&(G(0,"th",83)(1,"span",75),S(2,"Votes"),I(),K(3,"mat-icon",84),I())},VYa=function(a,b){a&1&&(G(0,"td",82),S(1),I());a&2&&(a=b.$implicit,A(),T(" ",a.aggregatedData.voteCount," "))},WYa=function(a){a&
1&&(G(0,"th",85),S(1," Created "),I())},XYa=function(a,b){a&1&&(G(0,"td",76),K(1,"b-issue-created-time-cell",86),I());a&2&&(a=b.$implicit,A(),F("issue",a))},YYa=function(a){a&1&&K(0,"tr",87)},ZYa=function(a,b){if(a&1){var c=v();G(0,"tr",88);N("keydown",function(d){var e=x(c),f=e.$implicit;e=e.index;var h=Q(3);return y(h.onRowKeydown(e,f,d))})("keydown.enter",function(){var d=x(c).$implicit,e=Q(3);return y(e.selectIssue(d.issueId))})("focusin",function(){var d=x(c).$implicit,e=Q(3);return y(vq(e.focusManager,
d))})("click",function(){var d=x(c),e=d.$implicit;d=d.index;var f=Q(3);f.selectIssue(e.issueId);return y(f.focusManager.setActiveItem(d))});I()}a&2&&F("row",b.$implicit)},aZa=function(a){if(a&1){var b=v();G(0,"table",56);N("contentChanged",function(){x(b);var d=Q().ngIf,e=Q();return y($Ya(e,d))});L(1,57);E(2,IYa,3,0,"th",58);G(3,"mat-radio-group",59);N("change",function(d){x(b);var e=Q(2);return y(e.selectIssue(d.value))});E(4,JYa,3,5,"td",60);I();M();L(5,61);E(6,KYa,2,0,"th",58)(7,LYa,2,4,"td",60);
M();L(8,62);E(9,MYa,2,0,"th",58)(10,NYa,2,1,"td",60);M();L(11,63);E(12,OYa,2,0,"th",58)(13,PYa,2,1,"td",60);M();L(14,64);E(15,QYa,2,0,"th",65)(16,RYa,2,1,"td",60);M();L(17,66);E(18,SYa,2,0,"th",58)(19,TYa,2,1,"td",67);M();L(20,68);E(21,UYa,4,0,"th",69)(22,VYa,2,1,"td",67);M();L(23,70);E(24,WYa,2,0,"th",71)(25,XYa,2,1,"td",60);M();E(26,YYa,1,0,"tr",72)(27,ZYa,1,1,"tr",73);I()}if(a&2){a=Q().ngIf;var c=Q();F("dataSource",a)("trackBy",c.trackByIssueId);A(26);F("matHeaderRowDef",c.tableColumns);A();F("matRowDefColumns",
c.tableColumns)}},bZa=function(a){a&1&&(G(0,"div",89)(1,"span",90),S(2,"No results found"),I()())},cZa=function(a,b){a&1&&(L(0),G(1,"div",48),E(2,GYa,5,0,"b-callout",49)(3,HYa,3,0,"h3",50)(4,aZa,28,4,"table",51)(5,bZa,3,0,"div",52),I(),M());a&2&&(a=b.ngIf,b=Q(),A(2),F("ngIf",b.isSimilarIssuesUiEnabled&&b.isPasteResultInSuggestion),A(),Uf(b.searchText$.value||b.isLoading||!b.isSimilarIssuesUiEnabled?-1:3),A(),F("ngIf",!b.isLoading&&a&&a.length),A(),F("ngIf",!b.isLoading&&0===(null==a?null:a.length)))},
dZa=function(a){if(a&1){var b=v();G(0,"button",4);N("click",function(c){x(b);Q().expansionChange.emit();c.stopPropagation();return y()});K(1,"b-icon",5);I()}a&2&&(a=Q(),Qf("collapsed",!a.expanded),Hf("aria-label",a.expanded?"Collapse children":"Expand children"))},eZa=function(a){a&1&&K(0,"div",6)},fZa=function(a){a&1&&(G(0,"b-person-hovercard",3),S(1),I());a&2&&(a=Q(),F("email",a.assignee),A(),T(" ",a.assignee," "))},gZa=function(a){a&1&&S(0,"--")},hZa=function(a){a&1&&K(0,"b-team-display",3);a&
2&&(a=Q(),F("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},iZa=function(a){a&1&&S(0,"--")},jZa=function(a){a&1&&(L(0),S(1),V(2,"enumToHuman"),M());a&2&&(a=Q(),A(),rg(W(2,1,a.type)))},kZa=function(a){a&1&&S(0,"--")},lZa=function(a){a&1&&(G(0,"b-person-hovercard",3),S(1),I());a&2&&(a=Q(),F("email",a.reporter),A(),T(" ",a.reporter," "))},mZa=function(a){a&1&&S(0,"--")},nZa=function(a){a&1&&(G(0,"div")(1,"div",11),S(2," An issue cannot reference itself. "),I()())},oZa=function(a){a&
1&&(G(0,"mat-option",12)(1,"div",13),K(2,"b-spinner",14),I()());a&2&&(A(2),F("large",!0))},pZa=function(a){a&1&&(G(0,"mat-option",15),S(1," No issues found. "),I())},qZa=function(a){a&1&&K(0,"mat-icon",25);if(a&2){a=Q().$implicit;var b=Q();F("svgIcon",b.STATUS_ICON[a.status])}},rZa=function(a){a&1&&K(0,"b-issue-card",26,2);if(a&2){a=R(1);var b=Q().$implicit;F("onedevIsHovercardReady",a.init)("issueId",b.resourceId)}},tZa=function(a,b){if(a&1){var c=v();G(0,"mat-option",16)(1,"div",17);E(2,qZa,1,1,
"mat-icon",18);G(3,"strong",19);S(4);I();G(5,"onedev-hovercard",null,1);E(7,rZa,2,2,"b-issue-card",20);I();G(8,"a",21);N("click",function(e){x(c);return y(e.stopPropagation())});K(9,"mat-icon",22);I();G(10,"span",23);S(11);I();K(12,"div",24);V(13,"boldPrefixMatches");I()()}if(a&2){a=b.$implicit;b=R(6);var d=Q();F("value",a);A();Hf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");A();F("ngIf",a.status);A();fg("title",a.resourceId);A();T(" ",a.resourceId,
" ");A(4);F("onedevHovercardTrigger",b)("href",d.getIssueLink(a),Ye);A(3);rg(sZa(a));A();fg("title",a.displayText);F("innerHTML",Dg(13,10,a.displayText,d.query),Xe)}},uZa=function(a,b){a&1&&(G(0,"a",13),S(1),I());a&2&&(a=b.$implicit,b=b.last,eg("href","issues/",a.resourceId,"",Ye),A(),sg(" ",a.resourceId,"",b?"":","," "))},vZa=function(a){a&1&&(G(0,"div",11),E(1,uZa,2,4,"a",12),I());a&2&&(a=Q(),A(),F("ngForOf",a.selectedIssues))},wZa=function(a){a&1&&(G(0,"div",11)(1,"a",14)(2,"span",15),S(3),I(),
G(4,"span"),K(5,"mat-icon",16),I()()());a&2&&(a=Q(),A(),eg("href","issues/",a.selectedIssues[0].resourceId,"",Ye),A(2),T(" ",a.selectedIssues[0].displayText," "))},yZa=function(a){if(a&1){var b=v();G(0,"div",17)(1,"div",18);N("click",function(){x(b);var c=Q();return y(xZa(c))})("keyup.space",function(){x(b);var c=Q();return y(xZa(c))});I()()}a&2&&(a=Q(),A(),F("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),Hf("aria-checked",a.isQueryRestricted))},
AZa=function(a){if(a&1){var b=v();G(0,"b-app-bar-bulk-edit-menus",6);V(1,"async");N("onBulkEdit",function(d){x(b);var e=Q();return y(e.bulkEdit(d))})("onQuickBulkEdit",function(d){x(b);var e=Q();return y(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){x(b);var e=Q();return y(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){x(b);var d=Q();return y(d.bulkMarkIssueRead())});I()}if(a&2){var c;a=Q();F("readStatePrompt",zZa(a))("enableBulkEstimatedEffortOption",null!==(c=W(1,2,
a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},EZa=function(a){if(a&1){var b=v();G(0,"b-copy-issue-id-button",7);N("onClickCopyIssueIds",function(){x(b);var c=Q();return y(BZa(c.copyIssueIdService,wq(c)))})("onClickCopyIssueShortLinks",function(){x(b);var c=Q();return y(CZa(c.copyIssueIdService,wq(c)))})("onClickCopyAsIssueSearch",function(){x(b);var c=Q();return y(DZa(c.copyIssueIdService,wq(c)))});I()}a&2&&(a=Q(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",
a.activeSession.isInternalSession()))},FZa=function(a){if(a&1){var b=v();G(0,"div",8)(1,"b-hotlist-picker",9);N("onApply",function(c){x(b);var d=Q();return y(d.handleHotlistPickerSave(c))})("onCreate",function(c){x(b);var d=Q();return y(d.onCreateHotlist.emit(c))})("onLoad",function(c){x(b);var d=Q();return y(d.onLoadHotlist.emit(c))});I()()}a&2&&(a=Q(),A(),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},HZa=function(a){if(a&1){var b=v();G(0,"b-comment-box",16);vg("commentChange",
function(c){x(b);var d=Q(2);ug(d.comment,c)||(d.comment=c);return y(c)});N("onSubmit",function(){x(b);var c=Q(2);return y(GZa(c))});I()}a&2&&(a=Q(2),tg("comment",a.comment),F("showToolbar",!1))},IZa=function(a){if(a&1){var b=v();G(0,"div",17)(1,"b-recaptcha",18);N("onUpdate",function(c){x(b);var d=Q(2);return y(d.recaptchaResponse=c)});I()()}},JZa=function(a){a&1&&(G(0,"h1",10),S(1,"Add comment"),I(),G(2,"mat-dialog-content"),E(3,HZa,1,2,"b-comment-box",11),K(4,"b-external-warnings",12),I(),E(5,IZa,
2,0,"div",13),G(6,"mat-dialog-actions")(7,"button",14),S(8," Cancel "),I(),G(9,"button",15),S(10," Save "),I()());a&2&&(a=Q(),A(3),F("ngIf",a.comment),A(),F("externalWarnings",a.externalWarnings),A(),F("ngIf",a.enableRecaptcha),A(2),F("mat-dialog-close",!1),A(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},KZa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},yq=function(a,b){b=void 0===b?{}:b;return null==b.id?"":xq(a,
b)},xq=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=$wa(a,b));c&&(a=a+"#"+c);return a},LZa=function(a){if(a&1){var b=v();G(0,"button",7);N("click",function(){x(b);var c=Q(2);return y(c.removeHotlist.emit())});K(1,"mat-icon",8);I()}a&2&&(a=Q(2),Qf("invisible",a.disabled),Hf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},MZa=function(a){a&1&&(L(0),G(1,"span",2)(2,"span",3)(3,"a",4),S(4),I()(),E(5,LZa,2,4,"button",5),I(),G(6,"onedev-hovercard",null,
0),K(8,"b-hotlist-card",6),I(),M());if(a&2){a=R(7);var b=Q();A();Pf("padding-right",b.removable?0:"10px");Qf("muted",b.disabled);F("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);A(2);F("href",b.pathBuilder.viewHotlist(b.hotlist.hotlistId),Ye);Hf("aria-label",b.getAriaLabel(b.hotlist));A();rg(b.hotlist.name);A();F("ngIf",b.removable);A(3);F("hotlist",b.hotlist)}},Aq=function(a){for(var b=k(NZa),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return zq.title},
OZa=function(a){a&1&&K(0,"mat-icon",10);a&2&&(a=Q(),F("matTooltip",a.disabledDropdownTooltip))},PZa=function(a,b){if(a&1){var c=v();G(0,"button",11);N("click",function(){var d=x(c).$implicit,e=Q();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return y()});G(1,"div",12);K(2,"mat-icon",13);G(3,"span",14);S(4);I()();G(5,"div",15);S(6);I()()}a&2&&(a=b.$implicit,b=Q(),A(2),F("svgIcon",a.icon),A(2),T(" ",a.title," "),A(2),T(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:
a.descriptionNoExpandedAccess," "))},QZa=function(a){var b=a.assigneeUser===a.currentUserEmail,c=a.verifierUser===a.currentUserEmail,d,e=!(null==(d=a.collaboratorsUsers)||!d.some(function(h){return h===a.currentUserEmail})),f;d=!(null==(f=a.ccUsers)||!f.some(function(h){return h===a.currentUserEmail}));return!b&&!c&&!e&&!d},RZa=function(a){a&1&&(G(0,"span"),S(1,"Edit"),I())},SZa=function(a){a&1&&(G(0,"span"),S(1,"Cancel"),I())},ZZa=function(a){if(a&1){var b=v();L(0);G(1,"td")(2,"div")(3,"div",14);
S(4);I();G(5,"div",15)(6,"a",16);S(7);I()()()();G(8,"td",8)(9,"mat-radio-button",17);N("change",function(d){x(b);var e=Q(2);return y(TZa(e,d.value))});I()();G(10,"td",8)(11,"b-button",18);N("onAction",function(){x(b);var d=Q().$implicit,e=Q();return y(UZa(e,d))});E(12,RZa,2,0,"span",12)(13,SZa,2,0,"span",12);I()();G(14,"td",8)(15,"b-button",19);N("onAction",function(){x(b);var d=Q().$implicit,e=Q();return y(VZa(e,d))});S(16," Delete ");I()();M()}if(a&2){a=Q().$implicit;var c=Q();A(3);Qf("selected",
WZa(c,a));A();T(" ",a.name," ");A(2);F("href",XZa(c,a),Ye);Hf("aria-label",a.name+"- Click to create a new issue");A();T(" ",XZa(c,a)," ");A(2);eg("id","template-default-radio-",a.index,"");F("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);A(2);F("bAriaLabel",WZa(c,a)?"Cancel editing "+a.name:"Edit "+a.name);A();F("ngIf",!WZa(c,a));A();F("ngIf",WZa(c,a));A(2);F("bAriaLabel","Delete "+a.name)("disabled",!YZa(c,a))}},$Za=function(a){a&
1&&(G(0,"h2",73),S(1," Create Template "),I())},a_a=function(a){a&1&&(G(0,"h2",73),S(1),I());a&2&&(a=Q(2).$implicit,A(),sg(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},b_a=function(a,b){a&1&&(G(0,"mat-option",80),S(1),I());a&2&&(a=b.$implicit,fg("value",a),A(),T(" ",a," "))},c_a=function(a){if(a&1){var b=v();G(0,"div",74)(1,"div",24)(2,"label",75);S(3,"Collaborator Groups");I();K(4,"mat-icon",76);I();G(5,"mat-form-field",77)(6,"mat-select",78);vg("ngModelChange",
function(d){x(b);var e=Q(2).$implicit;ug(e.editableTemplate.collaboratorGroups,d)||(e.editableTemplate.collaboratorGroups=d);return y(d)});N("ngModelChange",function(){x(b);Q(2).$implicit.editableTemplate.dirty=!0;return y()});G(7,"mat-select-trigger");S(8);I();E(9,b_a,2,2,"mat-option",79);I()()()}if(a&2){a=Q(2).$implicit;var c=Q();A(4);fg("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);A(2);tg("ngModel",a.editableTemplate.collaboratorGroups);A(2);T(" ",a.editableTemplate.getCollaboratorGroupsString(),
" ");A();F("ngForOf",c.trackerCollaboratorGroups)}},e_a=function(a,b){if(a&1){var c=v();G(0,"button",81);N("click",function(){var e=x(c).$implicit,f=Q(2).$implicit,h=Q();f.issueType=e.value;return y(d_a(h))});S(1);I()}if(a&2){var d;a=b.$implicit;b=Q(2).$implicit;F("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");A();T(" ",a.displayText," ")}},f_a=function(a,b){if(a&1){var c=v();G(0,"button",82);N("click",function(){var d=x(c).$implicit,e=Q(2).$implicit;e.editableTemplate.priority=
d.value;e.editableTemplate.dirty=!0;return y()});S(1);I()}a&2&&(a=b.$implicit,b=Q(2).$implicit,F("disabled",b.editableTemplate.priority===a.value),A(),T(" ",a.displayText," "))},g_a=function(a,b){if(a&1){var c=v();G(0,"button",82);N("click",function(){var d=x(c).$implicit,e=Q(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return y()});S(1);I()}a&2&&(a=b.$implicit,b=Q(2).$implicit,F("disabled",b.editableTemplate.severity===a.value),A(),T(" ",a.displayText," "))},h_a=function(a,
b){if(a&1){var c=v();G(0,"div",83)(1,"b-hotlist-chip",84);N("removeHotlist",function(){var d=x(c).$implicit,e=Q(3);return y(e.removeHotlist(d.hotlistId))});I()()}a&2&&(a=b.$implicit,A(),F("hotlist",a))},i_a=function(a){a&1&&(G(0,"h3"),S(1,"Custom issue fields"),I())},j_a=function(a){if(a&1){var b=v();G(0,"input",92);vg("ngModelChange",function(d){x(b);var e=Q().$implicit,f=Q(2).$implicit;ug(f.editableTemplate.customFieldValues[e.id].textValue,d)||(f.editableTemplate.customFieldValues[e.id].textValue=
d);return y(d)});N("ngModelChange",function(){x(b);Q(3).$implicit.editableTemplate.dirty=!0;return y()});I()}if(a&2){a=Q().$implicit;var c=Q(2).$implicit;Jf("id","template-cf-",a.id,"");tg("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},k_a=function(a){if(a&1){var b=v();G(0,"input",93);vg("ngModelChange",function(d){x(b);var e=Q().$implicit,f=Q(2).$implicit;ug(f.editableTemplate.customFieldValues[e.id].numericValue,d)||(f.editableTemplate.customFieldValues[e.id].numericValue=d);
return y(d)});N("ngModelChange",function(){x(b);Q(3).$implicit.editableTemplate.dirty=!0;return y()});I()}if(a&2){a=Q().$implicit;var c=Q(2).$implicit;Jf("id","template-cf-",a.id,"");tg("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},m_a=function(a){if(a&1){var b=v();G(0,"b-edit-field",94);N("valueChange",function(h){x(b);var l=Q().$implicit,q=Q(2).$implicit,t=Q();return y(t.setCustomField(q,l.id,h))});I()}if(a&2){var c,d;a=Q().$implicit;var e=Q(2).$implicit,f=Q();Jf("id","template-cf-",
a.id,"");F("type",f.FieldType.ENUM)("name",a.name)("clearable",!0)("value",null!==(c=null==e.editableTemplate.customFieldValues[a.id]?null:e.editableTemplate.customFieldValues[a.id].enumValue)&&void 0!==c?c:null)("choices",null!==(d=a.enumFields)&&void 0!==d?d:zg(7,l_a))}},n_a=function(a){if(a&1){var b=v();G(0,"bv2-input-date-picker",95);N("boundValueChange",function(e){x(b);var f=Q().$implicit,h=Q(2).$implicit,l=Q();return y(h.editableTemplate.customFieldValues[f.id].dateValue=l.getDateValue(e))})("boundValueChange",
function(){x(b);Q(3).$implicit.editableTemplate.dirty=!0;return y()});I()}if(a&2){var c;a=Q().$implicit;var d=Q(2).$implicit;Jf("id","template-cf-",a.id,"");F("boundValue",null!==(c=d.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==c?c:void 0)}},p_a=function(a){if(a&1){var b=v();G(0,"b-list-field",96);N("valuesChange",function(e){x(b);var f=Q().$implicit,h=Q(2).$implicit,l=Q();return y(l.setCustomField(h,f.id,e.values))});I()}if(a&2){a=Q().$implicit;var c=Q(2).$implicit,d=Q();Jf("id",
"template-cf-",a.id,"");F("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",o_a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},q_a=function(a,b){a&1&&(G(0,"div")(1,"div",24)(2,"label",85),S(3),I()(),G(4,"div",86),E(5,j_a,1,3,"input",87)(6,k_a,1,3,"input",88)(7,m_a,1,8,"b-edit-field",89)(8,n_a,1,3,"bv2-input-date-picker",90)(9,p_a,1,7,"b-list-field",91),I()());a&2&&(a=b.$implicit,Tf("cell-",a.cellType,""),A(2),eg("for","template-cf-",a.id,
""),A(),sg("",a.name," (id=",a.id,")"),A(),F("ngSwitch",a.type),A(),F("ngSwitchCase","TEXT"),A(),F("ngSwitchCase","NUMERIC"),A(),F("ngSwitchCase","ENUM"),A(),F("ngSwitchCase","DATE"))},w_a=function(a){if(a&1){var b=v();G(0,"td",20)(1,"div",21);E(2,$Za,2,0,"h2",22)(3,a_a,2,2,"h2",22);G(4,"div",23)(5,"div",24)(6,"label",25);S(7,"Template Name");I()();G(8,"input",26);vg("ngModelChange",function(h){x(b);var l=Q().$implicit;ug(l.editableTemplate.name,h)||(l.editableTemplate.name=h);return y(h)});N("ngModelChange",
function(){x(b);Q().$implicit.editableTemplate.dirty=!0;return y()});I()();G(9,"div",23)(10,"div",24)(11,"label",27);S(12,"Description of Template");I()();G(13,"input",28);vg("ngModelChange",function(h){x(b);var l=Q().$implicit;ug(l.editableTemplate.description,h)||(l.editableTemplate.description=h);return y(h)});N("ngModelChange",function(){x(b);Q().$implicit.editableTemplate.dirty=!0;return y()});I()();G(14,"div",29)(15,"h3");S(16," Standard issue fields ");I();G(17,"div",30)(18,"div",31)(19,"div",
24)(20,"label",32);S(21,"Issue Access Level");I()();G(22,"b-issue-access-limits-dropdown",33);N("updatedAccessLimitLevel",function(h){x(b);var l=Q().$implicit;return y(l.editableTemplate.onAccessLimitLevelSelected(h))});I()();E(23,c_a,10,4,"div",34);I();G(24,"div",23)(25,"div",24)(26,"label",35);S(27,"Title");I()();G(28,"input",36);vg("ngModelChange",function(h){x(b);var l=Q().$implicit;ug(l.editableTemplate.title,h)||(l.editableTemplate.title=h);return y(h)});N("ngModelChange",function(){x(b);Q().$implicit.editableTemplate.dirty=
!0;return y()});I()();G(29,"div",37)(30,"div",24)(31,"label",38);S(32,"Type");I()();G(33,"button",39)(34,"span");S(35);I();K(36,"b-icon",40);I();G(37,"mat-menu",41,2);E(39,e_a,2,3,"button",42);I()();G(40,"div",37)(41,"div",24)(42,"label",43);S(43,"Priority");I()();G(44,"button",44)(45,"span");S(46);I();K(47,"b-icon",40);I();G(48,"mat-menu",41,3);E(50,f_a,2,2,"button",45);I()();G(51,"div",37)(52,"div",24)(53,"label",46);S(54,"Severity");I()();G(55,"button",47)(56,"span");S(57);I();K(58,"b-icon",40);
I();G(59,"mat-menu",41,4);E(61,g_a,2,2,"button",45);I()();G(62,"div",48)(63,"div",24)(64,"label",49);S(65,"Default Hotlists");I()();G(66,"b-hotlist-picker",50);N("onApply",function(h){x(b);var l=Q(2);return y(l.handleHotlistPickerSave(h))})("onCreate",function(h){x(b);var l=Q(2);return y(l.createHotlist(h))})("onLoad",function(h){x(b);var l=Q(2);return y(l.loadHotlist(h))});I();E(67,h_a,2,1,"div",51);I();K(68,"div",52);G(69,"div",53)(70,"div",24)(71,"label",54);S(72,"Assignee");I()();G(73,"input",
55);vg("ngModelChange",function(h){x(b);var l=Q().$implicit;ug(l.editableTemplate.assignee,h)||(l.editableTemplate.assignee=h);return y(h)});N("ngModelChange",function(){x(b);Q().$implicit.editableTemplate.dirty=!0;return y()});I()();G(74,"div",53)(75,"div",24)(76,"label",56);S(77,"Verifier");I()();G(78,"input",57);vg("ngModelChange",function(h){x(b);var l=Q().$implicit;ug(l.editableTemplate.verifier,h)||(l.editableTemplate.verifier=h);return y(h)});N("ngModelChange",function(){x(b);Q().$implicit.editableTemplate.dirty=
!0;return y()});I()();G(79,"div",23)(80,"div",24)(81,"label",58);S(82,"Collaborators");I();K(83,"mat-icon",59);I();G(84,"input",60);N("ngModelChange",function(h){x(b);var l=Q().$implicit;return y(r_a(l.editableTemplate,h))});I()();G(85,"div",23)(86,"div",24)(87,"label",61);S(88,"CC");I()();G(89,"input",62);N("ngModelChange",function(h){x(b);var l=Q().$implicit;return y(s_a(l.editableTemplate,h))});I()();G(90,"div",23)(91,"div",24)(92,"label",63);S(93,"Initial Comment");I()();G(94,"textarea",64);vg("ngModelChange",
function(h){x(b);var l=Q().$implicit;ug(l.editableTemplate.comment,h)||(l.editableTemplate.comment=h);return y(h)});N("ngModelChange",function(){x(b);Q().$implicit.editableTemplate.dirty=!0;return y()});S(95,"              ");I();G(96,"b-markdown-toggle",65);N("change",function(h){x(b);var l=Q().$implicit;return y(l.editableTemplate.setFormattingMode(h))});I()();G(97,"div",23)(98,"div",24)(99,"label",66);S(100,"In Prod");I()();G(101,"b-slide-toggle",67);N("modelChange",function(){x(b);var h=Q().$implicit.editableTemplate;
h.inProd=!h.inProd;h.dirty=!0;return y()});I()()();G(102,"div",68);E(103,i_a,2,0,"h3",12)(104,q_a,10,12,"div",69);I();G(105,"div",70)(106,"b-button",71);N("onAction",function(){x(b);var h=Q(2);return y(t_a(h))});S(107," Save ");I();G(108,"b-button",72);N("onAction",function(){x(b);var h=Q(2);return y(u_a(h))});S(109," Cancel ");I()()()()}if(a&2){a=R(38);var c=R(49),d=R(60),e=Q().$implicit,f=Q();A(2);F("ngIf",e.editableTemplate.new);A();F("ngIf",!e.editableTemplate.new);A(5);tg("ngModel",e.editableTemplate.name);
A(5);tg("ngModel",e.editableTemplate.description);A(9);F("disabled",!1)("defaultAccessLimitLevel",e.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",f.implicitAccessEnabled);A();F("ngIf",f.trackerCollaboratorGroups.length);A(5);tg("ngModel",e.editableTemplate.title);A(5);F("matMenuTriggerFor",a);A(2);rg(v_a(e.issueType));A(2);F("overlapTrigger",!0);A(2);F("ngForOf",f.issueTypeChoices);A(5);F("matMenuTriggerFor",c);A(2);rg(e.editableTemplate.priority);A(2);F("overlapTrigger",!0);A(2);
F("ngForOf",f.priorityChoices);A(5);F("matMenuTriggerFor",d);A(2);rg(e.editableTemplate.severity);A(2);F("overlapTrigger",!0);A(2);F("ngForOf",f.severityChoices);A(5);F("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);A();F("ngForOf",f.selectedHotlists);A(6);F("bContactAutocomplete","SINGLE");tg("ngModel",e.editableTemplate.assignee);A(5);F("bContactAutocomplete","SINGLE");tg("ngModel",e.editableTemplate.verifier);A(6);F("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.collaborators.join(", "));
A(5);F("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.cc.join(", "));A(5);tg("ngModel",e.editableTemplate.comment);A(2);F("initialValue",e.editableTemplate.formattingMode);A(5);F("model",e.editableTemplate.inProd);A(2);F("ngIf",0<f.customFieldRows.length);A();F("ngForOf",f.customFieldRows);A(2);F("disabled",!e.editableTemplate.isDirty())}},x_a=function(a,b){a&1&&(G(0,"tr"),E(1,ZZa,17,16,"ng-container",12)(2,w_a,110,38,"td",13),I());a&2&&(a=b.$implicit,A(),F("ngIf",!a.editableTemplate),
A(),F("ngIf",!!a.editableTemplate))},y_a=function(a,b){a&1&&(G(0,"div",97),S(1),I(),G(2,"div",98)(3,"button",99),S(4," Cancel "),I(),G(5,"button",100),S(6," Confirm "),I()());a&2&&(a=b.$implicit,A(),T(' Are you sure you want to delete the template "',a.name,'"? '),A(2),F("mat-dialog-close",!1),A(2),F("mat-dialog-close",!0))},z_a=function(a,b){a&1&&(G(0,"div",97),S(1),I(),G(2,"div",98)(3,"button",101),S(4," Cancel "),I(),G(5,"button",101),S(6," Don't Save "),I(),G(7,"button",102),S(8," Save "),I()());
a&2&&(a=b.$implicit,A(),T(' Do you want to save changes to template "',a.name,'" before closing? '),A(2),F("mat-dialog-close",void 0),A(2),F("mat-dialog-close",!1),A(2),F("mat-dialog-close",!0))},A_a=function(a){a&1&&(L(0),G(1,"div"),S(2),I(),G(3,"div"),S(4),I(),M());a&2&&(a=Q(),A(2),T(" Policy: ",a.rawObjectiveDisplayText," (business) "),A(2),T("Effective: ",a.objectiveDisplayText," (calendar)"))},B_a=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q(),A(),T("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},
C_a=function(a){a&1&&(G(0,"div"),K(1,"b-slo-time-indicator",1),I());a&2&&(a=Q(),A(),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},D_a=function(a){a&1&&(G(0,"div"),K(1,"b-slo-time-indicator",2),I());a&2&&(a=Q(),A(),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},E_a=function(a){a&1&&(G(0,"div"),K(1,"b-slo-time-indicator",3),I());a&2&&(a=Q(),A(),F("sloStartTime",a.sloStartTime)("sloEndTime",
a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},F_a=function(a){a&1&&(G(0,"div",8),K(1,"b-slo-status-summary",9),I());a&2&&(a=Q(),A(),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},G_a=function(a){a&1&&(L(0),S(1," No applicable SLO rules "),M())},H_a=function(a){a&1&&(L(0),S(1," No SLO set on issue component "),M())},I_a=function(a){a&1&&(G(0,"div",10),E(1,G_a,2,0,"ng-container",7)(2,H_a,2,0,"ng-container",7),I());a&2&&(a=Q(),A(),F("ngIf",
a.editSloLink),A(),F("ngIf",!a.editSloLink))},J_a=function(a){if(a&1){var b=v();G(0,"a",12);N("click",function(){x(b);var c=Q(2);return y(c.trackOpenSlo())});S(1);I()}a&2&&(a=Q(2),F("href",a.editSloLink,Ye),A(),T(" ",a.sloName," "))},K_a=function(a){a&1&&(G(0,"span"),S(1," (private) "),I())},L_a=function(a){a&1&&(G(0,"span"),S(1," SLO definition: "),E(2,J_a,2,2,"a",11)(3,K_a,2,0,"span",7),I());a&2&&(a=Q(),A(2),F("ngIf",a.sloName),A(),F("ngIf",!a.sloName))},O_a=function(a){if("CUSTOM_FIELD"===a.type)return new Bq({name:a.customFieldId?
String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=oi(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return M_a.includes(a)?N_a(a):null},Q_a=function(a){return P_a(a.map(O_a).filter(function(b){return!!b}))},R_a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:qi(b.name),customFieldName:void 0}:(b=(b.name||"").replace(/([A-Z])/g,
"_$1").toUpperCase(),"DUPLICATE_OF_ISSUE_ID"===b&&(b="CANONICAL_ISSUE_ID"),b={type:b,customFieldId:void 0,customFieldName:void 0});return b})},P_a=function(a){return Qj(a,function(b){return b.name})},N_a=function(a){var b={name:a,label:a.toUpperCase()},c=S_a[a];c?Object.assign(b,c):M_a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new Bq(b)},U_a=function(a,b){b=void 0===b?document.documentElement:b;return(0,X.concat)((0,X.defer)(function(){return(0,X.of)(b.querySelector(a))}),
T_a(b,{childList:!0,subtree:!0}).pipe(Ce(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),z(function(){return b.querySelector(a)}))).pipe(Ce(Ei),mf(),z(function(c){return c}))},T_a=function(a,b){return new X.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},Cq=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)}}},V_a=function(a){a=
a.target;for(var b=[];a.parentNode;){var c=void 0,d=a,e=[];for(c in d.dataset)"true"===d.dataset[c]&&e.push(c);c=e;b.unshift(a.tagName+(0<c.length?"["+c.join(",")+"]":""));a=a.parentNode}return b.join(" > ")},W_a=function(){var a;return null!=(a=window)&&a.location?(new URLSearchParams(window.location.search)).get("mode"):null},X_a=function(a,b){a&1&&K(0,"col");a&2&&Tf("",b.$implicit.name,"-col")},Y_a=function(a){a&1&&Yf(0)},$_a=function(a,b){a&1&&(L(0),E(1,Y_a,1,0,"ng-container",9),M());a&2&&(a=
b.$implicit,b=Q(),A(),F("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Ag(2,Z_a,a)))},a0a=function(a){a&1&&Yf(0)},c0a=function(a,b){a&1&&(L(0),E(1,a0a,1,0,"ng-container",9),M());if(a&2){a=b.$implicit;b=b.index;var c=Q(),d=c.$implicit;c=c.index;var e=Q().ngIf;A();F("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Cg(2,b0a,d,a,c))}},d0a=function(a,b){if(a&1){var c=v();G(0,"tr",11,3);N("click",function(){var e=x(c).index,f=Q(2);f.focusedRowIndex!==
e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return y()})("focus",function(){var e=x(c).index,f=Q(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return y()});E(2,c0a,2,6,"ng-container",7);I()}if(a&2){a=b.$implicit;b=b.index;var d=Q(2);Qf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);Hf("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?
", row starred":""));A(2);F("ngForOf",d.columns)}},e0a=function(a){a&1&&(L(0),E(1,d0a,3,12,"tr",10),M());a&2&&(a=Q(),A(),F("ngForOf",a.list))},f0a=function(a,b){a&1&&(G(0,"th"),K(1,"pop-grid-default-th",12),I());a&2&&(a=b.column,A(),F("column",a))},g0a=function(a,b){a&1&&(G(0,"td"),K(1,"pop-grid-default-cell",13),I());a&2&&(a=b.row,b=b.column,A(),F("row",a)("column",b))},h0a=function(a){if(a&1){var b=v();G(0,"b-sortable-header",3);N("sortChanged",function(c){x(b);var d=Q();d.grid&&d.grid.sortChange.emit(c);
return y()});I()}a&2&&(a=Q(),F("columnLabel",a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||"ASC")("sort",null==a.grid?null:a.grid.sort)("matTooltip",a.column.tooltip||""))},i0a=function(a){a&1&&(G(0,"span",6),S(1),I());a&2&&(a=Q(2),A(),T("column-",a.column.name,""))},j0a=function(a){a&1&&(G(0,"div",4),E(1,i0a,2,1,"span",5),S(2),I());a&2&&(a=Q(),Hf("aria-label",a.column.label),A(),F("ngIf",!a.column.label),A(),T(" ",a.column.label," "))},k0a=function(a){if(a&
1){var b=v();G(0,"div",14,3);N("menuOpened",function(){x(b);var d=Q();return y(d.menuOpen=!0)})("menuClosed",function(){x(b);var d=Q();return y(d.menuOpen=!1)})("keydown.enter",function(d){x(b);R(1).openMenu();d.preventDefault();return y(d.stopPropagation())})("keydown.space",function(){x(b);var d=R(1);return y(d.openMenu())});I()}if(a&2){a=Q();var c=R(5);Qf("columnpicker-button-active",a.menuOpen);Jf("aria-label","",a.column.fullLabel," column configuration");F("matMenuTriggerFor",c)}},n0a=function(a,
b){if(a&1){var c=v();G(0,"button",15);N("click",function(){var d=x(c).$implicit,e=Q();return y(l0a(e,d.name))});K(1,"b-icon",16);G(2,"span",17);S(3);I()()}a&2&&(a=b.$implicit,b=Q(),Qf("b-menu-item-checked",m0a(a.name).get(b.listViewPrefs)),A(3),T(" ",a.menuItem," "))},o0a=function(a){a&1&&K(0,"mat-divider")},p0a=function(a){if(a&1){var b=v();G(0,"button",22);N("click",function(){x(b);var c=Q().$implicit,d=Q().before,e=Q();return y(e.add(c,d))})("keydown.enter",function(c){x(b);var d=Q().$implicit,
e=Q().before;Q().add(d,e);c.preventDefault();return y(c.stopPropagation())});S(1);I()}a&2&&(a=Q().$implicit,F("matTooltip",a.tooltip),A(),T(" ",a.fullLabel," "))},r0a=function(a){a&1&&(G(0,"button",12)(1,"span"),S(2),I()());if(a&2){a=Q().$implicit;var b=Q().before;Q();var c=R(18);F("matMenuTriggerFor",c)("matMenuTriggerData",Bg(3,q0a,a.columns,b));A(2);rg(a.label)}},s0a=function(a,b){a&1&&(L(0),E(1,p0a,2,2,"button",20)(2,r0a,3,6,"button",21),M());a&2&&(a=b.$implicit,b=Q(2),A(),F("ngIf",b.isIssueGridColumn(a)),
A(),F("ngIf",!b.isIssueGridColumn(a)))},u0a=function(a){if(a&1){var b=v();G(0,"button",18);N("click",function(){var c=x(b).before,d=Q();return y(t0a(d,c))});S(1," Custom Field ");I();K(2,"mat-divider");E(3,s0a,3,2,"ng-container",19)}a&2&&(a=Q(),A(3),F("ngForOf",a.currentAvailableItems))},v0a=function(a,b){if(a&1){var c=v();G(0,"button",24);N("click",function(){var d=x(c).$implicit,e=Q().before,f=Q();return y(f.add(d,e))})("keydown.enter",function(d){var e=x(c).$implicit,f=Q().before;Q().add(e,f);
d.preventDefault();return y(d.stopPropagation())});S(1);I()}a&2&&(a=b.$implicit,A(),T(" ",a.fullLabel," "))},w0a=function(a,b){a&1&&E(0,v0a,2,1,"button",23);a&2&&F("ngForOf",b.columns)},m0a=function(a){switch(a){case "id-link":return{get:function(b){var c;return"link"===(null==(c=b.modeForField)?void 0:c.id)},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"copy"===(null==(c=b.modeForField)?void 0:c.id)},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"icon"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,
c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;return"plain"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"plain":void 0}};case "rtlComponentPath":return{get:function(b){return b.rtlComponentPath},set:function(b,c){b.rtlComponentPath=c}};default:throw Error("oe`"+a);}},x0a=function(a){return{matchedPatterns:gi(a,1,hi(zi))}},
y0a=function(a){a&1&&(G(0,"p",12),S(1),I());a&2&&(a=Q(),A(),T(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},z0a=function(a){a&1&&(G(0,"p",13),S(1),G(2,"a",14),S(3," Learn more "),I()());a&2&&(a=Q(),A(),T(" Your status update contains restricted words: ",Dq(a.bannedWordsChecker),". Review your status update before posting. "))},A0a=function(a){a&1&&(G(0,"div",15),K(1,"b-live-preview",16),I());a&2&&(a=Q(),A(),F("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",
a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},D0a=function(a){var b,c;a=Eq(a,B0a,5);return{output:null!=(c=null==(b=Ii(a,C0a,1,hi())[0])?void 0:b.getOutput())?c:""}},E0a=function(a){return!(!CBa(a.userPerformingAction)||!a.isMajorEvent)},F0a=function(a){return function(b){return Ii(b,Fq,1,hi()).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),issueId:a}})}},G0a=function(a){a&1&&(L(0),S(1," > "),M())},H0a=function(a,b){a&
1&&(L(0),G(1,"a",7),S(2),I(),E(3,G0a,2,0,"ng-container",3),M());a&2&&(a=b.$implicit,b=b.last,A(),Jf("aria-label","View recent issues in ",a.name,""),F("routerLinkObj",a.route),A(),rg(a.name),A(),F("ngIf",!b))},I0a=function(a){a&1&&(G(0,"span"),S(1," [Archived]"),I())},J0a=function(a){a&1&&(G(0,"div",5),E(1,H0a,4,5,"ng-container",6),V(2,"async"),E(3,I0a,2,0,"span",3),V(4,"async"),I());a&2&&(a=Q(),A(),F("ngForOf",W(2,2,a.componentPath$)),A(2),F("ngIf",W(4,4,a.isArchived$)))},K0a=function(a,b){a&1&&
(L(0),G(1,"div",8),K(2,"mat-icon",9),G(3,"div",10),S(4),I()(),G(5,"div",11)(6,"span",10),S(7),I(),K(8,"b-component-access-level-indicator",12),I(),G(9,"p",10),S(10),I(),M());a&2&&(a=b.$implicit,A(4),rg(a.name),A(3),T("Component ID: ",a.componentId,""),A(),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),A(2),rg(a.description))},L0a=function(a,b){a&1&&(G(0,"div",13)(1,"a",14),S(2,"View recent open issues"),I(),G(3,"a",15),S(4,"View component settings"),I(),G(5,
"a",16),S(6,"Create issue in this component"),I()());a&2&&(a=b.$implicit,A(),F("routerLinkObj",a.recentIssues),A(2),F("routerLinkObj",a.componentSettings),A(2),F("routerLinkObj",a.createIssue))},M0a=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),T("(",a.disabledReason,")"))},N0a=function(a,b){a&1&&(G(0,"mat-radio-button",8),S(1),E(2,M0a,2,1,"span",9),I());a&2&&(a=b.$implicit,F("value",a)("disabled",!a.enabled),A(),T(" ",a.displayText," "),A(),F("ngIf",!a.enabled))},O0a=function(a){a&
1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),T("(",a.disabledReason,")"))},P0a=function(a,b){a&1&&(G(0,"mat-radio-button",8),S(1),E(2,O0a,2,1,"span",9),I());a&2&&(a=b.$implicit,F("value",a)("disabled",!a.enabled),A(),T(" ",a.displayText," "),A(),F("ngIf",!a.enabled))},Q0a=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},R0a=function(a){return"share-email-confirmation-"+a},S0a=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("pe`"+a);}},T0a=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(),A(),T("Retain ",a.resource," as long as issue?"))},U0a=function(a){a&1&&(G(0,"span"),S(1,"Apply component retention settings?"),I())},V0a=function(a){a&1&&(G(0,"span")(1,"p"),S(2),I(),G(3,"p")(4,"b"),S(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."),
I(),K(6,"br"),S(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),I()());a&2&&(a=Q(),A(2),T("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},W0a=function(a){a&1&&(G(0,"span")(1,"p"),S(2),I()());a&2&&(a=Q(),A(2),sg("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."))},
X0a=function(a){if(a&1){var b=v();G(0,"mat-checkbox",9);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.acknowledgeToMatchIssueRetention,c)||(d.acknowledgeToMatchIssueRetention=c);return y(c)});S(1," I acknowledge ");I()}a&2&&(a=Q(),tg("ngModel",a.acknowledgeToMatchIssueRetention))},Y0a=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},Hq=function(a){return new Gq((a instanceof Gq?a:new Gq(a)).value,!0)},Z0a=function(a){if(a.oauthTokens){var b=a.oauthTokens;
return(0,X.firstValueFrom)(b).then(function(c){c=new X.BehaviorSubject(c);b.subscribe(c);return new Iq(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new Jq(a.apiKey,a.appAuthTokens)):Promise.resolve(new Kq(a.apiKey,a.authUser)):Promise.reject(Error("Ae"))},$0a=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}},
a1a=function(a){return{send:function(b,c,d,e,f,h,l){var q=new Lq(a);q.listen("complete",c);q.listenOnce("ready",function(){q.dispose()});h&&(q.timeoutInterval_=Math.max(0,h));l&&(q.withCredentials_=l);q.send(b,d,e,f);return q}}},b1a=function(a){return new X.Observable(function(b){var c=Mq(function(){b.next({});b.complete()},a);return function(){Nq(c)}})},c1a=function(a){var b=new Oq;b.setName(a);return b},e1a=function(a){a.isPrivate?(a=new Pq,Il(a,2,d1a,kb(!0))):(a=new Pq,Il(a,1,d1a,kb(!0)));return a},
g1a=function(a){var b=new Qq;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Rq;if(d.value instanceof Sq)d.isDecreasing?Il(c,4,Tq,qb(d.value.toString())):Il(c,2,Tq,qb(d.value.toString()));else if("string"===typeof d.value)d.isDecreasing?Ql(c,3,Tq,d.value):Ql(c,1,Tq,d.value);else if("number"===typeof d.value)d.isDecreasing?Il(c,9,Tq,ib(d.value)):Il(c,10,Tq,ib(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?Il(c,5,Tq,ab(d.value,!1,!0,!1)):Il(c,7,Tq,ab(d.value,
!1,!0,!1));else if(d.value instanceof Uq)if(d.isDecreasing){var e=c;d=f1a(d.value);Rl(e,11,Tq,d)}else e=c,d=f1a(d.value),Rl(e,12,Tq,d);else d.value instanceof Vq&&(e=d.value.rep,"number"===typeof e?d.isDecreasing?Il(c,9,Tq,ib(e)):Il(c,10,Tq,ib(e)):"string"===typeof e&&(d.isDecreasing?Il(c,6,Tq,null==e?e:Oba(e)):Il(c,8,Tq,null==e?e:Oba(e))));Wq(b,1,Rq,c)}return b},l1a=function(a,b){if(a instanceof Xq)return 0<Ii(b,Rq,1,hi()).length?null:h1a.apply(Xq,u(a.parts));a=Array.of.apply(Array,u(a.root.parts));
b=k(Ii(b,Rq,1,hi()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,tm(c,Tq)){case 4:a.push(Hq(Yq(Si(c,Fl(c,Tq,4)))));break;case 2:a.push(new Gq(Yq(Si(c,Fl(c,Tq,2)))));break;case 6:a.push(Hq(new Vq(i1a(c,6))));break;case 8:a.push(new Gq(new Vq(i1a(c,8))));break;case 10:a.push(new Gq(new Vq(Zq(c,Fl(c,Tq,10)))));break;case 9:a.push(Hq(new Vq(Zq(c,Fl(c,Tq,9)))));break;case 3:a.push(Hq(so(c,3,Tq)));break;case 1:a.push(new Gq(so(c,1,Tq)));break;case 7:var d=void 0;a.push(new Gq(null==(d=$q(c,Fl(c,
Tq,7)))?void 0:j1a(d)));break;case 5:d=void 0;a.push(Hq(null==(d=$q(c,Fl(c,Tq,5)))?void 0:j1a(d)));break;case 12:c=k1a(Ll(c,aj,12,Tq));if(null===c)return null;a.push(new Gq(c));break;case 11:c=k1a(Ll(c,aj,11,Tq));if(null===c)return null;a.push(Hq(c));break;case 0:return null;default:return null}return h1a.apply(Xq,u(a))},m1a=function(a){a&1&&(G(0,"p",12),S(1),G(2,"a",13),S(3," Learn more "),I()());a&2&&(a=Q(),A(),T(" Your comment contains restricted words: ",Dq(a.bannedWordsChecker),". Review your comment before posting. "))},
n1a=function(a){a&1&&K(0,"b-live-preview",14);a&2&&(a=Q(),F("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},o1a=function(a){if(a&1){var b=v();G(0,"section")(1,"div",15)(2,"b-recaptcha",16);N("onUpdate",function(c){x(b);var d=Q();return y(d.recaptchaResponse=c)});I()()()}},p1a=function(a){return function(b){var c,d;return{resourceId:b.issueId,displayText:null!=(c=b.snapshot[0].title)?c:"",status:null!=
(d=b.snapshot[0].status)?d:null,relations:[a]}}},q1a=function(a){var b=[],c=new Map;a=k(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(u(e.relations),u(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},r1a=function(a,b){a&1&&K(0,"mat-icon",12);a&2&&(a=b.ngIf,F("svgIcon",a.icon)("matTooltip",a.tooltip),Hf("aria-label",a.tooltip))},s1a=function(a){a&1&&(L(0),S(1,"\u2026 >"),M())},t1a=function(a){a&
1&&(L(0),S(1,"\u2026"),M())},u1a=function(a){if(a&1){var b=v();G(0,"a",18);N("click",function(){x(b);var c=Q(4);return y(c.compactMode$.next(!1))});E(1,s1a,2,0,"ng-container",9)(2,t1a,2,0,"ng-container",9);I()}a&2&&(a=Q().$implicit,A(),F("ngIf",a.isSpliced),A(),F("ngIf",a.isTruncated))},v1a=function(a){a&1&&(G(0,"a",19),S(1),I());if(a&2){a=Q().$implicit;var b=R(7);Qf("muted",a.name==a.id);F("routerLinkObj",a.route)("onedevHovercardTrigger",b);A();rg(a.name)}},w1a=function(a){a&1&&(G(0,"span",20),
S(1),I());a&2&&(a=Q().$implicit,Qf("muted",a.name==a.id),A(),rg(a.name))},x1a=function(a){a&1&&(L(0),S(1," > "),M())},y1a=function(a){a&1&&(L(0),K(1,"b-component-path-card",21,3),M());if(a&2){a=R(2);var b=Q().$implicit;A();F("onedevIsHovercardReady",a.init)("componentId",b.id)}},z1a=function(a,b){a&1&&(L(0),E(1,u1a,3,2,"a",15)(2,v1a,2,5,"a",16)(3,w1a,2,3,"ng-template",null,1,Eg)(5,x1a,2,0,"ng-container",9),G(6,"onedev-hovercard",null,2),E(8,y1a,3,2,"ng-container",17),I(),M());if(a&2){a=b.$implicit;
b=b.last;var c=R(4),d=Q(3);A();F("ngIf",a.isSpliced||a.isTruncated);A();F("ngIf",!d.viewOnly)("ngIfElse",c);A(3);F("ngIf",!b)}},A1a=function(a,b){a&1&&(G(0,"span",13),E(1,z1a,9,4,"ng-container",14),I());a&2&&(a=b.$implicit,A(),F("ngForOf",a))},B1a=function(a){a&1&&(G(0,"span"),S(1,"[Archived]"),I())},C1a=function(a){if(a&1){var b=v();G(0,"button",22);N("click",function(){x(b);Q(2).editing=!0;return y()});K(1,"mat-icon",23);I()}},D1a=function(a){a&1&&(G(0,"a",24),V(1,"async"),K(2,"mat-icon",25),I());
if(a&2){var b;a=Q(2);F("routerLinkObj",a.popoutLink(null==(b=W(1,1,a.component$))?null:b.componentId))}},E1a=function(a){a&1&&(G(0,"b-async-data-placeholder",5),V(1,"async"),G(2,"div",6),V(3,"async"),V(4,"async"),E(5,r1a,1,3,"mat-icon",7),V(6,"async"),E(7,A1a,2,1,"span",8),V(8,"async"),E(9,B1a,2,0,"span",9),V(10,"async"),E(11,C1a,2,0,"button",10)(12,D1a,3,3,"a",11),I()());a&2&&(a=Q(),F("isReady",W(1,10,a.isReady$)),A(2),Qf("public",W(3,12,a.showPublicIndicator$))("partner",W(4,14,a.showPartnerIndicator$)),
A(3),F("ngIf",W(6,16,a.folder$)),A(2),F("ngIf",W(8,18,a.componentPath$)),A(2),F("ngIf",W(10,20,a.isArchived$)),A(2),F("ngIf",!a.viewOnly),A(),F("ngIf",a.popoutLink))},G1a=function(a){if(a&1){var b=v();G(0,"b-team-component-picker",26);V(1,"async");N("selectedComponentChange",function(c){x(b);var d=Q();d.editing=!1;c&&F1a(d.issueEditComponentService,d.issueId,c);return y()})("dropdownClosed",function(){x(b);Q().editing=!1;return y()});I()}a&2&&(a=Q(),F("selectedComponent",W(1,3,a.component$))("isRequired",
!0)("shouldFocus",!0))},I1a=function(a,b){if(a&1){var c=v();L(0);G(1,"mat-checkbox",21);N("click",function(d){x(c);return y(d.stopPropagation())})("change",function(d){var e=x(c).$implicit,f=Q(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 l;H1a(f,null!=(l=f.updatedAccessLimitLevel$.getValue())?
l:f.defaultAccessLimitLevel);return y()});S(2);I();M()}a&2&&(a=b.$implicit,A(),F("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),A(),T(" ",a.key," "))},J1a=function(a){a&1&&(L(0),G(1,"div")(2,"span",18),S(3,"Add collaborator groups"),I(),K(4,"mat-icon",8),I(),G(5,"div",19),E(6,I1a,3,4,"ng-container",20),V(7,"keyvalue"),I(),M());a&2&&(a=Q(),A(4),fg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),A(2),F("ngForOf",W(7,2,a.collaboratorGroupsEmailToDetailsMap)))},L1a=function(a){if(a&1){var b=
v();L(0);G(1,"button",22);N("click",function(){x(b);var c=Q();return y(c.onPressCancel())});S(2," Cancel ");I();G(3,"button",23);V(4,"async");N("click",function(){x(b);var c=Q();return y(c.onPressSave())});S(5," Save ");I();M()}a&2&&(a=Q(),A(3),F("disabled",!K1a(a,W(4,1,a.hasAccessLimitLevelSelectionChanged$))))},M1a=function(a){if(a&1){var b=v();G(0,"button",24);N("click",function(){x(b);var c=Q();return y(c.onPressCancel())});S(1," Close ");I()}},N1a=function(a){a&1&&K(0,"div",2)},O1a=function(a){a&
1&&(L(0),dg(1),M())},P1a=function(a){a&1&&(Kd(),G(0,"svg",1),K(1,"path",2),I());a&2&&(a=Q(),F("matTooltip",a.warning))},Q1a=function(a){a&1&&Yf(0)},T1a=function(a){if(a&1){var b=v();G(0,"div",1);N("keydown",function(c){x(b);var d=Q();return y(d.processKeydown(c))});G(1,"div",2);E(2,Q1a,1,0,"ng-container",3);I();G(3,"div",4)(4,"button",5);N("click",function(){x(b);var c=Q();return y(R1a(c))});S(5,"Save");I();G(6,"button",6);N("click",function(){x(b);var c=Q();return y(S1a(c))});S(7,"Cancel");I()()()}a&
2&&(a=Q(),F("cdkTrapFocusAutoCapture",!0),A(2),F("ngTemplateOutlet",a.editorTemplate),A(2),F("disabled",a.saveDisabled))},U1a=function(a){a&1&&Yf(0)},W1a=function(a){a&1&&(L(0),E(1,U1a,1,0,"ng-container",8),M());a&2&&(a=Q(),A(),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ag(2,V1a,a.value)))},X1a=function(a){a&1&&S(0);a&2&&(a=Q(),rg(null!=a.value?a.value:"--"))},Y1a=function(a){a&1&&(Kd(),G(0,"svg",9),K(1,"path",10),I())},Z1a=function(a){if(a&1){var b=v();G(0,"input",11);vg("ngModelChange",
function(c){x(b);var d=Q();ug(d.editingValue,c)||(d.editingValue=c);return y(c)});I()}a&2&&(a=Q(),tg("ngModel",a.editingValue))},$1a=function(a){return null!=a?Number(a):void 0},a2a=function(a){a&1&&K(0,"mat-icon",15);a&2&&(Q(),a=R(5),F("onedevHovercardTrigger",a))},b2a=function(a){if(a&1){var b=v();L(0);G(1,"onedev-numeric-field",16);N("valueChange",function(d){x(b);var e=Q(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return y()});I();
M()}if(a&2){a=Q(2);var c=R(2);A();F("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},c2a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().$implicit,A(),T(" ",a.label," "))},d2a=function(a){a&1&&S(0," -- ")},e2a=function(a,b){a&1&&E(0,c2a,2,1,"ng-container",18)(1,d2a,1,0,"ng-template",null,3,Eg);a&2&&(a=b.$implicit,b=R(2),F("ngIf",a)("ngIfElse",b))},g2a=function(a){if(a&1){var b=v();L(0);G(1,"onedev-single-select",17);N("valueChange",function(e){x(b);
var f=Q(2);return y(f.selectOption(e))});I();E(2,e2a,3,2,"ng-template",null,2,Eg);M()}if(a&2){var c;a=R(3);var d=Q(2);A();F("value",d.selectedOption)("options",null!==(c=null==d.effortSpec.enumSpec?null:d.effortSpec.enumSpec.options)&&void 0!==c?c:zg(6,f2a))("includeEmptyOption",!0)("optionTemplate",a)("disabled",d.disabled)("displayArrowIcon",!d.disabled)}},h2a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q(2),A(),T(" ",null==a.effort?null:a.effort.estimate," "))},i2a=function(a){a&1&&(G(0,"onedev-edit-field")(1,
"onedev-field-label",6),S(2),E(3,a2a,1,1,"mat-icon",7),I(),G(4,"onedev-hovercard",null,1)(6,"div",8)(7,"div",9),S(8," This estimate was made under a different configuration and needs to be updated. "),G(9,"a",10),S(10,"Learn more"),I()()()(),G(11,"onedev-field-value",11),L(12,12),E(13,b2a,2,4,"ng-container",13)(14,g2a,4,7,"ng-container",13)(15,h2a,2,1,"ng-container",14),M(),I()());a&2&&(a=Q(),A(),F("thinking",a.thinking),A(),T(" ",a.fieldName," "),A(),F("ngIf",!a.isCompatibleValue),A(8),F("thinking",
a.thinking),A(),F("ngSwitch",a.fieldType),A(),F("ngSwitchCase","NUMERIC"),A(),F("ngSwitchCase","DROPDOWN"))},j2a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q(2),A(),T(" ",null==a.effort?null:a.effort.estimate," "))},k2a=function(a){a&1&&S(0);a&2&&(a=Q().$implicit,T(" ",null!=a?a:"--"," "))},l2a=function(a,b){a&1&&E(0,j2a,2,1,"ng-container",18)(1,k2a,1,1,"ng-template",null,4,Eg);if(a&2){a=b.$implicit;b=R(2);var c=Q();F("ngIf",c.isNaN(a))("ngIfElse",b)}},n2a=function(a,b){var c=a.getPrimaryTarget(),d=
a.getTargetList().map(function(e){return e===c?b:e});return new ar(new m2a(a,d))},p2a=function(){return new o2a(pd.apply(0,arguments))},r2a=function(){return new q2a(pd.apply(0,arguments))},t2a=function(){var a=pd.apply(0,arguments);return 1===a.length?a[0]:new s2a(a)},u2a=function(a,b){b&&(null!=b.autocompleteGroupingType&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),null!=b.autocompleteGroupingLabel&&a.setAutocompleteGroupingLabel(b.autocompleteGroupingLabel),null!=b.autocompleteHeader&&
a.setAutocompleteHeader(b.autocompleteHeader),null!=b.autocompleteMaxResultsBeforeScroll&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),null!=b.density&&a.setDensity(b.density),null!=b.moveAutocompleteAboveAnchorIfOffscreen&&a.setMoveAutocompleteAboveAnchorIfOffscreen(b.moveAutocompleteAboveAnchorIfOffscreen),null!=b.autoActivateFirstSuggestion&&a.setAutoActivateFirstSuggestion(b.autoActivateFirstSuggestion),null!=b.showSuggestions&&a.setShowSuggestions(b.showSuggestions),
null!=b.noResultsMessage&&a.setNoResultsMessage(b.noResultsMessage),null!=b.autoActivateFirstSearchResult&&a.setAutoActivateFirstSearchResult(b.autoActivateFirstSearchResult),null!=b.clearSelectionOnSearch&&a.setClearSelectionsOnSearch(b.clearSelectionOnSearch),null!=b.resultCustomizationCallback&&a.setResultCustomizationCallback(b.resultCustomizationCallback))},v2a=function(a){if(a&1){var b=v();G(0,"input",4,2);N("peoplekitAutocompleteSelectionChange",function(c){x(b);var d=Q();0<c.length&&(d.inputValue=
c[0].result().getPrimaryTarget().getValue());return y()});vg("ngModelChange",function(c){x(b);var d=Q();ug(d.inputValue,c)||(d.inputValue=c);return y(c)});I()}a&2&&(a=Q(),F("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions),tg("ngModel",a.inputValue))},w2a=function(a){a&1&&Yf(0)},y2a=function(a){a&1&&(L(0),E(1,w2a,1,0,"ng-container",6),M());a&2&&(a=Q(),A(),F("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Ag(2,x2a,a.email)))},
z2a=function(a){a&1&&S(0);a&2&&(a=Q(),T(" ",a.email," "))},A2a=function(a){a&1&&(Kd(),G(0,"svg",7),K(1,"path",8),I())},B2a=function(a){a&1&&K(0,"b-user-membership-chip",4);if(a&2){var b;a=Q().$implicit;var c=Q();F("email",a)("teamId",null!==(b=c.teamId)&&void 0!==b?b:"")("enableSmallChip",!0)}},C2a=function(a,b){a&1&&E(0,B2a,1,3,"b-user-membership-chip",3);a&2&&F("ngIf",b.$implicit)},D2a=function(a){a&1&&K(0,"mat-icon",16)},E2a=function(a){a&1&&K(0,"mat-icon",17)},F2a=function(a){a&1&&K(0,"mat-icon",
18)},G2a=function(a){a&1&&(G(0,"span"),K(1,"b-formatted-date-time",25),I());a&2&&(a=Q(2),A(),F("timestamp",a.sloStartTime))},H2a=function(a){a&1&&(G(0,"span"),K(1,"b-formatted-date-time",25),G(2,"span"),S(3," (default)"),I()());a&2&&(a=Q(2),A(),F("timestamp",a.issueCreationTimestamp/1E3))},I2a=function(a){if(a&1){var b=v();G(0,"slo-edit-date-time-picker",26);N("closePicker",function(){x(b);var c=Q(2);return y(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){x(b);var d=Q(2);return y(d.updateSloStartTime(c))});
I()}a&2&&(a=Q(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},J2a=function(a){if(a&1){var b=v();G(0,"div",19)(1,"a",20);S(2," Start Date: ");I();G(3,"div",21)(4,"a",22,0);N("keydown.enter",function(){x(b);var d=Q();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()})("keydown.space",function(){x(b);var d=Q();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()})("click",function(){x(b);var d=Q();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;
return y()});E(6,G2a,2,1,"span",23)(7,H2a,4,1,"span",23);I();E(8,I2a,1,2,"ng-template",24);I()()}if(a&2){a=R(5);var c=Q();A(6);F("ngIf",c.hasSloStartTime);A();F("ngIf",!c.hasSloStartTime);A();F("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloStartEditTimePickerOpen)}},K2a=function(a){a&1&&(G(0,"span"),S(1," Set closure SLO "),I())},L2a=function(a){a&1&&(G(0,"span"),K(1,"b-formatted-date-time",25),I());a&2&&(a=Q(2),A(),F("timestamp",a.sloEndTime))},M2a=function(a){a&1&&(G(0,"span"),
K(1,"b-formatted-date-time",25),G(2,"span"),S(3," (default)"),I()());a&2&&(a=Q(2),A(),F("timestamp",1E3*a.closureSloTarget))},N2a=function(a){if(a&1){var b=v();G(0,"slo-edit-date-time-picker",26);N("closePicker",function(){x(b);var c=Q(2);return y(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){x(b);var d=Q(2);return y(d.updateSloEndTime(c))});I()}a&2&&(a=Q(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},O2a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"a",20);S(2," End Date: ");
I();G(3,"div",21)(4,"a",28,0);N("click",function(){x(b);var d=Q();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()})("keydown.enter",function(){x(b);var d=Q();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()})("keydown.space",function(){x(b);var d=Q();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()});E(6,K2a,2,0,"span",23)(7,L2a,2,1,"span",23)(8,M2a,4,1,"span",23);I();E(9,N2a,1,2,"ng-template",24);I()()}if(a&2){a=R(5);var c=Q();A(6);
F("ngIf",!c.hasClosureSlo);A();F("ngIf",c.hasClosureSlo&&c.hasSloEndTime);A();F("ngIf",c.hasClosureSlo&&!c.hasSloEndTime);A();F("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloEndEditTimePickerOpen)}},P2a=function(a,b){if(a&1){var c=v();G(0,"a",31);N("click",function(){x(c);var d=Q(2);return y(d.trackOpenSlo())});S(1);I()}a&2&&(a=b.ngIf,b=Q(2),Hf("href",b.editSloLink,Ye),A(),T(" ",a.name," "))},Q2a=function(a){a&1&&(G(0,"div",29),S(1," SLO definition: "),E(2,P2a,2,2,"a",30),V(3,"async"),
I());a&2&&(a=Q(),A(2),F("ngIf",W(3,1,a.slo$)))},R2a=function(a){if(a&1){var b=v();G(0,"div",29)(1,"a",32);N("click",function(){x(b);Q();Kk(sq.MANAGE_COMPONENT,"open","fromIssueSloBox");return y()});S(2,"Select an SLO");I()()}a&2&&(a=Q(),A(),Hf("href",a.componentSloLink,Ye))},S2a=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},T2a=function(a){if(a&1){var b=v();G(0,"div",8);S(1," Select a team from the suggestions below, or edit in ");G(2,"a",9);N("click",function(){x(b);
var c=Q();return y(c.trackClick("viewTeamAssociationOnComponent"))});S(3,"component settings");I();S(4,".\n");I()}a&2&&(a=Q(),A(2),F("href",a.componentSetting,Ye))},U2a=function(a){a&1&&(G(0,"div",8),S(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),G(2,"a",10),S(3,"component settings"),I(),S(4,".\n"),I());a&2&&(a=Q(),A(2),F("href",a.componentSetting,Ye))},V2a=function(a){if(a&1){var b=v();G(0,"mat-radio-group",11);vg("ngModelChange",
function(c){x(b);var d=Q();ug(d.teamAction,c)||(d.teamAction=c);return y(c)});G(1,"p")(2,"mat-radio-button",12);S(3," Don't make any changes ");I()();G(4,"p")(5,"mat-radio-button",13);S(6," Map component to selected team ");I()()()}a&2&&(a=Q(),tg("ngModel",a.teamAction))},W2a=function(a){a&1&&(L(0),G(1,"span",19),S(2),I(),M());a&2&&(a=Q().$implicit,A(2),rg(a.teamPath))},X2a=function(a){a&1&&S(0," -- ")},Y2a=function(a,b){a&1&&E(0,W2a,3,1,"ng-container",18)(1,X2a,1,0,"ng-template",null,1,Eg);a&2&&
(a=b.$implicit,b=R(2),F("ngIf",a)("ngIfElse",b))},Z2a=function(a){if(a&1){var b=v();G(0,"div",14)(1,"onedev-single-select",15);vg("valueChange",function(d){x(b);var e=Q();ug(e.selectedTeam,d)||(e.selectedTeam=d);return y(d)});N("valueChange",function(d){x(b);var e=Q();return y(e.selectOption(d))});I();E(2,Y2a,3,2,"ng-template",null,0,Eg);G(4,"a",16);N("click",function(){x(b);var d=Q();return y(d.trackClick("viewTeamInMoma"))});K(5,"mat-icon",17);I()()}if(a&2){a=R(3);var c=Q();A();F("disabled","NONE"===
c.teamAction);tg("value",c.selectedTeam);F("options",c.teamOptions)("includeEmptyOption",!1)("optionTemplate",a);A(3);Hf("href",c.getMomaTeamLink(),Ye)}},$2a=function(a){if(a&1){var b=v();G(0,"b-callout-actions")(1,"b-button",2);N("click",function(){x(b);var c=Q();return y(c.openDialog())});S(2);I()()}a&2&&(a=Q(),A(2),rg(a.buttonName))},a3a=function(a){switch(a){case "P0":return br.CHANGE_ISSUE_PRIORITY_TO_P0;case "P1":return br.CHANGE_ISSUE_PRIORITY_TO_P1;case "P2":return br.CHANGE_ISSUE_PRIORITY_TO_P2;
case "P3":return br.CHANGE_ISSUE_PRIORITY_TO_P3;case "P4":return br.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},b3a=function(a){switch(a){case "NEW":return br.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return br.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return br.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return br.CHANGE_ISSUE_STATUS_TO_FIXED;case "VERIFIED":return br.CHANGE_ISSUE_STATUS_TO_VERIFIED;
case "NOT_REPRODUCIBLE":return br.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;case "INTENDED_BEHAVIOR":return br.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return br.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return br.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "DUPLICATE":return br.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},c3a=function(){function a(){var c,d,e;return null==(c=window.google)?
void 0:null==(d=c.corp)?void 0:null==(e=d.devops)?void 0:e.tools}var b=100;return new Promise(function(c,d){function e(){var f=a();null!=f?c(f):(setTimeout(e,b),b*=2)}e();setTimeout(function(){var f=a();null!=f?c(f):d("timeout: 5000")},5E3)})},d3a=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},e3a=function(a){a&1&&Yf(0)},f3a=function(a){a&1&&(L(0),E(1,e3a,1,0,"ng-container",58),M());a&2&&(Q(),a=R(120),A(),F("ngTemplateOutlet",a))},h3a=function(a,b){a&1&&(K(0,"b-list-field",
60),V(1,"async"));a&2&&(a=b.ngIf,b=Q(3),F("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Ag(8,g3a,a))("showInternalOnlyFieldBadge",!W(1,6,b.issueIsOnInternalComponent$)))},i3a=function(a){a&1&&(L(0),E(1,h3a,2,10,"b-list-field",59),V(2,"async"),M());a&2&&(a=Q(2),A(),F("ngIf",W(2,1,a.teamHovercardInputs$)))},k3a=function(a){if(a&1){var b=v();G(0,"div",62)(1,"b-team-warning",63);V(2,"async");V(3,"async");N("updateTeam",function(){x(b);var h=Q(3);h.issueFridge.poke(h.issueId);
return y()});I()()}if(a&2){var c,d;a=Q().ngIf;var e=Q().ngIf,f=Q();A();F("warningType",a)("componentId",e.componentId)("parentComponentId",(null==(c=W(2,4,f.component$))?null:c.parentComponentId)||0)("teamSuggestions",null!==(d=W(3,6,f.teamSuggestions$))&&void 0!==d?d:zg(8,j3a))}},l3a=function(a){a&1&&(L(0),E(1,k3a,4,9,"div",61),V(2,"async"),M());a&2&&(a=Q(2),A(),F("ngIf",W(2,1,a.shouldDisplayTeamSuggestions$)))},n3a=function(a){if(a&1){var b=v();L(0);G(1,"b-edit-field",64,21);V(3,"async");V(4,"async");
V(5,"async");N("valueChange",function(f){x(b);var h=R(2),l=Q(2);return y(m3a(l,h,null!==f&&void 0!==f?f:""))});I();M()}if(a&2){var c,d;a=Q().ngIf;var e=Q();A();F("name","reporter")("title","Reporter")("type",e.FieldType.TEXT)("value",a.reporter)("user",null!==(c=a.reporterUser)&&void 0!==c?c:void 0)("isUser",!0)("readonly",!W(3,10,e.hasAclToEdit$))("disabled",!!W(4,12,e.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(d=W(5,14,e.teamId$))&&void 0!==d?d:"")}},p3a=function(a){if(a&1){var b=
v();G(0,"onedev-edit-field")(1,"onedev-field-label");S(2,"Reporter");I();G(3,"onedev-field-value",65);V(4,"async");G(5,"b-user-picker",66);V(6,"async");V(7,"async");N("emailChange",function(e){x(b);var f=Q(2);return y(o3a(f.editIssueService,f.issueId,e))});I()()()}if(a&2){var c;a=Q().ngIf;var d=Q();A(3);F("thinking",!!W(4,4,d.isSaving$("reporter")));A(2);F("user",a.reporterUser)("teamId",null!==(c=W(6,6,d.teamId$))&&void 0!==c?c:"")("disabled",!W(7,8,d.hasAclToEdit$))}},q3a=function(a){a&1&&Yf(0)},
r3a=function(a){a&1&&(L(0),E(1,q3a,1,0,"ng-container",58),M());a&2&&(Q(),a=R(122),A(),F("ngTemplateOutlet",a))},s3a=function(a,b){if(a&1){var c=v();G(0,"div",68);K(1,"div",69);G(2,"span",70);V(3,"async");V(4,"async");N("click",function(){var d=x(c).ngIf,e=Q(3);return y(cr(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;cr(Q(3),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=x(c).ngIf;cr(Q(3),e);d.stopPropagation();return y(d.preventDefault())});S(5);I()()}a&
2&&(a=b.ngIf,b=Q(3),A(2),Qf("disabled",!!W(3,6,b.isSaving$("status"))),F("matTooltip",a.description||""),Hf("aria-disabled",!!W(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),A(3),T(" ",a.displayText," "))},t3a=function(a){a&1&&(L(0),E(1,s3a,6,10,"div",67),V(2,"async"),M());a&2&&(a=Q(2),A(),F("ngIf",W(2,1,a.issueStatusQuickAction$)))},u3a=function(a){a&1&&(K(0,"b-issue-card",71,22),V(2,"async"));if(a&2){a=R(1);var b=Q(2);F("onedevIsHovercardReady",a.init)("issueId",W(2,2,b.canonicalIssueId$))}},
w3a=function(a){if(a&1){var b=v();G(0,"b-estimated-effort-row",72);V(1,"async");V(2,"async");V(3,"async");N("effortChange",function(e){x(b);var f=Q(2);return y(v3a(f.editIssueService,f.issueId,e))});I()}if(a&2){var c,d;a=Q(2);F("effort",null!==(c=W(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=W(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!W(3,7,a.hasAclToEdit$))}},x3a=function(a){a&1&&(G(0,"div"),S(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. "),
G(2,"a",77),S(3,"Learn more"),I()());a&2&&(a=Q(3),A(2),F("href",$o(a.documentationLinks)+"#expanded-access",Ye))},y3a=function(a){a&1&&(G(0,"div",73)(1,"span",74),S(2,"Expanded Access"),I(),G(3,"xap-bubble",75)(4,"xap-icon-trigger"),K(5,"mat-icon",76),I(),E(6,x3a,4,1,"ng-template",null,23,Eg),I()());a&2&&(a=R(7),A(3),F("panelTemplate",a))},z3a=function(a){a&1&&(G(0,"span",82),V(1,"async"),S(2),I());if(a&2){a=Q().ngIf;var b=Q(4);Qf("disabled",!!W(1,3,b.isSaving$("assignee")));A(2);T(" ",a.displayText,
" ")}},A3a=function(a,b){if(a&1){var c=v();G(0,"div",80);V(1,"async");N("onHotkey",function(){var d=x(c).ngIf,e=Q(4);return y(cr(e,d))})("click",function(){var d=x(c).ngIf,e=Q(4);return y(cr(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;cr(Q(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=x(c).ngIf;cr(Q(4),e);d.stopPropagation();return y(d.preventDefault())});K(2,"div",69);E(3,z3a,3,5,"span",81);V(4,"async");I()}a&2&&(a=b.ngIf,b=Q(4),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",
a.description),Hf("aria-disabled",!!W(1,5,b.isSaving$("assignee")))("aria-label",a.description),A(3),F("ngIf",W(4,7,b.hasAclToEdit$)))},B3a=function(a){a&1&&(L(0),E(1,A3a,5,9,"div",79),V(2,"async"),M());a&2&&(a=Q(3),A(),F("ngIf",W(2,1,a.issueAssigneeQuickAction$)))},D3a=function(a){if(a&1){var b=v();L(0);G(1,"b-edit-field",78,24);V(3,"async");V(4,"async");V(5,"async");N("onHotkey",function(){x(b);var f=R(2);return y(Qp(f,null,!0,!1))})("valueChange",function(f){x(b);var h=R(2),l=Q(2);return y(C3a(l,
h,null!==f&&void 0!==f?f:""))});I();E(6,B3a,3,3,"ng-container",27);M()}if(a&2){var c,d;a=Q().ngIf;var e=Q();A();F("hotkey",e.HOTKEYS.CHANGE_ASSIGNEE)("name","assignee")("title","Assignee")("type",e.FieldType.TEXT)("value",a.assignee)("user",null!==(c=a.assigneeUser)&&void 0!==c?c:void 0)("isUser",!0)("readonly",!W(3,12,e.hasAclToEdit$))("disabled",!!W(4,14,e.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(d=W(5,16,e.teamId$))&&void 0!==d?d:"");A(5);F("ngIf",e.defaultAssigneeQuickActionEnabled)}},
F3a=function(a){if(a&1){var b=v();G(0,"div",86);N("click",function(){x(b);var c=Q(3);return y(E3a(c.editIssueService,c.issueId,""))});S(1," Un-assign ");I()}},G3a=function(a,b){if(a&1){var c=v();G(0,"div",88);V(1,"async");V(2,"async");N("onHotkey",function(){var d=x(c).ngIf,e=Q(4);return y(cr(e,d))})("click",function(){var d=x(c).ngIf,e=Q(4);return y(cr(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;cr(Q(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=
x(c).ngIf;cr(Q(4),e);d.stopPropagation();return y(d.preventDefault())});S(3);I()}a&2&&(a=b.ngIf,b=Q(4),Qf("disabled",!!W(1,7,b.isSaving$("assignee"))),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Hf("aria-disabled",!!W(2,9,b.isSaving$("assignee")))("aria-label",a.description),A(3),T(" ",a.displayText," "))},H3a=function(a){a&1&&(L(0),E(1,G3a,4,11,"div",87),V(2,"async"),M());a&2&&(a=Q(3),A(),F("ngIf",W(2,1,a.issueAssigneeQuickAction$)))},I3a=function(a){if(a&1){var b=
v();G(0,"onedev-edit-field")(1,"onedev-field-label");S(2,"Assignee");I();G(3,"onedev-field-value",65);V(4,"async");G(5,"b-user-picker",83,25);V(7,"async");V(8,"async");N("onHotkey",function(){x(b);var e=R(6);return y(e.openPopOver())})("emailChange",function(e){x(b);var f=Q(2);return y(E3a(f.editIssueService,f.issueId,e))});I();G(9,"div",84);E(10,F3a,2,0,"div",85);V(11,"async");E(12,H3a,3,3,"ng-container",27);V(13,"async");I()()()}if(a&2){var c;a=Q().ngIf;var d=Q();A(3);F("thinking",!!W(4,7,d.isSaving$("assignee")));
A(2);F("hotkey",d.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(c=W(7,9,d.teamId$))&&void 0!==c?c:"")("disabled",!W(8,11,d.hasAclToEdit$));A(5);F("ngIf",a.assigneeUser&&W(11,13,d.hasAclToEdit$));A(2);F("ngIf",d.defaultAssigneeQuickActionEnabled&&W(13,15,d.hasAclToEdit$))}},K3a=function(a){if(a&1){var b=v();L(0);G(1,"b-edit-field",89,26);V(3,"async");V(4,"async");V(5,"async");N("valueChange",function(f){x(b);var h=R(2),l=Q(2);return y(J3a(l,h,null!==f&&void 0!==f?f:""))});I();M()}if(a&
2){var c,d;a=Q().ngIf;var e=Q();A();F("name","verifier")("title","Verifier")("type",e.FieldType.TEXT)("value",a.verifier)("user",null!==(c=a.verifierUser)&&void 0!==c?c:void 0)("isUser",!0)("readonly",!W(3,10,e.hasAclToEdit$))("disabled",!!W(4,12,e.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(d=W(5,14,e.teamId$))&&void 0!==d?d:"")}},M3a=function(a){if(a&1){var b=v();G(0,"onedev-edit-field")(1,"onedev-field-label");S(2,"Verifier");I();G(3,"onedev-field-value",65);V(4,"async");G(5,
"b-user-picker",66);V(6,"async");V(7,"async");N("emailChange",function(e){x(b);var f=Q(2);return y(L3a(f.editIssueService,f.issueId,e))});I()()()}if(a&2){var c;a=Q().ngIf;var d=Q();A(3);F("thinking",!!W(4,4,d.isSaving$("verifier")));A(2);F("user",a.verifierUser)("teamId",null!==(c=W(6,6,d.teamId$))&&void 0!==c?c:"")("disabled",!W(7,8,d.hasAclToEdit$))}},N3a=function(a){a&1&&(G(0,"span"),S(1," Remove me "),I())},O3a=function(a){a&1&&(G(0,"span"),S(1," Add me "),I())},Q3a=function(a){if(a&1){var b=
v();G(0,"div",41);V(1,"async");V(2,"async");V(3,"async");V(4,"async");N("click",function(){x(b);var c=Q(2);return y(P3a(c))})("keydown.enter",function(c){x(b);var d=Q(2);P3a(d);c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){x(b);var d=Q(2);P3a(d);c.stopPropagation();c.preventDefault();return y()});E(5,N3a,2,0,"span",27);V(6,"async");E(7,O3a,2,0,"span",27);V(8,"async");V(9,"async");I()}a&2&&(a=Q(2),Qf("disabled",!!W(1,7,a.isSaving$("collaborators"))),F("matTooltip",
W(2,9,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),Hf("aria-disabled",!!W(3,11,a.isSaving$("collaborators")))("aria-label",W(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),A(5),F("ngIf",W(6,15,a.isCurrentUserCollaborator$)),A(2),F("ngIf",!W(8,17,a.isCurrentUserCollaborator$)&&W(9,19,a.hasAclToEdit$)))},R3a=function(a){a&1&&(G(0,"span"),S(1," Un-CC me "),I())},S3a=function(a){a&1&&(G(0,
"span"),S(1," CC me "),I())},U3a=function(a){if(a&1){var b=v();G(0,"div",41);V(1,"async");V(2,"async");V(3,"async");V(4,"async");N("click",function(){x(b);var c=Q(2);return y(T3a(c))})("keydown.enter",function(c){x(b);var d=Q(2);T3a(d);c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){x(b);var d=Q(2);T3a(d);c.stopPropagation();c.preventDefault();return y()});E(5,R3a,2,0,"span",27);V(6,"async");E(7,S3a,2,0,"span",27);V(8,"async");V(9,"async");I()}a&2&&(a=Q(2),Qf("disabled",
!!W(1,7,a.isSaving$("ccs"))),F("matTooltip",W(2,9,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),Hf("aria-disabled",!!W(3,11,a.isSaving$("ccs")))("aria-label",W(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),A(5),F("ngIf",W(6,15,a.isCurrentUserCCd$)),A(2),F("ngIf",!W(8,17,a.isCurrentUserCCd$)&&W(9,19,a.isAllowedToEditCC$)))},V3a=function(a){a&1&&Yf(0)},W3a=function(a){a&1&&(L(0),E(1,V3a,1,0,"ng-container",58),M());a&2&&(Q(),a=R(124),A(),F("ngTemplateOutlet",
a))},X3a=function(a){a&1&&K(0,"b-list-field",90);if(a&2){a=Q().ngIf;var b=Q(2);F("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Y3a=function(a,b){a&1&&(L(0),E(1,X3a,1,6,"b-list-field",54),V(2,"async"),M());a&2&&(a=b.ngIf,b=Q(2),A(),F("ngIf",W(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Z3a=function(a){a&1&&K(0,"b-list-field",90);if(a&2){a=Q().ngIf;var b=Q();F("readonly",
!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},a4a=function(a,b){a&1&&(G(0,"div"),Yf(1,91),I());a&2&&(a=b.$implicit,Q(),b=R(136),A(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,$3a,a)))},b4a=function(a){a&1&&Yf(0)},c4a=function(a){a&1&&(L(0),E(1,b4a,1,0,"ng-container",58),M());a&2&&(Q(),a=R(134),A(),F("ngTemplateOutlet",a))},d4a=function(a){a&1&&K(0,"hr",
92)},e4a=function(a){a&1&&Yf(0)},f4a=function(a){a&1&&(L(0),E(1,e4a,1,0,"ng-container",58),M());a&2&&(Q(2),a=R(120),A(),F("ngTemplateOutlet",a))},g4a=function(a){a&1&&Yf(0)},h4a=function(a){a&1&&(L(0),E(1,g4a,1,0,"ng-container",58),M());a&2&&(Q(2),a=R(122),A(),F("ngTemplateOutlet",a))},i4a=function(a){a&1&&Yf(0)},j4a=function(a){a&1&&(L(0),E(1,i4a,1,0,"ng-container",58),M());a&2&&(Q(2),a=R(124),A(),F("ngTemplateOutlet",a))},k4a=function(a,b){a&1&&(G(0,"div"),Yf(1,91),I());a&2&&(a=b.$implicit,Q(2),
b=R(136),A(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,$3a,a)))},l4a=function(a){a&1&&Yf(0)},m4a=function(a){a&1&&(L(0),E(1,l4a,1,0,"ng-container",58),M());a&2&&(Q(2),a=R(134),A(),F("ngTemplateOutlet",a))},n4a=function(a){a&1&&(G(0,"collapsible-panel",93),V(1,"async"),E(2,f4a,2,1,"ng-container",27),V(3,"async"),E(4,h4a,2,1,"ng-container",27),V(5,"async"),E(6,j4a,2,1,"ng-container",27),V(7,"async"),E(8,k4a,2,4,"div",55),V(9,"async"),E(10,m4a,2,1,"ng-container",27),V(11,"async"),I());if(a&
2){var b;a=Q(2);F("titleWhenCollapsed",null!==(b=W(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");A(2);F("ngIf",a.showSloStatus&&!W(3,10,a.isSloStatusPrimary$));A(2);F("ngIf",!W(5,12,a.isSeverityPrimary$));A(2);F("ngIf",a.showChangelists&&!W(7,14,a.isChangelistPrimary$));A(2);F("ngForOf",W(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);A(2);F("ngIf",!W(11,18,a.isForgottenFourPrimary$))}},o4a=function(a){if(a&1){var b=v();G(0,"b-issue-slo-box",
95);V(1,"async");V(2,"async");V(3,"async");V(4,"async");V(5,"async");N("onSloStartTimeChange",function(h){x(b);var l=Q(3);return y(l.editIssueService.updateSloStartTime(l.issueId,h.date))})("onSloEndTimeChange",function(h){x(b);var l=Q(3);return y(l.editIssueService.updateSloEndTime(l.issueId,h.date))});I()}if(a&2){var c,d,e;a=Q(2).ngIf;var f=Q();F("sloStatus",null!==(c=W(1,8,f.sloStatus$))&&void 0!==c?c:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(d=W(2,10,f.sloId$))&&
void 0!==d?d:void 0)("componentId",a.componentId)("isEditable",!!W(3,12,f.hasAclToEdit$))("issueCreationTimestamp",null!==(e=W(4,14,f.createdTimeMicros$))&&void 0!==e?e:0)("showInternalOnlyFieldBadge",!W(5,16,f.issueIsOnInternalComponent$))}},p4a=function(a){a&1&&E(0,o4a,6,18,"ng-template",94);a&2&&(a=Q(2),F("refreshable",a.refreshMonitor.getObservable()))},r4a=function(a){if(a&1){var b=v();G(0,"b-edit-field",96);V(1,"async");V(2,"async");N("valueChange",function(d){x(b);var e=Q(2);return y(q4a(e.editIssueService,
e.issueId,null!==d&&void 0!==d?d:""))});I()}if(a&2){a=Q().ngIf;var c=Q();F("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",!W(1,8,c.hasAclToEdit$))("disabled",!!W(2,10,c.isSaving$("severity")))}},s4a=function(a){if(a&1){var b=v();G(0,"insights-graph-btn",100);N("pressed",function(){x(b);var c=Q(3);return y(c.issueInsightsSidebarService.onClickButton("deployments"))});
I()}},w4a=function(a){if(a&1){var b=v();G(0,"b-list-field",97);V(1,"async");V(2,"async");N("valuesChange",function(h){x(b);var l=Q(2),q=[],t=[];h=k(h.values);for(var w=h.next();!w.done;w=h.next()){w=w.value;var B=iBa(w);B?q.push(B):t.push(w)}t4a(l.editIssueService,l.issueId,t);u4a();return y()});G(3,"div",98);E(4,s4a,1,0,"insights-graph-btn",99);V(5,"async");I()();K(6,"b-list-field",90);V(7,"async");V(8,"async");V(9,"async")}if(a&2){var c,d,e;a=Q().ngIf;var f=Q();F("readonly",!W(1,15,f.hasAclToEdit$))("defaultLineCount",
3)("title","Code Changes")("type",f.ListFieldType.CODE_CHANGES)("values",v4a(a))("listFieldDisabled",!!W(2,17,f.isSaving$("changelists")));A(4);F("ngIf",W(5,19,f.issueInsightsSidebarService.shouldShowInsightsGraphButton$));A(2);Qf("bv2-issue-metadata-error",null==(c=W(7,21,f.pendingCodeChanges$))?null:c.hasError);F("readonly",!0)("defaultLineCount",3)("title","Pending Code Changes")("type",f.ListFieldType.CODE_CHANGES)("values",(null==(d=W(8,23,f.pendingCodeChanges$))?null:d.changes)||zg(27,j3a))("tooltip",
(null==(e=W(9,25,f.pendingCodeChanges$))?0:e.hasError)?"Error fetching pending changelists":"Pending code changes (auto-populated)")}},y4a=function(a){if(a&1){var b=v();G(0,"b-edit-field",101);V(1,"csv");V(2,"async");V(3,"async");N("valueChange",function(d){x(b);var e=Q(2);return y(x4a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});I()}if(a&2){a=Q().ngIf;var c=Q();F("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",
W(1,8,a.foundInVersion))("readonly",!W(2,10,c.hasAclToEdit$))("disabled",!!W(3,12,c.isSaving$("foundInVersion")))}},A4a=function(a){if(a&1){var b=v();G(0,"b-edit-field",102);V(1,"csv");V(2,"async");V(3,"async");N("valueChange",function(d){x(b);var e=Q(2);return y(z4a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});I()}if(a&2){a=Q().ngIf;var c=Q();F("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",
W(1,8,a.targetedToVersion))("readonly",!W(2,10,c.hasAclToEdit$))("disabled",!!W(3,12,c.isSaving$("targetedToVersion")))}},C4a=function(a){if(a&1){var b=v();G(0,"b-edit-field",101);V(1,"csv");V(2,"async");V(3,"async");N("valueChange",function(d){x(b);var e=Q(2);return y(B4a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});I()}if(a&2){a=Q().ngIf;var c=Q();F("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",
W(1,8,a.verifiedInVersion))("readonly",!W(2,10,c.hasAclToEdit$))("disabled",!!W(3,12,c.isSaving$("verifiedInVersion")))}},E4a=function(a){if(a&1){var b=v();G(0,"b-edit-field",103);V(1,"async");V(2,"async");N("valueChange",function(d){x(b);var e=Q(2);return y(D4a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});I()}if(a&2){a=Q().ngIf;var c=Q();F("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!W(1,
7,c.hasAclToEdit$))("disabled",!!W(2,9,c.isSaving$("inProd")))}},F4a=function(a){a&1&&Yf(0)},G4a=function(a){a&1&&Yf(0)},H4a=function(a){a&1&&Yf(0)},I4a=function(a){a&1&&Yf(0)},J4a=function(a){a&1&&(G(0,"div",30),E(1,F4a,1,0,"ng-container",58)(2,G4a,1,0,"ng-container",58)(3,H4a,1,0,"ng-container",58)(4,I4a,1,0,"ng-container",58),I());if(a&2){Q();a=R(126);var b=R(128),c=R(130),d=R(132);A();F("ngTemplateOutlet",a);A();F("ngTemplateOutlet",b);A();F("ngTemplateOutlet",c);A();F("ngTemplateOutlet",d)}},
L4a=function(a,b){if(a&1){var c=v();G(0,"b-custom-field-editor",104);V(1,"async");V(2,"async");N("save",function(e){var f=x(c).$implicit,h=Q(2);return y(K4a(h.editIssueService,h.issueId,f.customFieldId,e))});I()}if(a&2){a=b.$implicit;b=Q().ngIf;var d=Q();F("issue",b)("field",a)("readonly",!W(1,4,d.hasAclToEdit$))("disabled",!!W(2,6,d.isSaving$(a.customFieldId)))}},R4a=function(a,b){if(a&1){var c=v();L(0);E(1,f3a,2,1,"ng-container",27);V(2,"async");E(3,i3a,3,3,"ng-container",27)(4,l3a,3,3,"ng-container",
27);V(5,"async");E(6,n3a,6,16,"ng-container",28)(7,p3a,8,10,"ng-template",null,0,Eg);G(9,"b-edit-field",29,1);V(11,"async");V(12,"async");N("valueChange",function(J){x(c);var H=R(10),O=Q();return y(M4a(O,H,null!==J&&void 0!==J?J:"",O.getTrackerId()))});I();G(13,"div",30)(14,"b-edit-field",31,2);V(16,"async");V(17,"async");N("onHotkey",function(){x(c);var J=R(15);return y(Qp(J,null,!0,!1))})("valueChange",function(J){x(c);var H=Q();return y(N4a(H.editIssueService,H.issueId,null!==J&&void 0!==J?J:""))});
I();E(18,r3a,2,1,"ng-container",27);V(19,"async");I();G(20,"div",32)(21,"b-edit-field",33,3);V(23,"async");V(24,"async");V(25,"async");V(26,"async");N("onHotkey",function(){x(c);var J=R(22);return y(Qp(J,null,!0,!1))})("valueChange",function(J){x(c);var H=Q();return y(O4a(H,null!==J&&void 0!==J?J:""))});I();E(27,t3a,3,3,"ng-container",27);V(28,"async");I();G(29,"onedev-hovercard",null,4);E(31,u3a,3,4,"b-issue-card",34);I();E(32,w3a,4,9,"b-estimated-effort-row",35);V(33,"async");V(34,"async");G(35,
"div",36)(36,"div",37)(37,"div",38)(38,"label");S(39,"Access");I()();G(40,"div",39)(41,"span",40);S(42);V(43,"async");I();G(44,"div",41);V(45,"async");V(46,"async");N("click",function(){x(c);var J=Q();return y(J.toggleAccessLimits())})("keydown.enter",function(J){x(c);var H=Q();return y(H.toggleAccessLimitsWithKeystroke(J))})("keydown.space",function(J){x(c);var H=Q();return y(H.toggleAccessLimitsWithKeystroke(J))});G(47,"span");S(48);V(49,"async");I()()()();G(50,"onedev-hovercard",null,5)(52,"div",
42)(53,"div",43)(54,"span",44);S(55," Issue access level can only be set by Issue admins and it enables issue-level access control. ");G(56,"a",45);S(57,"Learn more");I()()()()()();G(58,"div",46);V(59,"async");E(60,y3a,8,1,"div",47);V(61,"async");G(62,"div",48);E(63,D3a,7,18,"ng-container",28)(64,I3a,14,17,"ng-template",null,6,Eg);I();E(66,K3a,6,16,"ng-container",28)(67,M3a,8,10,"ng-template",null,7,Eg);L(69);G(70,"b-collaborators-field",49,8);V(72,"async");V(73,"async");V(74,"async");N("toggleAccessLimits",
function(){x(c);var J=Q();return y(J.toggleAccessLimits())})("valuesChange",function(J){x(c);var H=R(71),O=Q();return y(P4a(O,H,J.values))});G(75,"div",50);E(76,Q3a,10,21,"div",51);V(77,"async");V(78,"async");V(79,"async");I()();G(80,"onedev-hovercard",null,9)(82,"div",42)(83,"div",43)(84,"span",44);S(85," Collaborators are users who are actively working on an issue. ");G(86,"a",52);S(87,"Learn more.");I()()()()();G(88,"b-list-field",53,10);V(90,"async");V(91,"async");V(92,"async");N("valuesChange",
function(J){x(c);var H=R(89),O=Q();return y(Q4a(O,H,J.values))});G(93,"div",50);E(94,U3a,10,21,"div",51);V(95,"async");V(96,"async");V(97,"async");I()();G(98,"onedev-hovercard",null,11)(100,"div",42)(101,"div",43)(102,"span",44);S(103," CC are users who want to receive updates. ");G(104,"a",52);S(105,"Learn more.");I()()()()();M();I();E(106,W3a,2,1,"ng-container",27);V(107,"async");E(108,Y3a,3,3,"ng-container",27);V(109,"async");E(110,Z3a,1,6,"b-list-field",54)(111,a4a,2,4,"div",55);V(112,"async");
E(113,c4a,2,1,"ng-container",27);V(114,"async");E(115,d4a,1,0,"hr",56);V(116,"async");E(117,n4a,12,20,"collapsible-panel",57);V(118,"async");E(119,p4a,1,1,"ng-template",null,12,Eg)(121,r4a,3,12,"ng-template",null,13,Eg)(123,w4a,10,28,"ng-template",null,14,Eg)(125,y4a,4,14,"ng-template",null,15,Eg)(127,A4a,4,14,"ng-template",null,16,Eg)(129,C4a,4,14,"ng-template",null,17,Eg)(131,E4a,3,11,"ng-template",null,18,Eg)(133,J4a,5,4,"ng-template",null,19,Eg)(135,L4a,3,8,"ng-template",null,20,Eg);M()}if(a&
2){var d,e,f;a=b.ngIf;b=R(8);var h=R(30),l=R(51),q=R(65),t=R(68),w=R(81),B=R(99),D=Q();A();F("ngIf",D.showSloStatus&&W(2,85,D.isSloStatusPrimary$));A(2);F("ngIf",D.sessionIsInternal);A();F("ngIf",W(5,87,D.teamWarningType$));A(2);F("ngIf",!D.enablePeoplekitAc)("ngIfElse",b);A(3);F("name","type")("title","Type")("type",D.FieldType.ENUM)("value",a.type)("choices",D.typeChoices)("readonly",!W(11,89,D.hasAclToEdit$))("disabled",!!W(12,91,D.isSaving$("type")));A(5);F("name","priority")("title","Priority")("type",
D.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",D.priorityChoices)("hotkey",D.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!W(16,93,D.hasAclToEdit$))("disabled",!!W(17,95,D.isSaving$("priority")));A(4);F("ngIf",W(19,97,D.isSeverityPrimary$));A(3);F("name","status")("title","Status")("type",D.FieldType.ENUM)("value",a.status)("choices",null!==(d=W(23,99,D.statusChoices$))&&void 0!==d?d:zg(161,j3a))("showHotkeyHint",!0)("hotkey",
D.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!W(24,101,D.hasAclToEdit$))("disabled",!!W(25,103,D.isSaving$("status")))("onedevHovercardActive",!!W(26,105,D.canonicalIssueId$))("onedevHovercardTrigger",h);A(6);F("ngIf",W(28,107,D.hasAclToEdit$));A(5);F("ngIf",D.sessionIsInternal&&W(33,109,D.isEffortEnabled$)&&!W(34,111,D.isWithinExternalComponent$));A(4);F("onedevHovercardTrigger",l)("onedevHovercardActive",!0)("onedevHovercardConfig",D.ACCESS_LIMITS_HOVERCARD_CONFIG);A(6);rg(D.getAccessLimitLevelDisplay(W(43,
113,D.accessLimitLevel$)));A(2);F("matTooltip",W(45,115,D.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)");Hf("aria-label",W(46,117,D.hasAclToAdmin$)?"Edit":"View");A(4);T(" ",W(49,119,D.hasAclToAdmin$)?"Edit":"View"," ");A(8);F("href",D.documentationLinks.getIssueAccessLimit(),Ye);A(2);Qf("implicit-access-box",W(59,121,D.isImplicitAccessEnabled$));A(2);F("ngIf",W(61,123,
D.isImplicitAccessEnabled$));A(3);F("ngIf",!D.enablePeoplekitAc)("ngIfElse",q);A(3);F("ngIf",!D.enablePeoplekitAc)("ngIfElse",t);A(4);F("readonly",!W(72,125,D.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!W(73,127,D.isSaving$("collaborators")))("teamId",null!==(e=W(74,129,D.teamId$))&&void 0!==e?e:"")("isCollapsible",!0)("onedevHovercardTrigger",w)("onedevHovercardActive",!0)("onedevHovercardConfig",D.USER_FIELD_HOVERCARD_CONFIG);
A(6);F("ngIf",W(77,131,D.isCurrentUserCollaborator$)||!W(78,133,D.isCurrentUserCollaborator$)&&W(79,135,D.hasAclToEdit$));A(12);gg("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");F("defaultLineCount",5)("readonly",!W(90,137,D.isAllowedToEditCC$))("type",D.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!W(91,139,D.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("onedevHovercardTrigger",B)("onedevHovercardActive",!0)("onedevHovercardConfig",
D.USER_FIELD_HOVERCARD_CONFIG)("teamId",null!==(f=W(92,141,D.teamId$))&&void 0!==f?f:"");A(6);F("ngIf",W(95,143,D.isCurrentUserCCd$)||!W(96,145,D.isCurrentUserCCd$)&&W(97,147,D.isAllowedToEditCC$));A(12);F("ngIf",D.showChangelists&&W(107,149,D.isChangelistPrimary$));A(2);F("ngIf",W(109,151,D.workspaces$));A(2);F("ngIf",!D.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));A();F("ngForOf",W(112,153,D.visibleCustomFields$))("ngForTrackBy",D.trackCustomField);A(2);F("ngIf",W(114,155,
D.isForgottenFourPrimary$));A(2);F("ngIf",W(116,157,D.hasHiddenFields$));A(2);F("ngIf",W(118,159,D.hasHiddenFields$))}},S4a=function(a,b){if(a&1){var c=v();L(0);G(1,"a",19);N("click",function(){x(c);var d=Q();Wo(d.analytics,sq.ISSUE_SIDEBAR,"navigate","issueDetailsPage");return y()});G(2,"span",20);S(3,"Navigate to issue ");I();S(4);I();G(5,"button",21);N("click",function(){var d=x(c).ngIf,e=Q();return y(e.copyIssueId(d))});K(6,"mat-icon",22);I();M()}a&2&&(a=b.ngIf,A(),eg("href","/issues/",a,"",Ye),
A(3),T(" ",a," "))},T4a=function(a,b){if(a&1){var c=v();G(0,"b-app-vote-button",23);N("onVote",function(d){x(c);var e=Q();return y(e.upvoted(d))});I()}a&2&&(a=b.ngIf,F("issueId",a.issueId)("upvoted",!(null==a.userData||!a.userData.voted))("voteCount",(null==a.aggregatedData?null:a.aggregatedData.voteCount)||0))},V4a=function(a){if(a&1){var b=v();L(0);G(1,"span");S(2);I();G(3,"button",26);N("click",function(){x(b);var c=Q(2);return y(U4a(c))});K(4,"mat-icon",27);I();M()}a&2&&(a=Q().ngIf,A(),Hf("title",
a.snapshot[0].title),A(),T(" ",a.snapshot[0].title," "),A(),F("matTooltipShowDelay",500))},W4a=function(a){if(a&1){var b=v();G(0,"button",33);N("click",function(){x(b);var c=Q(3);return y(dr(c))});S(1,"Cancel");I()}},X4a=function(a){a&1&&(L(0),S(1," Update title "),M())},Y4a=function(a){if(a&1){var b=v();L(0);G(1,"mat-form-field",28)(2,"textarea",29);vg("ngModelChange",function(d){x(b);var e=Q(2);ug(e.draftTitle,d)||(e.draftTitle=d);return y(d)});I()();G(3,"div",30);E(4,W4a,2,0,"button",31);G(5,"button",
32);N("click",function(){x(b);var d=Q(2);return y(d.saveTitle())});E(6,X4a,2,0,"ng-container",18);I()();M()}if(a&2){a=Q(2);var c=R(22);A(2);F("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1);tg("ngModel",a.draftTitle);F("bFocus",!0);A(2);F("ngIf",!a.isSavingTitle);A();F("disabled",a.isSavingTitle);A();F("ngIf",!a.isSavingTitle)("ngIfElse",c)}},Z4a=function(a){a&1&&(G(0,"div",24)(1,"div",25),E(2,V4a,5,3,"ng-container",8)(3,Y4a,7,8,"ng-container",8),I()());a&2&&(a=Q(),A(2),F("ngIf",!a.editTitleMode),
A(),F("ngIf",a.editTitleMode))},$4a=function(a){a&1&&(G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"div"),S(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. "),I()()())},b5a=function(a){if(a&1){var b=v();G(0,"button",55);N("click",function(){x(b);var c=Q(3);Wo(c.analytics,sq.ISSUE_SIDEBAR,"generateIssueSummary");Wo(c.analytics,
sq.LLM_SUMMARIZE,"click",a5a(c));c.isLoadingIssueSummary=!0;c.issueSummaryRequested$.next();c.isIssueSummaryExpanded=!0;return y()});S(1," Generate ");I()}},c5a=function(a){a&1&&K(0,"mat-icon",57)},d5a=function(a){a&1&&K(0,"mat-icon",58)},e5a=function(a){if(a&1){var b=v();G(0,"button",56);N("click",function(){x(b);var c=Q(3);return y(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});E(1,c5a,1,0,"mat-icon",45)(2,d5a,1,0,"mat-icon",46);I()}a&2&&(a=Q(3),F("matTooltipShowDelay",1E3),Hf("aria-expanded",
a.isIssueSummaryExpanded),A(),F("ngIf",!a.isIssueSummaryExpanded),A(),F("ngIf",a.isIssueSummaryExpanded))},f5a=function(a){a&1&&Yf(0,62);a&2&&(Q(4),a=R(22),F("ngTemplateOutlet",a))},g5a=function(a){a&1&&K(0,"b-markdown-format-presenter",64);a&2&&(a=Q().ngIf,F("content",a.formattedSummary))},h5a=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q(2).ngIf,A(),T(" ",a.summary," "))},i5a=function(a){a&1&&E(0,h5a,2,1,"div",8);a&2&&(a=Q(5),F("ngIf",!a.isLoadingIssueSummary))},j5a=function(a,b){a&1&&(L(0),
E(1,g5a,1,1,"b-markdown-format-presenter",63)(2,i5a,1,1,"ng-template",null,3,Eg),M());if(a&2){a=b.ngIf;b=R(3);var c=Q(4);A();F("ngIf",!c.isLoadingIssueSummary&&a.formattedSummary)("ngIfElse",b)}},k5a=function(a){if(a&1){var b=v();G(0,"div",65)(1,"button",66);N("click",function(){x(b);var c=Q(4);return y(c.copySummary())});K(2,"mat-icon",67);I();G(3,"button",68);N("click",function(){x(b);var c=Q(4);return y(c.openFeedbackDialog())});K(4,"mat-icon",69);I();G(5,"button",70);N("click",function(){x(b);
var c=Q(4);return y(c.trackThumbsUp())});K(6,"mat-icon",71);I();G(7,"button",72);N("click",function(){x(b);var c=Q(4);return y(c.trackThumbsDown())});K(8,"mat-icon",73);I()()}a&2&&(a=Q(4),A(5),F("disabled",a.hasRatedSummary),A(),Qf("has-reacted-icon",a.summaryThumbsUp),A(),F("disabled",a.hasRatedSummary),A(),Qf("has-reacted-icon",a.summaryThumbsDown))},l5a=function(a){a&1&&(G(0,"div",59),E(1,f5a,1,1,"ng-container",60)(2,j5a,4,2,"ng-container",8),V(3,"async"),E(4,k5a,9,6,"div",61),I());a&2&&(a=Q(3),
A(),F("ngIf",a.isLoadingIssueSummary),A(),F("ngIf",W(3,3,a.issueSummary$)),A(2),F("ngIf",a.isIssueSummaryExpanded&&!a.isLoadingIssueSummary))},m5a=function(a){a&1&&(L(0),G(1,"div",48)(2,"div",36)(3,"div",37),K(4,"mat-icon",49),G(5,"span"),S(6,"AI-GENERATED SUMMARY"),I(),G(7,"button",50),K(8,"mat-icon",51),I(),E(9,$4a,4,0,"ng-template",null,2,Eg),I(),E(11,b5a,2,0,"button",52)(12,e5a,3,4,"button",53),I(),E(13,l5a,5,5,"div",54),I(),M());if(a&2){a=R(10);var b=Q(2);A(7);F("xapInlineDialog",a)("dialogTabIndex",
0);A(4);F("ngIf",!b.hasIssueSummary&&!b.isLoadingIssueSummary);A();F("ngIf",b.hasIssueSummary);A();F("ngIf",b.isIssueSummaryExpanded)}},n5a=function(a){a&1&&(G(0,"span"),S(1," No update yet "),I())},o5a=function(a){if(a&1){var b=v();G(0,"button",74);N("click",function(){x(b);var c=Q(2);return y(c.editStatusUpdate())});K(1,"mat-icon",27);I()}a&2&&F("matTooltipShowDelay",1E3)},p5a=function(a){a&1&&K(0,"mat-icon",57)},q5a=function(a){a&1&&K(0,"mat-icon",58)},r5a=function(a){if(a&1){var b=v();G(0,"button",
75);N("click",function(){x(b);var c=Q(2);return y(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});E(1,p5a,1,0,"mat-icon",45)(2,q5a,1,0,"mat-icon",46);I()}a&2&&(a=Q(2),F("matTooltipShowDelay",1E3),Hf("aria-expanded",a.isStatusUpdateExpanded),A(),F("ngIf",!a.isStatusUpdateExpanded),A(),F("ngIf",a.isStatusUpdateExpanded))},s5a=function(a,b){a&1&&(K(0,"b-note-container",79),V(1,"async"));if(a&2){var c;a=b.ngIf;b=Q().ngIf;var d=Q().ngIf,e=Q(2);F("issueId",a)("note",d)("issueAccessLevel",W(1,4,e.accessLevel$))("formattingMode",
null!==(c=b.formattingMode)&&void 0!==c?c:e.FormattingMode.PLAIN)}},t5a=function(a){a&1&&(G(0,"div",77),E(1,s5a,2,6,"b-note-container",78),V(2,"async"),I());if(a&2){a=Q().ngIf;var b=Q(2);A();F("ngIf",""!==a.unlinkifiedComment&&W(2,1,b.issueId$))}},u5a=function(a){a&1&&(L(0),E(1,t5a,3,3,"div",76),V(2,"async"),M());a&2&&(a=Q(2),A(),F("ngIf",W(2,1,a.statusUpdate$)))},v5a=function(a){a&1&&(G(0,"span"),S(1," No description yet "),I())},x5a=function(a){if(a&1){var b=v();G(0,"button",83);N("click",function(){x(b);
var c=Q(3);return y(w5a(c))});K(1,"mat-icon",27);I()}a&2&&F("matTooltipShowDelay",1E3)},y5a=function(a){a&1&&K(0,"mat-icon",57)},z5a=function(a){a&1&&K(0,"mat-icon",58)},A5a=function(a){if(a&1){var b=v();G(0,"button",84);N("click",function(){x(b);var c=Q(3);return y(c.isDescriptionExpanded=!c.isDescriptionExpanded)});E(1,y5a,1,0,"mat-icon",45)(2,z5a,1,0,"mat-icon",46);I()}a&2&&(a=Q(3),F("matTooltipShowDelay",1E3),Hf("aria-expanded",a.isDescriptionExpanded),A(),F("ngIf",!a.isDescriptionExpanded),A(),
F("ngIf",a.isDescriptionExpanded))},B5a=function(a,b){a&1&&(K(0,"b-note-container",79),V(1,"async"));if(a&2){var c;a=b.ngIf;b=Q().ngIf;var d=Q(2).ngIf,e=Q(2);F("issueId",a)("note",b)("issueAccessLevel",W(1,4,e.accessLevel$))("formattingMode",null!==(c=d[0].formattingMode)&&void 0!==c?c:e.FormattingMode.PLAIN)}},C5a=function(a){if(a&1){var b=v();G(0,"div",88)(1,"a",89);N("click",function(){x(b);var c=Q(5);Wo(c.analytics,sq.ISSUE_SIDEBAR,"showMoreDescription");c.showFullDescription=!0;return y()});
S(2," Show more ");I()()}},D5a=function(a,b){a&1&&(L(0),G(1,"div",86),E(2,B5a,2,6,"b-note-container",78),V(3,"async"),I(),E(4,C5a,3,0,"div",87),M());a&2&&(a=b.ngIf,b=Q(4),A(),Qf("full-height",b.showFullDescription),A(),F("ngIf",""!==a.unlinkifiedComment&&W(3,4,b.issueId$)),A(2),F("ngIf",!b.showFullDescription&&b.descriptionHasMore))},E5a=function(a){a&1&&(L(0),G(1,"div",85,4),E(3,D5a,5,6,"ng-container",8),V(4,"async"),V(5,"async"),I(),M());a&2&&(a=Q(3),A(3),F("ngIf",W(4,1,a.hasDescription$)&&W(5,
3,a.firstNote$)))},F5a=function(a){a&1&&(L(0),G(1,"div",80)(2,"div",36)(3,"div",37)(4,"span"),S(5,"DESCRIPTION"),I()(),G(6,"div",39),E(7,v5a,2,0,"span",8),V(8,"async"),E(9,x5a,2,1,"button",81),V(10,"async"),V(11,"async"),E(12,A5a,3,4,"button",82),V(13,"async"),I()(),E(14,E5a,6,5,"ng-container",8),I(),M());a&2&&(a=Q(2),A(7),F("ngIf",!W(8,4,a.hasDescription$)),A(2),F("ngIf",(a.isDescriptionExpanded||!W(10,6,a.hasDescription$))&&W(11,8,a.userCanEditDescription$)),A(3),F("ngIf",W(13,10,a.hasDescription$)),
A(2),F("ngIf",a.isDescriptionExpanded))},G5a=function(a){a&1&&K(0,"mat-icon",57)},H5a=function(a){a&1&&K(0,"mat-icon",58)},I5a=function(a){a&1&&(G(0,"div",90),K(1,"edit-issue-metadata",91),I());a&2&&(a=Q().ngIf,A(),F("issueId",a.issueId))},J5a=function(a){if(a&1){var b=v();L(0);G(1,"div",34);E(2,m5a,14,5,"ng-container",8);V(3,"async");G(4,"div",35)(5,"div",36)(6,"div",37);K(7,"mat-icon",38);G(8,"span");S(9," STATUS UPDATE ");I()();G(10,"div",39);E(11,n5a,2,0,"span",8);V(12,"async");E(13,o5a,2,1,"button",
40);V(14,"async");V(15,"async");E(16,r5a,3,4,"button",41);V(17,"async");I()();E(18,u5a,3,3,"ng-container",8);V(19,"async");I();E(20,F5a,15,12,"ng-container",18);V(21,"async");G(22,"div",42)(23,"div",36)(24,"div",37);K(25,"mat-icon",43);G(26,"span");S(27,"FIELDS");I()();G(28,"button",44);N("click",function(){x(b);var d=Q();return y(d.isFieldsExpanded=!d.isFieldsExpanded)});E(29,G5a,1,0,"mat-icon",45)(30,H5a,1,0,"mat-icon",46);I()();E(31,I5a,2,1,"div",47);I()();M()}if(a&2){a=Q();var c=R(22);A(2);F("ngIf",
a.enableLlmSummarization&&W(3,12,a.isSummarizable$));A(9);F("ngIf",!W(12,14,a.hasStatusUpdate$));A(2);F("ngIf",(a.isStatusUpdateExpanded||!W(14,16,a.hasStatusUpdate$))&&W(15,18,a.userCanEditStatusUpdate$));A(3);F("ngIf",W(17,20,a.hasStatusUpdate$));A(2);F("ngIf",a.isStatusUpdateExpanded&&W(19,22,a.statusUpdateNote$));A(2);F("ngIf",W(21,24,a.events$))("ngIfElse",c);A(8);F("matTooltipShowDelay",1E3);Hf("aria-expanded",a.isFieldsExpanded);A();F("ngIf",!a.isFieldsExpanded);A();F("ngIf",a.isFieldsExpanded);
A();F("ngIf",a.isFieldsExpanded)}},K5a=function(a){a&1&&(G(0,"div",92),K(1,"b-spinner"),I())},L5a=function(a){a&1&&(L(0),S(1," This issue has not been modified since "),K(2,"b-formatted-date-time",4),S(3," and is scheduled for deletion on "),G(4,"strong"),K(5,"b-formatted-date-time",4),I(),S(6,". "),M());a&2&&(a=Q(2),A(2),F("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),A(3),F("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},M5a=function(a){a&1&&S(0," This issue is retained indefinitely. ")},
N5a=function(a){a&1&&(L(0),E(1,L5a,7,6,"ng-container",2)(2,M5a,1,0,"ng-template",null,0,Eg),G(4,"a",3),S(5,"Learn more"),I(),M());if(a&2){a=R(3);var b=Q();A();F("ngIf",b.retentionState.retentionPeriod)("ngIfElse",a);A(3);F("href",b.documentationLink,Ye)}},O5a=function(a){a&1&&(G(0,"b-base-chip",1)(1,"div",2),K(2,"retention-text",3),I(),G(3,"div",4),K(4,"retention-help-text",5),I()());a&2&&(a=Q(),F("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),
A(2),F("retentionState",a.retentionState)("compactMode",a.compactMode),A(2),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},P5a=function(a){var b=void 0===b?new Date:b;var c=a.retentionPeriod;return b.getTime()>=Kn(a.scheduledDeletionTime)-Math.max(12096E5,.2*(c?1E3*c.seconds+(c.nanos||0)/1E6:0))},Q5a=function(a){if(a&1){var b=v();G(0,"div",1);N("click",function(){x(b);var c=Q();return y(c._onBackdropClicked())});I()}a&2&&(a=Q(),Qf("mat-drawer-shown",a._isShowingBackdrop()))},
R5a=function(a){a&1&&(G(0,"mat-drawer-content"),dg(1,2),I())},S5a=function(){return!1},T5a=function(a){if(a&1){var b=v();G(0,"div",1);N("click",function(){x(b);var c=Q();return y(c._onBackdropClicked())});I()}a&2&&(a=Q(),Qf("mat-drawer-shown",a._isShowingBackdrop()))},U5a=function(a){a&1&&(G(0,"mat-sidenav-content"),dg(1,2),I())},X5a=function(a){if(a&1){var b=v();G(0,"issue-sidebar",10);N("closeSidebar",function(){x(b);var d=Q(2);return y(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){x(b);
var d=Q(2);return y(V5a(d))})("navigateToPreviousIssue",function(){x(b);var d=Q(2);return y(W5a(d))});I()}if(a&2){var c;a=Q(2);F("issueId",null==(c=a.getFocusedIssue())?null:c.issueId)}},Y5a=function(a){a&1&&Yf(0)},Z5a=function(a){if(a&1){var b=v();G(0,"mat-sidenav-container",6,2)(2,"mat-sidenav",7);N("openedChange",function(d){x(b);var e=Q();Wo(e.anayltics,sq.ISSUE_SIDEBAR,d?"open":"close");return y()});E(3,X5a,1,1,"issue-sidebar",8);I();G(4,"mat-sidenav-content");E(5,Y5a,1,0,"ng-container",9);I()()}if(a&
2){a=Q();var c=R(3);Qf("sidebar-enabled",a.isIssueSidebarEnabled);A(2);F("opened",a.isIssueSidebarOpen)("disableClose",!0);A();F("ngIf",a.isIssueSidebarOpen);A(2);F("ngTemplateOutlet",c)}},$5a=function(a){a&1&&Yf(0)},a6a=function(a,b){a&1&&(G(0,"th",32),E(1,$5a,1,0,"ng-container",33),I());a&2&&(a=b.column,b=Q(2),Hf("data-stable-column-name",a.name),A(),F("ngIf",b.isIssueGridColumn(a)))},b6a=function(a){a&1&&Yf(0)},c6a=function(a,b){a&1&&(G(0,"th",34),E(1,b6a,1,0,"ng-container",33),I());a&2&&(a=b.column,
b=Q(2),Hf("data-stable-column-name",a.name),A(),F("ngIf",b.isIssueGridColumn(a)))},g6a=function(a){if(a&1){var b=v();L(0);G(1,"mat-pseudo-checkbox",36);N("click",function(c){x(b);var d=Q(3);c.stopPropagation();return y(d6a(d))})("keydown.enter",function(c){x(b);var d=Q(3);c.stopPropagation();return y(d6a(d))})("keydown.space",function(c){x(b);var d=Q(3);c.stopPropagation();return y(d6a(d))});I();M()}a&2&&(a=Q(3),A(),F("state",e6a(a)),Hf("aria-checked",f6a(a)))},h6a=function(a,b){a&1&&(G(0,"th",35),
E(1,g6a,2,2,"ng-container",33),I());a&2&&(a=b.column,b=Q(2),Hf("data-stable-column-name",a.name),A(),F("ngIf",b.isIssueGridColumn(a)))},i6a=function(a){a&1&&Yf(0)},j6a=function(a,b){a&1&&(G(0,"th"),E(1,i6a,1,0,"ng-container",33),I());a&2&&(a=b.column,b=Q(2),Hf("data-stable-column-name",a.name),A(),F("ngIf",b.isIssueGridColumn(a)))},k6a=function(a){a&1&&(L(0),K(1,"pop-grid-default-th",37),M());a&2&&(a=Q().column,A(),F("column",a))},l6a=function(a,b){a&1&&(G(0,"th"),E(1,k6a,2,1,"ng-container",33),I());
a&2&&(a=b.column,b=Q(2),Hf("data-stable-column-name",a.name),A(),F("ngIf",b.isIssueGridColumn(a)))},m6a=function(a){if(a&1){var b=v();G(0,"b-column-picker",40);N("selectedColumnsChange",function(d){x(b);var e=Q(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return y()});I()}if(a&2){a=Q(2).column;var c=Q(2);F("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},n6a=function(a){a&1&&K(0,"pop-grid-default-th",37);a&2&&(a=Q(2).column,F("column",a))},o6a=function(a){a&
1&&(L(0),E(1,m6a,1,3,"b-column-picker",38)(2,n6a,1,1,"pop-grid-default-th",39),M());a&2&&(a=Q(3),A(),F("ngIf",a.enableColumnSaving),A(),F("ngIf",!a.enableColumnSaving))},p6a=function(a,b){a&1&&(G(0,"th"),E(1,o6a,3,2,"ng-container",33),I());a&2&&(a=b.column,b=Q(2),Hf("data-stable-column-name",a.name),A(),F("ngIf",b.isIssueGridColumn(a)))},q6a=function(a){a&1&&Yf(0)},r6a=function(a){a&1&&(G(0,"td",32),E(1,q6a,1,0,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},s6a=function(a){a&1&&Yf(0)},t6a=
function(a){a&1&&(G(0,"td",41),E(1,s6a,1,0,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},u6a=function(a){if(a&1){var b=v();L(0);G(1,"mat-pseudo-checkbox",42);N("click",function(c){x(b);var d=Q(),e=d.row;d=d.index;var f=Q(2);c.stopPropagation();if(c.shiftKey&&(c=e.selected,null!==f.lastCheckedIndex&&f.searchResults)){if(d<f.lastCheckedIndex){var h=d+1;var l=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,l=d;h=k(f.searchResults.issues.slice(h,l));for(l=h.next();!l.done;l=h.next())l.value.selected=
!c;er(f)}e.selected=!e.selected;f.lastCheckedIndex=d;er(f);return y()});I();M()}a&2&&(a=Q().row,A(),F("state",a.selected?"checked":"unchecked"),Hf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},v6a=function(a){a&1&&(G(0,"td",35),E(1,u6a,2,3,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},w6a=function(a){if(a&1){var b=v();L(0);G(1,"b-star-toggle",44);N("starClicked",function(){x(b);var d=Q().row,e=Q(2);return y(e.toggleStar(d))});I();M()}if(a&2){a=Q().row;var c=Q(2);A();
F("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},x6a=function(a){a&1&&(G(0,"td",43),E(1,w6a,2,4,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},y6a=function(a){a&1&&(L(0),G(1,"span"),S(2),I(),M());a&2&&(a=Q().row,A(),Hf("title",a.position),A(),T(" ",a.position," "))},z6a=function(a){a&1&&(G(0,"td"),E(1,y6a,3,2,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},A6a=function(a){a&1&&(L(0),G(1,"a",49),S(2),
I(),M());if(a&2){a=Q(2).row;var b=Q(2);A();F("href",b.paths.editIssue(a.issueId),Ye);Hf("title",a.title);A();T(" ",a.issueId," ")}},B6a=function(a){if(a&1){var b=v();L(0);G(1,"b-issue-id-picker",50);N("click",function(c){x(b);return y(c.stopPropagation())});I();M()}a&2&&(a=Q(2).row,A(),F("issueId",a.issueId)("showCopyOptions",!1),Hf("title",a.title))},C6a=function(a){a&1&&(L(0)(1,46),E(2,A6a,3,3,"ng-container",47)(3,B6a,2,3,"ng-container",48),M()());a&2&&(a=Q(3),A(),F("ngSwitch",null==a.listViewPrefs?
null:null==a.listViewPrefs.modeForField?null:a.listViewPrefs.modeForField.id),A(2),F("ngSwitchCase","copy"))},D6a=function(a){a&1&&(G(0,"td",45),E(1,C6a,4,2,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},E6a=function(a){a&1&&K(0,"archived-issue-indicator")},F6a=function(a){a&1&&K(0,"b-issue-visibility-chip",53);a&2&&(a=Q(2).row,F("issueId",a.issueId)("compactMode",!0))},G6a=function(a){a&1&&K(0,"b-component-access-level-indicator",54);a&2&&(a=Q(2).row,F("accessLevel",a.accessLevel)("compactMode",
!0))},H6a=function(a){a&1&&K(0,"mat-icon",61)},I6a=function(a,b){a&1&&K(0,"b-hotlist-chip-smart",64);a&2&&F("id",b.$implicit)("removable",!1)},J6a=function(a){a&1&&(G(0,"div",62),E(1,I6a,1,2,"b-hotlist-chip-smart",63),I());a&2&&(a=Q(2).row,A(),F("ngForOf",a.hotlistId))},K6a=function(a){a&1&&(L(0),G(1,"div",52),E(2,E6a,1,0,"archived-issue-indicator",33)(3,F6a,1,2,"b-issue-visibility-chip",53)(4,G6a,1,2,"b-component-access-level-indicator",54),K(5,"b-tracker-chip-smart",55)(6,"b-retention-chip",56),
G(7,"div",57)(8,"a",58),S(9),E(10,H6a,1,0,"mat-icon",59),I()(),E(11,J6a,2,1,"div",60),I(),M());if(a&2){a=Q().row;var b=Q(2);A();Qf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);A();F("ngIf",a.archived);A();Uf(b.enableNewVisibilityChips?3:4);A(2);F("trackerId",a.trackerId)("compactMode",!0);A();F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);A(2);F("href",b.paths.editIssue(a.issueId),Ye);Hf("title",a.title);A();
T(" ",a.title," ");A();F("ngIf",b.isIssueSidebarEnabled);A();F("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},L6a=function(a){a&1&&(G(0,"td",51),E(1,K6a,12,15,"ng-container",33),I());a&2&&(a=Q(2),Qf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),A(),F("ngIf",!0))},N6a=function(a){a&1&&(L(0),G(1,"div",66),S(2),I(),M());a&2&&(a=Q().row,Q(2),A(),F("ngClass",Cg(2,M6a,2<=Number(a.priority),2>Number(a.priority),0===Number(a.priority))),A(),T(" P",a.priority," "))},
O6a=function(a){a&1&&(G(0,"td",65),E(1,N6a,3,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},P6a=function(a){a&1&&(L(0),G(1,"div",66),S(2),I(),M());a&2&&(a=Q().row,Q(2),A(),F("ngClass",Cg(2,M6a,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),A(),T(" S",a.severity," "))},Q6a=function(a){a&1&&(G(0,"td",67),E(1,P6a,3,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},R6a=function(a){a&1&&K(0,"mat-icon",72);if(a&2){a=Q().$implicit;var b=Q(4);F("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},
S6a=function(a){a&1&&(L(0),S(1),M());if(a&2){a=Q().$implicit;var b=Q(4);A();rg(b.STATUS_JS_TERSE[a])}},T6a=function(a){a&1&&(G(0,"span"),S(1),I());if(a&2){a=Q().$implicit;var b=Q(4);Tf("chippy status-",a," margin-left-auto");A();T(" ",b.STATUS_JS_TERSE[a]," ")}},U6a=function(a,b){a&1&&(L(0),G(1,"span",69),E(2,R6a,1,1,"mat-icon",70)(3,S6a,2,1,"ng-container",48)(4,T6a,2,4,"span",71),I(),M());a&2&&(a=b.$implicit,b=Q(4),A(),F("ngSwitch",null==b.listViewPrefs?null:null==b.listViewPrefs.fieldStatus?null:
b.listViewPrefs.fieldStatus.mode)("title",b.STATUS_JS_FULL_TEXT[a]===b.STATUS_JS_TERSE[a]?"":b.STATUS_JS_FULL_TEXT[a]),A(),F("ngSwitchCase","icon"),A(),F("ngSwitchCase","plain"))},V6a=function(a){a&1&&(L(0),E(1,U6a,5,4,"ng-container",33),M());a&2&&(a=Q().row,A(),F("ngIf",a.status))},W6a=function(a){a&1&&(G(0,"td",68),E(1,V6a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},X6a=function(a){a&1&&(L(0),S(1),V(2,"enumToHuman"),M());a&2&&(a=Q().row,A(),T(" ",W(2,1,a.type)," "))},Y6a=function(a){a&
1&&(G(0,"td",73),E(1,X6a,3,3,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},Z6a=function(a){a&1&&(G(0,"b-person-hovercard",76),V(1,"omitObfuscatedEmail"),S(2),I());a&2&&(a=Q(2).row,F("email",W(1,2,a.reporter)),A(2),T(" ",a.reporter," "))},$6a=function(a){a&1&&(G(0,"span"),S(1,"--"),I())},a7a=function(a){a&1&&(L(0),E(1,Z6a,3,4,"b-person-hovercard",75),V(2,"omitObfuscatedEmail"),E(3,$6a,2,0,"span",33),M());a&2&&(a=Q().row,A(),F("ngIf",W(2,2,a.reporter)),A(2),F("ngIf",!a.reporter))},b7a=function(a){a&
1&&(G(0,"td",74),E(1,a7a,4,4,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},c7a=function(a){a&1&&(G(0,"b-person-hovercard",76),V(1,"omitObfuscatedEmail"),S(2),I());a&2&&(a=Q(2).row,F("email",W(1,2,a.assignee)),A(2),T(" ",a.assignee," "))},d7a=function(a){a&1&&(G(0,"span"),S(1,"--"),I())},e7a=function(a){a&1&&(L(0),E(1,c7a,3,4,"b-person-hovercard",75),V(2,"omitObfuscatedEmail"),E(3,d7a,2,0,"span",33),M());a&2&&(a=Q().row,A(),F("ngIf",W(2,2,a.assignee)),A(2),F("ngIf",!a.assignee))},f7a=function(a){a&
1&&(G(0,"td",74),E(1,e7a,4,4,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},g7a=function(a){a&1&&(G(0,"b-person-hovercard",76),V(1,"omitObfuscatedEmail"),S(2),I());a&2&&(a=Q(2).row,F("email",W(1,2,a.verifier)),A(2),T(" ",a.verifier," "))},h7a=function(a){a&1&&(G(0,"span"),S(1,"--"),I())},i7a=function(a){a&1&&(L(0),E(1,g7a,3,4,"b-person-hovercard",75),V(2,"omitObfuscatedEmail"),E(3,h7a,2,0,"span",33),M());a&2&&(a=Q().row,A(),F("ngIf",W(2,2,a.verifier)),A(2),F("ngIf",!a.verifier))},j7a=function(a){a&
1&&(G(0,"td",74),E(1,i7a,4,4,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},k7a=function(a){a&1&&(L(0),G(1,"span"),V(2,"arrayToHuman"),S(3),V(4,"arrayToHuman"),I(),M());a&2&&(a=Q().row,A(),Hf("title",W(2,2,a.cc)),A(2),T(" ",W(4,4,a.cc)," "))},l7a=function(a){a&1&&(G(0,"td",74),E(1,k7a,5,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},m7a=function(a){a&1&&(L(0),G(1,"span"),V(2,"arrayToHuman"),S(3),V(4,"arrayToHuman"),I(),M());a&2&&(a=Q().row,A(),Hf("title",W(2,2,a.changelist)),A(2),
T(" ",W(4,4,a.changelist)," "))},n7a=function(a){a&1&&(G(0,"td",74),E(1,m7a,5,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},o7a=function(a){a&1&&(L(0),G(1,"span"),V(2,"arrayToHuman"),S(3),V(4,"arrayToHuman"),I(),M());a&2&&(a=Q().row,A(),Hf("title",W(2,2,a.postmortem)),A(2),T(" ",W(4,4,a.postmortem)," "))},p7a=function(a){a&1&&(G(0,"td",74),E(1,o7a,5,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},q7a=function(a){a&1&&Yf(0)},r7a=function(a){a&1&&(G(0,"span"),S(1,", "),I())},t7a=function(a,
b){a&1&&(L(0),E(1,q7a,1,0,"ng-container",78)(2,r7a,2,0,"span",33),M());if(a&2){a=b.$implicit;b=b.last;Q(4);var c=R(5);A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ag(3,s7a,a));A();F("ngIf",!b)}},u7a=function(a){a&1&&(L(0),E(1,t7a,3,5,"ng-container",77),M());a&2&&(a=Q().row,A(),F("ngForOf",a.blockingIssueId))},v7a=function(a){a&1&&(G(0,"td",74),E(1,u7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},w7a=function(a){a&1&&Yf(0)},x7a=function(a){a&1&&(G(0,"span"),S(1,", "),I())},y7a=
function(a,b){a&1&&(L(0),E(1,w7a,1,0,"ng-container",78)(2,x7a,2,0,"span",33),M());if(a&2){a=b.$implicit;b=b.last;Q(4);var c=R(5);A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ag(3,s7a,a));A();F("ngIf",!b)}},z7a=function(a){a&1&&(L(0),E(1,y7a,3,5,"ng-container",77),M());a&2&&(a=Q().row,A(),F("ngForOf",a.blockedByIssueId))},A7a=function(a){a&1&&(G(0,"td",74),E(1,z7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},B7a=function(a){a&1&&Yf(0)},C7a=function(a){a&1&&(L(0),E(1,B7a,1,0,"ng-container",
78),M());if(a&2){a=Q(2).row;Q(2);var b=R(5);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,s7a,a.duplicateOfIssueId))}},D7a=function(a){a&1&&(L(0),E(1,C7a,2,4,"ng-container",33),M());a&2&&(a=Q().row,A(),F("ngIf",a.duplicateOfIssueId))},E7a=function(a){a&1&&(G(0,"td",74),E(1,D7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},F7a=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",80),M());a&2&&(a=Q().row,A(),F("timestamp",a.createdTime))},G7a=function(a){a&1&&(G(0,"td",79),E(1,
F7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},H7a=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",80),M());a&2&&(a=Q().row,A(),F("timestamp",a.modifiedTime))},I7a=function(a){a&1&&(G(0,"td",79),E(1,H7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},J7a=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",80),M());a&2&&(a=Q().row,A(),F("timestamp",a.resolvedTime))},K7a=function(a){a&1&&(G(0,"td",79),E(1,J7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},L7a=function(a){a&
1&&(L(0),K(1,"b-formatted-date-time",80),M());a&2&&(a=Q().row,A(),F("timestamp",a.verifiedTime))},M7a=function(a){a&1&&(G(0,"td",79),E(1,L7a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},N7a=function(a){a&1&&(L(0),G(1,"span"),V(2,"arrayToHuman"),S(3),V(4,"arrayToHuman"),I(),M());a&2&&(a=Q().row,A(),Hf("title",W(2,2,a.foundInVersion)),A(2),T(" ",W(4,4,a.foundInVersion)," "))},O7a=function(a){a&1&&(G(0,"td",74),E(1,N7a,5,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},P7a=function(a){a&
1&&(L(0),G(1,"span"),V(2,"arrayToHuman"),S(3),V(4,"arrayToHuman"),I(),M());a&2&&(a=Q().row,A(),Hf("title",W(2,2,a.targetedToVersion)),A(2),T(" ",W(4,4,a.targetedToVersion)," "))},Q7a=function(a){a&1&&(G(0,"td",74),E(1,P7a,5,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},R7a=function(a){a&1&&(L(0),G(1,"span"),V(2,"arrayToHuman"),S(3),V(4,"arrayToHuman"),I(),M());a&2&&(a=Q().row,A(),Hf("title",W(2,2,a.verifiedInVersion)),A(2),T(" ",W(4,4,a.verifiedInVersion)," "))},S7a=function(a){a&1&&(G(0,
"td",74),E(1,R7a,5,6,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},T7a=function(a){a&1&&(L(0),S(1),V(2,"yesNo"),M());a&2&&(a=Q().row,A(),T(" ",W(2,1,a.inProd)," "))},U7a=function(a){a&1&&(G(0,"td",74),E(1,T7a,3,3,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},V7a=function(a){a&1&&(L(0),S(1),V(2,"yesNo"),M());a&2&&(a=Q().row,A(),T(" ",W(2,1,a.archived)," "))},W7a=function(a){a&1&&(G(0,"td",74),E(1,V7a,3,3,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},X7a=function(a){a&1&&(L(0),
G(1,"div",52)(2,"div",57)(3,"span"),S(4),I()()(),M());if(a&2){a=Q().row;var b=Q(2);A(3);Hf("title",b.getComponentPath(a.componentPath));A();rg(b.getComponentPath(a.componentPath))}},Z7a=function(a){a&1&&(G(0,"td",81),E(1,X7a,5,2,"ng-container",33),I());if(a&2){a=Q(2);var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);F("ngClass",Bg(2,Y7a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));A();F("ngIf",!0)}},$7a=function(a){a&1&&(G(0,"slo-status-card",84),K(1,"b-aggregated-slo-status-indicator",
85),I());a&2&&(a=Q(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),A(),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},a8a=function(a){a&1&&(L(0),E(1,$7a,2,5,"slo-status-card",83),M());a&2&&(a=Q().row,A(),F("ngIf",a.sloStatus))},b8a=function(a){a&1&&(G(0,"td",82),E(1,a8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},c8a=function(a){a&1&&(G(0,"slo-status-card",87),K(1,"b-slo-time-indicator",88),I());a&2&&(a=Q(2).row,F("sloId",a.sloId)("sloStatus",
a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),A(),F("sloBounds",a.sloStatus.responseBounds))},d8a=function(a){a&1&&(L(0),E(1,c8a,2,5,"slo-status-card",86),M());a&2&&(a=Q().row,A(),F("ngIf",a.sloStatus))},e8a=function(a){a&1&&(G(0,"td",82),E(1,d8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},f8a=function(a){a&1&&(G(0,"slo-status-card",87),K(1,"b-slo-time-indicator",88),I());a&2&&(a=Q(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",
"ASSIGNMENT"),A(),F("sloBounds",a.sloStatus.assignmentBounds))},g8a=function(a){a&1&&(L(0),E(1,f8a,2,5,"slo-status-card",86),M());a&2&&(a=Q().row,A(),F("ngIf",a.sloStatus))},h8a=function(a){a&1&&(G(0,"td",82),E(1,g8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},i8a=function(a){a&1&&(G(0,"slo-status-card",87),K(1,"b-slo-time-indicator",88),I());a&2&&(a=Q(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),A(),F("sloBounds",a.sloStatus.closureBounds))},
j8a=function(a){a&1&&(L(0),E(1,i8a,2,5,"slo-status-card",86),M());a&2&&(a=Q().row,A(),F("ngIf",a.sloStatus))},k8a=function(a){a&1&&(G(0,"td",82),E(1,j8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},l8a=function(a,b){a&1&&K(0,"b-formatted-date-time",90);a&2&&(a=b.$implicit,Q(4),F("timestamp",1E3*a.seconds))},m8a=function(a){a&1&&(L(0),E(1,l8a,1,1,"b-formatted-date-time",89),M());a&2&&(a=Q().row,A(),F("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},n8a=function(a){a&
1&&(G(0,"td",74),E(1,m8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},o8a=function(a){a&1&&K(0,"div",92)},p8a=function(a){a&1&&(G(0,"div"),K(1,"b-team-display",93),I());a&2&&(a=Q(2).row,A(),F("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},q8a=function(a){a&1&&(L(0),E(1,o8a,1,0,"div",91)(2,p8a,2,3,"div",33),M());a&2&&(a=Q(3),A(),F("ngIf",a.isLoadingTeams),A(),F("ngIf",!a.isLoadingTeams))},r8a=function(a){a&1&&(G(0,"td",74),E(1,q8a,3,2,"ng-container",
33),I());a&2&&(Q(2),A(),F("ngIf",!0))},s8a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",null==a.effort?null:a.effort.estimate," "))},t8a=function(a){a&1&&(G(0,"td",74),E(1,s8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},u8a=function(a){a&1&&(L(0),S(1),M());if(a&2){a=Q().row;var b=Q(2);A();T(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},v8a=function(a){a&1&&(G(0,"td",74),E(1,u8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},
w8a=function(a){a&1&&(L(0),S(1),M());if(a&2){a=Q().row;var b=Q(2);A();T(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},x8a=function(a){a&1&&(G(0,"td",74),E(1,w8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},y8a=function(a){a&1&&(L(0),S(1),M());if(a&2){a=Q().row;var b=Q(2);A();T(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},z8a=function(a){a&1&&(G(0,"td",82),E(1,y8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},A8a=
function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.descendantCount," "))},B8a=function(a){a&1&&(G(0,"td",74),E(1,A8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},C8a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.openDescendantCount," "))},D8a=function(a){a&1&&(G(0,"td",74),E(1,C8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},E8a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.oneDayViewCount," "))},F8a=function(a){a&1&&(G(0,"td",74),
E(1,E8a,2,1,"ng-container",33),I());a&2&&(a=Q(2),A(),F("ngIf",a.enableAddViewCountColumnsOnIlp))},G8a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.sevenDayViewCount," "))},H8a=function(a){a&1&&(G(0,"td",74),E(1,G8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},I8a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.thirtyDayViewCount," "))},J8a=function(a){a&1&&(G(0,"td",74),E(1,I8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},K8a=function(a){a&1&&
(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.voteCount&&0<a.voteCount?a.voteCount:""," "))},L8a=function(a){a&1&&(G(0,"td",74),E(1,K8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},M8a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().row,A(),T(" ",a.position," "))},N8a=function(a){a&1&&(G(0,"td",74),E(1,M8a,2,1,"ng-container",33),I());a&2&&(Q(2),A(),F("ngIf",!0))},P8a=function(a){if(a&1){var b=v();G(0,"pop-grid",11);N("columnsChange",function(c){x(b);var d=Q();d.columns=c;d.columnsChange.emit(c);
d.cdr.detectChanges();return y()})("focusedRowIndexChange",function(c){x(b);var d=Q();d.focusedRowIndex=c;return y(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",function(c){x(b);var d=Q();return y(d.sortChange.emit(c))})("rowClick",function(c){x(b);var d=Q(),e=c.event.target,f,h=null!=(f=null==e?void 0:e.closest(".title-cell"))?f:!1,l;e=null!=(l=null==e?void 0:e.closest(".issue-id-cell"))?l:!1;h||e||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());
return y()});E(1,a6a,2,2,"th",12)(2,c6a,2,2,"th",13)(3,h6a,2,2,"th",14)(4,j6a,2,2,"th",15)(5,l6a,2,2,"th",15)(6,p6a,2,2,"th",16)(7,r6a,2,1,"td",17)(8,t6a,2,1,"td",18)(9,v6a,2,1,"td",19)(10,x6a,2,1,"td",20)(11,z6a,2,1,"td",21)(12,D6a,2,1,"td",22)(13,L6a,2,3,"td",23)(14,O6a,2,1,"td",24)(15,Q6a,2,1,"td",25)(16,W6a,2,1,"td",26)(17,Y6a,2,1,"td",27)(18,b7a,2,1,"td",28)(19,f7a,2,1,"td",28)(20,j7a,2,1,"td",28)(21,l7a,2,1,"td",28)(22,n7a,2,1,"td",28)(23,p7a,2,1,"td",28)(24,v7a,2,1,"td",28)(25,A7a,2,1,"td",
28)(26,E7a,2,1,"td",28)(27,G7a,2,1,"td",29)(28,I7a,2,1,"td",29)(29,K7a,2,1,"td",29)(30,M7a,2,1,"td",29)(31,O7a,2,1,"td",28)(32,Q7a,2,1,"td",28)(33,S7a,2,1,"td",28)(34,U7a,2,1,"td",28)(35,W7a,2,1,"td",28)(36,Z7a,2,5,"td",30)(37,b8a,2,1,"td",31)(38,e8a,2,1,"td",31)(39,h8a,2,1,"td",31)(40,k8a,2,1,"td",31)(41,n8a,2,1,"td",28)(42,r8a,2,1,"td",28)(43,t8a,2,1,"td",28)(44,v8a,2,1,"td",28)(45,x8a,2,1,"td",28)(46,z8a,2,1,"td",31)(47,B8a,2,1,"td",28)(48,D8a,2,1,"td",28)(49,F8a,2,1,"td",28)(50,H8a,2,1,"td",28)(51,
J8a,2,1,"td",28)(52,L8a,2,1,"td",28)(53,N8a,2,1,"td",28);I()}a&2&&(a=Q(),Qf("sidebar-open",a.isIssueSidebarOpen),F("list",(null==a.searchResults?null:a.searchResults.issues)||zg(60,O8a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),A(),F("forHeaderCell","focused"),A(),F("forHeaderCell","draghandle"),A(),F("forHeaderCell","selected"),A(),F("forHeaderCell","starred"),A(),F("forHeaderCell","position"),A(2),
F("forViewCell","focused"),A(),F("forViewCell","draghandle"),A(),F("forViewCell","selected"),A(),F("forViewCell","starred"),A(),F("forViewCell","position"),A(),F("forViewCell","issueId"),A(),F("forViewCell","title"),A(),F("forViewCell","priority"),A(),F("forViewCell","severity"),A(),F("forViewCell","status"),A(),F("forViewCell","type"),A(),F("forViewCell","reporter"),A(),F("forViewCell","assignee"),A(),F("forViewCell","verifier"),A(),F("forViewCell","cc"),A(),F("forViewCell","changelist"),A(),F("forViewCell",
"postmortem"),A(),F("forViewCell","blockingIssueId"),A(),F("forViewCell","blockedByIssueId"),A(),F("forViewCell","duplicateOfIssueId"),A(),F("forViewCell","createdTime"),A(),F("forViewCell","modifiedTime"),A(),F("forViewCell","resolvedTime"),A(),F("forViewCell","verifiedTime"),A(),F("forViewCell","foundInVersion"),A(),F("forViewCell","targetedToVersion"),A(),F("forViewCell","verifiedInVersion"),A(),F("forViewCell","inProd"),A(),F("forViewCell","archived"),A(),F("forViewCell","componentPath"),A(),
F("forViewCell","minSlo"),A(),F("forViewCell","responseSlo"),A(),F("forViewCell","assignmentSlo"),A(),F("forViewCell","closureSlo"),A(),F("forViewCell","deletionTime"),A(),F("forViewCell","team"),A(),F("forViewCell","estimate"),A(),F("forViewCell","estimateTotalOpen"),A(),F("forViewCell","estimateTotalComplete"),A(),F("forViewCell","accessLevel"),A(),F("forViewCell","descendantCount"),A(),F("forViewCell","openDescendantCount"),A(),F("forViewCell","oneDayViewCount"),A(),F("forViewCell","sevenDayViewCount"),
A(),F("forViewCell","thirtyDayViewCount"),A(),F("forViewCell","voteCount"),A(),F("forViewCell","position"))},Q8a=function(a){a&1&&K(0,"b-issue-card",96,4);if(a&2){a=R(1);var b=Q().id;F("onedevIsHovercardReady",a.init)("issueId",b)}},R8a=function(a,b){a&1&&(G(0,"onedev-hovercard",null,3),E(2,Q8a,2,2,"b-issue-card",94),I(),G(3,"span",95),S(4),I());a&2&&(a=b.id,b=R(1),A(3),F("onedevHovercardTrigger",b),A(),rg(a))},S8a=function(a){if(a&1){var b=v();G(0,"b-app-bar-bulk-edit-menus",10);V(1,"async");N("onBulkEdit",
function(d){x(b);var e=Q();return y(e.bulkEdit(d))})("onQuickBulkEdit",function(d){x(b);var e=Q();return y(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){x(b);var e=Q();return y(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){x(b);var d=Q();return y(d.bulkMarkIssueRead())});I()}if(a&2){var c;a=Q();F("enableBulkEstimatedEffortOption",null!==(c=W(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",zZa(a))}},T8a=function(a){if(a&1){var b=v();G(0,"b-copy-issue-id-button",
11);N("onClickCopyIssueIds",function(){x(b);var c=Q();return y(BZa(c.copyIssueIdService,wq(c)))})("onClickCopyIssueShortLinks",function(){x(b);var c=Q();return y(CZa(c.copyIssueIdService,wq(c)))})("onClickCopyAsIssueSearch",function(){x(b);var c=Q();return y(DZa(c.copyIssueIdService,wq(c)))});I()}a&2&&(a=Q(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},U8a=function(a){if(a&1){var b=v();G(0,"div",12)(1,"b-hotlist-picker",
13);N("onApply",function(c){x(b);var d=Q();return y(d.handleHotlistPickerSave(c))})("onCreate",function(c){x(b);var d=Q();return y(d.onCreateHotlist.emit(c))})("onLoad",function(c){x(b);var d=Q();return y(d.onLoadHotlist.emit(c))});I()()}a&2&&(a=Q(),A(),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},V8a=function(a){if(a&1){var b=v();G(0,"hotlist-add-issue-btn",16);N("issueAddedToHotlist",function(){x(b);var c=Q(2);return y(c.refresh())});I()}a&2&&(a=Q(2),F("hotlistId",a.currentHotlistId))},
W8a=function(a){a&1&&K(0,"hotlist-archive-btn",17);a&2&&(a=Q(2),F("hotlistId",a.currentHotlistId))},X8a=function(a){a&1&&(L(0),E(1,V8a,1,1,"hotlist-add-issue-btn",14)(2,W8a,1,1,"hotlist-archive-btn",15),M());a&2&&(a=Q(),A(),F("ngIf",a.enableBulkEditUi),A(),F("ngIf",a.isHotlistAdmin))},Y8a=function(a){a&1&&(G(0,"span",21),S(1,"Reporting"),I())},Z8a=function(a){if(a&1){var b=v();G(0,"b-button",18);N("onAction",function(){x(b);var c=Q();return y(c.openInEstado())});K(1,"b-icon",19);E(2,Y8a,2,0,"span",
20);I()}a&2&&(a=Q(),F("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),A(2),F("ngIf",!a.hasSelectedIssues()))},$8a=function(a){if(a&1){var b=v();G(0,"b-comment-box",28);vg("commentChange",function(c){x(b);var d=Q(2);ug(d.comment,c)||(d.comment=c);return y(c)});N("onSubmit",function(){x(b);var c=Q(2);return y(GZa(c))});I()}a&2&&(a=Q(2),tg("comment",a.comment),F("showToolbar",!1))},a9a=function(a){if(a&1){var b=v();G(0,"div",29)(1,"b-recaptcha",30);N("onUpdate",
function(c){x(b);var d=Q(2);return y(d.recaptchaResponse=c)});I()()}},b9a=function(a){a&1&&(G(0,"h1",22),S(1,"Add comment"),I(),G(2,"mat-dialog-content"),E(3,$8a,1,2,"b-comment-box",23),K(4,"b-external-warnings",24),I(),E(5,a9a,2,0,"div",25),G(6,"mat-dialog-actions")(7,"button",26),S(8," Cancel "),I(),G(9,"button",27),S(10," Save "),I()());a&2&&(a=Q(),A(3),F("ngIf",a.comment),A(),F("externalWarnings",a.externalWarnings),A(),F("ngIf",a.enableRecaptcha),A(2),F("mat-dialog-close",!1),A(2),F("disabled",
a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},c9a=function(a){if(a&1){var b=v();G(0,"div",7)(1,"button",8);N("click",function(){x(b);var c=Q();return y(c.onPressSave())});S(2," Save ");I();G(3,"button",9);N("click",function(){x(b);var c=Q();return y(c.onPressRevert())});S(4," Revert changes ");I()()}a&2&&(a=Q(),A(),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":
"Save these changes"),A(2),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},d9a=function(a){if(a&1){var b=v();G(0,"div",7)(1,"button",8);N("click",function(){x(b);var d=Q();return y(d.save())});S(2," Save ");I();G(3,"button",9);N("click",function(){x(b);var d=Q();return y(d.revert())});S(4," Revert changes ");I();K(5,"hotlist-archive-btn",10);V(6,"async");I()}if(a&2){var c;a=Q();A();F("disabled",
a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");A(2);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");A(2);F("hotlistId",null!==(c=W(6,5,a.id$))&&void 0!==c?c:void 0)}},e9a=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,A(),T(" ",a.name," "))},f9a=function(a){a&1&&(G(0,"strong",4),S(1,"(archived)"),I())},g9a=function(a){a&1&&K(0,"b-spinner")},h9a=function(a){a&
1&&(K(0,"hotlist-add-issue-btn",5),V(1,"async"));if(a&2){var b;a=Q();F("hotlistId",null!==(b=W(1,1,a.id$))&&void 0!==b?b:void 0)}},i9a=function(a){a&1&&(G(0,"p",8),S(1," This hotlist cannot be edited because you are not an administrator of it. "),I())},j9a=function(a){a&1&&(L(0),K(1,"b-edit-hotlist-toolbar",1),G(2,"div",2),K(3,"b-edit-hotlist-header",1),G(4,"mat-tab-group",3)(5,"mat-tab",4),K(6,"b-edit-hotlist-basic",5),V(7,"async"),I(),G(8,"mat-tab",6),K(9,"b-edit-hotlist-acl",5),V(10,"async"),I()(),
E(11,i9a,2,0,"p",7),V(12,"async"),I(),M());a&2&&(a=Q(),A(),F("hotlistId",a.id),A(2),F("hotlistId",a.id),A(),F("selectedIndex",a.tabIndex),A(2),F("hotlistId",a.id)("isReadOnly",!1===W(7,8,a.isAdmin$)),A(3),F("hotlistId",a.id)("isReadOnly",!1===W(10,10,a.isAdmin$)),A(2),F("ngIf",!1===W(12,12,a.isAdmin$)))},k9a=function(a,b){a&1&&(L(0),K(1,"empty-toolbar"),G(2,"div",9)(3,"h2"),S(4,"Error"),I(),G(5,"p"),S(6),I()(),M());a&2&&(a=b.$implicit,A(6),rg(a))},l9a=function(a){a&1&&(G(0,"b-callout",1)(1,"b-callout-body"),
S(2),I()());a&2&&(a=Q(),A(2),rg(a.error))},m9a=function(a){a&1&&(L(0),S(1,", "),M())},n9a=function(a,b){a&1&&(L(0),S(1),E(2,m9a,2,0,"ng-container",14),M());if(a&2){a=b.$implicit;b=b.last;var c=Q(2);A();T(" ",c.convertUserToString(a)," ");A();F("ngIf",!b)}},o9a=function(a,b){if(a&1){var c=v();G(0,"tr",7);N("click",function(){var e=x(c).$implicit,f=Q();return y(f.editHotlist(e))})("focus",function(){var e=x(c).index,f=Q();return y(f.setFocusOnIndex(e))});K(1,"td",2);G(2,"td",8)(3,"a",9);N("click",function(e){x(c);
return y(e.stopPropagation())});S(4);I()();G(5,"td",10);S(6);I();G(7,"td",11);E(8,n9a,3,2,"ng-container",12);I();G(9,"td",13);S(10);I()()}if(a&2){a=b.$implicit;b=b.index;var d=Q();Qf("grid-focus",d.isFocused(b));Hf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));A(3);F("href",d.paths.editHotlist(a.hotlistId),Ye);A();T(" ",a.name," ");A(2);T(" ",a.description," ");A(2);F("ngForOf",a.adminUsers);A(2);T(" ",a.hotlistId," ")}},p9a=function(a){if(a&1){var b=v();G(0,"button",9);N("click",
function(){x(b);var c=Q(2);return y(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});S(1," Move to top ");I()}},q9a=function(a){if(a&1){var b=v();G(0,"button",10);N("click",function(){x(b);var c=Q(2);return y(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});S(1," Move up ");I()}},r9a=function(a){if(a&1){var b=v();G(0,"button",11);N("click",function(){x(b);var c=Q(2);return y(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});S(1," Move down ");I()}},s9a=function(a){if(a&1){var b=
v();G(0,"button",12);N("click",function(){x(b);var c=Q(2);return y(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});S(1," Move to bottom ");I()}},t9a=function(a){if(a&1){var b=v();E(0,p9a,2,0,"button",4)(1,q9a,2,0,"button",5)(2,r9a,2,0,"button",6)(3,s9a,2,0,"button",7);G(4,"button",8);N("click",function(){x(b);var c=Q();return y(c.removePanel())});S(5," Remove ");I()}a&2&&(a=Q(),F("ngIf",!a.first),A(),F("ngIf",!a.first),A(),F("ngIf",!a.last),A(),F("ngIf",!a.last))},u9a=function(a){a&1&&
(L(0),S(1,"Insights"),M())},v9a=function(a){if(a&1){var b=v();G(0,"b-insights-graph-menu",2);N("openSidebar",function(d){x(b);var e=Q(2);return y(e.openSidebar(d.panel))});I()}if(a&2){a=Q().ngIf;var c=Q();F("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},w9a=function(a){a&1&&(L(0),E(1,v9a,1,3,"b-insights-graph-menu",1),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.shouldShowInsightsGraphMenu$)))},x9a=function(a){a&1&&K(0,"edit-issue-metadata",5);a&2&&(a=Q(),
F("issueId",a.issueId))},y9a=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(),Hf("title",a.getValue()),A(),T(" ",a.getValue(),"\n"))},z9a=function(a){a&1&&K(0,"b-custom-field-value-display",2);a&2&&(a=Q(),F("customFieldValue",a.getCustomFieldValue()))},A9a=function(a){a&1&&(G(0,"button",7,1),K(2,"mat-icon",8),I());if(a&2){a=Q();var b=R(2);F("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);Hf("aria-label",a.buttonLabel);A(2);F("svgIcon",a.buttonIcon)}},B9a=function(a){a&1&&(G(0,"div",9),S(1),
I());a&2&&(a=Q(),A(),rg(a.header))},C9a=function(a){a&1&&K(0,"mat-icon",8);a&2&&(a=Q(2).$implicit,F("svgIcon",a.icon))},D9a=function(a){a&1&&(G(0,"span",14),S(1),I());a&2&&(a=Q(2).$implicit,A(),rg(a.hintText))},E9a=function(a){a&1&&K(0,"mat-icon",8);a&2&&(a=Q(2).$implicit,F("svgIcon",a.icon))},F9a=function(a){a&1&&(G(0,"span",14),S(1),I());a&2&&(a=Q(2).$implicit,A(),rg(a.hintText))},G9a=function(a){if(a&1){var b=v();G(0,"button",17);N("click",function(d){x(b);var e=Q().$implicit,f=Q(3);return y(f.onAction(d,
e))})("mouseup",function(d){x(b);var e=Q().$implicit,f=Q(3);return y(f.onAction(d,e))});E(1,E9a,1,1,"mat-icon",12);S(2);E(3,F9a,2,1,"span",13);I()}if(a&2){a=Q().$implicit;var c=Q(2).$implicit;F("disabled",a.disabled)("ngClass",c.className);Hf("title",a.title);A();F("ngIf",a.icon);A();T(" ",a.label," ");A();F("ngIf",a.hintText)}},H9a=function(a){if(a&1){var b=v();G(0,"button",18);N("click",function(d){x(b);var e=Q().$implicit,f=Q(3);return y(f.onAction(d,e))})("mouseup",function(d){x(b);var e=Q().$implicit,
f=Q(3);return y(f.onAction(d,e))});G(1,"span",19);K(2,"mat-icon",20);I();S(3);I()}if(a&2){a=Q().$implicit;var c=Q(2).$implicit;Qf("b-menu-item-checked",a.selected);F("disabled",a.disabled)("ngClass",c.className);Hf("title",a.title);A(3);T(" ",a.label," ")}},I9a=function(a,b){a&1&&(L(0),E(1,G9a,4,6,"button",15)(2,H9a,4,6,"button",16),M());a&2&&(a=b.$implicit,A(),F("ngIf","action"===a.type),A(),F("ngIf","select"===a.type))},J9a=function(a){a&1&&(L(0),G(1,"button",11),E(2,C9a,1,1,"mat-icon",12),S(3),
E(4,D9a,2,1,"span",13),I(),G(5,"mat-menu",null,2),E(7,I9a,3,2,"ng-container",6),I(),M());if(a&2){a=R(6);var b=Q().$implicit,c=Q();A();F("matMenuTriggerFor",a);A();F("ngIf",b.icon);A();T(" ",b.label," ");A();F("ngIf",b.hintText);A(3);F("ngForOf",b.items)("ngForTrackBy",c.trackByIndex)}},K9a=function(a){a&1&&K(0,"mat-icon",8);a&2&&(a=Q(3).$implicit,F("svgIcon",a.icon))},L9a=function(a){a&1&&(G(0,"span",14),S(1),I());a&2&&(a=Q(3).$implicit,A(),rg(a.hintText))},M9a=function(a){if(a&1){var b=v();G(0,"button",
17);N("click",function(c){x(b);var d=Q(2).$implicit,e=Q();return y(e.onAction(c,d))})("mouseup",function(c){x(b);var d=Q(2).$implicit,e=Q();return y(e.onAction(c,d))});E(1,K9a,1,1,"mat-icon",12);S(2);E(3,L9a,2,1,"span",13);I()}a&2&&(a=Q(2).$implicit,F("disabled",a.disabled)("ngClass",a.className),Hf("title",a.title),A(),F("ngIf",a.icon),A(),T(" ",a.label," "),A(),F("ngIf",a.hintText))},N9a=function(a){if(a&1){var b=v();G(0,"button",18);N("click",function(c){x(b);var d=Q(2).$implicit,e=Q();return y(e.onAction(c,
d))})("mouseup",function(c){x(b);var d=Q(2).$implicit,e=Q();return y(e.onAction(c,d))});G(1,"span",19);K(2,"mat-icon",20);I();S(3);I()}a&2&&(a=Q(2).$implicit,Qf("b-menu-item-checked",a.selected),F("disabled",a.disabled)("ngClass",a.className),Hf("title",a.title)("aria-label",a.label+" results per page"),A(3),T(" ",a.label," "))},O9a=function(a){a&1&&(L(0),E(1,M9a,4,6,"button",15)(2,N9a,4,7,"button",16),M());a&2&&(a=Q().$implicit,A(),F("ngIf","action"===a.type),A(),F("ngIf","select"===a.type))},P9a=
function(a,b){a&1&&(L(0),E(1,J9a,8,6,"ng-container",10)(2,O9a,3,2,"ng-container",10),M());a&2&&(a=b.$implicit,A(),F("ngIf","submenu"===a.type),A(),F("ngIf","submenu"!==a.type))},Q9a=function(a){var b=a.issueIsExternal;return a.userIsExternal&&b},R9a=function(a){a=a.bugId+"-comment"+a.comment;var b,c,d=null==(b=window)?void 0:null==(c=b.location)?void 0:c.href;b=d?encodeURIComponent(d):"";return"http://reportcontent.google.com/troubleshooter?product=issue_tracker&content_id="+a+"&url="+b},S9a=function(a){a&
1&&K(0,"b-actions-menu",7);a&2&&(a=Q(),F("menuItems",a.menuItems))},T9a=function(a){a&1&&(G(0,"span",8)(1,"strong"),S(2),I(),S(3,"\u00a0of\u00a0"),G(4,"strong"),S(5),I()());a&2&&(a=Q(),A(2),sg("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),A(3),rg(a.searchResults.totalText))},U9a=function(a){a&1&&(G(0,"div"),S(1," Hotlist not found. "),I())},V9a=function(a){a&1&&(G(0,"div"),S(1," Loading details... "),I())},W9a=function(a){a&1&&K(0,"b-panel-controls",11);a&2&&(a=Q(2),F("panelId",
a.panel.panelId))},X9a=function(a){a&1&&(G(0,"span",12),S(1," \u00a0(changed) "),I())},Y9a=function(a){a&1&&(G(0,"div"),E(1,W9a,1,1,"b-panel-controls",6),G(2,"span",7),S(3," Hotlist: "),G(4,"a",8)(5,"span",9),S(6),I()()(),E(7,X9a,2,0,"span",10),I());a&2&&(a=Q(),A(),F("ngIf",a.isDashboardEditable),A(3),F("href",a.paths.viewHotlist(a.hotlistId),Ye),A(),fg("matTooltip",a.resource.description),A(),rg(a.resource.name),A(),F("ngIf",a.hasParamChanges()))},Z9a=function(a){if(a&1){var b=v();G(0,"div",13)(1,
"button",14);N("click",function(){x(b);var c=Q();return y(c.save())});S(2,"Save ");I();G(3,"button",15);N("click",function(){x(b);var c=Q();return y(c.discardChanges())});S(4," Discard changes ");I()()}},$9a=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(3),A(),T(" Searching for ",a.searchParams.query," ..."))},a$a=function(a){a&1&&(G(0,"div",19),K(1,"b-spinner",20),E(2,$9a,2,1,"span",3),I());a&2&&(a=Q(2),A(),F("large",!1),A(),F("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},
b$a=function(a){a&1&&(G(0,"div",21),S(1," No issues in hotlist. "),I())},d$a=function(a){if(a&1){var b=v();G(0,"div",22)(1,"b-issues-grid",23);N("init",function(c){x(b);var d=Q(2);return y(c$a(d,c))});vg("focusedRowIndexChange",function(c){x(b);var d=Q(2);ug(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return y(c)})("columnsChange",function(c){x(b);var d=Q(2);ug(d.issueColumns,c)||(d.issueColumns=c);return y(c)});N("sortChange",function(c){x(b);var d=Q(2);return y(d.setSort(c.field,c.direction))})("onRowDragDrop",
function(c){x(b);var d=Q(2);return y(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){x(b);var d=Q(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=Q(2);return y(c.goToPage(c.page+1))})("onPrevPage",function(){x(b);var c=Q(2);return y(c.goToPage(c.page-1))});I()()}a&2&&(a=Q(2),A(),F("searchResults",a.searchResults),tg("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),F("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},
e$a=function(a){a&1&&(G(0,"div"),E(1,a$a,3,2,"div",16)(2,b$a,2,0,"div",17)(3,d$a,2,5,"div",18),I());a&2&&(a=Q(),A(),F("ngIf",a.isLoading),A(),F("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),A(),F("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},f$a=function(a){a&1&&(G(0,"div"),S(1," Saved search not found. "),I())},g$a=function(a){a&1&&(G(0,"div"),S(1," Loading details... "),
I())},h$a=function(a){a&1&&K(0,"b-panel-controls",11);a&2&&(a=Q(2),F("panelId",a.panel.panelId))},i$a=function(a){a&1&&(G(0,"span",12),S(1," \u00a0(changed) "),I())},j$a=function(a){a&1&&(G(0,"div",6),E(1,h$a,1,1,"b-panel-controls",7),G(2,"span",6),S(3," Saved search: "),G(4,"a",8)(5,"span",9),S(6),I()()(),E(7,i$a,2,0,"span",10),I());a&2&&(a=Q(),A(),F("ngIf",a.isDashboardEditable),A(3),F("href",a.paths.viewSavedSearch(a.savedSearchId),Ye),A(),fg("matTooltip",a.resource.description),A(),rg(a.resource.name),
A(),F("ngIf",a.hasParamChanges()))},k$a=function(a,b){a&1&&(G(0,"span"),S(1),I());a&2&&(a=b.ngIf,A(),T("Searching for ",a,"..."))},l$a=function(a){a&1&&(G(0,"div",16),K(1,"b-spinner",17),E(2,k$a,2,1,"span",3),I());a&2&&(a=Q(2),A(),F("large",!1),A(),F("ngIf",null==a.searchParams?null:a.searchParams.query))},m$a=function(a){a&1&&(G(0,"div",18),S(1," No issues in saved search. "),I())},n$a=function(a){if(a&1){var b=v();G(0,"div",19)(1,"b-issues-grid",20);N("init",function(c){x(b);var d=Q(2);return y(c$a(d,
c))});vg("focusedRowIndexChange",function(c){x(b);var d=Q(2);ug(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return y(c)});N("columnsChange",function(c){x(b);var d=Q(2);return y(d.columnsChange(c))})("sortChange",function(c){x(b);var d=Q(2);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=Q(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=Q(2);return y(c.goToPage(c.page+1))})("onPrevPage",function(){x(b);var c=Q(2);return y(c.goToPage(c.page-
1))});I()()}a&2&&(a=Q(2),A(),F("searchResults",a.searchResults),tg("focusedRowIndex",a.focusedRowIndex),F("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},o$a=function(a){a&1&&(G(0,"div"),E(1,l$a,3,2,"div",13)(2,m$a,2,0,"div",14)(3,n$a,2,5,"div",15),I());a&2&&(a=Q(),A(),F("ngIf",a.isLoading),A(),F("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),A(),F("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},p$a=function(a,
b){a&1&&(G(0,"span",3)(1,"a",4),S(2),I()());a&2&&(a=b.$implicit,A(),eg("routerLink","/teams/",a.id,"/edit"),F("preserveFragment",!0),A(),rg(a.name))},q$a=function(a){a&1&&(G(0,"p")(1,"span",6),S(2,"NOTE:"),I(),S(3),G(4,"a",7),S(5,"Learn more"),I()());a&2&&(a=Q(),A(3),T(" ",a.data.noteText," "),A(),F("href",a.getDisablingFieldsHelpLink(),Ye))},r$a=function(a){a&1&&(L(0),K(1,"span",26)(2,"b-icon",27),M());a&2&&(a=Q(),A(),F("innerHTML",a.menuLabel,Xe))},s$a=function(a){a&1&&(G(0,"div",28),S(1," This includes emails about major updates and: "),
G(2,"ul",29)(3,"li"),S(4,"All title, hotlist, and status changes."),I(),G(5,"li"),S(6,"Blocking, Blocked By, or Duplicate changes."),I(),G(7,"li"),S(8,"Changes to Reporter, Verifier, and CCs."),I(),G(9,"li"),S(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),I(),G(11,"li"),S(12,"Changes to custom fields marked as minor."),I()()())},t$a=function(a){a&1&&(G(0,"div",30),S(1," This includes emails about: "),G(2,"ul",29)(3,"li"),S(4,"New comments."),I(),G(5,"li"),S(6,"New status updates."),
I(),G(7,"li"),S(8,"Priority or Severity changes."),I(),G(9,"li"),S(10,"Assignee changes."),I(),G(11,"li"),S(12,"Component changes."),I(),G(13,"li"),S(14,"Issue closure or reopening."),I(),G(15,"li"),S(16,"Changes to custom fields marked as major."),I()()())},u$a=function(a,b){a&1&&(G(0,"mat-option",6),S(1),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",a.name," "))},v$a=function(a){a&1&&(G(0,"span",12),S(1," (must be between 30 days and 20 years) "),I())},x$a=function(a){if(a&1){var b=v();G(0,"div",
13)(1,"b-duration-picker",14);N("durationDaysChange",function(c){x(b);var d=Q();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);fr(d);return y()});I();G(2,"div",15);S(3);I()()}a&2&&(a=Q(),A(),F("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),A(2),T(" Issues will be marked for deletion when they have not been modified for ",w$a(a.model.retentionPeriodDays),". "))},y$a=function(a){a&1&&(G(0,"div",16)(1,"p"),S(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
G(3,"b"),S(4,"one or more"),I(),S(5," of the following is true:"),I(),G(6,"ol")(7,"li"),S(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),I(),G(9,"li"),S(10,"You have a process in place to manually delete this data within an approved period of time."),I(),G(11,"li"),S(12,"Legal and Privacy have approved this non-standard retention period."),I()()())},z$a=function(a){a&1&&(G(0,"div",17)(1,"p"),S(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
G(3,"b"),S(4,"one or more"),I(),S(5," of the following is true:"),I(),G(6,"ol")(7,"li"),S(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),I(),G(9,"li"),S(10,"You have a process in place to manually delete this data within an approved period of time."),I(),G(11,"li"),S(12,"Legal and Privacy have approved this non-standard retention period."),I()()())},A$a=function(a){a&1&&(G(0,"span",12),S(1," (Issue Retention is shorter than default Restricted Retention) "),
I())},C$a=function(a){a&1&&(G(0,"span",12),S(1),I());a&2&&(a=Q(),A(),T(" ",B$a(a)," "))},D$a=function(a){a&1&&(G(0,"div",23)(1,"p"),S(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."),I()())},F$a=function(a){if(a&1){var b=v();G(0,"div",13)(1,"div")(2,"span",
18);S(3,"Restricted retention:");I();G(4,"b-duration-picker",19);N("durationDaysChange",function(c){x(b);var d=Q();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);fr(d);return y()});I()();G(5,"div",20)(6,"p");S(7);I()();G(8,"div")(9,"span",18);S(10,"Restricted+ retention:");I();G(11,"b-duration-picker",21);N("durationDaysChange",function(c){x(b);var d=Q();d.model.spiiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);fr(d);return y()});
I()();G(12,"div",20)(13,"p");S(14);I()();E(15,D$a,3,0,"div",22);I()}a&2&&(a=Q(),A(4),F("disabled",!gr(a))("durationDays",a.model.piiRetentionPeriodDays),A(3),T(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",w$a(a.model.piiRetentionPeriodDays),". "),A(4),F("disabled",!gr(a))("durationDays",a.model.spiiRetentionPeriodDays),A(3),T(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
w$a(a.model.spiiRetentionPeriodDays),". "),A(),F("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&E$a(a)))},G$a=function(a){a&1&&(G(0,"div",24)(1,"p"),S(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."),I()())},H$a=function(a,b,
c){a=hr(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},hr=function(a,b,c,d){var e=I$a(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}},I$a=function(a,b){b=new RegExp(b,"gi");for(var c,d=null;null!=(c=b.exec(a));)d=c,d.index=b.lastIndex;return d},ir=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},J$a=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},jr=function(a,b,c,d){c=void 0===c?!1:c;d=void 0===d?!1:d;var e=b.val.toLowerCase();a=a.filter(function(q){q=q.name.toLowerCase();return q!==e||d?c?q.startsWith(e):la(q,e):!1});b=b.idx;for(var f=b+e.length,h=k(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=f,l.matchingString=e;return a},kr=function(a){var b=a.name,c=a.label,d=a.type,e=a.enableShadowPlaceholder,f=a.id,h;return{trackId:(null!=(h=a.trackIdPrefix)?h:d)+":"+b,name:b,id:null!=f?f:b,label:c,completionCfg:{enableShadowPlaceholder:null!=
e?e:!0,completionValue:null!=f?f:b,type:d}}},M$a=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10);N("click",function(d){var e=x(c).$implicit,f=Q();e=e.key;if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;K$a(f);L$a(f);f.optionsChange.emit(f.options);return y()});G(2,"mat-checkbox",11);N("change",function(d){var e=x(c).$implicit,f=Q();e.value.value=d.checked;K$a(f);L$a(f);f.optionsChange.emit(f.options);return y()})("click",function(d){x(c);
return y(d.stopPropagation())});S(3);I()()()}a&2&&(a=b.$implicit,Hf("aria-checked",a.value.value),A(2),F("checked",a.value.value),A(),T(" ",a.value.displayString," "))},N$a=function(a){a&1&&(G(0,"div",12),S(1),I());a&2&&(a=Q(),A(),T(" ",a.errorString," "))},P$a=function(a){if(a&1){var b=v();G(0,"span",4)(1,"input",5);vg("ngModelChange",function(c){x(b);var d=Q(2);ug(d.businessDayString,c)||(d.businessDayString=c);return y(c)});N("ngModelChange",function(){x(b);var c=Q(2);return y(O$a(c))});I();G(2,
"span",8);S(3,"days,");I()()}a&2&&(a=Q(2),A(),Qf("ng-invalid",!!a.errorString),tg("ngModel",a.businessDayString))},R$a=function(a,b){a&1&&(G(0,"mat-option",9),S(1),I());a&2&&(a=b.$implicit,b=Q(2),F("value",a),A(),T(" ",Q$a(b,a)," "))},W$a=function(a){if(a&1){var b=v();G(0,"span",2);E(1,P$a,4,3,"span",3);G(2,"span",4)(3,"input",5);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.intervalString,c)||(d.intervalString=c);return y(c)});N("ngModelChange",function(){x(b);var c=Q();return y(O$a(c))});I();
G(4,"mat-select",6);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.intervalUnit,c)||(d.intervalUnit=c);return y(c)});N("selectionChange",function(){x(b);var c=Q();S$a(c);T$a(c);return y()});E(5,R$a,2,2,"mat-option",7);I()()()}a&2&&(a=Q(),A(),F("ngIf",U$a(a)),A(2),Qf("invalid",!!a.errorString),tg("ngModel",a.intervalString),A(),tg("ngModel",a.intervalUnit),A(),F("ngForOf",U$a(a)?[lr,mr]:[lr,mr,V$a]))},X$a=function(a){a&1&&(G(0,"span",13),S(1),I());a&2&&(a=Q(2),A(),sg(" ",a.objectiveBusinessDays,
" day",1!=a.objectiveBusinessDays?"s":""," "))},Y$a=function(a){a&1&&(G(0,"span"),S(1,", "),I())},Z$a=function(a){a&1&&(G(0,"span"),E(1,Y$a,2,0,"span",12),G(2,"span"),S(3),I()());a&2&&(a=Q(2),A(),F("ngIf",a.objectiveBusinessDays),A(2),sg("",a.intervalString," ",Q$a(a,a.intervalUnit),""))},$$a=function(a){a&1&&(G(0,"span",10),E(1,X$a,2,2,"span",11)(2,Z$a,4,3,"span",12),I());a&2&&(a=Q(),A(),F("ngIf",a.objectiveBusinessDays),A(),F("ngIf",a.intervalString&&"0"!=a.intervalString))},bab=function(a){if(a&
1){var b=v();G(0,"b-icon",23);N("click",function(){x(b);var c=Q(2);return y(aab(c,0))});I()}a&2&&F("name","add")("size","small")},dab=function(a){if(a&1){var b=v();G(0,"span",18)(1,"span",19)(2,"span",20);E(3,bab,1,2,"b-icon",21);I();G(4,"span",20)(5,"b-icon",22);N("click",function(c){x(b);var d=Q();return y(cab(d,c))});I()()()()}a&2&&(a=Q(),A(3),F("ngIf",a.canPerformActions),A(2),F("name","delete")("size","small"))},eab=function(a){a&1&&K(0,"td",43)},fab=function(a){if(a&1){var b=v();G(0,"td",44)(1,
"slo-element-property-picker",45);vg("optionsChange",function(c){x(b);var d=Q().$implicit;ug(d.typePickerValues,c)||(d.typePickerValues=c);return y(c)});I()()}a&2&&(a=Q().$implicit,A(),F("selectAllText","Any type")("validator",a.validateTypePicker),tg("options",a.typePickerValues))},gab=function(a){if(a&1){var b=v();G(0,"td",46)(1,"slo-element-property-picker",47);vg("optionsChange",function(c){x(b);var d=Q().$implicit;ug(d.priorityPickerValues,c)||(d.priorityPickerValues=c);return y(c)});I()()}a&
2&&(a=Q().$implicit,A(),F("selectAllText","Any priority")("validator",a.validatePriorityPicker),tg("options",a.priorityPickerValues))},hab=function(a){if(a&1){var b=v();G(0,"td",48)(1,"slo-element-property-picker",49);vg("optionsChange",function(d){x(b);var e=Q().$implicit;ug(e.postmortemPickerValues,d)||(e.postmortemPickerValues=d);return y(d)});I()()}if(a&2){a=Q().$implicit;var c=Q(2);A();F("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker);tg("options",a.postmortemPickerValues)}},
jab=function(a,b){a&1&&(G(0,"mat-option",54),S(1),I());a&2&&(a=b.$implicit,Q(4),F("value",a),A(),T(" ",iab(a)," "))},kab=function(a){if(a&1){var b=v();G(0,"td",50)(1,"mat-form-field",51)(2,"mat-select",52);vg("ngModelChange",function(d){x(b);var e=Q().$implicit;ug(e.selectedMetric,d)||(e.selectedMetric=d);return y(d)});E(3,jab,2,2,"mat-option",53);I()()()}if(a&2){a=Q().$implicit;var c=Q(2);A(2);tg("ngModel",a.selectedMetric);F("customValidators",a.metricValidators);A();F("ngForOf",c.metricChoices)}},
lab=function(a){if(a&1){var b=v();G(0,"td",55)(1,"slo-objective-selector",56);vg("objectiveDurationChange",function(c){x(b);var d=Q().$implicit;ug(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return y(c)})("objectiveBusinessDaysChange",function(c){x(b);var d=Q().$implicit;ug(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return y(c)});I()()}a&2&&(a=Q().$implicit,A(),F("dayType",a.selectedDayType),tg("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays),F("validator",a.validateObjective)("isDisabled",!1))},nab=function(a,b){a&1&&(G(0,"mat-option",54),S(1),I());a&2&&(a=b.$implicit,Q(4),F("value",a),A(),T(" ",mab.get(a||"CALENDAR")," "))},oab=function(a){if(a&1){var b=v();G(0,"td",57)(1,"mat-form-field",51)(2,"mat-select",58);vg("ngModelChange",function(d){x(b);var e=Q().$implicit;ug(e.selectedDayType,d)||(e.selectedDayType=d);return y(d)});N("selectionChange",function(){x(b);var d=Q().$implicit;"BUSINESS"===d.selectedDayType?
0===d.selectedObjectiveDuration.seconds%86400&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.seconds/86400,d.selectedObjectiveDuration.seconds=0):(0===d.selectedObjectiveDuration.seconds&&(d.selectedObjectiveDuration.seconds=86400*d.selectedObjectiveBusinessDays),d.selectedObjectiveBusinessDays=0);return y()});E(3,nab,2,2,"mat-option",53);I()()()}if(a&2){a=Q().$implicit;var c=Q(2);A(2);tg("ngModel",a.selectedDayType);A();F("ngForOf",c.dayTypes)}},sab=function(a){if(a&1){var b=v();G(0,
"td",59)(1,"span",19)(2,"span",20)(3,"b-icon",60);N("click",function(){x(b);var c=Q(3);if(c.openRow)if(c.openRow.isValid())pab(c.openRow.typePickerValues)&&pab(c.openRow.priorityPickerValues)&&pab(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:vh("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}):qab(c);else{var d=c.openRow;("BUSINESS"!==d.selectedDayType?0<d.selectedObjectiveDuration.seconds:0<d.selectedObjectiveDuration.seconds||0<d.selectedObjectiveBusinessDays)||c.confirmationDialogService.open({title:"SLO validation error",content:vh('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 y()});
I()();G(4,"span",20)(5,"b-icon",61);N("click",function(){x(b);var c=Q().$implicit,d=Q(2);return y(rab(d,c))});I()()()()}a&2&&(A(3),F("name","done")("size","small"),A(2),F("name","delete")("size","small"))},tab=function(a){a&1&&K(0,"td",62)},uab=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q(2).$implicit,A(),T("ERROR: ",a.parseResult.error,""))},vab=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),S(2),I()());a&2&&(a=b.$implicit,A(2),rg(a))},xab=function(a){a&1&&(G(0,"span",66),E(1,vab,3,1,"span",
67),I());if(a&2){a=Q(2).$implicit;A();if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(wab(a.controllerReference,d));a=b}F("ngForOf",a)}},yab=function(a){a&1&&(G(0,"td",63),E(1,uab,2,1,"div",64)(2,xab,2,1,"span",65),I());a&2&&(a=Q().$implicit,A(),F("ngIf",a.parseResult.error),A(),F("ngIf",!a.parseResult.error))},zab=function(a){a&1&&(G(0,"div"),
S(1),I());a&2&&(a=Q(2).$implicit,A(),T("ERROR: ",a.parseResult.error,""))},Aab=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),S(2),I()());a&2&&(a=b.$implicit,A(2),rg(a))},Cab=function(a){a&1&&(G(0,"span",66),E(1,Aab,3,1,"span",67),I());if(a&2){a=Q(2).$implicit;A();if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(Bab(a.controllerReference,
d));a=b}F("ngForOf",a)}},Dab=function(a){a&1&&(G(0,"td",70),E(1,zab,2,1,"div",64)(2,Cab,2,1,"span",65),I());a&2&&(a=Q().$implicit,A(),F("ngIf",a.parseResult.error),A(),F("ngIf",!a.parseResult.error))},Eab=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q(2).$implicit,A(),T("ERROR: ",a.parseResult.error,""))},Fab=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),S(2),I()());a&2&&(a=b.$implicit,A(2),rg(a))},Gab=function(a){a&1&&(G(0,"span",66),E(1,Fab,3,1,"span",67),I());if(a&2){a=Q(2).$implicit;A();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])];F("ngForOf",a)}},Hab=function(a){a&1&&(G(0,"td",71),E(1,Eab,2,1,"div",64)(2,Gab,2,1,"span",65),I());a&2&&(a=Q().$implicit,A(),F("ngIf",a.parseResult.error),A(),F("ngIf",!a.parseResult.error))},Iab=function(a){a&1&&(G(0,"td",72),S(1),I());a&2&&(a=Q().$implicit,Q(2),A(),T(" ",iab(a.sloElement.metric)," "))},
Jab=function(a){if(a&1){var b=v();G(0,"td",73)(1,"slo-objective-selector",74);vg("objectiveDurationChange",function(c){x(b);var d=Q().$implicit;ug(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return y(c)})("objectiveBusinessDaysChange",function(c){x(b);var d=Q().$implicit;ug(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return y(c)});I()()}a&2&&(a=Q().$implicit,A(),F("dayType",a.selectedDayType),tg("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays),F("isDisabled",!a.isEditingInternal))},Kab=function(a){a&1&&(G(0,"td",75),S(1),I());a&2&&(a=Q().$implicit,Q(2),A(),T(" ",mab.get(a.sloElement.dayType||"CALENDAR")," "))},Mab=function(a){if(a&1){var b=v();G(0,"b-icon",84);N("click",function(c){x(b);var d=Q(2).$implicit,e=Q(2);return y(Lab(e,d,c))});I()}a&2&&F("name","edit")("size","small")},Nab=function(a){a&1&&K(0,"b-icon",85);a&2&&(Q(),a=R(8),F("name","more-settings-vertical")("size","small")("matMenuTriggerFor",
a))},Pab=function(a){if(a&1){var b=v();G(0,"button",86);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(2);return y(Oab(d,c,1))});S(1," Move row down ");I()}},Qab=function(a){if(a&1){var b=v();G(0,"button",87);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(2);return y(Oab(d,c,-1))});S(1," Move row up ");I()}},Sab=function(a){if(a&1){var b=v();G(0,"td",76)(1,"span",19)(2,"span",20);E(3,Mab,1,2,"b-icon",77);I();G(4,"span",20)(5,"span");E(6,Nab,1,3,"b-icon",78);I();G(7,"mat-menu",null,0);E(9,
Pab,2,0,"button",79)(10,Qab,2,0,"button",80);G(11,"button",81);N("click",function(){x(b);var d=Q().$implicit,e=Q(2);aab(e,e.collection.indexOf(d)+1);return y()});S(12," Add row below ");I();G(13,"button",82);N("click",function(){x(b);var d=Q().$implicit,e=Q(2);aab(e,e.collection.indexOf(d));return y()});S(14," Add row above ");I();G(15,"button",83);N("click",function(){x(b);var d=Q().$implicit,e=Q(2);return y(rab(e,d))});S(16," Remove ");I()()()()()}if(a&2){a=Q().$implicit;var c=Q(2);A(3);F("ngIf",
a.canEdit);A(3);F("ngIf",a.canEdit);A(3);F("ngIf",Rab(c,a,1).valid);A();F("ngIf",Rab(c,a,-1).valid)}},Uab=function(a,b){a&1&&(G(0,"tr",26),E(1,eab,1,0,"td",27)(2,fab,2,3,"td",28)(3,gab,2,3,"td",29)(4,hab,2,3,"td",30)(5,kab,4,3,"td",31)(6,lab,2,5,"td",32)(7,oab,4,2,"td",33)(8,sab,6,4,"td",34)(9,tab,1,0,"td",35)(10,yab,3,2,"td",36)(11,Dab,3,2,"td",37)(12,Hab,3,2,"td",38)(13,Iab,2,1,"td",39)(14,Jab,2,4,"td",40)(15,Kab,2,1,"td",41)(16,Sab,17,4,"td",42),I());a&2&&(a=b.$implicit,b=Q(2),Qf("draggable",!b.isDisabled&&
null==b.openRow),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal),A(),
F("ngIf",!a.isEditingInternal),A(),F("ngIf",!a.isEditingInternal))},Vab=function(a){if(a&1){var b=v();G(0,"tbody",24);N("cdkDropListDropped",function(c){x(b);var d=Q();return y(d.onDrop(c))});E(1,Uab,17,18,"tr",25);I()}a&2&&(a=Q(),F("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),A(),F("ngForOf",a.collection))},Wab=function(a){a&1&&(G(0,"div",88),S(1," There are currently no rules for this SLO "),I())},Xab=function(a,b){if(a&1){var c=v();G(0,"tr",7);N("click",
function(){var e=x(c).$implicit,f=Q();return y(f.editSlo(e))})("focus",function(){var e=x(c).index,f=Q();return y(f.setFocusOnIndex(e))});K(1,"td",2);G(2,"td",8)(3,"a",9);N("click",function(e){x(c);return y(e.stopPropagation())});S(4);I()();G(5,"td",10);S(6);I()()}if(a&2){a=b.$implicit;b=b.index;var d=Q();Qf("grid-focus",d.isFocused(b));Hf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));A(3);F("href",d.paths.editSlo(a.sloId),Ye);A();T(" ",a.name," ");A(2);T(" ",a.description," ")}},
Yab=function(a){if(a)return(Array.isArray(a)?a.map(function(b){return qi(b)}):[qi(a)]).filter(function(b){return!isNaN(b)})},Zab=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!nr(c,b)})},$ab=function(a,b){"string"===typeof a&&(a=a.trim())&&b(bl(a))},abb=function(a,b){if(!a)return[];a=k("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())$ab(c.value,function(d){return b.push(d)});return Vra(b)},bbb=function(a){return null===a?function(){}:function(b){a:{if(Array.isArray(b)&&
1===b.length&&(b=b[0],Array.isArray(b))){b=new a(b);break a}b=void 0}if(void 0!==b)return b;throw Error("Le");}},cbb=function(a){a&1&&(G(0,"a",3),S(1),V(2,"async"),I());if(a&2){var b;a=Q();F("href",a.manageComponentLink,Ye);A();rg(null==(b=W(2,2,a.component$))?null:b.name)}},dbb=function(a){a&1&&(G(0,"output"),S(1),I());a&2&&(a=Q(),A(),rg(a.componentId))},ebb=function(a){a&1&&Yf(0)},fbb=function(a){a&1&&E(0,ebb,1,0,"ng-container",4);a&2&&(Q(),a=R(6),F("ngTemplateOutlet",a))},gbb=function(a){a&1&&
Yf(0)},hbb=function(a){a&1&&E(0,gbb,1,0,"ng-container",4);a&2&&(Q(),a=R(8),F("ngTemplateOutlet",a))},ibb=function(a){a&1&&(G(0,"li")(1,"label"),S(2,"Component"),I(),K(3,"b-async-component",8),I());a&2&&(a=Q(2),A(3),F("componentId",a.issueComponentId))},jbb=function(a){a&1&&(G(0,"li")(1,"label"),S(2,"Team"),I(),K(3,"b-team-display",9),I());a&2&&(a=Q(2),A(3),F("teamId",a.issueTeamId))},kbb=function(a){a&1&&(G(0,"ol",5)(1,"li")(2,"label"),S(3,"ID"),I(),G(4,"output"),S(5),I()(),G(6,"li")(7,"label"),S(8,
"Type"),I(),G(9,"output"),S(10),I()(),G(11,"li")(12,"label"),S(13,"Priority"),I(),K(14,"b-issue-priority-display",6),I(),G(15,"li")(16,"label"),S(17,"Severity"),I(),G(18,"output"),S(19),I()(),G(20,"li")(21,"label"),S(22,"Status"),I(),G(23,"output"),S(24),I()(),G(25,"li")(26,"label"),S(27,"Last modified"),I(),G(28,"output"),S(29),V(30,"date"),I()(),G(31,"li")(32,"label"),S(33,"Issue access limit"),I(),G(34,"output"),S(35),G(36,"a",7),S(37,"Learn more"),I()()(),E(38,ibb,4,1,"li")(39,jbb,4,1,"li"),I());
a&2&&(a=Q(),A(5),rg(a.issueId),A(5),rg(a.issueType),A(4),F("issuePriority",a.issuePriority),A(5),rg(a.issueSeverity),A(5),rg(a.issueStatus),A(5),rg(Dg(30,10,a.issueLastModified,"medium")),A(6),T("",a.accessLimitLevel," "),A(),F("href",a.documentationLinks.getIssueAccessLimit(),Ye),A(2),Uf(a.issueComponentId?38:-1),A(),Uf(a.issueTeamId?39:-1))},lbb=function(a){if(a&1){var b=v();G(0,"button",11);N("click",function(){x(b);Q(2).loginRedirector.redirect();return y()});S(1,"Sign in");I()}},mbb=function(a){a&
1&&(G(0,"h3"),S(1,"Access to this issue may be resolved by signing in."),I(),E(2,lbb,2,0,"button",10));a&2&&(a=Q(),A(2),Uf(a.enableSignInAnonymousAccessDenied?2:-1))},nbb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},obb=function(a){a.label||(a=li(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},qbb=function(a){return{type:pbb[a.getType()],value:a.getValue()}},sbb=function(a){var b,c=rbb[a.getType()],
d=(null!=(b=a.getValuesList())?b:[]).map(sbb);a=Ii(a,tbb,3,hi());return{type:c,values:d,simpleValues:(null!=a?a:[]).map(qbb)}},xbb=function(a){var b,c=ubb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(sbb);b=Li(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:vbb[e.getField()],customFieldId:Number(e.getCustomFieldId_asString())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:wbb[Qi(a,5,0)]}},Cbb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:ec(Ll(a,
ybb,2,zbb),1)},queryBuilderResponse:void 0};case 1:a=Ll(a,or,1,zbb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:Abb[a.getType()],expressions:(null!=(b=Ii(a,Bbb,2,hi()))?b:[]).map(xbb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},Dbb=function(a){a&1&&(G(0,"span",11),S(1," > "),I())},Gbb=function(a,b){if(a&1){var c=v();G(0,"span")(1,"a",9);N("click",function(d){var e=x(c).$implicit,f=Q(2);e=new Ebb(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();
d.preventDefault();Fbb(f.autocompleteTrigger);return y()});S(2);I();E(3,Dbb,2,0,"span",10);I()}a&2&&(a=b.$implicit,b=b.last,A(),F("matTooltip",a.pathNameText),A(),rg(a.name),A(),F("ngIf",!b))},Hbb=function(a,b){a&1&&(G(0,"mat-option",6)(1,"div"),E(2,Gbb,4,3,"span",7),I(),G(3,"span",8),S(4),V(5,"slice"),I()());a&2&&(a=b.$implicit,F("value",a),A(2),F("ngForOf",a.teamPath),A(),F("matTooltip",a.description),A(),T("",uma(5,4,a.description,100)," "))},Ibb=function(a,b){a&1&&(G(0,"mat-option",5)(1,"div",
6),S(2),I()());a&2&&(a=b.$implicit,F("value",a),A(2),T(" ",a.name," "))},Jbb=function(a,b){a&1&&(G(0,"mat-option",14),S(1),I());a&2&&(a=b.$implicit,F("value",a.key),A(),T(" ",a.value," "))},Kbb=function(a){if(a&1){var b=v();G(0,"mat-form-field",11)(1,"mat-select",12);vg("ngModelChange",function(c){x(b);var d=Q(2);ug(d.expressionType,c)||(d.expressionType=c);return y(c)});E(2,Jbb,2,2,"mat-option",13);V(3,"keyvalue");I()()}a&2&&(a=Q(2),A(),tg("ngModel",a.expressionType),A(),F("ngForOf",W(3,2,a.globalTypeLabels)))},
Lbb=function(a,b){a&1&&(G(0,"mat-option",14),S(1),I());a&2&&(a=b.$implicit,F("value",a[0]),A(),T(" ",a[1]," "))},Mbb=function(a,b){a&1&&(G(0,"mat-option",14),S(1),I());if(a&2){a=b.$implicit;b=Q(2).$implicit;var c=Q(2);F("value",a);A();T(" ",c.getTypeLabel(b,a)," ")}},Nbb=function(a){if(a&1){var b=v();G(0,"mat-form-field",11)(1,"mat-select",22);vg("ngModelChange",function(c){x(b);var d=Q().$implicit;ug(d.type,c)||(d.type=c);return y(c)});E(2,Mbb,2,2,"mat-option",13);I()()}a&2&&(a=Q().$implicit,A(),
tg("ngModel",a.type),A(),F("ngForOf",a.getLegalTypes()))},Pbb=function(a){if(a&1){var b=v();G(0,"div",35);N("click",function(){x(b);var c=Q(2).$implicit,d=Q(5);return y(Obb(d,c))});G(1,"span",36);S(2);I()()}a&2&&(a=Q(2).$implicit,Q(5),F("title",a.value),A(2),T(" ",a.value.replace(/"/g,"")," "))},Qbb=function(a){if(a&1){var b=v();G(0,"div",37)(1,"b-custom-repeated-enum-picker",38);N("onValueChange",function(e){x(b);var f=Q(7);f.chipUnderEdit.value='"'+e+'"';pr(f);return y()});I()()}if(a&2){a=Q(2).$implicit;
var c=Q(3).$implicit,d=Q(2);A();F("showPlaceholder",!0)("customFieldTitle",d.getCustomFieldName(c))("currentInputValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},Rbb=function(a){if(a&1){var b=v();G(0,"div",31);E(1,Pbb,3,2,"div",32)(2,Qbb,2,4,"div",33);G(3,"button",34);N("click",function(){x(b);var d=Q().$implicit,e=Q(3).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}if(a&2){a=Q().$implicit;var c=Q(5);A();F("ngIf",c.chipUnderEdit!==a);A();F("ngIf",c.chipUnderEdit===a)}},Sbb=function(a,
b){a&1&&(L(0),E(1,Rbb,4,2,"div",30),M());a&2&&(a=b.$implicit,b=Q(5),A(),F("ngIf",b.chipUnderEdit===a||a.value))},Tbb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",function(){x(b);var c=Q(3).$implicit,d=Q(2);return y(rr(d,c))});S(1);I()}a&2&&(a=Q(3).$implicit,A(),T(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Ubb=function(a){a&1&&(G(0,"div",27),E(1,Sbb,2,1,"ng-container",28)(2,Tbb,2,1,"button",29),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",a.type))},Vbb=function(a,
b){if(a&1){var c=v();G(0,"div",42)(1,"mat-checkbox",43);N("change",function(d){var e=x(c).$implicit,f=Q(3).$implicit;return y(f.enumValues[e.id]=d.checked)});S(2);I()()}a&2&&(a=b.$implicit,b=Q(3).$implicit,A(),F("checked",b.enumValues[a.id]),A(),T(" ",a.label||a.id," "))},Wbb=function(a){a&1&&(G(0,"div",40),E(1,Vbb,3,2,"div",41),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.getOptions()))},Xbb=function(a){if(a&1){var b=v();G(0,"div")(1,"input",44);vg("ngModelChange",function(c){x(b);var d=Q(3).$implicit;
ug(d.csv,c)||(d.csv=c);return y(c)});I()()}a&2&&(a=Q(3).$implicit,A(),tg("ngModel",a.csv),F("bContactAutocomplete","MULTI"))},Ybb=function(a){if(a&1){var b=v();G(0,"div",23)(1,"input",45);vg("ngModelChange",function(c){x(b);var d=Q(3).$implicit;ug(d.csv,c)||(d.csv=c);return y(c)});I()()}a&2&&(a=Q(3).$implicit,A(),tg("ngModel",a.csv))},Zbb=function(a){if(a&1){var b=v();G(0,"div",23)(1,"input",46);vg("ngModelChange",function(c){x(b);var d=Q(3).$implicit;ug(d.csv,c)||(d.csv=c);return y(c)});I()()}a&
2&&(a=Q(3).$implicit,A(),tg("ngModel",a.csv))},$bb=function(a){if(a&1){var b=v();G(0,"div",23)(1,"input",47);vg("ngModelChange",function(c){x(b);var d=Q(3).$implicit;ug(d.csv,c)||(d.csv=c);return y(c)});I()()}a&2&&(a=Q(3).$implicit,A(),tg("ngModel",a.csv))},acb=function(a){a&1&&(G(0,"div"),E(1,Xbb,2,2,"div",26)(2,Ybb,2,1,"div",18)(3,Zbb,2,1,"div",18)(4,$bb,2,1,"div",18),I());a&2&&(a=Q(2).$implicit,A(),F("ngIf","user"==a.getWidgetType()),A(),F("ngIf","csv"==a.getWidgetType()),A(),F("ngIf","id"==a.getWidgetType()),
A(),F("ngIf","number"==a.getWidgetType()))},bcb=function(a,b){if(a&1){var c=v();G(0,"div",49)(1,"div",37)(2,"input",47);vg("ngModelChange",function(d){var e=x(c).$implicit;ug(e.value,d)||(e.value=d);return y(d)});I()();G(3,"button",50);N("click",function(){var d=x(c).$implicit,e=Q(3).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}a&2&&(a=b.$implicit,A(2),tg("ngModel",a.value))},ccb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",function(){x(b);var c=Q(3).$implicit,d=Q(2);return y(rr(d,c))});
S(1);I()}a&2&&(a=Q(3).$implicit,A(),T(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},dcb=function(a){a&1&&(G(0,"div",27),E(1,bcb,4,1,"div",48)(2,ccb,2,1,"button",29),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",a.type))},fcb=function(a){if(a&1){var b=v();G(0,"div",35);N("click",function(){x(b);var d=Q(2).$implicit,e=Q(5);return y(ecb(e,d))});G(1,"span",36);S(2);I()()}if(a&2){a=Q(2).$implicit;var c=Q(5);F("title",c.getComponentPath(c.components[a.value]));A(2);T(" ",c.getComponentPath(c.components[a.value]),
" ")}},gcb=function(a){if(a&1){var b=v();G(0,"div",37)(1,"b-team-component-picker",55);N("selectedComponentChange",function(c){x(b);var d=Q(7);d.componentUnderEdit=null!==c&&void 0!==c?c:null;d.componentUnderEdit&&(d.chipUnderEdit.value=d.componentUnderEdit.componentId,d.components[d.componentUnderEdit.componentId]=d.componentUnderEdit);d.componentUnderEdit=null;pr(d);return y()});I()()}a&2&&(a=Q(7),A(),F("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},
hcb=function(a){if(a&1){var b=v();G(0,"div",52);E(1,fcb,3,2,"div",32)(2,gcb,2,3,"div",33);G(3,"button",53);N("click",function(){x(b);var d=Q().$implicit;Q(5);d.includeSubs=!d.includeSubs;return y()});K(4,"mat-icon",54);I();G(5,"button",34);N("click",function(){x(b);var d=Q().$implicit,e=Q(3).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}if(a&2){a=Q().$implicit;var c=Q(5);A();F("ngIf",c.chipUnderEdit!==a);A();F("ngIf",c.chipUnderEdit===a);A();F("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");
Hf("aria-checked",a.includeSubs);A();F("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},icb=function(a,b){a&1&&(L(0),E(1,hcb,6,5,"div",51),M());a&2&&(a=b.$implicit,b=Q(5),A(),F("ngIf",b.chipUnderEdit===a||a.value))},jcb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",function(){x(b);var c=Q(3).$implicit,d=Q(2);return y(rr(d,c))});S(1);I()}a&2&&(a=Q(3).$implicit,A(),T(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},kcb=function(a){a&1&&(G(0,"div",27),E(1,
icb,2,1,"ng-container",28)(2,jcb,2,1,"button",29),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",a.type))},mcb=function(a){if(a&1){var b=v();G(0,"div",35);N("click",function(){x(b);var d=Q(2).$implicit,e=Q(5);return y(lcb(e,d))});G(1,"span",36);S(2);I()()}if(a&2){a=Q(2).$implicit;var c=Q(5);F("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);A(2);T(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},ncb=function(a){if(a&1){var b=v();G(0,"div",37)(1,
"b-tracker-picker",58);N("onTrackerSelect",function(c){x(b);var d=Q(7);Wo(d.analytics,sq.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;pr(d);return y()});I()()}a&2&&(a=Q(7),A(),F("selectedTracker",a.trackerUnderEdit))},ocb=function(a){if(a&1){var b=v();G(0,"div",57);E(1,mcb,3,2,"div",32)(2,ncb,2,1,"div",33);G(3,"button",34);N("click",function(){x(b);var d=Q().$implicit,
e=Q(3).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}if(a&2){a=Q().$implicit;var c=Q(5);A();F("ngIf",c.chipUnderEdit!==a);A();F("ngIf",c.chipUnderEdit===a)}},pcb=function(a,b){a&1&&(L(0),E(1,ocb,4,2,"div",56),M());a&2&&(a=b.$implicit,b=Q(5),A(),F("ngIf",b.chipUnderEdit===a||a.value))},qcb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",function(){x(b);var c=Q(3).$implicit,d=Q(2);return y(rr(d,c))});S(1);I()}a&2&&(a=Q(3).$implicit,A(),T(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},
rcb=function(a){a&1&&(G(0,"div",27),E(1,pcb,2,1,"ng-container",28)(2,qcb,2,1,"button",29),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",a.type))},tcb=function(a){if(a&1){var b=v();G(0,"div",35);V(1,"teamPath");N("click",function(){x(b);var d=Q(2).$implicit,e=Q(6);return y(scb(e,d))});G(2,"span",36);S(3);V(4,"teamPath");I()()}if(a&2){a=Q(2).$implicit;var c=Q(6);F("title",W(1,2,c.teams[a.value]));A(3);T(" ",W(4,4,c.teams[a.value])," ")}},vcb=function(a){if(a&1){var b=v();G(0,"div",
37)(1,"b-team-picker",62);N("onTeamSelect",function(c){x(b);var d=Q(8);return y(ucb(d,c))});I()()}a&2&&(a=Q(8),A(),F("teamSelected",a.teamUnderEdit))},wcb=function(a){if(a&1){var b=v();G(0,"div",60);E(1,tcb,5,6,"div",32)(2,vcb,2,1,"div",33);G(3,"button",61);N("click",function(){x(b);var d=Q().$implicit;Q(6);d.includeSubs=!d.includeSubs;return y()});K(4,"mat-icon",54);I();G(5,"button",34);N("click",function(){x(b);var d=Q().$implicit,e=Q(4).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}if(a&2){a=Q().$implicit;
var c=Q(6);A();F("ngIf",c.chipUnderEdit!==a);A();F("ngIf",c.chipUnderEdit===a);A();F("title",a.includeSubs?"Subteams are included":"Subteams are not included");Hf("aria-checked",a.includeSubs);A();F("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},xcb=function(a,b){a&1&&(L(0),E(1,wcb,6,5,"div",59),M());a&2&&(a=b.$implicit,b=Q(6),A(),F("ngIf",b.chipUnderEdit===a||a.value))},ycb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",function(){x(b);var c=Q(4).$implicit,d=Q(2);
return y(rr(d,c))});S(1);I()}a&2&&(a=Q(4).$implicit,A(),T(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},zcb=function(a){a&1&&(L(0),E(1,xcb,2,1,"ng-container",28)(2,ycb,2,1,"button",29),M());a&2&&(a=Q(3).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",a.type))},Acb=function(a){a&1&&(G(0,"div",27),E(1,zcb,3,2,"ng-container",26),I());a&2&&(a=Q(4),A(),F("ngIf",a.sessionIsInternal))},Ccb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",63);N("boundValueChange",function(d){x(b);
Q(3).$implicit.dateFrom=Bcb(d);return y()});I();S(2," and ");G(3,"bv2-input-date-picker",63);N("boundValueChange",function(d){x(b);Q(3).$implicit.dateTo=Bcb(d);return y()});I()()}if(a&2){a=Q(3).$implicit;var c=Q(2);A();F("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0);A(2);F("boundValue",c.getDateValue(a.dateTo))("isRequired",!0)}},Dcb=function(a){if(a&1){var b=v();G(0,"div");S(1," the last ");G(2,"input",64);vg("ngModelChange",function(c){x(b);var d=Q(3).$implicit;ug(d.duration,c)||(d.duration=
c);return y(c)});I();S(3," days. ");I()}a&2&&(a=Q(3).$implicit,A(2),tg("ngModel",a.duration))},Ecb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",63);N("boundValueChange",function(d){x(b);Q(3).$implicit.dateFrom=Bcb(d);return y()});I()()}if(a&2){a=Q(3).$implicit;var c=Q(2);A();F("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0)}},Fcb=function(a){a&1&&(G(0,"div"),E(1,Ccb,4,4,"div",26)(2,Dcb,4,1,"div",26)(3,Ecb,2,2,"div",26),I());a&2&&(a=Q(2).$implicit,A(),F("ngIf","RANGE"==
a.type||"NRANGE"==a.type),A(),F("ngIf","DURATION"==a.type||"NDURATION"==a.type),A(),F("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},Gcb=function(a){if(a&1){var b=v();G(0,"div",35);N("click",function(){x(b);var d=Q(2).$implicit,e=Q(5);return y(sr(e,d))});G(1,"span",36);S(2);I()()}if(a&2){a=Q(2).$implicit;var c=Q(5);F("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);A(2);T(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value,
" ")}},Hcb=function(a,b){a&1&&(G(0,"mat-option",14),S(1),I());a&2&&(a=b.$implicit,F("value",a.hotlistId),A(),T(" ",a.name," "))},Icb=function(a){if(a&1){var b=v();G(0,"mat-form-field",68)(1,"mat-select",69);vg("ngModelChange",function(d){x(b);var e=Q(2).$implicit;ug(e.value,d)||(e.value=d);return y(d)});N("selectionChange",function(){x(b);var d=Q(7);return y(pr(d))});E(2,Hcb,2,2,"mat-option",13);I()()}if(a&2){a=Q(2).$implicit;var c=Q(5);A();tg("ngModel",a.value);A();F("ngForOf",c.userHotlists)}},
Jcb=function(a){if(a&1){var b=v();G(0,"div",66);E(1,Gcb,3,2,"div",32)(2,Icb,3,2,"mat-form-field",67);G(3,"button",34);N("click",function(){x(b);var d=Q().$implicit,e=Q(3).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}if(a&2){a=Q().$implicit;var c=Q(5);A();F("ngIf",c.chipUnderEdit!==a);A();F("ngIf",c.chipUnderEdit===a)}},Kcb=function(a,b){a&1&&(L(0),E(1,Jcb,4,2,"div",65),M());a&2&&(a=b.$implicit,b=Q(5),A(),F("ngIf",b.chipUnderEdit===a||a.value))},Lcb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",
function(){x(b);var c=Q(3).$implicit,d=Q(2);return y(rr(d,c))});S(1);I()}a&2&&(a=Q(3).$implicit,A(),T(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Mcb=function(a){a&1&&(G(0,"div",27),E(1,Kcb,2,1,"ng-container",28)(2,Lcb,2,1,"button",29),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",a.type))},Ncb=function(a){if(a&1){var b=v();G(0,"div",35);N("click",function(){x(b);var d=Q(2).$implicit,e=Q(5);return y(sr(e,d))});G(1,"span",36);S(2);I()()}if(a&2){a=Q(2).$implicit;var c=
Q(5);F("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);A(2);T(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},Ocb=function(a,b){a&1&&(G(0,"mat-option",14),S(1),I());a&2&&(a=b.$implicit,F("value",a.searchId),A(),T(" ",a.name," "))},Pcb=function(a){if(a&1){var b=v();G(0,"mat-form-field",68)(1,"mat-select",70);vg("ngModelChange",function(d){x(b);var e=Q(2).$implicit;ug(e.value,d)||(e.value=d);return y(d)});N("selectionChange",
function(){x(b);var d=Q(7);return y(pr(d))});E(2,Ocb,2,2,"mat-option",13);I()()}if(a&2){a=Q(2).$implicit;var c=Q(5);A();tg("ngModel",a.value);A();F("ngForOf",c.userSavedSearches)}},Qcb=function(a){if(a&1){var b=v();G(0,"div",66);E(1,Ncb,3,2,"div",32)(2,Pcb,3,2,"mat-form-field",67);G(3,"button",34);N("click",function(){x(b);var d=Q().$implicit,e=Q(3).$implicit,f=Q(2);return y(qr(f,e,d))});I()()}if(a&2){a=Q().$implicit;var c=Q(5);A();F("ngIf",c.chipUnderEdit!==a);A();F("ngIf",c.chipUnderEdit===a)}},
Rcb=function(a,b){a&1&&(L(0),E(1,Qcb,4,2,"div",65),M());a&2&&(a=b.$implicit,b=Q(5),A(),F("ngIf",b.chipUnderEdit===a||a.value))},Scb=function(a){if(a&1){var b=v();G(0,"button",39);N("click",function(){x(b);var c=Q(3).$implicit,d=Q(2);return y(rr(d,c))});S(1);I()}a&2&&(a=Q(3).$implicit,A(),T(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Tcb=function(a){a&1&&(G(0,"div",27),E(1,Rcb,2,1,"ng-container",28)(2,Scb,2,1,"button",29),I());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.values),A(),F("ngIf",
a.type))},Ucb=function(a){a&1&&(G(0,"div",23),E(1,Ubb,3,2,"div",24)(2,Wbb,2,1,"div",25)(3,acb,5,4,"div",26)(4,dcb,3,2,"div",24)(5,kcb,3,2,"div",24)(6,rcb,3,2,"div",24)(7,Acb,2,1,"div",24)(8,Fcb,4,3,"div",26)(9,Mcb,3,2,"div",24)(10,Tcb,3,2,"div",24),I());if(a&2){a=Q().$implicit;var b=Q(2);A();F("ngIf","repeated-enum"===a.getWidgetType());A();F("ngIf","enum"===a.getWidgetType());A();F("ngIf",a instanceof tr);A();F("ngIf","text"==a.getWidgetType());A();F("ngIf","component"==a.getWidgetType());A();F("ngIf",
b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());A();F("ngIf","team"==a.getWidgetType());A();F("ngIf","date"===a.getWidgetType());A();F("ngIf","hotlist"==a.getWidgetType());A();F("ngIf","savedsearch"==a.getWidgetType())}},Vcb=function(a){a&1&&(G(0,"div",71),S(1),I());if(a&2){a=Q().$implicit;var b=Q(2);A();T(" ",b.getCustomFieldName(a)," ")}},Ycb=function(a){if(a&1){var b=v();G(0,"div",72)(1,"b-custom-field-picker",73);N("fieldSelected",function(c){x(b);var d=Q().index,e=Q(2),f=c.customFieldId;
e.customFields[f]=c;e.expressions[d]=Wcb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);Xcb(e,e.expressions[d]);return y()});I()()}},$cb=function(a,b){if(a&1){var c=v();G(0,"div",15)(1,"div",16)(2,"mat-form-field",11)(3,"mat-select",17);vg("ngModelChange",function(d){var e=x(c).$implicit;ug(e.label.field,d)||(e.label.field=d);return y(d)});N("selectionChange",function(){var d=x(c).index,e=Q(2);return y(Zcb(e,d))});E(4,Lbb,2,2,"mat-option",13);I()();E(5,Nbb,3,2,"mat-form-field",5);I();E(6,Ucb,
11,10,"div",18)(7,Vcb,2,1,"div",19)(8,Ycb,2,0,"div",20);G(9,"button",21);N("click",function(){var d=x(c).$implicit,e=Q(2);return y(e.removeExpression(d))});I()()}a&2&&(a=b.$implicit,b=Q(2),A(3),tg("ngModel",a.label.field),A(),F("ngForOf",b.availableLabels),A(),F("ngIf",!a.isPendingCustomField),A(),F("ngIf",!a.isPendingCustomField),A(),F("ngIf",a.label.customFieldId),A(),F("ngIf",a.isPendingCustomField))},adb=function(a,b){if(a&1){var c=v();G(0,"button",74);N("click",function(){var d=x(c).$implicit,
e=Q(2);e.expressions.push({label:{field:d[0]}});Zcb(e,e.expressions.length-1);return y()});S(1);I()}a&2&&(a=b.$implicit,A(),T(" ",a[1]," "))},bdb=function(a){a&1&&(G(0,"div",2)(1,"div",3)(2,"span",4),S(3,"Advanced search query builder"),I(),E(4,Kbb,4,4,"mat-form-field",5),I(),E(5,$cb,10,6,"div",6),G(6,"div",7)(7,"button",8),S(8),I(),G(9,"mat-menu",9,0),E(11,adb,2,1,"button",10),I()()());if(a&2){a=R(10);var b=Q();A(4);F("ngIf",b.expressions.length);A();F("ngForOf",b.expressions)("ngForTrackBy",b.trackByIndex);
A(2);F("matMenuTriggerFor",a);A();T(" ",b.expressionType," ... ");A(3);F("ngForOf",b.availableLabels)}},cdb=function(a){a&1&&K(0,"div",3)},ddb=function(a){a&1&&K(0,"div",4)},fdb=function(a){if(a&1){var b=v();G(0,"button",2);N("click",function(){x(b);var c=Q();return y(edb(c))});K(1,"mat-icon",3);S(2);I()}a&2&&(a=Q(),F("matTooltip","Open release notes"),A(),F("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),A(),T(" ",a.buttonLabel," "))},gdb=function(a){if(a&1){var b=v();G(0,"button",
4);N("click",function(){x(b);var c=Q();return y(edb(c))});S(1);I()}a&2&&(a=Q(),A(),T(" ",a.buttonLabel," "))},hdb=function(a){if(a&1){var b=v();G(0,"button",9);N("click",function(c){x(b);var d=Q();return y(d.manageSlos(c))});S(1,"Manage SLOs");I()}},idb=function(a){a&1&&(G(0,"a",13),S(1,"Early Access "),K(2,"b-feature-stage-label",14),I())},jdb=function(a){a&1&&(L(0),K(1,"mat-divider")(2,"b-whats-new-button",15),M());a&2&&(A(2),F("menuMode",!0))},kdb=function(a){a&1&&K(0,"b-whats-new-button",4);a&
2&&(a=Q(),F("alertMode",a.majorReleaseNotesUpdated))},ldb=function(a){if(a&1){var b=v();G(0,"button",5);N("click",function(){x(b);var c=Q();return y(c.openFeedbackDialog())});K(1,"mat-icon",6);I()}},mdb=function(a){if(a&1){var b=v();G(0,"button",5);N("click",function(){x(b);var c=Q();return y(c.clickMenu.emit())});K(1,"mat-icon",6);I()}},pdb=function(a,b){a&1&&(G(0,"output",7),S(1),I());a&2&&(a=b.$implicit,F("ngClass",a.color?Ag(2,ndb,a.color):zg(4,odb)),A(),rg(a.name))},qdb=function(a){a&1&&(G(0,
"span"),S(1," Currently selected hotlist: "),G(2,"strong"),S(3),I()());a&2&&(a=Q(3),A(3),rg(a.header.hotlist.name))},rdb=function(a){a&1&&S(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},sdb=function(a){a&1&&(L(0),E(1,qdb,4,1,"span",11)(2,rdb,1,0,"ng-template",null,0,Eg),M());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",b.header.hotlist)("ngIfElse",a)}},tdb=function(a){a&1&&(G(0,"span"),S(1,"Currently selected saved search: "),G(2,"strong"),S(3),I()());a&2&&(a=Q(3),
A(3),rg(a.header.savedSearch.name))},udb=function(a){a&1&&S(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},vdb=function(a){a&1&&(L(0),E(1,tdb,4,1,"span",11)(2,udb,1,0,"ng-template",null,1,Eg),M());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",b.header.savedSearch)("ngIfElse",a)}},wdb=function(a){a&1&&(G(0,"span"),S(1," and "),G(2,"strong"),S(3,"subcomponents"),I()())},xdb=function(a){a&1&&(G(0,"span"),S(1," Currently selected component: "),G(2,"strong",12),S(3),I(),
K(4,"b-component-access-level-indicator",13)(5,"b-tracker-chip-smart",14),E(6,wdb,4,0,"span",10),I());if(a&2){a=Q(3);A(3);var b=a.header.component,c=ur(a.currentTracker,b.componentPathInfo);rg(c&&c.componentPathName?c.componentPathName.join(" > "):b.name);A();F("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);A();F("trackerId",a.header.component.trackerId);A();F("ngIf",a.header.includeChildren)}},ydb=function(a){a&1&&S(0," Start typing a component name or ID to see auto-complete suggestions. ")},
zdb=function(a){a&1&&(L(0),E(1,xdb,7,4,"span",11)(2,ydb,1,0,"ng-template",null,2,Eg),M());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",b.header.component)("ngIfElse",a)}},Adb=function(a){a&1&&(G(0,"span"),S(1," Currently selected tracker: "),G(2,"strong"),S(3),I()());a&2&&(a=Q(3),A(3),rg(a.header.tracker.name))},Bdb=function(a){a&1&&S(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},Cdb=function(a){a&1&&(L(0),E(1,Adb,4,1,"span",11)(2,Bdb,1,0,"ng-template",null,3,Eg),M());if(a&
2){a=R(3);var b=Q(2);A();F("ngIf",b.header.tracker)("ngIfElse",a)}},Ddb=function(a){a&1&&(G(0,"span"),S(1," and "),G(2,"strong"),S(3,"subteams"),I()())},Edb=function(a){a&1&&(G(0,"span"),S(1," Currently selected team: "),G(2,"strong"),S(3),I(),E(4,Ddb,4,0,"span",10),I());a&2&&(a=Q(3),A(3),rg(a.header.team.name),A(),F("ngIf",a.header.includeChildren))},Fdb=function(a){a&1&&S(0," Start typing a team name or ID to see auto-complete suggestions. ")},Gdb=function(a){a&1&&(L(0),E(1,Edb,5,2,"span",11)(2,
Fdb,1,0,"ng-template",null,4,Eg),M());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",b.header.team)("ngIfElse",a)}},Hdb=function(a,b){a&1&&(G(0,"span"),S(1," Currently selected custom field: "),G(2,"strong"),S(3),I(),S(4," of type "),G(5,"strong"),S(6),V(7,"lowercase"),I(),S(8,". "),I());a&2&&(a=b.$implicit,A(3),rg(a.name),A(3),rg(W(7,2,a.type)))},Idb=function(a){a&1&&S(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},Jdb=function(a){a&1&&(L(0),E(1,Hdb,9,4,"span",11)(2,Idb,
1,0,"ng-template",null,5,Eg),M());if(a&2){a=R(3);var b=Q(2);A();F("ngIf",b.header.customField)("ngIfElse",a)}},Kdb=function(a){a&1&&(G(0,"div",9),E(1,sdb,4,2,"ng-container",10)(2,vdb,4,2,"ng-container",10)(3,zdb,4,2,"ng-container",10)(4,Cdb,4,2,"ng-container",10)(5,Gdb,4,2,"ng-container",10)(6,Jdb,4,2,"ng-container",10),I());a&2&&(a=Q(),A(),F("ngIf","hotlist"===a.header.type),A(),F("ngIf","savedsearch"===a.header.type),A(),F("ngIf","component"===a.header.type),A(),F("ngIf","tracker"===a.header.type),
A(),F("ngIf","team"===a.header.type),A(),F("ngIf","customfield"===a.header.type))},Ldb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),sg(" ",a.id,": ",a.name," "))},Mdb=function(a){a&1&&(G(0,"span"),S(1),G(2,"span"),S(3),I()());a&2&&(a=Q().$implicit,A(),T(" Hotlist ",a.id,": "),A(2),rg(a.name))},Ndb=function(a){a&1&&(G(0,"span"),S(1),G(2,"span"),S(3),I(),K(4,"br"),G(5,"span",16),S(6),I()());a&2&&(a=Q().$implicit,A(),T(" Saved search ",a.id,": "),A(2),rg(a.name),A(3),rg(a.query))},
Odb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),T(" ",a.name," "))},Pdb=function(a){a&1&&(G(0,"span"),S(1," > "),I())},Rdb=function(a,b){if(a&1){var c=v();L(0);G(1,"span",19);N("click",function(d){var e=x(c).$implicit;Qdb(e);return y(d.stopPropagation())});S(2);I();E(3,Pdb,2,0,"span",10);M()}a&2&&(a=b.$implicit,b=b.last,A(),gg("title","",a.id,": ",a.name,""),A(),rg(a.name),A(),F("ngIf",!b))},Sdb=function(a){a&1&&(G(0,"span"),S(1," Component "),G(2,"strong",12),S(3),I(),K(4,"b-component-access-level-indicator",
13)(5,"b-tracker-chip-smart",14),G(6,"span",17),E(7,Rdb,4,5,"ng-container",18),I()());a&2&&(a=Q().$implicit,A(3),rg(a.id),A(),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),A(),F("trackerId",a.trackerId),A(2),F("ngForOf",a.componentPath))},Tdb=function(a){a&1&&(G(0,"span"),S(1),G(2,"span"),S(3),I()());a&2&&(a=Q().$implicit,A(),T(" Tracker ",a.id,": "),A(2),rg(a.name))},Udb=function(a){a&1&&(G(0,"span"),S(1," > "),I())},Vdb=function(a,b){if(a&1){var c=v();L(0);G(1,"span",19);N("click",
function(d){var e=x(c).$implicit;Qdb(e);return y(d.stopPropagation())});S(2);I();E(3,Udb,2,0,"span",10);M()}a&2&&(a=b.$implicit,b=b.last,A(),gg("title","",a.id,": ",a.name,""),A(),rg(a.name),A(),F("ngIf",!b))},Wdb=function(a){a&1&&(G(0,"span"),S(1," Team "),G(2,"strong"),S(3),I(),G(4,"span",17),E(5,Vdb,4,5,"ng-container",18),I()());a&2&&(a=Q().$implicit,A(3),rg(a.id),A(2),F("ngForOf",a.teamPath))},Xdb=function(a){a&1&&(G(0,"span"),S(1," > "),I())},Ydb=function(a,b){a&1&&(L(0),G(1,"span"),S(2),I(),
E(3,Xdb,2,0,"span",10),M());a&2&&(a=b.$implicit,b=b.last,A(2),rg(a),A(),F("ngIf",!b))},Zdb=function(a){a&1&&(G(0,"span"),S(1),G(2,"span"),S(3),I(),G(4,"span",20),E(5,Ydb,4,2,"ng-container",18),I()());a&2&&(a=Q().$implicit,A(),T(" Custom Field ",a.id,": "),A(2),rg(a.name),A(2),F("ngForOf",a.componentPathNames))},$db=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),sg(" ",a.label,": ",a.name," "))},beb=function(a,b){if(a&1){var c=v();G(0,"b-app-search-auto-complete-option",15);N("optionClicked",
function(e){x(c);var f=Q();0<=e&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&aeb(e),f.itemSelected.emit(e));return y()});E(1,Ldb,2,2,"span",10)(2,Mdb,4,2,"span",10)(3,Ndb,7,3,"span",10)(4,Odb,2,1,"span",10)(5,Sdb,8,4,"span",10)(6,Tdb,4,2,"span",10)(7,Wdb,6,2,"span",10)(8,Zdb,6,3,"span",10)(9,$db,2,2,"span",10);I()}if(a&2){a=b.$implicit;b=b.index;var d=Q();Jf("id","b-app-search-option-",b,"");F("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);A();F("ngIf","issue"===
a.completionCfg.type);A();F("ngIf","hotlist"===a.completionCfg.type);A();F("ngIf","savedsearch"===a.completionCfg.type);A();F("ngIf","atom"===a.completionCfg.type);A();F("ngIf","component"===a.completionCfg.type);A();F("ngIf","tracker"===a.completionCfg.type);A();F("ngIf","team"===a.completionCfg.type);A();F("ngIf","customField"===a.completionCfg.type);A();F("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},deb=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",23,2);vg("ngModelChange",
function(c){x(b);var d=Q();ug(d.searchName,c)||(d.searchName=c);return y(c)});N("keydown.Tab",function(){x(b);var c=Q();return y(ceb(c))})("keydown.enter",function(){x(b);var c=Q();return y(c.saveSearch())});I();G(3,"button",24);N("click",function(){x(b);var c=Q();return y(c.saveSearch())});K(4,"mat-icon",25);I()()}a&2&&(a=Q(),A(),tg("ngModel",a.searchName),A(2),F("disabled",!a.searchName))},eeb=function(a){a&1&&(L(0),G(1,"span",10),S(2),I(),M());a&2&&(a=Q(),A(),Qf("muted",a.disabled),A(),rg(a.cardTitle))},
feb=function(a){a&1&&K(0,"mat-icon",11)},geb=function(a){a&1&&K(0,"mat-icon",12)},heb=function(a){a&1&&(G(0,"mat-select-trigger"),K(1,"mat-icon",20),G(2,"span"),S(3),I()());a&2&&(a=Q(3),A(),F("svgIcon",a.selectedOption.icon),A(2),rg(a.selectedOption.displayText))},ieb=function(a){a&1&&K(0,"mat-icon",20);a&2&&(a=Q().$implicit,F("svgIcon",a.icon))},jeb=function(a,b){a&1&&(G(0,"mat-option",21),E(1,ieb,1,1,"mat-icon",22),S(2),I());a&2&&(a=b.$implicit,F("value",a),A(),F("ngIf",a.icon),A(),T("",a.displayText,
" "))},keb=function(a){if(a&1){var b=v();G(0,"mat-form-field",16)(1,"mat-label");S(2," Choose type... ");I();G(3,"mat-select",17);vg("valueChange",function(c){x(b);var d=Q(2);ug(d.selectedOption,c)||(d.selectedOption=c);return y(c)});N("selectionChange",function(c){x(b);Q(2).dropdownSelectionChanged.emit(c.value);return y()});E(4,heb,4,2,"mat-select-trigger",18)(5,jeb,3,3,"mat-option",19);I()()}a&2&&(a=Q(2),A(3),F("disabled",a.disabled),tg("value",a.selectedOption),A(),F("ngIf",a.selectedOption&&
a.selectedOption.icon),A(),F("ngForOf",a.dropdownOptions))},leb=function(a){if(a&1){var b=v();G(0,"mat-form-field",13)(1,"input",14);N("ngModelChange",function(c){x(b);var d=Q();return y(d.cardTitleChange.emit(c))});I()();E(2,keb,6,4,"mat-form-field",15)}a&2&&(a=Q(),A(),Qf("muted",a.disabled||!a.selected),F("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),Hf("aria-label",a.ariaLabelForCardTitle),A(),F("ngIf",a.dropdownOptions.length))},meb=function(a){a&
1&&(G(0,"div",23),dg(1),I())},neb=function(a){a&1&&(G(0,"button",31),K(1,"mat-icon",32),I());a&2&&(a=Q(2),F("disabled",a.disabled))},oeb=function(a){a&1&&K(0,"mat-divider",33);a&2&&F("vertical",!0)},peb=function(a){a&1&&(G(0,"mat-slide-toggle",34),S(1," Required "),I());a&2&&(a=Q(2),F("disabled",a.disabled))},qeb=function(a){if(a&1){var b=v();G(0,"mat-slide-toggle",35);N("change",function(c){x(b);var d=Q(2);return y(d.isInheritedChange.emit(c))});S(1," Inherited ");I()}a&2&&(a=Q(2),F("checked",a.isInherited)("disabled",
a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},reb=function(a){if(a&1){var b=v();G(0,"div",24)(1,"button",25);N("click",function(){x(b);var c=Q();return y(c.onSave())});S(2," Save ");I();G(3,"button",26);N("click",function(){x(b);var c=Q();return y(c.onCancel())});S(4," Cancel ");I();E(5,neb,2,1,"button",27)(6,oeb,1,1,"mat-divider",28)(7,peb,2,1,"mat-slide-toggle",29)(8,qeb,2,4,"mat-slide-toggle",30);I()}a&2&&(a=Q(),A(),F("disabled",
a.isSaveButtonDisabled),A(2),F("disabled",a.disabled),A(2),F("ngIf",a.showDeleteButton),A(),F("ngIf",a.showDeleteButton&&a.showRequiredToggle),A(),F("ngIf",a.showRequiredToggle),A(),F("ngIf",a.showInheritedToggle))},seb=function(a,b){a&1&&(G(0,"mat-option",9),S(1),I());a&2&&(a=b.$implicit,F("value",a),A(),rg(a.name))},teb=function(a){if(a&1){var b=v();G(0,"mat-form-field")(1,"mat-select",8);vg("valueChange",function(c){x(b);var d=Q();ug(d.selected,c)||(d.selected=c);return y(c)});Wf(2,seb,2,2,"mat-option",
9,Vf);I()()}a&2&&(a=Q(),A(),tg("value",a.selected),A(),Xf(a.options))},ueb=function(a){a&1&&S(0,"All the available shared fields have been activated.")},veb=function(a){a&1&&(G(0,"div"),S(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. "),G(2,"a",10),S(3,"Learn more"),I()())},web=function(a){return hza(a.getIt())},xeb=function(a){a&1&&(G(0,"h3"),S(1),I());a&2&&(a=Q(2),A(),T(" Edit Custom Field ",
a.editableField.customFieldId," "))},yeb=function(a){a&1&&(G(0,"h3"),S(1," Create Custom Field "),I())},zeb=function(a){a&1&&(G(0,"div",43),S(1),I());a&2&&(a=Q(2),A(),T(" ",a.serverError," "))},Beb=function(a,b){a&1&&(G(0,"button",44),S(1),V(2,"enumToHuman"),I());a&2&&(a=b.$implicit,Q(),b=R(32),F("matMenuTriggerFor",b)("matMenuTriggerData",Ag(5,Aeb,a)),A(),T(" ",W(2,3,a)," "))},Ceb=function(a,b){if(a&1){var c=v();G(0,"button",46);N("click",function(){var d=x(c).$implicit,e=Q().type,f=Q(2);return y(f.setType(e,
"Multiple"===d))});S(1);I()}a&2&&(a=b.$implicit,A(),T(" ",a," "))},Deb=function(a){a&1&&E(0,Ceb,2,1,"button",45);a&2&&(a=Q(2),F("ngForOf",a.secondaryTypes))},Feb=function(a){if(a&1){var b=v();G(0,"td",15)(1,"label",47);S(2," Allowed Values: ");I();G(3,"b-list-field",48);N("valuesChange",function(c){x(b);var d=Q(2);return y(Eeb(d,c.values))});I()()}a&2&&(a=Q(2),A(3),F("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",
!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},Geb=function(a){a&1&&(G(0,"label",49),S(1," Default Value: "),I())},Jeb=function(a,b){if(a&1){var c=v();G(0,"b-edit-field",50);N("valueChange",function(d){x(c);var e=Q(2);Heb(e,d);return y()});I()}a&2&&(a=b.ngIf,b=Q(2),F("name","Default")("type",a)("tooltip","Set default value")("value",Ieb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Keb=function(a){a&1&&(G(0,"label",51),S(1," Default Values: "),
I())},Leb=function(a,b){if(a&1){var c=v();G(0,"b-list-field",52);N("valuesChange",function(d){x(c);var e=Q(2);Heb(e,d.values);return y()});I()}a&2&&(a=b.ngIf,b=Q(2),F("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Meb=function(a,b){if(a&1){var c=v();G(0,"button",53);N("click",function(){var d=x(c).$implicit,e=Q(2);return y(e.setFieldSignificance(d))});
S(1);V(2,"enumToHuman");I()}a&2&&(a=b.$implicit,A(),T(" ",W(2,1,a)," "))},Neb=function(a){if(a&1){var b=v();G(0,"div",12);E(1,xeb,2,1,"h3",11)(2,yeb,2,0,"h3",11)(3,zeb,2,1,"div",13);G(4,"form",14)(5,"div",15)(6,"label",16);S(7,"Name:");I();G(8,"input",17);vg("ngModelChange",function(h){x(b);var l=Q();ug(l.editableField.name,h)||(l.editableField.name=h);return y(h)});I()();G(9,"div",15)(10,"label",18);S(11,"Description:");I();G(12,"textarea",19);vg("ngModelChange",function(h){x(b);var l=Q();ug(l.editableField.description,
h)||(l.editableField.description=h);return y(h)});I()();G(13,"table",20)(14,"tr")(15,"td",15)(16,"div",21)(17,"label",22);S(18," Type: ");I();G(19,"onedev-hovercard",null,0)(21,"div",23)(22,"div",24);S(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. ");I()()()();G(24,"button",25);S(25);V(26,"enumToHuman");K(27,"b-icon",26);I();G(28,"mat-menu",null,1);E(30,Beb,3,7,"button",27);I();G(31,"mat-menu",null,2);E(33,
Deb,1,1,"ng-template",28);I()();E(34,Feb,4,7,"td",29);G(35,"td",15);E(36,Geb,2,0,"label",30)(37,Jeb,1,9,"b-edit-field",31)(38,Keb,2,0,"label",32)(39,Leb,1,8,"b-list-field",33);I();G(40,"td",15)(41,"label",34);S(42," Required: ");I();G(43,"b-edit-field",35);N("valueChange",function(h){x(b);var l=Q();return y(l.editableField.required=!!h)});I()();G(44,"td",15)(45,"div",21)(46,"label",36);S(47," Field Significance: ");I();G(48,"onedev-hovercard",null,3)(50,"div",37)(51,"div",24);S(52," This affects whether users will receive notifications when changes are made to this field. ");
K(53,"br");S(54," See\u00a0 ");G(55,"a",38);S(56,"Email Settings ");I()()()()();G(57,"button",39);S(58);V(59,"enumToHuman");K(60,"b-icon",26);I();G(61,"mat-menu",null,4);E(63,Meb,3,3,"button",40);I()()()();G(64,"button",41);N("click",function(){x(b);var h=Q();return y(h.save())});S(65," Save ");I();G(66,"button",42);N("click",function(){x(b);var h=Q();return y(h.cancel())});S(67," Cancel ");I()()()}if(a&2){a=R(20);var c=R(29),d=R(49),e=R(62),f=Q();A();F("ngIf",!!f.editableField.customFieldId);A();
F("ngIf",!f.editableField.customFieldId);A();F("ngIf",f.serverError);A(5);F("bFocus",f.editableField&&!f.isLoading);tg("ngModel",f.editableField.name);F("disabled",f.isSaving);A(4);tg("ngModel",f.editableField.description);F("disabled",f.isSaving);A(5);F("onedevHovercardTrigger",a);A(7);F("matMenuTriggerFor",c)("disabled",!!f.editableField.customFieldId);A();T(" ",W(26,28,f.editableField.type)," ");A(5);F("ngForOf",f.typeChoices);A(4);F("ngIf",["REPEATED_ENUM","ENUM"].includes(f.editableField.type));
A(2);F("ngIf",!f.isRepeated(f.editableField));A();F("ngIf",f.getSingleEditFieldType(f.editableField));A();F("ngIf",f.isRepeated(f.editableField));A();F("ngIf",f.getListFieldType(f.editableField));A(4);F("name","Required")("type",f.FieldType.BOOL)("tooltip","Whether the field is required")("value",f.editableField.required);A(3);F("onedevHovercardTrigger",d);A(9);F("href",f.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ye);A(2);F("matMenuTriggerFor",e);A();T(" ",W(59,30,f.editableField.fieldSignificance),
" ");A(5);F("ngForOf",f.significanceChoices);A();F("disabled",!f.hasUnsavedChanges()||!f.editableField.name)}},Oeb=function(a){a&1&&(G(0,"div",54),K(1,"b-spinner",55),I());a&2&&(A(),F("large",!0))},Peb=function(a){a&1&&(G(0,"th"),S(1,"Actions"),I())},Reb=function(a){if(a&1){var b=v();G(0,"td",62)(1,"button",63);N("click",function(){x(b);var c=Q().index,d=Q(2);return y(d.editField(c))});S(2,"Edit");I();G(3,"button",63);N("click",function(){x(b);var c=Q().index,d=Q(2);return y(Qeb(d,c))});S(4,"Delete");
I()()}},Seb=function(a,b){a&1&&(G(0,"tr",59)(1,"td"),S(2),I(),G(3,"td"),S(4),I(),G(5,"td"),S(6),V(7,"enumToHuman"),I(),G(8,"td"),S(9),I(),G(10,"td"),S(11),V(12,"yesNo"),I(),G(13,"td"),K(14,"b-custom-field-value-display",60),I(),G(15,"td"),S(16),V(17,"arrayToHuman"),I(),G(18,"td"),S(19),V(20,"enumToHuman"),I(),E(21,Reb,5,0,"td",61),I());a&2&&(a=b.$implicit,b=Q(2),F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),A(2),rg(a.name),A(2),rg(a.customFieldId),A(2),rg(W(7,10,a.type)),A(3),rg(a.description),
A(2),rg(W(12,12,a.required)),A(3),F("customFieldValue",a.typedDefaultValue),A(2),rg(W(17,14,a.allowedValue)),A(3),rg(W(20,16,a.fieldSignificance)),A(2),F("ngIf",b.editMode))},Teb=function(a){a&1&&(G(0,"tr")(1,"td",64),S(2," There are no custom fields defined on this component. "),I()())},Ueb=function(a){a&1&&(G(0,"tr")(1,"td",65)(2,"strong"),S(3,"Fields inherited from parent components"),I()()())},Veb=function(a){a&1&&(L(0),K(1,"b-component-card",71,6),M());if(a&2){a=R(2);var b=Q().$implicit;A();
F("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},Xeb=function(a){if(a&1){var b=v();G(0,"b-field-state-menu",72,7);N("fieldStateChange",function(d){x(b);var e=Q(),f=e.$implicit;e=e.index;var h=Q(3);return y(h.updateCustomFieldState(f,d,e))});I()}if(a&2){a=Q().$implicit;var c=Q(3);F("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Web(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);Hf("aria-label",c.msgFieldStateTip)}},Yeb=
function(a,b){if(a&1){var c=v();G(0,"tr",59)(1,"td");S(2);I();G(3,"td");S(4);I();G(5,"td");S(6);V(7,"enumToHuman");I();G(8,"td");S(9);I();G(10,"td");S(11);V(12,"yesNo");I();G(13,"td");K(14,"b-custom-field-value-display",60);I();G(15,"td");S(16);V(17,"arrayToHuman");I();G(18,"td");S(19);V(20,"enumToHuman");I();G(21,"td",62)(22,"div",66)(23,"div",67);S(24,"Inherited From");I();G(25,"a",68);N("click",function(){x(c);var e=Q(3);return y(e.trackClick("parentCustomFields"))});S(26);I();G(27,"onedev-hovercard",
null,5);E(29,Veb,3,2,"ng-container",69);I()();E(30,Xeb,2,6,"b-field-state-menu",70);I()()}if(a&2){a=b.$implicit;b=R(28);var d=Q(3);F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");A(2);rg(a.name);A(2);rg(a.customFieldId);A(2);rg(W(7,13,a.type));A(3);rg(a.description);A(2);rg(W(12,15,a.required));A(3);F("customFieldValue",a.typedDefaultValue);A(2);rg(W(17,17,a.allowedValue));A(3);rg(W(20,19,a.fieldSignificance));A(6);F("onedevHovercardTrigger",b)("href",d.paths.manageComponent(a.componentId,
"customFields"),Ye);A();T(" ",d.componentIdsToNames[a.componentId]," ");A(4);F("ngIf",d.editMode)}},Zeb=function(a){a&1&&(L(0),E(1,Yeb,31,21,"tr",57),M());a&2&&(a=Q(2),A(),F("ngForOf",a.inheritedCustomFields))},$eb=function(a){a&1&&(G(0,"tr")(1,"td",65)(2,"strong"),S(3,"Shared fields"),I()()())},bfb=function(a){if(a&1){var b=v();G(0,"div",62)(1,"button",75);N("click",function(){x(b);var d=Q().$implicit,e=Q(3);return y(afb(e,d.customFieldId))});S(2," Deactivate ");I()()}if(a&2){a=Q().$implicit;var c=
Q(3);A();F("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.":"")}},cfb=function(a,b){a&1&&(G(0,"tr",74)(1,"td"),S(2),I(),G(3,"td"),S(4),I(),G(5,"td"),S(6),V(7,"enumToHuman"),I(),G(8,"td"),S(9),I(),G(10,"td"),S(11),V(12,"yesNo"),I(),G(13,"td"),K(14,"b-custom-field-value-display",
60),I(),G(15,"td"),S(16),V(17,"arrayToHuman"),I(),G(18,"td"),S(19),V(20,"enumToHuman"),I(),G(21,"td"),E(22,bfb,3,2,"div",61),I()());a&2&&(a=b.$implicit,b=Q(3),A(2),rg(a.name),A(2),rg(a.customFieldId),A(2),rg(W(7,9,a.type)),A(3),rg(a.description),A(2),rg(W(12,11,a.required)),A(3),F("customFieldValue",a.typedDefaultValue),A(2),rg(W(17,13,a.allowedValue)),A(3),rg(W(20,15,a.fieldSignificance)),A(3),F("ngIf",b.editMode&&b.enableConfigurableSharedFields))},dfb=function(a){a&1&&(L(0),E(1,cfb,23,17,"tr",
73),M());a&2&&(a=Q(2),A(),F("ngForOf",a.sharedFields))},efb=function(a){a&1&&(G(0,"tfoot")(1,"tr")(2,"td",65),S(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),G(4,"a",76),S(5,"Field Ordering"),I(),S(6," tab."),K(7,"br"),S(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),I()()())},hfb=function(a){if(a&1){var b=v();G(0,"button",80);N("click",function(){x(b);var c=Q(3);return y(ffb(c))});
S(1," Activate a Shared Field ");I()}a&2&&(a=Q(3),F("disabled",0==gfb(a).length))},jfb=function(a){if(a&1){var b=v();G(0,"div",77)(1,"button",78);N("click",function(){x(b);var c=Q(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=li(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=
null;return y()});S(2," Add a Custom Field ");I();E(3,hfb,2,1,"button",79);I()}a&2&&(a=Q(2),A(3),F("ngIf",a.enableConfigurableSharedFields&&ifb(a)))},kfb=function(a){a&1&&(G(0,"div")(1,"table",56)(2,"tr")(3,"th"),S(4,"Name"),I(),G(5,"th"),S(6,"ID"),I(),G(7,"th"),S(8,"Type"),I(),G(9,"th"),S(10,"Description"),I(),G(11,"th"),S(12,"Required?"),I(),G(13,"th"),S(14,"Default Value"),I(),G(15,"th"),S(16,"Allowed Values"),I(),G(17,"th"),S(18,"Field Significance"),I(),E(19,Peb,2,0,"th",11),I(),E(20,Seb,22,
18,"tr",57)(21,Teb,3,0,"tr",11)(22,Ueb,4,0,"tr",11)(23,Zeb,2,1,"ng-container",11)(24,$eb,4,0,"tr",11)(25,dfb,2,1,"ng-container",11)(26,efb,9,0,"tfoot",11),I(),E(27,jfb,4,1,"div",58),I());a&2&&(a=Q(),A(19),F("ngIf",a.editMode),A(),F("ngForOf",a.customFields),A(),F("ngIf",!a.customFields.length),A(),F("ngIf",a.inheritedCustomFields.length),A(),F("ngIf",a.inheritedCustomFields.length),A(),F("ngIf",a.sharedFields.length),A(),F("ngIf",a.sharedFields.length),A(),F("ngIf",a.customFields.length),A(),F("ngIf",
a.editMode))},lfb=function(a){if(a&1){var b=v();G(0,"button",18);N("click",function(){x(b);var c=Q().index,d=Q();return y(d.removeAtIndex.emit(c))});K(1,"mat-icon",19);I()}a&2&&(a=Q().$implicit,Hf("aria-label","Delete row "+a.label))},mfb=function(a,b){if(a&1){var c=v();G(0,"div",11)(1,"div",12);K(2,"mat-icon",13);G(3,"div",3)(4,"mat-form-field",14)(5,"input",15,0);N("change",function(d){var e=x(c).index,f=Q();f.options[e].label=d.target.value;f.optionsChange.emit(f.options);return y()});I()()();
G(7,"div",3)(8,"mat-form-field",14)(9,"input",16,1);N("change",function(d){var e=x(c).index,f=Q();return y(f.valueChange(d,e))});I()()();E(11,lfb,2,1,"button",17);I()()}a&2&&(a=b.$implicit,b=Q(),A(4),F("appearance","outline"),A(),Qf("muted",b.disabled),F("value",a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled),A(3),F("appearance","outline"),A(),Qf("muted",b.disabled),F("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled),A(2),F("ngIf",
!b.disabled))},nfb=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q();return y(c.addRow.emit())});S(1," Add row\n");I()}},ofb=function(a){a&1&&Yf(0)},pfb=function(a){a&1&&(L(0),E(1,ofb,1,0,"ng-container",5),M());a&2&&(Q(),a=R(7),A(),F("ngTemplateOutlet",a))},qfb=function(a){if(a&1){var b=v();L(0);G(1,"b-numeric-config",6);vg("valueChange",function(c){x(b);var d=Q();ug(d.numericSpecMultiplier,c)||(d.numericSpecMultiplier=c);return y(c)});I();M()}a&2&&(a=Q(),A(),F("disabled",
a.disabled),tg("value",a.numericSpecMultiplier))},rfb=function(a){a&1&&Yf(0)},sfb=function(a){if(a&1){var b=v();G(0,"div",7)(1,"label",8);S(2,"Aggregation Rule");I();G(3,"a",9);K(4,"mat-icon",10);I();K(5,"br");G(6,"mat-form-field",11)(7,"mat-select",12);vg("valueChange",function(c){x(b);var d=Q();ug(d.selectedAggregationRule,c)||(d.selectedAggregationRule=c);return y(c)});G(8,"mat-select-trigger");S(9);V(10,"aggregationRuleText");I();G(11,"mat-option",13)(12,"div",14);S(13);V(14,"aggregationRuleText");
I();G(15,"div",15);S(16,"All parents and children are added to the total");I()();G(17,"mat-option",13)(18,"div",14);S(19);V(20,"aggregationRuleText");I();G(21,"div",15);S(22,"Take the assigned estimate if larger than total of all immediate children");I()()()()()}a&2&&(a=Q(),A(7),tg("value",a.selectedAggregationRule),F("disabled",a.disabled),A(2),T(" ",W(10,7,a.selectedAggregationRule)," "),A(2),F("value",a.aggregationRules.SUM),A(2),rg(W(14,9,a.aggregationRules.SUM)),A(4),F("value",a.aggregationRules.MAX),
A(2),rg(W(20,11,a.aggregationRules.MAX)))},tfb=function(a){if(a&1){var b=v();G(0,"b-config-grid",16);vg("optionsChange",function(c){x(b);var d=Q();ug(d.enumSpecOptions,c)||(d.enumSpecOptions=c);return y(c)});N("addRow",function(){x(b);var c=Q();return y(c.addRow())})("removeAtIndex",function(c){x(b);Q().enumSpecOptions.splice(c,1);return y()});I()}a&2&&(a=Q(),tg("options",a.enumSpecOptions),F("disabled",a.disabled||a.inherit))},ufb=function(a){a&1&&(G(0,"div",8),K(1,"b-team-warning",9),I());a&2&&
(a=Q().ngIf,A(),F("warningType",a)("messageOnly",!0))},vfb=function(a,b){a&1&&(L(0),E(1,ufb,2,2,"div",7),M());a&2&&(a=b.ngIf,b=Q(),A(),F("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},wfb=function(a){if(a&1){var b=v();G(0,"div",10)(1,"mat-checkbox",11);N("change",function(c){x(b);var d=Q();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 y()});S(2," Override the inherited team ");
I()()}a&2&&(a=Q(),A(),F("disabled",!a.isAdmin)("checked",!a.inherit))},yfb=function(a){if(a&1){var b=v();G(0,"a",13);N("click",function(){x(b);Q(2);Kk(sq.MANAGE_COMPONENT,"navigate","to-internal-team-page");return y()});K(1,"mat-icon",14);I()}a&2&&(a=Q(2),F("routerLink",xfb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},zfb=function(a){a&1&&(L(0),E(1,yfb,2,2,"a",12),M());a&2&&(a=Q(),A(),F("ngIf",xfb(a)))},Afb=function(a){if(a&1){var b=v();G(0,"a",16);N("click",function(){x(b);var c=
Q(2);Kk(sq.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return y()});K(1,"mat-icon",14);I()}a&2&&(a=Q(2),Hf("href",a.getMomaTeamLink(),Ye))},Bfb=function(a){a&1&&E(0,Afb,2,1,"a",15);a&2&&(a=Q(),F("ngIf",xfb(a)))},Efb=function(a,b){if(a&1){var c=v();G(0,"li",11);N("keydown",function(e){var f=x(c).index,h=Q();return y(h.onKeyDown(e,f))})("focus",function(){var e=x(c).index,f=Q();return y(f.onFocus(e))});K(1,"mat-icon",12);G(2,"span");S(3);I();G(4,"div",13)(5,"button",14);N("click",function(){var e=
x(c).index,f=Q();return y(Cfb(f,e))});K(6,"mat-icon",15);I();G(7,"button",16);N("click",function(){var e=x(c).index,f=Q();return y(Dfb(f,e))});K(8,"mat-icon",17);I()()()}if(a&2){a=b.$implicit;b=b.index;var d=Q();Hf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);A(3);rg(a.name);A(2);Qf("invisible",0===b);A(2);Qf("invisible",b===d.fields.length-1)}},Ffb=function(a){a&1&&(G(0,"th",14),S(1," Order"),I())},Gfb=function(a,b){a&1&&(G(0,"td",15),S(1),I());a&2&&(a=b.index,A(),T(" ",a+1," "))},Hfb=
function(a){a&1&&(G(0,"th",14),S(1," Name"),I())},Ifb=function(a,b){a&1&&(G(0,"td",15),S(1),I());a&2&&(a=b.$implicit,A(),T(" ",a.name," "))},Jfb=function(a){a&1&&(G(0,"th",14),S(1," Type"),I())},Kfb=function(a,b){a&1&&(G(0,"td",15),S(1),V(2,"toCustomFieldTypeDisplayValue"),I());a&2&&(a=b.$implicit,A(),T(" ",W(2,1,a.type)," "))},Lfb=function(a){a&1&&(G(0,"th",14),S(1," Required"),I())},Mfb=function(a,b){a&1&&(G(0,"td",15),S(1),I());a&2&&(a=b.$implicit,A(),T(" ",a.required?"Yes":"No"," "))},Nfb=function(a){a&
1&&(G(0,"th",14),S(1," ID"),I())},Ofb=function(a,b){a&1&&(G(0,"td",15),S(1),I());a&2&&(a=b.$implicit,A(),T(" ",a.customFieldId," "))},Pfb=function(a){a&1&&K(0,"tr",16)},Qfb=function(a){a&1&&K(0,"tr",17)},Rfb=function(a){a&1&&(G(0,"div",18),S(1," There are no custom fields defined on this component. "),I())},Ufb=function(a){if(a&1){var b=v();G(0,"div",19)(1,"div")(2,"button",20);N("click",function(){x(b);var c=Q();return y(Sfb(c))});S(3," Reorder fields ");I();G(4,"button",20);N("click",function(){x(b);
var c=Q();return y(Tfb(c))});S(5," Reset ordering ");I()()()}a&2&&(a=Q(),A(2),F("disabled",0===a.fields.length),A(2),F("disabled","CUSTOMIZED"!==a.fieldOrdering))},Vfb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(),A(),a=a.lineNumbers.length,T(" (",a+(1==a?" TODO":" TODOs"),") "))},Xfb=function(a,b){if(a&1){var c=v();G(0,"li",5)(1,"a",6);N("click",function(){x(c);var d=Q(2);return y(d.trackClick("lineNumber"))});S(2);I()()}a&2&&(a=b.$implicit,b=Q(2),A(),F("href",Wfb(b,a),Ye),A(),rg(a))},Yfb=
function(a){a&1&&(G(0,"span"),S(1," ("),G(2,"ul",3),E(3,Xfb,3,2,"li",4),I(),S(4,") "),I());a&2&&(a=Q(),A(3),F("ngForOf",a.lineNumbers))},Zfb=function(a){a&1&&(G(0,"a",10),S(1," Create Component "),I());a&2&&(a=Q(),F("href",a.createComponentPath,Ye))},$fb=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);V(3,"async");N("selectedComponentChange",function(d){x(b);var e=Q();return y(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});
I()()()}if(a&2){var c;a=Q();A(2);F("includeArchived",null!==(c=W(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},bgb=function(a){if(a&1){var b=v();G(0,"div",13)(1,"b-slide-toggle",14);V(2,"async");N("modelChange",function(d){x(b);var e=Q();e.includeArchived$.next(d);d=e.componentTree;d=d.focusedController?d.focusedController.selectedId?d.focusedController.selectedId:-1:d.rootController.selectedId?d.rootController.selectedId:
-1;0<d&&agb(e,d,(0,X.firstValueFrom)(e.topLevelComponents$));return y()});I()()}if(a&2){var c;a=Q();A();F("model",null!==(c=W(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},cgb=function(a){a&1&&(G(0,"div",15),K(1,"b-spinner",16),I())},dgb=function(a){a&1&&(G(0,"p",3),S(1),I());a&2&&(a=Q(),A(),rg(a.packageMentionSet.packageName))},egb=function(a,b){a&1&&(G(0,"li"),K(1,"b-file-mention",4),I());a&2&&(a=b.$implicit,b=Q(),
A(),F("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},igb=function(a){a&1&&(G(0,"span"),S(1),G(2,"b"),S(3),I(),S(4," on "),G(5,"b"),S(6),V(7,"date"),I(),S(8,". "),I());a&2&&(a=Q(4),A(),T(" Currently, the ",a.contentType," is scheduled for deletion in "),A(2),rg(fgb(ggb(a).getTime(),!0)),A(3),rg(Dg(7,3,ggb(a),"longDate")))},jgb=function(a){a&1&&(G(0,"span")(1,"b"),S(2,"Retention:"),I(),S(3),G(4,
"b"),S(5),I(),S(6," from the last modification of the issue. "),E(7,igb,9,6,"span",11),I());if(a&2){a=Q(3);var b=R(10);A(3);T(" This ",a.contentType," has a retention period of ");A(2);rg(a.getRetentionPeriod());A(2);F("ngIf",!(ggb(a).getTime()<(new pi).getTime()))("ngIfElse",b)}},kgb=function(a){a&1&&(S(0),G(1,"b"),S(2,"overridden"),I(),S(3," retention period set to match the issue retention period. "));a&2&&(a=Q(3),T(" The ",a.contentType," has an "))},lgb=function(a){a&1&&(G(0,"p",10),E(1,jgb,
8,4,"span",11)(2,kgb,4,1,"ng-template",12),I());if(a&2){a=Q(2);var b=R(8);F("ngSwitch",a.retention);A();F("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);A();F("ngSwitchCase",a.retentionModel.INDEFINITE)}},mgb=function(a){a&1&&(G(0,"div",7)(1,"p")(2,"b"),S(3,"Restricted Access:"),I(),S(4),G(5,"a",8),S(6," Learn More "),I()(),E(7,lgb,3,4,"p",9),I());a&2&&(a=Q(),A(4),T(" This ",a.contentType," is only available to users with the appropriate permissions. "),A(),F("rel",
a.EXTERNAL_LINK_REL),Hf("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ye),A(2),F("ngIf",a.retentionState))},ngb=function(a){a&1&&(G(0,"b"),S(1,"Retention:"),I(),S(2));a&2&&(a=Q(),A(2),T(" This ",a.contentType," has an indefinite retention period. "))},ogb=function(a){a&1&&(S(0," The retention has "),G(1,"b"),S(2,"expired"),I(),S(3),G(4,"b"),S(5),V(6,"date"),I(),S(7,". "));a&2&&(a=Q(),A(3),T(" and the ",a.contentType," was scheduled for deletion on "),A(2),rg(Dg(6,2,ggb(a),"longDate")))},
pgb=function(a){a&1&&(G(0,"div",6),S(1),I());a&2&&(a=Q(),A(),T(" Signed in as ",a.activeSession.getUserEmail()," "))},qgb=function(a){a&1&&(G(0,"span",6),S(1," Select at least one tracker "),I())},rgb=function(a,b){if(a&1){var c=v();G(0,"div",7)(1,"mat-checkbox",8);N("change",function(d){var e=x(c).$implicit,f=Q();return y(f.trackerCheckboxValues[e.trackerId]=d.checked)});S(2);I()()}a&2&&(a=b.$implicit,b=Q(),A(),F("checked",b.trackerCheckboxValues[a.trackerId]||!1),A(),T(" ",a.name," "))},sgb=function(a){a&
1&&(K(0,"b-tracker-search",6),V(1,"async"));a&2&&(a=Q(),F("currentTrackerId",a.currentTracker.trackerId)("availableTrackers",W(1,2,a.availableTrackers$)))},tgb=function(a){a&1&&(G(0,"div",7),K(1,"b-spinner"),G(2,"span"),S(3,"Initializing query builder..."),I()())},ugb=function(a){a&1&&(G(0,"div",10),K(1,"mat-icon",11),G(2,"p"),S(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),I()())},vgb=function(a){a&1&&(G(0,"div"),S(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),
I())},wgb=function(a){a&1&&(G(0,"div",8),E(1,ugb,4,0,"div",9)(2,vgb,2,0,"div",5),I());a&2&&(a=Q(),A(),F("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),A(),F("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},xgb=function(a){a&1&&(G(0,"div",8),S(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),I())},ygb=function(a){a&1&&K(0,"b-tracker-account-menu-hack")},
zgb=function(a){a&1&&(G(0,"span"),S(1),K(2,"span",16),I());a&2&&(a=Q(2).$implicit,A(),T(" ",a.diff.oldValue," "))},Agb=function(a){a&1&&(G(0,"span")(1,"label"),S(2),I(),E(3,zgb,3,1,"span",15),S(4),I());a&2&&(a=Q().$implicit,A(2),T("",a.fieldName,":"),A(),F("ngIf",a.diff.oldValue),A(),T(" ",a.diff.newValue," "))},Bgb=function(a,b){a&1&&(G(0,"div")(1,"label"),S(2),I(),S(3),I());a&2&&(a=b.$implicit,b=Q(3).$implicit,A(2),T("-",b.fieldName,":"),A(),T(" ",a," "))},Cgb=function(a){a&1&&(L(0),E(1,Bgb,4,2,
"div",17),M());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.diff.removed))},Dgb=function(a,b){a&1&&(G(0,"div")(1,"label"),S(2),I(),S(3),I());a&2&&(a=b.$implicit,b=Q(3).$implicit,A(2),T("+",b.fieldName,":"),A(),T(" ",a," "))},Egb=function(a){a&1&&(L(0),E(1,Dgb,4,2,"div",17),M());a&2&&(a=Q(2).$implicit,A(),F("ngForOf",a.diff.added))},Fgb=function(a){a&1&&(G(0,"div"),E(1,Cgb,2,1,"ng-container",15)(2,Egb,2,1,"ng-container",15),I());a&2&&(a=Q().$implicit,A(),F("ngIf",a.diff.removed),A(),F("ngIf",a.diff.added))},
Ggb=function(a,b){a&1&&(G(0,"div",14),E(1,Agb,5,3,"span",15)(2,Fgb,3,2,"div",15),I());a&2&&(a=b.$implicit,b=Q(2),A(),F("ngIf",a.diffType==b.DiffType.SINGLE_VALUE),A(),F("ngIf",a.diffType==b.DiffType.COLLECTION))},Hgb=function(a,b){a&1&&(G(0,"li",5)(1,"div",6),K(2,"b-user-image",7),I(),G(3,"div",8)(4,"h4"),K(5,"b-user-display-name",9),G(6,"span",10),K(7,"b-formatted-date-time",11),I()(),G(8,"div",12),E(9,Ggb,3,2,"div",13),I()()());a&2&&(a=b.$implicit,b=Q(),A(2),F("email",b.userToDisplay(a.author)),
A(3),F("email",b.userToDisplay(a.author)),A(2),F("timestamp",a.timestamp),A(2),F("ngForOf",a.diffs))},Igb=function(a){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""))},Jgb=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"},Kgb=function(a,b){a&1&&(G(0,"mat-option",3),S(1),K(2,"br"),G(3,"span",4),S(4),I()());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",a.title,""),A(3),rg(a.description))},Lgb=function(a,b){a&1&&(L(0),Yf(1,5),M());a&2&&(a=b.$implicit,Q(),b=R(2),A(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,vr,a)))},Mgb=function(a){a&1&&(L(0),Yf(1,5),M());if(a&2){a=Q().question;Q();var b=R(4);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,vr,a))}},Ngb=function(a){a&
1&&(L(0),Yf(1,5),M());if(a&2){a=Q().question;Q();var b=R(6);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,vr,a))}},Ogb=function(a){a&1&&(L(0),Yf(1,5),M());if(a&2){a=Q().question;Q();var b=R(8);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,vr,a))}},Pgb=function(a,b){a&1&&(L(0,6),E(1,Mgb,2,4,"ng-container",7)(2,Ngb,2,4,"ng-container",7)(3,Ogb,2,4,"ng-container",7),M());a&2&&(a=b.question,b=Q(),F("ngSwitch",a.type),A(),F("ngSwitchCase",b.CustomQuestionType.INPUT),A(),F("ngSwitchCase",
b.CustomQuestionType.TEXT),A(),F("ngSwitchCase",b.CustomQuestionType.SELECT))},Qgb=function(a,b){if(a&1){var c=v();K(0,"h4",8);G(1,"mat-form-field",9)(2,"input",10);vg("ngModelChange",function(d){var e=x(c).question;ug(e.response,d)||(e.response=d);return y(d)});I()()}a&2&&(a=b.question,F("innerHtml",a.question,Xe),A(2),tg("ngModel",a.response),Hf("aria-label",a.question))},Rgb=function(a,b){if(a&1){var c=v();K(0,"h4",8);G(1,"mat-form-field",11)(2,"textarea",10);vg("ngModelChange",function(d){var e=
x(c).question;ug(e.response,d)||(e.response=d);return y(d)});S(3,"    ");I()()}a&2&&(a=b.question,F("innerHtml",a.question,Xe),A(2),tg("ngModel",a.response),Hf("aria-label",a.question))},Tgb=function(a,b){a&1&&(G(0,"mat-option",15),S(1),I());a&2&&(a=b.$implicit,Q(2),F("value",a),A(),T(" ",Sgb(a)?a.text:a," "))},Ugb=function(a){a&1&&Yf(0,5);if(a&2){a=Q().question;Q();var b=R(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,vr,a.response.child))}},Wgb=function(a,b){if(a&1){var c=v();K(0,"h4",
8);G(1,"mat-form-field",9)(2,"mat-select",12);N("valueChange",function(d){var e=x(c).question,f=Q();e.response=d;return y(Vgb(f))});E(3,Tgb,2,2,"mat-option",13);I()();E(4,Ugb,1,4,"ng-container",14)}a&2&&(a=b.question,Q(),F("innerHtml",a.question,Xe),A(),Hf("aria-label",a.question),A(),F("value",a.response),A(),F("ngForOf",a.options),A(),F("ngIf",Sgb(a.response)))},Xgb=function(a){a&1&&dg(0)},Ygb=function(a){a&1&&Yf(0,2);a&2&&(a=Q(),F("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",
a._getIconContext()))},Zgb=function(a){a&1&&(G(0,"span",7),S(1),I());a&2&&(a=Q(2),A(),rg(a._getDefaultTextForState(a.state)))},$gb=function(a){a&1&&(G(0,"span",8),S(1),I());a&2&&(a=Q(3),A(),rg(a._intl.completedLabel))},ahb=function(a){a&1&&(G(0,"span",8),S(1),I());a&2&&(a=Q(3),A(),rg(a._intl.editableLabel))},bhb=function(a){a&1&&(E(0,$gb,2,1,"span",8)(1,ahb,2,1,"span",8),G(2,"mat-icon",7),S(3),I());a&2&&(a=Q(2),Uf("done"===a.state?0:"edit"===a.state?1:-1),A(3),rg(a._getDefaultTextForState(a.state)))},
chb=function(a){a&1&&E(0,Zgb,2,1,"span",7)(1,bhb,4,2,"mat-icon",7);a&2&&(a=Q(),Uf("number"===a.state?0:1))},dhb=function(a,b){a&1&&(G(0,"div",4),Yf(1,9),I());a&2&&(A(),F("ngTemplateOutlet",b.template))},ehb=function(a){a&1&&(G(0,"div",4),S(1),I());a&2&&(a=Q(),A(),rg(a.label))},fhb=function(a){a&1&&(G(0,"div",5),S(1),I());a&2&&(a=Q(),A(),rg(a._intl.optionalLabel))},ghb=function(a){a&1&&(G(0,"div",6),S(1),I());a&2&&(a=Q(),A(),rg(a.errorMessage))},hhb=function(){},ihb=function(a){a&1&&(dg(0),E(1,hhb,
0,0,"ng-template",0));a&2&&(a=Q(),A(),F("cdkPortalOutlet",a._portal))},jhb=function(a){a&1&&dg(0)},khb=function(a){a&1&&K(0,"div",6)},mhb=function(a,b){a&1&&(Yf(0,5),E(1,khb,1,0,"div",6));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;Q(2);var d=R(4);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Bg(3,lhb,a,c));A();Uf(c!==b-1?1:-1)}},phb=function(a,b){if(a&1){var c=v();G(0,"div",7);N("@horizontalStepTransition.done",function(e){x(c);var f=Q(2);return y(f._animationDone.next(e))});Yf(1,8);I()}if(a&
2){a=b.$implicit;b=b.$index;var d=Q(2);Qf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);F("@horizontalStepTransition",Bg(8,nhb,d._getAnimationDirection(b),Ag(6,ohb,d._getAnimationDuration())))("id",d._getStepContentId(b));Hf("aria-labelledby",d._getStepLabelId(b));A();F("ngTemplateOutlet",a.content)}},qhb=function(a){a&1&&(G(0,"div",1)(1,"div",2),Wf(2,mhb,2,6,null,null,Vf),I(),G(4,"div",3),Wf(5,phb,2,11,"div",4,Vf),I()());a&2&&(a=Q(),A(2),Xf(a.steps),A(3),Xf(a.steps))},rhb=function(a,
b){if(a&1){var c=v();G(0,"div",9);Yf(1,5);G(2,"div",10)(3,"div",11);N("@verticalStepTransition.done",function(h){x(c);var l=Q(2);return y(l._animationDone.next(h))});G(4,"div",12);Yf(5,8);I()()()()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=Q(2),f=R(4);A();F("ngTemplateOutlet",f)("ngTemplateOutletContext",Bg(10,lhb,a,d));A();Qf("mat-stepper-vertical-line",d!==b-1);A();Qf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);F("@verticalStepTransition",Bg(15,nhb,e._getAnimationDirection(d),
Ag(13,ohb,e._getAnimationDuration())))("id",e._getStepContentId(d));Hf("aria-labelledby",e._getStepLabelId(d));A(2);F("ngTemplateOutlet",a.content)}},shb=function(a){a&1&&Wf(0,rhb,6,18,"div",9,Vf);a&2&&(a=Q(),Xf(a.steps))},thb=function(a,b){if(a&1){var c=v();G(0,"mat-step-header",13);N("click",function(){var e=x(c).step;return y(e.select())})("keydown",function(e){x(c);var f=Q();return y(f._onKeydown(e))});I()}if(a&2){a=b.step;b=b.i;var d=Q();Qf("mat-horizontal-stepper-header","horizontal"===d.orientation)("mat-vertical-stepper-header",
"vertical"===d.orientation);F("tabIndex",d._getFocusIndex()===b?0:-1)("id",d._getStepLabelId(b))("index",b)("state",d._getIndicatorType(b,a.state))("label",a.stepLabel||a.label)("selected",d.selectedIndex===b)("active",d._stepIsNavigable(b,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",d._iconOverrides)("disableRipple",d.disableRipple||!d._stepIsNavigable(b,a))("color",a.color||d.color);Hf("aria-posinset",b+1)("aria-setsize",d.steps.length)("aria-controls",d._getStepContentId(b))("aria-selected",
d.selectedIndex==b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null)("aria-disabled",d._stepIsNavigable(b,a)?null:!0)}},vhb=function(a){if(a&1){var b=v();L(0);G(1,"h4",6);S(2,"Which of the following best describes the issue that you are reporting?");I();G(3,"wizard-category-select",49);vg("categoryChange",function(c){x(b);var d=Q();ug(d.model.category,c)||(d.model.category=c);return y(c)});I();G(4,"mat-card",50)(5,"mat-card-header");S(6," Avoid duplicate issue reports: ");
I();G(7,"mat-card-content")(8,"mat-checkbox",51);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.ackDupes,c)||(d.ackDupes=c);return y(c)});S(9," By checking this box, I'm acknowledging that I have searched for ");G(10,"a",52);S(11,"existing issues");I();S(12," that already report this problem. ");I()()();G(13,"div",33)(14,"button",36);S(15," Next ");K(16,"mat-icon",37);I()();M()}a&2&&(a=Q(),A(3),F("persona",a.model.persona),tg("category",a.model.category),A(5),tg("ngModel",a.ackDupes),A(2),F("href",
a.existingIssuesLink,Ye),A(4),F("disabled",!uhb(a,0)))},xhb=function(a){a&1&&(G(0,"div")(1,"h3"),S(2,"Prefer to file an issue manually?"),I(),G(3,"p"),S(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. "),I(),G(5,"p"),S(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),G(7,
"a",52),S(8,"form"),I(),S(9,". "),I()());a&2&&(a=Q(),A(7),F("href",a.paths.createIssue(zg(1,whb)),Ye))},yhb=function(a){a&1&&(G(0,"mat-error"),S(1," Summary is required "),I())},zhb=function(a){a&1&&(G(0,"mat-error"),S(1," Steps to reproduce are required "),I())},Ahb=function(a){a&1&&(G(0,"mat-error"),S(1," Issue description is required "),I())},Bhb=function(a){if(a&1){var b=v();G(0,"wizard-custom-questions",53);N("responses",function(c){x(b);var d=Q();return y(d.model.customQuestionResponses=c)});
I()}a&2&&(a=Q(),F("category",a.model.category.value))},Chb=function(a){if(a&1){var b=v();G(0,"div",54)(1,"b-recaptcha",55);N("onUpdate",function(c){x(b);var d=Q();return y(d.recaptchaResponse=c)});I()()}},Dhb=function(){},Ehb=function(){},Fhb=function(){},Ghb=function(a,b){var c=[{customFieldId:b.version,textValue:a.version}];a=a.os.filter(function(d){return"Unknown"!==d});0<a.length&&c.push({customFieldId:b.os,repeatedEnumValue:{values:a}});return c},Ihb=function(a){return a.length?"# Custom Questions\n"+
Hhb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},Hhb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Sgb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,u(Hhb([c.response.child])))):b.push(c);return b},Jhb=function(a){a&1&&(G(0,"a",17),S(1," Create Component "),I())},Khb=function(a){a&1&&(G(0,"p",21),S(1," None found. "),G(2,"a",22),S(3,"Learn More"),I()())},
Lhb=function(a){a&1&&(L(0),K(1,"b-component-path-card",32,1),M());if(a&2){a=R(2);var b=Q().$implicit;A();F("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},Mhb=function(a,b){a&1&&(G(0,"li")(1,"a",23)(2,"div",24)(3,"span",25),S(4),K(5,"b-component-access-level-indicator",26)(6,"b-tracker-chip-smart",27),I(),G(7,"p",28),S(8),I()(),G(9,"div",29)(10,"a",30),S(11," Edit "),I(),G(12,"a",30),S(13," Create Issue "),I()()(),G(14,"onedev-hovercard",null,0),E(16,Lhb,3,2,"ng-container",31),I()());
if(a&2){a=b.$implicit;b=R(15);var c=Q(2);A();F("routerLinkObj",c.viewIssues(a.componentId));A();F("onedevHovercardTrigger",b);A(2);T(" ",a.name||a.componentId," ");A();F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);A();F("trackerId",a.trackerId)("showHovercard",!1);A(2);rg(a.description);A(2);F("routerLinkObj",c.componentSettings(a.componentId));A(2);F("routerLinkObj",c.createIssue(a.componentId))}},Nhb=function(a,b){a&1&&(L(0),E(1,Khb,4,0,"p",18),G(2,"ol",
19),E(3,Mhb,17,10,"li",20),I(),M());a&2&&(a=b.$implicit,A(),F("ngIf",0===a.length),A(2),F("ngForOf",a))},Phb=function(a){a&1&&(G(0,"a",25),S(1," Learn more "),I());a&2&&(Q(),F("href",Ohb(),Ye))},Qhb=function(a){a&1&&(L(0),S(1),V(2,"async"),M());a&2&&(a=Q(2),A(),T(" ",W(2,1,a.suggestedTitle$)," "))},Rhb=function(a,b){if(a&1){var c=v();G(0,"button",20);N("click",function(){var d=x(c).$implicit;Q();var e=R(18),f=Q();f.llmSuggestTitleService.generatedTitle.next(null);Wo(f.analytics,sq.LLM,"reject","title-"+
String(d));wr(f.butterBar,"Thanks for the feedback!",3E3);var h;null==(h=e.trigger)||h.close();return y()});G(1,"span");S(2);I()()}a&2&&(a=b.$implicit,b=Q(2),A(2),rg(b.REJECT_REASON_TO_DISPLAY.get(a)))},Shb=function(a){if(a&1){var b=v();G(0,"div",3)(1,"div",4)(2,"div",5)(3,"span",6);S(4,"Suggested title");I();G(5,"div",7)(6,"button",8);N("click",function(){x(b);Q().llmSuggestTitleService.suggestTitleRequested.next();return y()});K(7,"mat-icon",9);I();G(8,"button",10);N("click",function(){x(b);var d=
Q();return y(d.close())});K(9,"mat-icon",11);I()()();G(10,"div",12);E(11,Qhb,3,3,"ng-container",13);V(12,"async");I();G(13,"div",14)(14,"button",15);V(15,"async");N("click",function(){x(b);var d=Q(),e=Gk(xr(d.llmSuggestTitleService.generatedTitle));e&&(Wo(d.analytics,sq.LLM,"accept","title"),d.suggestionAccepted.emit(e),d.llmSuggestTitleService.generatedTitle.next(null));return y()});S(16," Accept ");I();G(17,"split-button",16,1);V(19,"async");G(20,"button",17);V(21,"async");N("click",function(){x(b);
var d=Q();d.llmSuggestTitleService.generatedTitle.next(null);Wo(d.analytics,sq.LLM,"reject","title");return y()});S(22," Reject ");I();G(23,"div",18);E(24,Rhb,3,1,"button",19);I()()()()()}if(a&2){a=Q();var c=R(3);A(11);F("ngIf",!W(12,7,a.isGeneratingTitle$))("ngIfElse",c);A(3);F("disabled",W(15,9,a.isGeneratingTitle$));A(3);F("size","small")("disabled",!!W(19,11,a.isGeneratingTitle$));A(3);F("disabled",W(21,13,a.isGeneratingTitle$));A(4);F("ngForOf",a.suggestedTitleRejectionReasons)}},Thb=function(a){a&
1&&K(0,"b-spinner")},Uhb=function(a,b,c){var d=c[b];return null==d?!1:[].concat(u(a)).map(function(e){return yr[e]}).every(function(e){return null==e?!0:e.check(d,b,c)})},Vhb=function(a){return!!yr[a]},Whb=function(a){if(a&1){var b=v();G(0,"div",2);N("@arrowPosition.start",function(){x(b);var c=Q();return y(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){x(b);var c=Q();return y(c._disableViewStateAnimation=!1)});K(1,"div",3);G(2,"div",4);K(3,"div",5)(4,"div",6)(5,"div",7);I()()}a&
2&&(a=Q(),F("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),A(2),F("@indicator",a._getArrowDirectionState()),A(),F("@leftPointer",a._getArrowDirectionState()),A(),F("@rightPointer",a._getArrowDirectionState()))},Xhb=function(a){a&1&&K(0,"th",31)},Yhb=function(a){a&1&&K(0,"td",32)},Zhb=function(a){a&1&&(G(0,"th",31),S(1," Id "),I())},$hb=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-id-cell",34),I());a&2&&(a=b.$implicit,
A(),F("id",a.id))},aib=function(a){a&1&&(G(0,"th",31),S(1," Title "),I())},bib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-title-cell",35),V(2,"async"),I());if(a&2){var c;a=b.$implicit;b=Q();A();fg("anchorTarget",b.options.alwaysOpenNewTab?"_blank":void 0);F("issue",W(2,5,a.issue$))("issueUrlFactory",b.issueUrlFactory)("enableHovercard",null!==(c=b.options.enableIssueHovercard)&&void 0!==c?c:!1)("trailingChip",b.options.showTrending?null==b.trendingChipsById$.value?null:b.trendingChipsById$.value[a.id]:
void 0)}},cib=function(a){a&1&&(G(0,"th",36),S(1," Type "),I())},dib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-type-cell",37),V(2,"async"),I());a&2&&(a=b.$implicit,A(),F("issue",W(2,1,a.issue$)))},eib=function(a){a&1&&Yf(0)},fib=function(a){a&1&&(L(0),S(1,"Assignee"),M())},gib=function(a){a&1&&(G(0,"th",38),L(1,39),E(2,eib,1,0,"ng-container",40)(3,fib,2,0,"ng-container",41),M(),I());a&2&&(a=Q(),A(),F("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(),F("ngSwitchCase","avatar-if-open"))},
hib=function(a,b){a&1&&K(0,"b-user-image",44);a&2&&F("email",b.$implicit)},iib=function(a){a&1&&(L(0),E(1,hib,1,1,"b-user-image",43),M());if(a&2){a=Q().$implicit;var b=Q(3);A();F("ngIf",b.getAssigneeString(a))}},jib=function(a,b){a&1&&(L(0),E(1,iib,2,1,"ng-container",42),M());a&2&&(a=b.$implicit,b=Q(3),A(),F("ngIf",b.isOpen(a)))},kib=function(a){a&1&&(L(0),E(1,jib,2,1,"ng-container",42),V(2,"async"),M());a&2&&(a=Q().$implicit,A(),F("ngIf",W(2,1,a.issue$)))},lib=function(a){a&1&&(L(0),K(1,"b-issue-assignee-cell",
37),V(2,"async"),M());a&2&&(a=Q().$implicit,A(),F("issue",W(2,1,a.issue$)))},mib=function(a){a&1&&(G(0,"td",33),L(1,39),E(2,kib,3,3,"ng-container",40)(3,lib,3,3,"ng-container",41),M(),I());a&2&&(a=Q(),A(),F("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(),F("ngSwitchCase","avatar-if-open"))},nib=function(a){a&1&&(G(0,"th",45),S(1," Reporter "),I())},oib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-reporter-cell",37),V(2,"async"),I());a&2&&(a=b.$implicit,A(),F("issue",W(2,1,a.issue$)))},
pib=function(a){a&1&&(G(0,"th",46),S(1," Priority "),I())},qib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-priority-display",47),I());a&2&&(a=b.$implicit,b=Q(),A(),F("issuePriority",b.getPriority(a)))},rib=function(a){a&1&&(G(0,"th",48),S(1," Status "),I())},sib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-status-cell",37),V(2,"async"),I());a&2&&(a=b.$implicit,A(),F("issue",W(2,1,a.issue$)))},tib=function(a){a&1&&(G(0,"th",31),S(1," Team "),I())},uib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-team-cell",
37),V(2,"async"),I());a&2&&(a=b.$implicit,A(),F("issue",W(2,1,a.issue$)))},vib=function(a){a&1&&(G(0,"th",31),S(1," Dupes "),I())},wib=function(a){a&1&&(L(0),S(1),M());if(a&2){var b;a=Q().$implicit;A();T(" ",null!==(b=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==b?b:0," ")}},xib=function(a){a&1&&(L(0),E(1,wib,2,1,"ng-container",42),M());a&2&&(Q(2),A(),F("ngIf",!0))},yib=function(a,b){a&1&&(G(0,"td",33),E(1,xib,2,1,"ng-container",42),V(2,"async"),I());
a&2&&(a=b.$implicit,A(),F("ngIf",W(2,1,a.issue$)))},zib=function(a){a&1&&(G(0,"th",31),S(1," +1s "),I())},Aib=function(a){a&1&&(L(0),G(1,"span",49),S(2),I(),M());a&2&&(a=Q().$implicit,A(),eg("title","",null==a.aggregatedData?null:a.aggregatedData.voteCount," votes"),A(),T(" ",null==a.aggregatedData?null:a.aggregatedData.voteCount," "))},Bib=function(a){a&1&&(L(0),E(1,Aib,3,3,"ng-container",42),M());a&2&&(Q(2),A(),F("ngIf",!0))},Cib=function(a,b){a&1&&(G(0,"td",33),E(1,Bib,2,1,"ng-container",42),V(2,
"async"),I());a&2&&(a=b.$implicit,A(),F("ngIf",W(2,1,a.issue$)))},Dib=function(a){a&1&&(G(0,"th",31),S(1," 7d Views "),I())},Eib=function(a){a&1&&(L(0),G(1,"span",49),S(2),I(),M());a&2&&(a=Q().$implicit,A(),eg("title","",null==a.userActivityStats?null:a.userActivityStats.sevenDayViewCount," views in last 7 days"),A(),T(" ",null==a.userActivityStats?null:a.userActivityStats.sevenDayViewCount," "))},Fib=function(a){a&1&&(L(0),E(1,Eib,3,3,"ng-container",42),M());a&2&&(Q(2),A(),F("ngIf",!0))},Gib=function(a,
b){a&1&&(G(0,"td",33),E(1,Fib,2,1,"ng-container",42),V(2,"async"),I());a&2&&(a=b.$implicit,A(),F("ngIf",W(2,1,a.issue$)))},Hib=function(a){a&1&&(G(0,"th",50),S(1," Created "),I())},Iib=function(a,b){a&1&&(G(0,"td",33),K(1,"b-issue-created-time-cell",51),V(2,"async"),I());if(a&2){var c;a=b.$implicit;b=Q();A();F("issue",W(2,2,a.issue$))("mode",null!==(c=null==b.options.modes?null:b.options.modes.createdTime)&&void 0!==c?c:b.DEFAULT_DATETIME_MODE)}},Jib=function(a){a&1&&(G(0,"th",52),S(1," Last Modified "),
I())},Kib=function(a,b){a&1&&(L(0),K(1,"b-formatted-date-time",54),M());if(a&2){var c;a=b.$implicit;b=Q(2);A();F("timestamp",a/1E3)("mode",null!==(c=null==b.options.modes?null:b.options.modes.modifiedTime)&&void 0!==c?c:b.DEFAULT_DATETIME_MODE)("paddingLeftPx",0)}},Lib=function(a){a&1&&S(0,"--")},Mib=function(a,b){a&1&&(G(0,"td",33),E(1,Kib,2,3,"ng-container",53)(2,Lib,1,0,"ng-template",null,0,Eg),I());if(a&2){a=b.$implicit;b=R(3);var c=Q();A();F("ngIf",c.getModifiedTimeMicros(a))("ngIfElse",b)}},
Nib=function(a){a&1&&K(0,"th",31)},Oib=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"b-actions-menu",55);N("click",function(f){x(c);return y(f.stopPropagation())});I()()}if(a&2){var d,e;a=b.$implicit;b=Q();A();F("buttonLabel",null!==(d=null==b.options.menu?null:b.options.menu.buttonLabel)&&void 0!==d?d:b.DEFAULT_MENU_OPTIONS.buttonLabel)("buttonIcon",null!==(e=null==b.options.menu?null:b.options.menu.buttonIcon)&&void 0!==e?e:b.DEFAULT_MENU_OPTIONS.buttonIcon)("menuItems",b.getMenuItems(a.id))}},
Pib=function(a){a&1&&K(0,"tr",56)},Qib=function(a,b){if(a&1){var c=v();G(0,"tr",57);V(1,"async");N("click",function(d){var e=x(c).$implicit,f=Q();return y(f.navigateToIssue(d,e.id))})("mouseup",function(d){var e=x(c).$implicit,f=Q();return y(f.navigateToIssue(d,e.id))})("focusin",function(){var d=x(c).$implicit,e=Q();return y(vq(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,f=Q();return y(f.onRowKeydown(e,d))});I()}a&2&&(a=b.$implicit,b=Q(),Qf("closed",b.options.deEmphasizeClosedIssues&&
b.isClosed(W(1,3,a.issue$))),F("row",a))},Rib=function(a){if(a&1){var b=v();L(0);G(1,"button",59);N("click",function(){x(b);var c=Q(5);return y(c.rowLimit$.next(void 0))});S(2," Show more ");I();M()}},Sib=function(a){a&1&&(L(0),E(1,Rib,3,0,"ng-container",42),M());if(a&2){a=Q().$implicit;var b=Q().$implicit;A();F("ngIf",a.length<b)}},Tib=function(a){if(a&1){var b=v();L(0);G(1,"button",59);N("click",function(){x(b);var c=Q(5);return y(c.rowLimit$.next(c.options.rowLimit))});S(2," Show less ");I();M()}},
Uib=function(a){a&1&&E(0,Tib,3,0,"ng-container",42);if(a&2){var b;a=Q().$implicit;var c=Q(3);F("ngIf",a.length>(null!==(b=c.options.rowLimit)&&void 0!==b?b:0))}},Vib=function(a){a&1&&(L(0),E(1,Sib,2,1,"ng-container",53),V(2,"async"),E(3,Uib,1,1,"ng-template",null,1,Eg),M());if(a&2){a=R(4);var b=Q(3);A();F("ngIf",W(2,2,b.rowLimit$))("ngIfElse",a)}},Wib=function(a){a&1&&(L(0),E(1,Vib,5,4,"ng-container",42),V(2,"async"),M());a&2&&(a=Q(2),A(),F("ngIf",W(2,1,a.rows$)))},Xib=function(a){a&1&&(G(0,"div",
58),E(1,Wib,3,3,"ng-container",42),V(2,"async"),I());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.rowCountAfterFilters$)))},Yib=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},eo=function(a){return Gk(a.issue$)},Zib=function(a){var b,c,d;return null==(b=Gk(a.issue$))?void 0:null==(c=b.snapshot)?void 0:null==(d=c[0])?void 0:d.priority},$ib=function(a){var b,c;return null==(b=Gk(a.issue$))?void 0:null==(c=b.aggregatedData)?void 0:c.modifiedTimeMicros},ajb=function(a,b){if(!b||!b.direction)return a;
switch(b.active){case "status":return XCa()(a,b.direction);case "assignee":return YCa()(a,b.direction);case "reporter":return $Ca()(a,b.direction);case "type":return ZCa()(a,b.direction);case "createdTime":return aDa()(a,b.direction);case "modifiedTime":return bDa()(a,b.direction);case "priority":return eDa()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.active+"' not implemented"),a}},bjb=function(a){a&1&&K(0,"b-spinner")},cjb=function(a,b){a&1&&K(0,"b-issues-table",6);
a&2&&(a=Q(),F("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions))},djb=function(a){var b=a.scores;return a.similarIssues.filter(function(c,d){return.65<=b[d]})},fjb=function(a){var b=new Set,c=0;a=k(a.matchAll(ejb));for(var d=a.next();!d.done;d=a.next())if(d=k(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(u(b))},gjb=function(a){a&1&&(G(0,"div"),K(1,"b-spinner"),G(2,"span"),S(3,"Loading..."),I()())},hjb=function(a){a&1&&(G(0,"div",4),E(1,
gjb,4,0,"div",5),I());if(a&2){a=Q();var b=R(2);A();F("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},ijb=function(a){a&1&&(G(0,"span",19)(1,"strong"),S(2),I(),S(3," of "),G(4,"strong"),S(5),I()());a&2&&(a=Q(4),A(2),sg("",a.startIndex,"\u2013",a.endIndex,""),A(3),rg(a.totalText))},jjb=function(a){if(a&1){var b=v();G(0,"div",13);E(1,ijb,6,3,"span",14);G(2,"b-button",15);N("onAction",function(){x(b);var c=Q(3);return y(c.fetchIssues(c.page-1))});K(3,"b-icon",16);I();G(4,"b-button",17);N("onAction",function(){x(b);
var c=Q(3);return y(c.fetchIssues(c.page+1))});K(5,"b-icon",18);I()()}a&2&&(a=Q(3),A(),F("ngIf",!a.isRefreshing),A(),F("disabled",1>=a.page),A(2),F("disabled",a.page>=a.numPages))},kjb=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=Q(3);return y(c.triggerSimilarIssuesSurvey())});K(1,"mat-icon",21);I()}},ljb=function(a){a&1&&(G(0,"li")(1,"h3"),S(2),I(),E(3,jjb,6,3,"div",11)(4,kjb,2,0,"button",12),I());a&2&&(a=Q(2),A(2),rg(a.getHeader()),A(),F("ngIf",!a.enableSimilarIssues),
A(),F("ngIf",a.showSuggestedDupes))},mjb=function(a){a&1&&(G(0,"div",22),S(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),I())},njb=function(a){if(a&1){var b=v();G(0,"b-issue-card",27,2);N("init",function(){x(b);var e=Q(4);return y(e.trackTitleHoverOver())});I()}if(a&2){a=R(1);var c=Q().$implicit,d=Q(3);F("onedevIsHovercardReady",a.init)("issueId",c.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},ojb=function(a,b){if(a&
1){var c=v();G(0,"li",24)(1,"onedev-hovercard",null,1);E(3,njb,2,3,"b-issue-card",25);I();G(4,"a",26);N("click",function(){x(c);var e=Q(3);return y(e.trackTitleClick())});S(5);I()()}if(a&2){a=b.$implicit;b=R(2);var d=Q(3);F("ngClass",d.enableSimilarIssues?"magic-box-item-new":"magic-box-item");A(4);eg("href","issues/",a.id,"",Ye);F("onedevHovercardTrigger",b);A();T(" ",a.title," ")}},pjb=function(a){a&1&&(L(0),E(1,ojb,6,5,"li",23),M());a&2&&(a=Q(2),A(),F("ngForOf",a.magicBoxIssues))},qjb=function(a){a&
1&&(G(0,"li"),S(1),I());a&2&&(a=Q(2),A(),T(" No ",a.getHeader().toLowerCase()," found. "))},rjb=function(a){a&1&&(G(0,"li",28)(1,"a",29),S(2," View All Issues \u2192 "),I()());a&2&&(a=Q(2),A(),fg("href",a.viewAllHref,Ye))},sjb=function(a){if(a&1){var b=v();G(0,"li",30)(1,"button",31);N("click",function(){x(b);var c=Q(2);c.fetchIssues(c.page+1);Wo(c.analytics,sq.MAGIC_BOX,"loadMore");return y()});K(2,"mat-icon",32);S(3," Load more ");I()()}},tjb=function(a){if(a&1){var b=v();G(0,"li",33)(1,"a",29)(2,
"button",34);N("click",function(){x(b);var c=Q(2);Wo(c.analytics,sq.MAGIC_BOX,"viewAll");return y()});S(3,"View all ");K(4,"mat-icon",35);I()()()}a&2&&(a=Q(2),A(),fg("href",a.viewAllHref,Ye))},ujb=function(a){a&1&&(G(0,"li"),K(1,"b-spinner"),G(2,"span"),S(3,"Loading..."),I()())},vjb=function(a){a&1&&(G(0,"ul"),E(1,ljb,5,3,"li",6)(2,mjb,2,0,"div",7)(3,pjb,2,1,"ng-container",6)(4,qjb,2,1,"li",6)(5,rjb,3,1,"li",8)(6,sjb,4,0,"li",9)(7,tjb,5,1,"li",10)(8,ujb,4,0,"li",6),I());a&2&&(a=Q(),A(),F("ngIf",!a.hideHeader),
A(),F("ngIf",a.showSuggestedDupes),A(),F("ngIf",!a.isRefreshing),A(),F("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),A(),F("ngIf",!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),A(),F("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),A(),F("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),A(),F("ngIf",a.isRefreshing))},wjb=function(a){a&1&&Yf(0)},yjb=function(a){a&1&&(L(0),E(1,wjb,1,0,"ng-container",9),M());a&2&&(a=Q(),
A(),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ag(2,xjb,a.value)))},zjb=function(a){a&1&&S(0);a&2&&(a=Q(),rg(a.value||"--"))},Ajb=function(a){a&1&&(Kd(),G(0,"svg",10),K(1,"path",11),I());a&2&&(a=Q(),Qf("centered",a.centerEditIcon))},Bjb=function(a){a&1&&K(0,"textarea",15);a&2&&(a=Q(3),F("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},Cjb=function(a){a&1&&K(0,"input",16);a&2&&(a=Q(3),F("formControl",a.editingValue))},Djb=function(a){a&1&&(L(0),G(1,"div",
13),E(2,Bjb,1,2,"textarea",14)(3,Cjb,1,1,"ng-template",null,4,Eg),I(),M());if(a&2){a=R(4);var b=Q(2);A(2);F("ngIf",b.allowMultipleLines)("ngIfElse",a)}},Ejb=function(a){a&1&&Yf(0)},Gjb=function(a){a&1&&(L(0),E(1,Ejb,1,0,"ng-container",9),M());a&2&&(a=Q(2),A(),F("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Ag(2,Fjb,a.editingValue)))},Hjb=function(a){a&1&&E(0,Djb,5,2,"ng-container",12)(1,Gjb,2,4,"ng-container",12);a&2&&(a=Q(),F("ngIf",!a.editorTemplate),A(),F("ngIf",a.editorTemplate))},
Ijb=function(){},Jjb=function(a){a&1&&(G(0,"span",1),Kd(),G(1,"svg",2),K(2,"path",3),I()());a&2&&(a=Q(),F("@indicatorRotate",a._getExpandedState()))},Kjb=function(a){if(a&1){var b=v();G(0,"b-hotlist-picker",30);N("onApply",function(c){x(b);var d=Q();return y(d.handleHotlistPickerSave(c))})("onLoad",function(c){x(b);var d=Q();return y(d.loadHotlist(c))})("onCreate",function(c){x(b);var d=Q();return y(d.createHotlist(c))});I()}a&2&&(a=Q(),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},
Ljb=function(a,b){a&1&&(G(0,"a",12),S(1,"View recent issues"),I());a&2&&(a=Q(),F("routerLinkObj",a.recentIssuesInComponent(b)))},Qjb=function(a){a&1&&(G(0,"div",31),K(1,"b-icon",32),G(2,"span"),S(3),I(),G(4,"a",33),S(5,"View access settings"),I()());a&2&&(a=Q(),F("ngClass",Bg(5,Mjb,Njb(a),Ojb(a))),A(),F("name","alert")("size","small"),A(2),T("",Pjb(a),"\u00a0"),A(),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Ye))},Tjb=function(a){a&1&&(G(0,"div",
36),S(1),I());a&2&&(a=Q(2),A(),T(" Error: The following required field(s) have not been filled: ",Rjb(a).concat(Sjb(a)).join(", ")," "))},Ujb=function(a){a&1&&(G(0,"li"),S(1),I());if(a&2){a=Q(3);A();var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');rg(b?b.join(" & ")+" must be"+((1>=b.length?" a":"")+" comma separated list")+((1<b.length?"s":"")+" of issue IDs"):"")}},Vjb=function(a){a&1&&(G(0,"li"),
S(1),I());a&2&&(a=Q(3),A(),T(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},Wjb=function(a){a&1&&(G(0,"div",36),S(1," Error: The following field(s) have invalid values: "),G(2,"ul"),E(3,Ujb,2,1,"li",27)(4,Vjb,2,1,"li",27),I()());a&2&&(a=Q(2),A(3),F("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),A(),F("ngIf",!a.isCollaboratorsValid))},Xjb=function(a){a&1&&(G(0,"div",36),S(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),
I())},Zjb=function(a){a&1&&(G(0,"div",34),E(1,Tjb,2,1,"div",35)(2,Wjb,5,2,"div",35)(3,Xjb,2,0,"div",35),I());a&2&&(a=Q(),A(),F("ngIf",0!==Rjb(a).length||0!==Sjb(a).length),A(),F("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),A(),F("ngIf",Yjb(a.comment)))},$jb=function(a,b){if(a&1){var c=v();G(0,"div",39)(1,"b-hotlist-chip",40);N("removeHotlist",function(){var d=x(c).$implicit,e=Q(2);return y(e.removeHotlist(d.hotlistId))});I()()}a&
2&&(a=b.$implicit,A(),F("hotlist",a))},akb=function(a){a&1&&(G(0,"div",37),E(1,$jb,2,1,"div",38),I());a&2&&(a=Q(),A(),F("ngForOf",a.selectedHotlists))},bkb=function(a,b){if(a&1){var c=v();G(0,"button",48);N("click",function(){var d=x(c).$implicit;Q(2).selectedTemplate=d;return y()});S(1);I()}a&2&&(a=b.$implicit,A(),rg(a.name))},ckb=function(a){if(a&1){var b=v();G(0,"button",48);N("click",function(){x(b);var c=Q(2);c.selectedTemplate=c.availableExistingIssueTemplate;return y()});S(1);I()}a&2&&(a=Q(2),
A(),rg(a.availableExistingIssueTemplate.name))},dkb=function(a){a&1&&(G(0,"div",41)(1,"div",21)(2,"label",42),S(3,"Template"),I()(),G(4,"button",43),S(5),K(6,"b-icon",44),I(),G(7,"mat-menu",45,2),E(9,bkb,2,1,"button",46)(10,ckb,2,1,"button",47),I()());if(a&2){var b;a=R(8);var c=Q();A(4);F("matMenuTriggerFor",a);A();rg(null!==(b=null==c.selectedTemplate?null:c.selectedTemplate.name)&&void 0!==b?b:"");A(2);F("overlapTrigger",!0);A(2);F("ngForOf",c.availablePredefinedTemplates);A();F("ngIf",c.availableExistingIssueTemplate)}},
ekb=function(a){a&1&&(G(0,"div",49)(1,"div",36),S(2," You do not have permission to create issues in this component. "),I()())},fkb=function(a){a&1&&K(0,"llm-suggest-title-button",74);a&2&&(a=Q(2),F("description",a.comment))},hkb=function(a){if(a&1){var b=v();G(0,"llm-suggest-title-preview",75);N("suggestionAccepted",function(c){x(b);var d=Q(2);d.setTitle(c);return y(gkb(d))});I()}},ikb=function(a){a&1&&(G(0,"p",76),S(1),G(2,"a",77),S(3," Learn more "),I()());a&2&&(a=Q(2),A(),T(" Your title contains restricted words: ",
Dq(a.titleBannedWordsChecker),". Review your title before posting. "))},jkb=function(a,b){if(a&1){var c=v();G(0,"button",80);N("click",function(){var d=x(c).$implicit,e=Q(3);return y(e.setPriority(d.value))});S(1);I()}a&2&&(a=b.$implicit,A(),rg(a.displayText))},kkb=function(a){if(a&1){var b=v();G(0,"div",41)(1,"div",21)(2,"label",78);S(3,"Priority");I()();G(4,"button",79);S(5);K(6,"b-icon",44);I();G(7,"mat-menu",45,3)(9,"button",80);N("click",function(){x(b);var d=Q(2);return y(d.setPriority())});
S(10,"--");I();E(11,jkb,2,1,"button",81);I()()}if(a&2){a=R(8);var c=Q(2);A(4);F("matMenuTriggerFor",a);Hf("aria-label","Priority, required"+(c.issue.priority?", "+c.issue.priority:""));A();T("",c.issue.priority?c.issue.priority:"--"," ");A(2);F("overlapTrigger",!0);A(4);F("ngForOf",c.priorityChoices)}},lkb=function(a,b){if(a&1){var c=v();G(0,"button",84);N("click",function(){var d=x(c).$implicit,e=Q(3);return y(e.setIssueType(d.value))});S(1);I()}a&2&&(a=b.$implicit,fg("title",a.altText||""),A(),
rg(a.displayText))},mkb=function(a){if(a&1){var b=v();G(0,"div",41)(1,"div",21)(2,"label",82);S(3,"Type");I()();G(4,"button",79);V(5,"enumToHuman");S(6);V(7,"enumToHuman");K(8,"b-icon",44);I();G(9,"mat-menu",45,4)(11,"button",80);N("click",function(){x(b);var d=Q(2);return y(d.setIssueType())});S(12,"--");I();E(13,lkb,2,2,"button",83);I()()}if(a&2){a=R(10);var c=Q(2);A(4);F("matMenuTriggerFor",a);Hf("aria-label","Type, required"+(c.issue.type?W(5,5,", "+c.issue.type):""));A(2);T("",W(7,7,c.issue.type||
"--")," ");A(3);F("overlapTrigger",!0);A(4);F("ngForOf",c.issueTypeChoices)}},nkb=function(a){if(a&1){var b=v();G(0,"div",89)(1,"b-magic-box",90);N("headerChange",function(c){x(b);var d=Q(3);return y(d.magicBoxHeader=c)});I()()}a&2&&(a=Q(3),A(),F("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},qkb=function(a){if(a&1){var b=v();G(0,"div",85)(1,"div",86)(2,"a",87);N("click",function(){x(b);
var c=Q(2);return y(pkb(c))})("keydown.enter",function(){x(b);var c=Q(2);return y(pkb(c))})("keydown.space",function(){x(b);var c=Q(2);return y(pkb(c))});S(3);I()();E(4,nkb,2,6,"div",88);I()}a&2&&(a=Q(2),A(3),sg(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),A(),F("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},rkb=function(a){if(a&1){var b=v();G(0,"div",91)(1,"div",21)(2,"label",92);S(3,"Assignee");I()();G(4,"div",93)(5,"input",94);vg("ngModelChange",function(c){x(b);
var d=Q(2);ug(d.assigneeText,c)||(d.assigneeText=c);return y(c)});I()()()}a&2&&(a=Q(2),A(5),tg("ngModel",a.assigneeText),F("bContactAutocomplete","SINGLE"))},skb=function(a){a&1&&(G(0,"mat-error"),S(1," Collaborators only accepts individual users. "),I())},ukb=function(a){if(a&1){var b=v();G(0,"div",95)(1,"div",21)(2,"label",96);S(3,"Collaborators");I();K(4,"mat-icon",97);I();G(5,"div",93)(6,"input",98);N("ngModelChange",function(c){x(b);var d=Q(2);return y(d.collaboratorsText=tkb(c))});I()();E(7,
skb,2,0,"mat-error",27);I()}a&2&&(a=Q(2),A(6),Qf("invalid",!a.isCollaboratorsValid),F("ngModel",zr(a.collaboratorsText))("bContactAutocomplete","MULTI"),A(),F("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},vkb=function(a){if(a&1){var b=v();G(0,"div",99)(1,"div",21)(2,"label",100);S(3,"CC");I()();G(4,"div",93)(5,"input",101);N("ngModelChange",function(c){x(b);var d=Q(2);return y(d.ccsText=tkb(c))});I()()()}a&2&&(a=Q(2),A(5),F("ngModel",zr(a.ccsText))("bContactAutocomplete","MULTI"))},wkb=function(a){a&
1&&(G(0,"p",102),S(1),G(2,"a",77),S(3," Learn more "),I()());a&2&&(a=Q(2),A(),T(" Your description contains restricted words: ",Dq(a.descriptionBannedWordsChecker),". Review your description before posting. "))},xkb=function(a){a&1&&Yf(0)},ykb=function(a){a&1&&(L(0),G(1,"div",20)(2,"div",21)(3,"label",106),S(4," Collaborator Groups "),I(),K(5,"mat-icon",107),I(),E(6,xkb,1,0,"ng-container",108),I(),M());if(a&2){a=Q(3);var b=R(32);A(5);fg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);A();F("ngTemplateOutlet",
b)}},zkb=function(a){if(a&1){var b=v();G(0,"div",103)(1,"div",20)(2,"div",21)(3,"label",104);S(4," Issue access level ");I()();G(5,"b-issue-access-limits-dropdown",105);N("updatedAccessLimitLevel",function(c){x(b);var d=Q(2);return y(d.onAccessLimitLevelSelected(c))});I()();E(6,ykb,7,2,"ng-container",27);I()}a&2&&(a=Q(2),A(5),F("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),A(),F("ngIf",0<a.trackerCollaboratorGroups.length))},
Akb=function(a,b){if(a&1){var c=v();G(0,"button",80);N("click",function(){var d=x(c).$implicit,e=Q(3);return y(e.issue.severity=e.toIssueSeverity(d.value))});S(1);I()}a&2&&(a=b.$implicit,A(),rg(a.displayText))},Bkb=function(a){a&1&&(G(0,"span"),S(1,"*"),I())},Ckb=function(a){a&1&&(G(0,"span"),S(1,"*"),I())},Dkb=function(a){a&1&&(G(0,"span"),S(1,"*"),I())},Fkb=function(a){if(a&1){var b=v();G(0,"div",116)(1,"div",21)(2,"label",134);S(3," Parents ");E(4,Dkb,2,0,"span",27);I()();G(5,"input",135);N("ngModelChange",
function(c){x(b);var d=Q(3);d.parentIssueIds=Ekb(d,c).map(Ko);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(zr(d.parentIssueIds));return y()});I()()}a&2&&(a=Q(3),A(4),F("ngIf",!a.isParentIssueIdsValid),A(),F("ngModel",zr(a.parentIssueIds)))},Gkb=function(a){a&1&&(G(0,"span"),S(1,"*"),I())},Hkb=function(a){if(a&1){var b=v();G(0,"div",116)(1,"div",21)(2,"label",136);S(3," Children ");E(4,Gkb,2,0,"span",27);I()();G(5,"input",137);N("ngModelChange",function(c){x(b);var d=Q(3);d.childrenIssueIds=
Ekb(d,c).map(Ko);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(zr(d.childrenIssueIds));return y()});I()()}a&2&&(a=Q(3),A(4),F("ngIf",!a.isChildIssueIdsValid),A(),F("ngModel",zr(a.childrenIssueIds)))},Ikb=function(a){if(a&1){var b=v();G(0,"div",116)(1,"div",21)(2,"label",104);S(3," Issue access level ");I()();G(4,"b-issue-access-limits-dropdown",138);N("updatedAccessLimitLevel",function(c){x(b);var d=Q(3);return y(d.onAccessLimitLevelSelected(c))});I()()}a&2&&(a=Q(3),A(4),F("disabled",!1)("defaultAccessLimitLevel",
a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},Jkb=function(a){a&1&&Yf(0)},Kkb=function(a){a&1&&(L(0),G(1,"div",20)(2,"div",21)(3,"label",106),S(4," Collaborator Groups "),I(),K(5,"mat-icon",107),I(),E(6,Jkb,1,0,"ng-container",108),I(),M());if(a&2){a=Q(3);var b=R(32);A(5);fg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);A();F("ngTemplateOutlet",b)}},Lkb=function(a){if(a&1){var b=v();G(0,"onedev-text-field",142);N("valueChange",function(d){x(b);var e=Q(2).$implicit,
f=Q(3);return y(f.setCustomFieldValue(e,d))});I()}if(a&2){a=Q(2).$implicit;var c=Q(3);eg("id","bv2-custom-field-",a.customFieldId,"");F("value",a.textValue);Hf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Mkb=function(a){if(a&1){var b=v();G(0,"onedev-numeric-field",142);N("valueChange",function(d){x(b);var e=Q(2).$implicit,f=Q(3);return y(f.setCustomFieldValue(e,d))});I()}if(a&2){a=Q(2).$implicit;var c=Q(3);eg("id","bv2-custom-field-",a.customFieldId,
"");F("value",a.numericValue);Hf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Nkb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",143);N("boundValueChange",function(d){x(b);var e=Q(2).$implicit,f=Q(3);return y(f.setCustomFieldValue(e,d))});I()()}if(a&2){a=Q(2).$implicit;var c=Q(3);A();fg("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");F("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id",
"bv2-custom-field-"+a.customFieldId)}},Okb=function(a){if(a&1){var b=v();G(0,"onedev-single-select",144);N("valueChange",function(d){x(b);var e=Q(2).$implicit,f=Q(3);return y(f.setCustomFieldValue(e,d))});I()}if(a&2){a=Q(2).$implicit;var c=Q(3);F("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);Hf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Pkb=function(a,b){a&1&&(G(0,"div"),E(1,Lkb,1,5,"onedev-text-field",140)(2,Mkb,1,5,"onedev-numeric-field",
140)(3,Nkb,2,4,"div",27)(4,Okb,1,4,"onedev-single-select",141),I());a&2&&(a=b.ngIf,b=Q(4),A(),F("ngIf",a===b.FieldType.TEXT),A(),F("ngIf",a===b.FieldType.NUMERIC),A(),F("ngIf",a===b.FieldType.DATE),A(),F("ngIf",a===b.FieldType.ENUM))},Qkb=function(a,b){if(a&1){var c=v();G(0,"div")(1,"b-list-field",145);N("valuesChange",function(e){x(c);var f=Q().$implicit,h=Q(3);return y(h.setCustomFieldValue(f,e.values))});I()()}if(a&2){a=b.ngIf;b=Q().$implicit;var d=Q(3);A();F("defaultLineCount",2)("type",a)("values",
d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);Hf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},Skb=function(a,b){a&1&&(G(0,"div",116)(1,"div",21)(2,"label",139),S(3),I()(),E(4,Pkb,5,4,"div",27)(5,Qkb,2,6,"div",27),I());if(a&2){a=b.$implicit;b=Q(3);A(2);eg("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];fg("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+
"]");F("ngClass",Ag(8,Rkb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");Hf("aria-label",d);A();T(" ",b.getCustomFieldName(a)," ");A();F("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));A();F("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},Tkb=function(a){if(a&1){var b=v();G(0,"mat-expansion-panel",109)(1,"mat-expansion-panel-header")(2,
"mat-panel-title")(3,"span",110);S(4,"Advanced fields (Required fields marked with");G(5,"span",111);S(6,"*");I();S(7,")");I()()();G(8,"div",112)(9,"div",113)(10,"div",21)(11,"label",114);S(12," Severity ");I()();G(13,"button",115);S(14);K(15,"b-icon",44);I();G(16,"mat-menu",45,5);E(18,Akb,2,1,"button",81);I()();G(19,"div",116)(20,"div",21)(21,"label",117);S(22," Found in ");I()();G(23,"input",118);N("ngModelChange",function(d){x(b);var e=Q(2);return y(e.issue.foundInVersion=tkb(d))});I()();G(24,
"div",119)(25,"div",21)(26,"label",120);S(27," In prod ");I()();G(28,"mat-slide-toggle",121);vg("ngModelChange",function(d){x(b);var e=Q(2);ug(e.issue.inProd,d)||(e.issue.inProd=d);return y(d)});I()();K(29,"div",66);G(30,"div",116)(31,"div",21)(32,"label",122);S(33," Reporter ");I()();G(34,"input",123);vg("ngModelChange",function(d){x(b);var e=Q(2);ug(e.reporterText,d)||(e.reporterText=d);return y(d)});I()();G(35,"div",116)(36,"div",21)(37,"label",124);S(38," Verifier ");I()();G(39,"input",125);vg("ngModelChange",
function(d){x(b);var e=Q(2);ug(e.verifierText,d)||(e.verifierText=d);return y(d)});I()();G(40,"div",116)(41,"div",21)(42,"label",126);S(43," Targeted to ");I()();G(44,"input",127);N("ngModelChange",function(d){x(b);var e=Q(2);return y(e.issue.targetedToVersion=tkb(d))});I()();K(45,"div",66);G(46,"div",116)(47,"div",21)(48,"label",128);S(49," Blocked by ");E(50,Bkb,2,0,"span",27);I()();G(51,"input",129);N("ngModelChange",function(d){x(b);var e=Q(2);e.issue.blockedByIssueId=Ekb(e,d);e.isBlockedByIssueIdValid=
e.ISSUE_ID_LIST_PATTERN.test(zr(e.issue.blockedByIssueId));return y()});I()();G(52,"div",116)(53,"div",21)(54,"label",130);S(55," Blocking ");E(56,Ckb,2,0,"span",27);I()();G(57,"input",131);N("ngModelChange",function(d){x(b);var e=Q(2);e.issue.blockingIssueId=Ekb(e,d);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(zr(e.issue.blockingIssueId));return y()});I()();E(58,Fkb,6,2,"div",132)(59,Hkb,6,2,"div",132);K(60,"div",66);E(61,Ikb,5,3,"div",132)(62,Kkb,7,2,"ng-container",27);K(63,"div",66);
E(64,Skb,6,10,"div",133);I()()}if(a&2){a=R(17);var c=Q(2);A(13);F("matMenuTriggerFor",a);Hf("aria-label","Severity"+(c.issue.severity?", "+c.issue.severity:""));A();rg(c.issue.severity);A(2);F("overlapTrigger",!0);A(2);F("ngForOf",c.severityChoices);A(5);F("ngModel",zr(c.originalIssueCopy.foundInVersion));A(5);tg("ngModel",c.issue.inProd);A(6);tg("ngModel",c.reporterText);F("bContactAutocomplete","SINGLE");A(5);tg("ngModel",c.verifierText);F("bContactAutocomplete","SINGLE");A(5);F("ngModel",zr(c.originalIssueCopy.targetedToVersion));
A(6);F("ngIf",!c.isBlockedByIssueIdValid);A();F("ngModel",zr(c.issue.blockedByIssueId));A(5);F("ngIf",!c.isBlockingIssueIdValid);A();F("ngModel",zr(c.issue.blockingIssueId));A();F("ngIf",!c.sessionIsExternal);A();F("ngIf",!c.sessionIsExternal);A(2);F("ngIf",!aq(c.selectedComponent));A();F("ngIf",0<c.trackerCollaboratorGroups.length&&!aq(c.selectedComponent));A(2);F("ngForOf",c.issue.customField)}},Ukb=function(a,b){a&1&&K(0,"similar-issues",146);a&2&&(a=Q(3),F("context",b)("componentId",a.issue.componentId))},
Vkb=function(a){a&1&&(E(0,Ukb,1,2,"similar-issues",146),V(1,"async"));if(a&2){var b;a=Q(2);Uf((b=W(1,1,a.similarIssuesSearchString$))?0:-1,b)}},Wkb=function(a){a&1&&(G(0,"div",31),K(1,"b-icon",32),G(2,"span"),S(3),I(),G(4,"a",33),S(5,"View access settings"),I()());a&2&&(a=Q(2),F("ngClass",Bg(5,Mjb,Njb(a),Ojb(a))),A(),F("name","alert")("size","small"),A(2),T("",Pjb(a),"\u00a0"),A(),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Ye))},Xkb=function(a){if(a&
1){var b=v();G(0,"div",147)(1,"b-recaptcha",148);N("onUpdate",function(c){x(b);var d=Q(2);return y(d.recaptchaResponse=c)});I()()}},blb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",19)(2,"div",20)(3,"div",21)(4,"label",50);S(5,"Title");I()();G(6,"div",51)(7,"input",52);N("ngModelChange",function(c){x(b);var d=Q();return y(d.setTitle(c))})("blur",function(){x(b);var c=Q();return y(gkb(c))});I();E(8,fkb,1,1,"llm-suggest-title-button",53);I();E(9,hkb,1,0,"llm-suggest-title-preview",54)(10,ikb,4,
1,"p",55);I();E(11,kkb,12,5,"div",25)(12,mkb,14,9,"div",25);I();E(13,qkb,5,3,"div",56);L(14);G(15,"div",19);E(16,rkb,6,2,"div",57)(17,ukb,8,5,"div",58);I();G(18,"div",19);E(19,vkb,6,2,"div",59);I();M();G(20,"div",60)(21,"div",19)(22,"div",20)(23,"div",21)(24,"label",61);S(25,"Description");I()();G(26,"b-comment-box",62);vg("commentChange",function(c){x(b);var d=Q();ug(d.comment,c)||(d.comment=c);return y(c)});N("onChange",function(){x(b);var c=Q();return y(c.saveCommentDraft())})("onSubmit",function(c){x(b);
var d=Q();return y(Ykb(d,c,!c.shiftKey))})("onRestrict",function(){x(b);var c=Q();return y(c.showNewContentJudgementDialog())});E(27,wkb,4,1,"p",63);G(28,"b-markdown-toggle",64);N("change",function(c){x(b);var d=Q();return y(d.comment.formattingMode=c)});I()()()();E(29,zkb,7,4,"div",65);K(30,"div",66);G(31,"div",67);E(32,Tkb,65,21,"mat-expansion-panel",68);I();E(33,Vkb,2,3)(34,Wkb,6,8,"div",16)(35,Xkb,2,0,"div",69);G(36,"div",70)(37,"b-button",71);N("onAction",function(c){x(b);var d=Q();return y(Ykb(d,
c,!0))});S(38);I();G(39,"b-button",72);N("onAction",function(c){x(b);var d=Q();return y(Ykb(d,c,!1))});S(40);I();G(41,"b-button",73);N("onAction",function(){x(b);var c=Q();c.draftStore.$window.sessionStorage.removeItem(jp("0"));Zkb(c.reloadService);return y()});S(42," Discard ");I()()()()}a&2&&(a=Q(),A(7),Qf("invalid",a.titleBannedWordsChecker.showWarning()),F("ngModel",a.issue.title)("bFocus",a.newIssueStarted),A(),F("ngIf",a.enableSuggestTitle),A(),F("ngIf",a.enableSuggestTitle),A(),F("ngIf",a.titleBannedWordsChecker.showWarning()),
A(),F("ngIf",a.canEditIssuesInComponent),A(),F("ngIf",a.canEditIssuesInComponent),A(),F("ngIf",!a.shouldShowSimilarIssues),A(3),F("ngIf",a.canEditIssuesInComponent),A(),F("ngIf",a.canEditIssuesInComponent),A(2),F("ngIf",a.canEditIssuesInComponent),A(7),F("supportsPreview",!0),tg("comment",a.comment),F("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("componentId",null==a.selectedComponent?null:a.selectedComponent.componentId)("placeholder",a.piiWarningMessage)("idForAriaLabel",
a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("ngClass",Ag(38,$kb,Yjb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning()),A(),F("ngIf",a.descriptionBannedWordsChecker.showWarning()),A(),F("initialValue",a.comment.formattingMode),A(),F("ngIf",a.canEditIssuesInComponent&&!!aq(a.selectedComponent)),A(3),F("ngIf",a.canEditIssuesInComponent),A(),Uf(a.shouldShowSimilarIssues&&a.issue.componentId&&!a.submitRequested?33:-1),A(),F("ngIf",Njb(a)||
Ojb(a)),A(),F("ngIf",a.enableRecaptcha),A(2),F("disabled",alb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),A(),T(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway":"Create"," "),A(),F("disabled",alb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),A(),T(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?
"Create Anyway & Start Another":"Create & Start Another"," "),A(),F("disabled",alb(a)))},clb=function(a){if(a&1){var b=v();G(0,"b-magic-box",149);N("headerChange",function(d){x(b);var e=Q();return y(e.magicBoxHeader=d)});I()}if(a&2){var c;a=Q();F("componentId",null!==(c=a.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap)}},dlb=function(a,b){a&1&&(G(0,"h2",150),S(1,"This component has a default description"),I(),G(2,"mat-dialog-content"),
S(3," You have already entered a description, but the component you chose has a default description: "),G(4,"div",151),S(5),I()(),G(6,"mat-dialog-actions")(7,"button",152),S(8,"Use component description"),I(),G(9,"button",153),S(10,"Keep my description"),I()());a&2&&(a=b.$implicit,A(5),rg(a),A(2),F("mat-dialog-close",!0))},elb=function(a,b){a&1&&(G(0,"mat-option",157),S(1),I());a&2&&(a=b.$implicit,fg("value",a),A(),T(" ",a," "))},glb=function(a){if(a&1){var b=v();G(0,"mat-form-field",154)(1,"mat-select",
155);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.collaboratorGroupsText,c)||(d.collaboratorGroupsText=c);return y(c)});G(2,"mat-select-trigger");S(3);I();E(4,elb,2,2,"mat-option",156);I()()}a&2&&(a=Q(),A(),tg("ngModel",a.collaboratorGroupsText),F("ngModelOptions",zg(4,flb)),A(2),rg(a.getCollaboratorGroupsString()),A(),F("ngForOf",a.trackerCollaboratorGroups))},hlb=function(a,b){b.assigneeText=Vk(a.assigneeUser);b.reporterText=Vk(a.reporterUser);b.verifierText=Vk(a.verifierUser);b.collaboratorsText=
Wk(a.collaboratorsUsers);b.ccsText=Wk(a.ccUsers)},ilb=function(a,b){var c=a.assigneeText;null===c?c=null:(c=c.trim(),c=c.endsWith(",")?c.slice(0,c.length-1):c);a.assigneeText=c;null!=a.assigneeText&&(b.assigneeUser=bl(a.assigneeText));null!=a.reporterText&&(b.reporterUser=bl(a.reporterText));null!=a.verifierText&&(b.verifierUser=bl(a.verifierText));a.collaboratorsText&&(c=Rwa(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Rwa(a.ccsText),a.length?b.ccUsers=
a:b.ccUsers=void 0)},klb=function(a,b){for(var c=k(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=jlb[d];"customField"===d||ki(e,f)||(Array.isArray(e)?a[d]?(e=Vra([].concat(u(e),u(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},llb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},mlb=function(a){var b={};a=k(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},
nlb=function(a){return function(b){var c=vNa(b.snapshot.customField,function(l){return l.customFieldId}),d=[],e,f,h=null!=(f=null==(e=a.componentPathInfo)?void 0:e.allCustomField)?f:[];e=k(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})})}},olb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",
12);N("starClicked",function(){x(b);var c=Q(2);return y(c.toggleStar())});I()}a&2&&(a=Q(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},plb=function(a){a&1&&K(0,"b-star-toggle",13);a&2&&F("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)},qlb=function(a){if(a&1){var b=v();G(0,"div")(1,
"div",7);E(2,olb,1,3,"b-star-toggle",8)(3,plb,1,4,"b-star-toggle",9);G(4,"span",10);S(5);G(6,"span")(7,"button",11);N("click",function(){x(b);var c=Q();return y(c.editBookmarkGroup())});I()()()()()}a&2&&(a=Q(),A(2),F("ngIf",!a.isAdmin),A(),F("ngIf",a.isAdmin),A(2),T("",a.bookmarkGroup.name," "))},tlb=function(a){if(a&1){var b=v();G(0,"b-saved-search-panel",17);N("focusedRowIndexChange",function(f){x(b);var h=Q().$implicit,l=Q();return y(rlb(l,h,f))})("selectionChange",function(f){x(b);var h=Q(2);
return y(slb(h,f))})("resultsLoaded",function(f){x(b);var h=Q(2);return y(h.loadHotlists(f))});I()}if(a&2){var c=Q();a=c.$implicit;var d=c.first;c=c.last;var e=Q();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},ulb=function(a){if(a&1){var b=v();G(0,"b-hotlist-panel",18);N("focusedRowIndexChange",function(f){x(b);var h=Q().$implicit,l=Q();return y(rlb(l,h,f))})("selectionChange",function(f){x(b);var h=Q(2);return y(slb(h,
f))})("resultsLoaded",function(f){x(b);var h=Q(2);return y(h.loadHotlists(f))});I()}if(a&2){var c=Q();a=c.$implicit;var d=c.first;c=c.last;var e=Q();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},vlb=function(a,b){a&1&&(G(0,"div",14),E(1,tlb,1,6,"b-saved-search-panel",15)(2,ulb,1,6,"b-hotlist-panel",16),I());a&2&&(F("ngSwitch",b.$implicit.type),A(),F("ngSwitchCase","SAVED_SEARCH"),A(),F("ngSwitchCase","HOTLIST"))},
wlb=function(a){if(a&1){var b=v();G(0,"button",12);N("click",function(){x(b);var c=Q();return y(c.archive())});S(1," Archive bookmark group ");I()}a&2&&(a=Q(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},xlb=function(a){if(a&1){var b=v();G(0,"button",12);N("click",function(){x(b);var c=Q();return y(c.unarchive())});S(1," Unarchive bookmark group ");I()}a&2&&(a=Q(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},ylb=function(a){a&1&&(G(0,"span",34),S(1," (archived) "),I())},Alb=function(a,
b){if(a&1){var c=v();G(0,"div")(1,"b-hotlist-chip-smart",49);N("removeHotlist",function(){var d=x(c).ngIf,e=Q(4);return y(zlb(e,d))});I()()}a&2&&(a=b.ngIf,A(),F("id",a))},Clb=function(a,b){if(a&1){var c=v();G(0,"div",50)(1,"a",51);S(2);I();G(3,"span",52);N("click",function(){var e=x(c).ngIf,f=Q(4);return y(Blb(f,e))})("keydown.enter",function(){var e=x(c).ngIf,f=Q(4);return y(Blb(f,e))})("keydown.space",function(){var e=x(c).ngIf,f=Q(4);return y(Blb(f,e))});S(4," \u00d7 ");I()()}if(a&2){a=b.ngIf;
b=Q().$implicit;var d=Q(3);A();F("href",d.paths.viewSavedSearch(a),Ye)("matTooltip","Go to saved search: "+d.getDisplayName(b));A();T(" S: ",d.getDisplayName(b)," ");A();F("matTooltip","Remove item: "+d.getDisplayName(b));Hf("aria-label","Remove item: "+d.getDisplayName(b))}},Dlb=function(a){a&1&&(G(0,"span",53),S(1,"<None>"),I())},Elb=function(a,b){a&1&&(G(0,"div",46),E(1,Alb,2,1,"div",11)(2,Clb,5,5,"div",47)(3,Dlb,2,0,"span",48),I());if(a&2){a=b.$implicit;b=Q(3);A();var c;var d="HOTLIST"===a.resourceType?
null==(c=a.hotlistId)?void 0:c.toString():void 0;F("ngIf",d);A();F("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);A();F("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},Glb=function(a,b){if(a&1){var c=v();G(0,"button",61);N("click",function(){var d=x(c).$implicit,e=Q(5);return y(Flb(e,d))});S(1);I()}a&2&&(a=b.$implicit,A(),T("",a.name," "))},Hlb=function(a){a&1&&E(0,Glb,2,1,"button",60);a&2&&(a=Q(4),F("ngForOf",a.savedSearchChoices))},Ilb=function(a){a&
1&&(G(0,"div",54)(1,"label",55),S(2,"Add from saved searches:"),I(),G(3,"button",56)(4,"span",57),S(5,"Select"),I(),K(6,"mat-icon",58),I(),G(7,"mat-menu",null,3),E(9,Hlb,1,1,"ng-template",59),I()());a&2&&(a=R(8),A(3),F("matMenuTriggerFor",a))},Nlb=function(a){if(a&1){var b=v();L(0);G(1,"div",32)(2,"label",35)(3,"span",22);S(4,"Selected items");I()();G(5,"div",36,2);E(7,Elb,4,3,"div",37);I()();G(8,"div",38)(9,"div",39)(10,"label",40);S(11,"Add hotlist from favorites:");I();G(12,"b-hotlist-picker",
41);N("onApply",function(c){x(b);var d=Q(2);return y(Jlb(d,c))})("onCreate",function(c){x(b);var d=Q(2);return y(Klb(d,c))})("onLoad",function(c){x(b);var d=Q(2);return y(Llb(d,c))});I()();G(13,"div",42)(14,"label",43);S(15,"Add hotlist by query:");I();G(16,"b-hotlist-search",44);N("itemSelect",function(c){x(b);var d=Q(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(Mlb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));
return y()});I()();E(17,Ilb,10,1,"div",45);I();M()}a&2&&(a=Q(2),A(7),F("ngForOf",a.bookmarkGroupUnderEdit.item),A(5),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),A(4),F("showGroups",!1)("allowStarring",!1),A(),F("ngIf",0<a.savedSearchChoices.length))},Plb=function(a){a&1&&(G(0,"span"),S(1),G(2,"a",65),S(3),I()());if(a&2){a=Q().$implicit;var b=Q(3);A();T(" Hotlist ",a.hotlistId,": ");A();F("href",Olb(b,a),Ye);A();T(" ",a.name||"(name not available)"," ")}},
Qlb=function(a){a&1&&(G(0,"span"),S(1),G(2,"a",65),S(3),I()());if(a&2){a=Q().$implicit;var b=Q(3);A();T(" Saved search ",a.savedSearchId,": ");A();F("href",Olb(b,a),Ye);A();T(" ",a.name||"(name not available)"," ")}},Rlb=function(a,b){a&1&&(G(0,"li"),E(1,Plb,4,3,"span",11)(2,Qlb,4,3,"span",11),I());a&2&&(a=b.$implicit,A(),F("ngIf","HOTLIST"===a.resourceType),A(),F("ngIf","SAVED_SEARCH"===a.resourceType))},Slb=function(a){a&1&&(G(0,"div",62)(1,"label")(2,"span",22),S(3,"Items"),I()(),G(4,"div",63)(5,
"ul"),E(6,Rlb,3,2,"li",64),I()()());a&2&&(a=Q(2),A(6),F("ngForOf",a.bookmarkGroup.item))},Tlb=function(a){if(a&1){var b=v();G(0,"div",66)(1,"button",67);N("click",function(){x(b);var c=Q(2);return y(c.saveMetadata())});S(2," Update ");I();G(3,"button",68);N("click",function(){x(b);var c=Q(2);return y(c.revertMetadataChanges())});S(4," Revert changes ");I()()}a&2&&(a=Q(2),A(),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Ulb=function(a){if(a&1){var b=v();G(0,"div",66)(1,"button",67);
N("click",function(){x(b);var c=Q(2);return y(c.saveAccessPolicy())});S(2," Update ");I();G(3,"button",68);N("click",function(){x(b);var c=Q(2);return y(c.revertAccessPolicyChanges())});S(4," Revert changes ");I()()}a&2&&(a=Q(2),A(),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Ylb=function(a){if(a&1){var b=v();L(0);G(1,"div",13)(2,"h2");S(3);I();E(4,ylb,2,0,"span",14);G(5,"a",15);S(6," (View Dashboard)");I()();G(7,"mat-tab-group",16);
vg("selectedIndexChange",function(d){x(b);var e=Q();ug(e.selectedTabIndex,d)||(e.selectedTabIndex=d);return y(d)});N("selectedIndexChange",function(d){x(b);var e=Q();return y(e.tabChange(d))});G(8,"mat-tab",17)(9,"div",18);K(10,"b-error-banner",19);G(11,"div",20)(12,"label",21)(13,"span",22);S(14,"Name");I()();G(15,"input",23,0);vg("ngModelChange",function(d){x(b);var e=Q();ug(e.bookmarkGroupUnderEdit.name,d)||(e.bookmarkGroupUnderEdit.name=d);return y(d)});I()();G(17,"div",20)(18,"label",24)(19,
"span",22);S(20,"Description");I()();G(21,"textarea",25);vg("ngModelChange",function(d){x(b);var e=Q();ug(e.bookmarkGroupUnderEdit.description,d)||(e.bookmarkGroupUnderEdit.description=d);return y(d)});I()();E(22,Nlb,18,7,"ng-container",26)(23,Slb,7,1,"ng-template",null,1,Eg)(25,Tlb,5,1,"div",27);I()();G(26,"mat-tab",28)(27,"div",18)(28,"div",20)(29,"label")(30,"span",22);S(31,"Admins");I();G(32,"p",29);S(33," Edit access controls, edit name and description, reorder items, add/remove items ");I()();
G(34,"b-multi-user-input",30);N("usersChange",function(d){x(b);var e=Q();return y(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){x(b);var e=Q();return y(e.isAdminsFieldValid=d)});I()();G(35,"div",20)(36,"label")(37,"span",22);S(38,"View only");I();G(39,"p",29);S(40," View the bookmark group ");I();G(41,"b-multi-user-input",31);N("usersChange",function(d){x(b);var e=Q();return y(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){x(b);var e=Q();return y(e.isReaderFieldValid=d)});
I()()();G(42,"div",32);S(43," See ");G(44,"a",33);S(45,"access control documentation");I();S(46," for an explanation of the settings. ");I();E(47,Ulb,5,1,"div",27);I()()();M()}if(a&2){a=R(24);var c=Q();A(3);sg(" Bookmark group ",c.bookmarkGroup.bookmarkGroupId,": ",c.bookmarkGroup.name," ");A();F("ngIf",c.isArchived());A();F("href",c.paths.dashboard(c.bookmarkGroup.bookmarkGroupId),Ye);A(2);tg("selectedIndex",c.selectedTabIndex);A(3);F("error",c.error);A();F("ngClass",Ag(28,Vlb,c.isEditDisabled()));
A(4);tg("ngModel",c.bookmarkGroupUnderEdit.name);F("disabled",c.isEditDisabled());A(2);F("ngClass",Ag(30,Vlb,c.isEditDisabled()));A(4);tg("ngModel",c.bookmarkGroupUnderEdit.description);F("disabled",c.isEditDisabled());A();F("ngIf",c.isAdmin)("ngIfElse",a);A(3);F("ngIf",c.isAdmin);A(3);F("ngClass",Ag(32,Vlb,c.isEditDisabled()));A(6);Qf("disabled",c.isEditDisabled());F("users",c.accessPolicyUnderEdit.admins);A();F("ngClass",Ag(34,Vlb,c.isEditDisabled()));A(6);Qf("disabled",c.isEditDisabled());F("users",
c.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Ag(38,Wlb,Ag(36,Xlb,c.accessPolicyUnderEdit.admins)));A(3);F("href",$o(c.documentationLinks)+"#bookmark-groups",Ye);A(3);F("ngIf",c.isAdmin)}},Zlb=function(a){if(a&1){var b=v();G(0,"button",9);N("click",function(){x(b);var c=Q();return y(c.delete())});S(1," Delete saved search ");I()}a&2&&(a=Q(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},$lb=function(a){a&1&&(L(0),G(1,"div",10)(2,"h2"),S(3," Saved search not found "),
I()(),M())},amb=function(a){if(a&1){var b=v();G(0,"div",34)(1,"button",35);N("click",function(){x(b);var c=Q(2);return y(c.saveMetadata())});S(2," Update ");I();G(3,"button",36);N("click",function(){x(b);var c=Q(2);return y(c.revertMetadataChanges())});S(4," Revert changes ");I()()}a&2&&(a=Q(2),A(),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},bmb=function(a){if(a&1){var b=v();G(0,"div",34)(1,"button",35);N("click",function(){x(b);var c=Q(2);return y(c.saveAccessPolicy())});S(2," Update ");
I();G(3,"button",36);N("click",function(){x(b);var c=Q(2);return y(c.revertAccessPolicyChanges())});S(4," Revert changes ");I()()}a&2&&(a=Q(2),A(),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},fmb=function(a){if(a&1){var b=v();L(0);G(1,"div",10)(2,"h2");S(3);I();G(4,"a",11);S(5," (View Issues)");I()();G(6,"mat-tab-group",12);vg("selectedIndexChange",function(c){x(b);var d=Q();ug(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return y(c)});
N("selectedIndexChange",function(c){x(b);var d=Q();return y(d.tabChange(c))});G(7,"mat-tab",13)(8,"div",14);K(9,"b-error-banner",15);G(10,"div",16)(11,"label",17)(12,"span",18);S(13,"Name");I()();G(14,"input",19,0);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.savedSearchUnderEdit.name,c)||(d.savedSearchUnderEdit.name=c);return y(c)});I()();G(16,"div",16)(17,"label",20)(18,"span",18);S(19,"Description");I()();G(20,"textarea",21);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.savedSearchUnderEdit.description,
c)||(d.savedSearchUnderEdit.description=c);return y(c)});S(21,"            ");I()();G(22,"div",22)(23,"label",23)(24,"span",18);S(25,"Query");I();G(26,"p",24);S(27," To modify query and display preferences, run the saved search and modify its parameters ");I();G(28,"div",25);S(29);I()()();E(30,amb,5,1,"div",26);I()();G(31,"mat-tab",27)(32,"div",14)(33,"div",16)(34,"label",28)(35,"span",18);S(36,"Admins");I();G(37,"p",24);S(38," Edit access controls, edit name and description, edit query ");I()();
G(39,"b-multi-user-input",29);N("usersChange",function(c){x(b);var d=Q();return y(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){x(b);var d=Q();return y(d.isAdminsFieldValid=c)});I()();G(40,"div",16)(41,"label",30)(42,"span",18);S(43,"View and execute search");I()();G(44,"b-multi-user-input",31);N("usersChange",function(c){x(b);var d=Q();return y(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){x(b);var d=Q();return y(d.isReaderFieldValid=c)});I()();G(45,"div",32);S(46," See ");
G(47,"a",33);S(48,"access control documentation");I();S(49," for an explanation of the settings. ");I();E(50,bmb,5,1,"div",26);I()()();M()}a&2&&(a=Q(),A(3),sg(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),A(),F("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Ye),A(2),tg("selectedIndex",a.selectedTabIndex),A(3),F("error",a.error),A(),F("ngClass",Ag(26,cmb,a.isEditDisabled())),A(4),tg("ngModel",a.savedSearchUnderEdit.name),F("disabled",a.isEditDisabled()),A(2),F("ngClass",
Ag(28,cmb,a.isEditDisabled())),A(4),tg("ngModel",a.savedSearchUnderEdit.description),F("disabled",a.isEditDisabled()),A(9),T(" ",a.savedSearch.query," "),A(),F("ngIf",a.isAdmin),A(3),F("ngClass",Ag(30,cmb,a.isEditDisabled())),A(6),Qf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.admins),A(),F("ngClass",Ag(32,cmb,a.isEditDisabled())),A(4),Qf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Ag(36,
dmb,Ag(34,emb,a.accessPolicyUnderEdit.admins))),A(3),F("href",$o(a.documentationLinks)+"#saved-searches",Ye),A(3),F("ngIf",a.isAdmin))},gmb=function(a){a&1&&(G(0,"div",8),K(1,"b-spinner"),I())},hmb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);N("change",function(c){x(b);var d=Q(2);return y(d.alertState.setValue(c.checked))});I()();G(3,"div")(4,"strong",42);S(5,"SLO Notifications");I();G(6,"div",43);S(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
I()()()}a&2&&(a=Q(2),Qf("bv2-edit-resource-readonly",a.isEditDisabled()),A(2),F("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},imb=function(a){a&1&&(G(0,"div",44),S(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),G(2,"a",45),S(3," Learn more "),I()())},kmb=function(a){if(a&1){var b=v();G(0,"b-button",50);N("onAction",function(){x(b);var c=Q(3);return y(jmb(c,!0))});S(1," Archive ");I()}a&2&&(a=Q(3),F("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},lmb=function(a){if(a&1){var b=v();G(0,"b-button",51);N("onAction",function(){x(b);var c=Q(3);return y(jmb(c,!1))});S(1," Unarchive ");I()}a&2&&(a=Q(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},mmb=function(a){if(a&1){var b=v();G(0,"div",26)(1,"b-button",46);N("onAction",function(){x(b);var d=Q(2);return y(d.saveMetadata())});S(2," Update ");I();G(3,"b-button",47);N("onAction",function(){x(b);var d=Q(2);return y(d.revertMetadataChanges())});S(4," Revert changes ");
I();E(5,kmb,2,1,"b-button",48)(6,lmb,2,1,"b-button",49);I()}if(a&2){Q();a=R(9);var c=Q();A();F("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!c.elementPickerIsValid||!!a.pending||!!a.invalid);A(2);F("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!!a.pending||!!a.invalid);A(2);F("ngIf",c.slo&&!c.slo.isArchived);A();F("ngIf",c.slo&&c.slo.isArchived)}},nmb=function(a){if(a&1){var b=v();G(0,"div",25)(1,"b-button",52);N("onAction",function(){x(b);var c=Q(2);return y(c.saveAccessPolicy())});
S(2," Update ");I();G(3,"b-button",53);N("onAction",function(){x(b);var c=Q(2);return y(c.revertAccessPolicyChanges())});S(4," Revert changes ");I()()}a&2&&(a=Q(2),A(),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},omb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",9)(2,"h2")(3,"span",10);S(4);I()()();G(5,"mat-tab-group",11);vg("selectedIndexChange",function(c){x(b);var d=Q();ug(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return y(c)});N("selectedIndexChange",
function(c){x(b);var d=Q();return y(d.tabChange(c))});G(6,"mat-tab",12)(7,"div",13)(8,"form",14,0)(10,"div",15)(11,"label",16)(12,"span",17);S(13,"Name");I()();G(14,"input",18);N("ngModelChange",function(c){x(b);var d=Q();return y(d.editableCopy.name=c)});I()();G(15,"div",15)(16,"label",19)(17,"span",17);S(18,"Description");I()();G(19,"textarea",20);N("ngModelChange",function(c){x(b);var d=Q();return y(d.editableCopy.description=c)});S(20,"              ");I()();E(21,hmb,8,4,"div",21);I();E(22,imb,
4,0,"div",22);G(23,"div",15)(24,"slo-elements-picker",23);N("onCollectionUpdate",function(c){x(b);var d=Q();return y(d.updateCollection(c))})("onValidation",function(c){x(b);var d=Q();return y(d.elementPickerIsValid=c)});I()();G(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);N("onAction",function(){x(b);var c=Q();return y(c.showUpdateHistoryModal())});S(29," View history ");I()()();G(30,"div",25);E(31,mmb,7,4,"div",28);I()()()();G(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,
"label",32)(37,"span",17);S(38,"Admins");I();G(39,"p",33);S(40," Edit name, description and metrics ");I()();G(41,"b-multi-user-input",34);N("usersChange",function(c){x(b);var d=Q();return y(d.editableAccessPolicy.admins=c)})("isValid",function(c){x(b);var d=Q();return y(d.validity.admins=c)});I()();G(42,"div",15)(43,"label",35)(44,"span",17);S(45,"Readers");I();G(46,"p",33);S(47," View the SLO definition (this is not required to see an issue's SLO status) ");I()();G(48,"b-multi-user-input",36);N("usersChange",
function(c){x(b);var d=Q();return y(d.editableAccessPolicy.readers=c)})("isValid",function(c){x(b);var d=Q();return y(d.validity.readers=c)});I()()();G(49,"div",15);S(50," See ");G(51,"a",37);S(52,"access control documentation");I();S(53," for an explanation of the settings. ");I();E(54,nmb,5,1,"div",38);I()()()()}a&2&&(a=Q(),A(4),sg(" SLO ",a.slo.sloId,": ",a.slo.name," "),A(),tg("selectedIndex",a.selectedTabIndex),A(5),Qf("bv2-edit-resource-readonly",a.isEditDisabled()),A(4),F("required",!0)("ngModel",
a.editableCopy.name)("disabled",a.isEditDisabled()),A(),Qf("bv2-edit-resource-readonly",a.isEditDisabled()),A(4),F("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),A(2),F("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),A(),F("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),A(),Qf("bv2-edit-resource-readonly",a.isEditDisabled()),A(),F("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),A(7),F("ngIf",a.isAdmin()),A(4),Qf("bv2-edit-resource-readonly",
a.isEditDisabled()),A(6),F("users",a.editableAccessPolicy.admins),Hf("disabled",a.isEditDisabled()?!0:null),A(),Qf("bv2-edit-resource-readonly",a.isEditDisabled()),A(6),F("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),Hf("disabled",a.isEditDisabled()?!0:null),A(3),eg("href","",$o(a.documentationLinks),"#slos",Ye),A(3),F("ngIf",a.isAdmin()))},qmb=function(a){if(a&1){var b=v();G(0,"div",7);K(1,"img",8)(2,"img",9);G(3,"p",10);S(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");
I();G(5,"p",11);S(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');G(7,"a",12);S(8,"Learn more");I()();G(9,"button",13);N("click",function(){x(b);var c=Q(2);return y(pmb(c))});S(10," Add ");I()()}a&2&&(a=Q(2),A(),F("src",a.TEA_LIGHT,Ye),A(),F("src",a.TEA_DARK,Ye))},rmb=function(a,b){a&1&&K(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=Q(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},smb=function(a){a&
1&&(L(0),E(1,rmb,1,2,"b-issues-table",17),V(2,"async"),M());a&2&&(a=Q(5),A(),F("ngIf",W(2,1,a.blockedAndOpenIds$)))},tmb=function(a){a&1&&(G(0,"p",19),S(1,"Not blocking any open issues \ud83e\udd73"),I())},umb=function(a,b){a&1&&(L(0),G(1,"h4",16),S(2),I(),E(3,smb,3,3,"ng-container",14)(4,tmb,2,0,"ng-template",null,2,Eg),M());a&2&&(a=b.$implicit,b=R(5),A(2),T("Open (",a.length,")"),A(),F("ngIf",0<a.length)("ngIfElse",b))},vmb=function(a,b){a&1&&K(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=Q(6),F("issueIds",
a)("menuItemFactory",b.getMenuItems))},wmb=function(a){a&1&&(L(0),G(1,"h4",16),S(2),I(),E(3,vmb,1,2,"b-issues-table",17),V(4,"async"),M());if(a&2){a=Q().$implicit;var b=Q(4);A(2);T("Closed (",a.length,")");A();F("ngIf",W(4,2,b.blockedAndClosedIds$))}},xmb=function(a,b){a&1&&(L(0),E(1,wmb,5,4,"ng-container",4),M());a&2&&(a=b.$implicit,A(),F("ngIf",0<a.length))},ymb=function(a){a&1&&(L(0),E(1,umb,6,3,"ng-container",4),V(2,"async"),E(3,xmb,2,1,"ng-container",4),V(4,"async"),M());a&2&&(a=Q(3),A(),F("ngIf",
W(2,2,a.blockedAndOpen$)),A(2),F("ngIf",W(4,4,a.blockedAndClosed$)))},zmb=function(a,b){a&1&&(G(0,"li")(1,"a",22)(2,"span",11),S(3),I(),G(4,"aside",23),K(5,"button",24),I()()());a&2&&(a=b.$implicit,A(),Jf("aria-label","Issue ",a,""),eg("routerLink","/issues/",a,""),A(2),T("b/",a,""))},Amb=function(a){a&1&&(G(0,"h4",16),S(1,"Loading..."),I(),G(2,"ol",20),E(3,zmb,6,5,"li",21),I());a&2&&(a=Q(2).$implicit,A(3),F("ngForOf",a))},Bmb=function(a,b){a&1&&(L(0),G(1,"a",25),S(2," View as search results "),I(),
M());a&2&&(a=b.ngIf,A(),F("routerLink",a.path)("queryParams",a.params))},Cmb=function(a){if(a&1){var b=v();E(0,ymb,5,6,"ng-container",14);V(1,"async");E(2,Amb,4,1,"ng-template",null,1,Eg);G(4,"aside",15)(5,"button",13);N("click",function(){x(b);var d=Q(2);return y(pmb(d))});S(6," Add ");I();E(7,Bmb,3,2,"ng-container",4);V(8,"async");I()}if(a&2){a=R(3);var c=Q(2);F("ngIf",W(1,3,c.issuesBeingBlocked$))("ngIfElse",a);A(7);F("ngIf",W(8,5,c.searchUrl$))}},Dmb=function(a,b){a&1&&(L(0),E(1,qmb,11,2,"div",
6)(2,Cmb,9,7,"ng-template",null,0,Eg),M());a&2&&(a=b.$implicit,b=R(3),A(),F("ngIf",0===a.length)("ngIfElse",b))},Emb=function(a){a&1&&(G(0,"aside",26),K(1,"b-spinner"),I())},Fmb=function(a,b){a&1&&K(0,"b-user-image",2);a&2&&F("email",b.$implicit)},Gmb=function(a,b){if(a&1){var c=v();L(0);G(1,"button",3);N("click",function(){x(c);var d=Q(2);return y(d.limit+=d.LIMIT_INCREMENT)});S(2);I();M()}a&2&&(a=b.$implicit,A(),eg("title","",a," more participant(s). Click to show."),A(),T("",a," more"))},Hmb=function(a){a&
1&&(L(0),E(1,Gmb,3,3,"ng-container",1),M());a&2&&(a=Q(),A(),F("ngIf",a.emails.length-a.limit))},Jmb=function(a){a&1&&(G(0,"a",5),S(1),I());a&2&&(a=Q(2),F("href",a.makeCritiqueUrl(zg(2,Imb),a.pending),Ye),A(),T("(",a.pending.length," pending)"))},Kmb=function(a,b){a&1&&(G(0,"div",1),K(1,"img",2),S(2," \u00a0 "),G(3,"a",3),S(4),I(),S(5," \u00a0 "),E(6,Jmb,2,3,"a",4),I());a&2&&(a=b.$implicit,b=Q(),A(3),F("href",b.makeCritiqueUrl(b.submitted,b.pending),Ye),A(),T("",a," CLs"),A(2),F("ngIf",0<b.pending.length))},
Lmb=function(a){a&1&&(G(0,"span",5),V(1,"date"),S(2),I());a&2&&(a=Q(2),eg("title","Start Date: ",Dg(1,4,a.startDate,"longDate"),""),A(2),sg(" ",a.startDateShortStr,"",a.joinerStr," "))},Mmb=function(a){a&1&&(G(0,"span",6),V(1,"date"),S(2),I());a&2&&(a=Q(2),eg("title","End Date: ",Dg(1,3,a.endDate,"longDate"),""),A(2),T(" ",a.endDateShortStr," "))},Nmb=function(a){a&1&&(G(0,"div",1),K(1,"mat-icon",2),E(2,Lmb,3,7,"span",3)(3,Mmb,3,6,"span",4),I());a&2&&(a=Q(),A(2),F("ngIf",a.startDate),A(),F("ngIf",
a.endDate))},Omb=function(a){if(a&1){var b=v();G(0,"div",1);N("click",function(){x(b);var c=Q();return y(c.useXofYLabel=!c.useXofYLabel)});K(1,"div",2);G(2,"span");S(3);V(4,"number");I();G(5,"span");S(6);I()()}a&2&&(a=Q(),gg("title","",a.closed," of ",a.total," issues closed in this work area"),A(),Hf("style",a.makePie(a.closed/a.total),dja),A(),Qf("display-none",a.useXofYLabel),A(),T("",Dg(4,11,a.closed/a.total*100,"1.0-0"),"% complete"),A(2),Qf("display-none",!a.useXofYLabel),A(),sg("",a.closed,
" of ",a.total," closed"))},Pmb=function(a,b){a&1&&K(0,"progress-pie",5);a&2&&(a=b.$implicit,F("closed",a.closed)("total",a.total))},Rmb=function(a,b){a&1&&(K(0,"cl-counts",6),V(1,"async"));if(a&2){var c;a=b.$implicit;b=Q();F("submitted",a.changelists)("pending",null!==(c=W(1,2,b.pendingCls$))&&void 0!==c?c:zg(4,Qmb))}},Smb=function(a,b){a&1&&K(0,"avatar-bunch",7);a&2&&F("emails",b.$implicit)},Tmb=function(a,b){if(a&&a.length)return a.map(b)},Umb=function(a){var b=a.getFilename();var c=ii(a,2,hi(zi));
return{filename:b,lineNumber:c,changeNumber:a.getChangeNumber_asLegacyNumberOrString()}},Wmb=function(a){var b=ec(a,1);a=Ii(a,Vmb,2,hi(zi));return{packageName:b,fileMentionSet:Tmb(a,Umb)}},Ymb=function(a){var b=fi(a,1),c=Li(a,2);a=Ii(a,Xmb,3,hi(zi));return{totalMentions:b,truncated:c,packageMentionSet:Tmb(a,Wmb)}},Ar=function(a){var b=Zmb(a.open);a=Zmb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},Zmb=function(a){var b=a.count;a=a.exact;return 0===b||a?""+b:b+"+"},$mb=function(a){return"("+Zmb(a)+
")"},Br=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},anb=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:vc(b)}},bnb=function(a){a&1&&Yf(0)},cnb=function(a){a&1&&(L(0),E(1,bnb,1,0,"ng-container",9),M());a&2&&(Q(),a=R(15),A(),F("ngTemplateOutlet",a))},dnb=function(a,b){a&1&&(L(0),K(1,"b-issues-table",
10),M());a&2&&(a=b.ngIf,b=Q(2),A(),F("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort)("options",b.tableOptions))},enb=function(a){a&1&&(L(0),E(1,dnb,2,6,"ng-container",6),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.blockerIds$)))},fnb=function(a,b){if(a&1){var c=v();G(0,"p",11);S(1);G(2,"button",12);N("click",function(){x(c);var d=Q();return y(d.shouldResetFilters.next())});S(3,"Show all");I()()}a&2&&(a=b.$implicit,
A(),sg(" Filtering ",a," issue",1===a?"":"s",". "))},gnb=function(a){a&1&&Yf(0)},hnb=function(a){a&1&&(G(0,"div")(1,"span",11),S(2,"This issue is not blocked "),G(3,"span",13),S(4,"\ud83c\udf89"),I()(),E(5,gnb,1,0,"ng-container",9),I());a&2&&(Q(),a=R(15),A(5),F("ngTemplateOutlet",a))},jnb=function(a){if(a&1){var b=v();G(0,"b-button",14);V(1,"async");N("onAction",function(){x(b);var c=Q();return y(inb(c))});S(2," Add blocker ");I()}a&2&&(a=Q(),F("disabled",!W(1,1,a.canEdit$)))},Cr=function(a,b){return a===
b?!0:(null==a?void 0:a.type)===(null==b?void 0:b.type)&&!(null==a||!a.ancestorChain.equals(null==b?void 0:b.ancestorChain))},knb=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:vc(a)}},mnb=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=lnb(b),f=b.nextElementSibling&&lnb(b.nextElementSibling),h=b.previousElementSibling&&lnb(b.previousElementSibling);if("top"===a){var l;if((null==(l=b.previousElementSibling)?0:l.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if("bottom"===a){if(null!=f&&e<f){var q;if(null==(q=b.nextElementSibling)?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var t;if((null==(t=b.nextElementSibling)?0:t.classList.contains("dragging"))&&
e===f)return d="none",c();d="after";return c()}d="current";return c()},lnb=function(a){return Number(a.dataset.level)},nnb=function(a){var b;return Dr(null!=(b=a.dataset.ancestorchain)?b:"")},onb=function(a){a&1&&K(0,"th",30)},pnb=function(a){if(a&1){var b=v();G(0,"td",31,0);N("click",function(c){var d=x(b).$implicit,e=R(1),f=Q();e.focus();vq(f.focusManager,d);return y(c.stopPropagation())});I()}},qnb=function(a){a&1&&K(0,"th",30)},rnb=function(a){if(a&1){var b=v();G(0,"td",32,1);N("click",function(c){var d=
x(b).$implicit,e=R(1),f=Q();e.focus();vq(f.focusManager,d);return y(c.stopPropagation())})("dragstart",function(c){x(b);var d=Q();return y(d.handleDragStart(c))});K(2,"mat-icon",33);I()}},snb=function(a){a&1&&(G(0,"th",30),S(1," Id "),I())},tnb=function(a,b){a&1&&(G(0,"td",34),K(1,"b-issue-id-cell",35),I());a&2&&(a=b.$implicit,A(),F("id",a.id))},unb=function(a){a&1&&(G(0,"th",30),S(1," Id "),I())},vnb=function(a){a&1&&(G(0,"td",34),S(1,"--"),I())},wnb=function(a){a&1&&(G(0,"th",30),S(1," Title "),
I())},xnb=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"b-expandable-issue-title-cell",36);V(2,"async");V(3,"async");N("expansionChange",function(){var d=x(c).$implicit,e=Q();return y(e.toggleExpansion(d))});I()()}a&2&&(a=b.$implicit,A(),F("issue",W(2,4,a.issue$))("expandable",W(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},ynb=function(a){a&1&&(G(0,"th",30),S(1," Type "),I())},znb=function(a,b){a&1&&(G(0,"td",34),K(1,"b-issue-type-cell",37),V(2,"async"),I());a&2&&(a=b.$implicit,
A(),F("issue",W(2,1,a.issue$)))},Anb=function(a){a&1&&Yf(0)},Bnb=function(a){a&1&&(L(0),S(1,"Assignee"),M())},Cnb=function(a){a&1&&(G(0,"th",30),L(1,38),E(2,Anb,1,0,"ng-container",39)(3,Bnb,2,0,"ng-container",40),M(),I());a&2&&(a=Q(),A(),F("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(),F("ngSwitchCase","avatar-if-open"))},Dnb=function(a,b){a&1&&K(0,"b-user-image",43);a&2&&F("email",b.$implicit)},Enb=function(a){a&1&&(L(0),E(1,Dnb,1,1,"b-user-image",42),M());if(a&2){a=Q().$implicit;
var b=Q(3);A();F("ngIf",b.getAssigneeString(a))}},Fnb=function(a,b){a&1&&(L(0),E(1,Enb,2,1,"ng-container",23),M());a&2&&(a=b.$implicit,b=Q(3),A(),F("ngIf",b.isOpen(a)))},Gnb=function(a){a&1&&(L(0),E(1,Fnb,2,1,"ng-container",23),V(2,"async"),M());a&2&&(a=Q().$implicit,A(),F("ngIf",W(2,1,a.issue$)))},Hnb=function(a){a&1&&(K(0,"b-issue-assignee-cell",37),V(1,"async"));a&2&&(a=Q().$implicit,F("issue",W(1,1,a.issue$)))},Inb=function(a){a&1&&(G(0,"td",34),L(1,38),E(2,Gnb,3,3,"ng-container",39)(3,Hnb,2,
3,"b-issue-assignee-cell",41),M(),I());a&2&&(a=Q(),A(),F("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(),F("ngSwitchCase","avatar-if-open"))},Jnb=function(a){a&1&&(G(0,"th",30),S(1," Status "),I())},Knb=function(a,b){a&1&&(G(0,"td",34),K(1,"b-issue-status-cell",44),V(2,"async"),I());a&2&&(a=b.$implicit,A(),F("issue",W(2,2,a.issue$))("showPendingFix",!0))},Lnb=function(a){a&1&&(G(0,"th",30),S(1," Team "),I())},Mnb=function(a,b){a&1&&(G(0,"td",34),K(1,"b-issue-team-cell",37),V(2,
"async"),I());a&2&&(a=b.$implicit,A(),F("issue",W(2,1,a.issue$)))},Nnb=function(a){a&1&&K(0,"th",30)},Onb=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"b-actions-menu",45);N("click",function(d){x(c);return y(d.stopPropagation())});I()()}a&2&&(a=b.$implicit,b=Q(),A(),F("menuItems",b.getMenuItems(a)))},Pnb=function(a){a&1&&K(0,"th",30)},Rnb=function(a){if(a&1){var b=v();G(0,"b-actions-menu",45);N("click",function(d){x(b);return y(d.stopPropagation())});I()}if(a&2){a=Q().$implicit;var c=Q();F("menuItems",
Qnb(c,a))}},Snb=function(a){a&1&&K(0,"b-spinner")},Tnb=function(a,b){a&1&&(G(0,"td",46),E(1,Rnb,1,1,"b-actions-menu",47)(2,Snb,1,0,"ng-template",null,2,Eg),I());a&2&&(a=b.$implicit,b=R(3),A(),F("ngIf",!a.saving)("ngIfElse",b))},Vnb=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"b-async-data-placeholder",48);V(2,"async");G(3,"b-button",49);N("onAction",function(){var d=x(c).$implicit,e=Q();return y(Unb(e,d))});G(4,"span",50);S(5);I()()()()}a&2&&(a=b.$implicit,b=Q(),Pf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,
"px"),Hf("colspan",b.tableColumns.length),A(),F("isReady",!!W(2,5,a.parentIssue$)),A(4),T("Display ",a.truncatedSiblingCount," more"))},Wnb=function(a){a&1&&(G(0,"th",30),S(1," Title "),I())},Xnb=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"div",51)(2,"b-text-input-cell",52);vg("valueChange",function(d){var e=x(c).$implicit;ug(e.title,d)||(e.title=d);return y(d)});N("commit",function(){var d=x(c).$implicit,e=Q();return y(e.saveDraft(d))});I();G(3,"b-button",53);N("onAction",function(){var d=x(c).$implicit,
e=Q();return y(e.saveDraft(d))});S(4," Create ");I();G(5,"b-button",54);N("onAction",function(){var d=x(c).$implicit,e=Q();return y(Er(e,d))});S(6," Cancel ");I()()()}a&2&&(a=b.$implicit,Pf("padding-left",24*(a.level+1),"px"),A(2),tg("value",a.title),F("readonly",a.saving),A(),F("disabled",!a.title||a.saving),A(2),F("disabled",a.saving))},Ynb=function(a){a&1&&K(0,"tr",56)},Znb=function(a){a&1&&(L(0),E(1,Ynb,1,0,"tr",55),M());a&2&&(a=Q(),A(),F("matHeaderRowDef",a.tableColumns))},aob=function(a,b){if(a&
1){var c=v();G(0,"tr",57);V(1,"async");V(2,"async");N("click",function(d){var e=x(c).$implicit,f=Q();return y(f.navigateToIssue(d,e))})("mouseup",function(d){var e=x(c).$implicit,f=Q();return y(f.navigateToIssue(d,e))})("focusin",function(){var d=x(c).$implicit,e=Q();return y(vq(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,f=Q();return y(f.onRowKeydown(e,d))});I()}a&2&&(a=b.$implicit,b=Q(),Qf("selected",W(1,8,$nb(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(W(2,10,a.issue$))),
F("row",a),Hf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},bob=function(a,b){if(a&1){var c=v();G(0,"tr",58);N("focusin",function(){var d=x(c).$implicit,e=Q();return y(vq(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,f=Q();return y(f.onRowKeydown(e,d))});I()}a&2&&(a=b.$implicit,F("row",a),Hf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},cob=function(a,b){if(a&1){var c=v();G(0,"tr",59);N("keydown",
function(d){var e=x(c).$implicit,f=Q();return y(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=x(c).$implicit,e=Q();return y(Er(e,d))})("keydown.backspace",function(){var d=x(c).$implicit,e=Q();return y(d.title||Er(e,d))})("focusin",function(){var d=x(c).$implicit,e=Q();return y(vq(e.focusManager,d))});I()}a&2&&(a=b.$implicit,F("row",a),Hf("data-type",a.type))},dob=function(a,b){a&1&&(L(0),K(1,"b-issues-table",1),M());a&2&&(a=b.ngIf,b=Q(),A(),F("issueIds",a)("tableColumns",b.tableColumns)("options",
b.tableOptions)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},eob=function(a,b){a&1&&(G(0,"span",10),S(1),I());a&2&&(a=b.ngIf,eg("title","",a," applied filter(s)"),A(),rg(a))},fob=function(a){a&1&&(L(0),E(1,eob,2,3,"span",9),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.internalSelectedOptions.size$)))},gob=function(a){a&1&&(G(0,"h1",11),S(1),I());a&2&&(a=Q(),A(),rg(a.overlayTitle))},hob=function(a){a&1&&(G(0,"h1"),S(1),I());a&2&&(a=Q().$implicit,
A(),rg(a.title))},iob=function(a){a&1&&(G(0,"p"),S(1),I());a&2&&(a=Q().$implicit,A(),rg(a.description))},job=function(a,b){if(a&1){var c=v();G(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);V(3,"async");N("change",function(d){var e=x(c).$implicit,f=Q();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return y()});I();G(4,"div");E(5,hob,2,1,"h1",4)(6,iob,2,1,"p",4);I()()()}a&2&&(a=b.$implicit,b=Q(),A(2),F("checked",
W(3,3,uq(b.internalSelectedOptions,a.key))),A(3),F("ngIf",a.title),A(),F("ngIf",a.description))},kob=function(a){if(a&1){var b=v();L(0);K(1,"mat-divider");G(2,"div",15)(3,"button",16);N("click",function(){x(b);var c=Q(),d=R(1);return y(c.cancel(d))});S(4);I();G(5,"button",17);N("click",function(){x(b);var c=Q(),d=R(1);return y(c.confirm(d))});S(6);I()();M()}a&2&&(a=Q(),A(4),rg(a.cancelButtonLabel),A(2),rg(a.confirmButtonLabel))},lob=function(a){a&1&&K(0,"b-spinner")},mob=function(a){a&1&&Yf(0)},nob=
function(a){a&1&&(L(0),E(1,mob,1,0,"ng-container",26),M());a&2&&(Q(2),a=R(12),A(),F("ngTemplateOutlet",a))},oob=function(a){a&1&&(K(0,"b-parents-table",27),V(1,"async"),V(2,"async"));if(a&2){a=Q().ngIf;var b=Q();F("issueId",a)("parentIds",W(1,3,b.parentIds$))("filters",W(2,5,b.issueFilters.value$))}},pob=function(a){a&1&&Yf(0)},rob=function(a){a&1&&(L(0),E(1,pob,1,0,"ng-container",28),V(2,"async"),M());if(a&2){a=Q(2);var b=R(10);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(4,qob,W(2,2,
null==a.parentsTable?null:a.parentsTable.hiddenRowCount$)))}},sob=function(a){a&1&&Yf(0)},tob=function(a){a&1&&(G(0,"div")(1,"span",29),S(2,"This issue has no parents"),I(),E(3,sob,1,0,"ng-container",26),I());a&2&&(Q(2),a=R(12),A(3),F("ngTemplateOutlet",a))},uob=function(a){a&1&&Yf(0)},vob=function(a){a&1&&(L(0),E(1,uob,1,0,"ng-container",26),M());a&2&&(Q(2),a=R(14),A(),F("ngTemplateOutlet",a))},wob=function(a){a&1&&(G(0,"div",30)(1,"section",31)(2,"div",32),S(3," Progress: "),I(),G(4,"div",32),S(5),
V(6,"async"),V(7,"number"),V(8,"async"),V(9,"number"),I(),G(10,"div",33),V(11,"async"),G(12,"div",34),K(13,"div",35),V(14,"async"),G(15,"onedev-hovercard",null,4)(17,"div",36)(18,"div",37),S(19),V(20,"async"),I()()()()(),K(21,"mat-icon",38),G(22,"onedev-hovercard",null,5)(24,"div",36)(25,"div",39)(26,"p"),S(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. "),
I()()()()()());if(a&2){a=R(16);var b=R(23),c=Q(2);A(5);sg(" ",Dg(7,11,W(6,9,c.totalDaysComplete$),"1.0-2")," of ",Dg(9,16,W(8,14,c.totalDaysCount$),"1.0-2")," days complete ");A(5);Jf("aria-label","",W(11,19,c.totalDaysDisplayPercent$)," Percentage of effort completed");A(2);F("onedevHovercardTrigger",a);A();Pf("width",W(14,21,c.totalDaysDisplayPercent$),"%");A(6);T(" ",W(20,23,c.progressHovercardContent$)," ");A(2);F("onedevHovercardTrigger",b)}},xob=function(a){a&1&&K(0,"rollups-project",40);a&
2&&(a=Q().ngIf,F("id",a))},yob=function(a){a&1&&Yf(0)},zob=function(a){a&1&&(L(0),E(1,yob,1,0,"ng-container",28),V(2,"async"),M());if(a&2){a=Q(2);var b=R(10);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(4,qob,W(2,2,null==a.relationsTable?null:a.relationsTable.hiddenRowCount$)))}},Aob=function(a){a&1&&Yf(0)},Bob=function(a){a&1&&(L(0),G(1,"span",29),S(2,"This issue has no children"),I(),E(3,Aob,1,0,"ng-container",26),M());a&2&&(Q(3),a=R(14),A(3),F("ngTemplateOutlet",a))},Cob=function(a){a&
1&&(L(0),E(1,Bob,4,1,"ng-container",7),V(2,"async"),V(3,"async"),M());if(a&2){var b;a=Q(2);A();F("ngIf",0===W(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=W(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},Dob=function(a,b){if(a&1){var c=v();G(0,"div",12)(1,"section",13)(2,"div",14)(3,"h4",15)(4,"div",16);K(5,"mat-icon",17);I();S(6);V(7,"async");I();E(8,nob,2,1,"ng-container",7);V(9,"async");I();E(10,oob,3,7,"b-parents-table",18);V(11,"async");E(12,rob,3,6,"ng-container",
7);V(13,"async");E(14,tob,4,1,"ng-template",null,3,Eg);I();G(16,"section")(17,"b-blockers-table",19);V(18,"async");N("shouldResetFilters",function(){x(c);var h=Q();return y(h.shouldResetFilters())});I()();G(19,"section")(20,"div",20)(21,"h4",15)(22,"div",21);K(23,"mat-icon",22);I();S(24);V(25,"async");I();E(26,vob,2,1,"ng-container",7);V(27,"async");V(28,"async");I();E(29,wob,28,25,"div",23);V(30,"async");V(31,"async");E(32,xob,1,1,"rollups-project",24);K(33,"b-issue-relations-table",25);V(34,"async");
V(35,"async");V(36,"async");E(37,zob,3,6,"ng-container",7);V(38,"async");E(39,Cob,4,5,"ng-container",7);V(40,"async");I()()}if(a&2){var d,e;a=b.ngIf;b=R(15);var f=Q();A(6);T(" Parents ",W(7,18,f.counts.countParentsDisplay$)," ");A(2);F("ngIf",W(9,20,f.parentsCount$));A(2);F("ngIf",W(11,22,f.parentsCount$))("ngIfElse",b);A(2);F("ngIf",W(13,24,f.issueFilters.value$));A(5);F("filters",W(18,26,f.issueFilters.value$));A(7);T(" Child issues ",W(25,28,f.counts.countChildrenDisplay$)," ");A(2);F("ngIf",W(27,
30,f.unarchivedChildIssueCount$)||0<((null==(d=W(28,32,null==f.relationsTable?null:f.relationsTable.rows$))?null:d.length)||0));A(3);F("ngIf",f.isTotalEstimatesEnabled&&W(30,34,f.unarchivedChildIssueCount$)&&W(31,36,f.totalDaysCount$));A(3);F("ngIf",f.isInternalSession&&f.enableRollupStatsUi);A();Qf("hidden",!(null==(e=W(34,38,null==f.relationsTable?null:f.relationsTable.rows$))?0:e.length)&&!W(35,40,null==f.relationsTable?null:f.relationsTable.hiddenRowCount$));eg("saveExpansionAtKey","project-expansion-",
a,"");F("rootIssueId",a)("filters",W(36,42,f.issueFilters.value$));A(4);F("ngIf",W(38,44,f.issueFilters.value$));A(2);F("ngIf",null!==W(40,46,f.unarchivedChildIssueCount$))}},Eob=function(a){if(a&1){var b=v();G(0,"p",29);S(1);G(2,"button",42);N("click",function(){x(b);var c=Q(2);return y(c.issueFilters.reset([]))});S(3,"Show all");I()()}a&2&&(a=Q().filteredCount,A(),sg(" Filtering ",a," issue",1===a?"":"s",". "))},Fob=function(a,b){a&1&&E(0,Eob,4,2,"p",41);a&2&&F("ngIf",b.filteredCount)},Hob=function(a){if(a&
1){var b=v();G(0,"b-button",43);V(1,"async");N("onAction",function(){x(b);var c=Q();return y(Gob(c))});S(2," Add parent ");I()}a&2&&(a=Q(),F("disabled",!W(1,1,a.canEdit$)))},Iob=function(a){if(a&1){var b=v();G(0,"b-button",46);V(1,"async");N("onAction",function(){x(b);var c=Q(2);return y(c.createChild())});S(2," Create new child ");I()}a&2&&(a=Q(2),F("disabled",!W(1,1,a.canEdit$)))},Job=function(a){if(a&1){var b=v();E(0,Iob,3,3,"b-button",44);G(1,"b-button",45);V(2,"async");N("onAction",function(){x(b);
var c=Q();return y(c.addChild())});S(3," Add existing child ");I()}a&2&&(a=Q(),F("ngIf",a.isNonPublicSession),A(),F("disabled",!W(2,2,a.canEdit$)))},Kob=function(a,b){return(0,X.combineLatest)([a,b]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},Lob=function(a){return 1===a?a+" day":a+" days"},Mob=function(a){a&1&&(G(0,"a",2),S(1),I());a&2&&(a=Q(2),F("routerLink",a.searchPageUrl),A(),T(" ",a.count," Issues "))},Nob=function(a){a&1&&
E(0,Mob,2,2,"a",3);a&2&&(a=Q(),F("ngIf",null!=a.count))},Oob=function(a){a&1&&S(0);a&2&&(a=Q(),T(" ",a.count," Issues "))},Pob=function(a,b){a&1&&K(0,"avatar-bunch",7);a&2&&F("emails",b.$implicit)},Qob=function(a,b){a&1&&(G(0,"a",8),S(1," View in TaskFlow "),K(2,"mat-icon",9),I());a&2&&F("href",b.$implicit,Ye)},Rob=function(a){a&1&&(L(0),G(1,"div",2),S(2),I(),M());if(a&2){var b;a=Q();A();Qf("muted",!a.isNumeric(a.countDisplay)||0==a.countDisplay);A();rg(null!==(b=a.countDisplay)&&void 0!==b?b:"\u00a0")}},
Tob=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:Sob(a.getMutableResponse())}}},Sob=function(a){return Ii(a,Uob,13,hi()).filter(function(b){return Zl(b,Vob,6,Wob)}).flatMap(function(b){var c;if(null==b)b=void 0;else{var d;null==(c=Ll(b,Vob,6,Wob))?d=void 0:d=Ii(c,Xob,1,hi());b=d}return b}).map(function(b){var c,d,e,f;return{citationTitle:null!=(c=null==b?void 0:b.getTitle())?c:"",url:null!=(d=null==b?void 0:b.getUrl())?d:"",iconUrl:null!=(e=null==
b?void 0:b.getIconUrl())?e:"",isExternalDocument:null!=(f=null==b?void 0:Li(b,6))?f:!1}})},Yob=function(a,b){a&1&&(K(0,"b-markdown-format-presenter",20),G(1,"div",21),S(2," AI may generate code in the response. Please review "),G(3,"a",22),S(4," go/code-ai-policy "),I(),S(5," before using it. "),I());a&2&&F("content",b)},Zob=function(a){a&1&&(G(0,"span",13),K(1,"b-spinner"),S(2," Analyzing the stack trace"),I())},$ob=function(a){a&1&&K(0,"b-issue-card",30,2);if(a&2){a=R(1);var b=Q(3).$implicit;F("onedevIsHovercardReady",
a.init)("issueId",b.issue.issueId)}},apb=function(a){a&1&&K(0,"b-changelist-card",35,2);if(a&2){a=R(1);var b=Q(3).$implicit,c=Q(6);F("onedevIsHovercardReady",a.init)("changelistId",c.Number(b))}},bpb=function(a){if(a&1){var b=v();G(0,"div",31);K(1,"mat-icon",32);G(2,"a",33);N("onedevHovercardShown",function(){x(b);var f=Q(8);Wo(f.analytics,sq.HELP_ME_FIX,"hover","relatedChangelist");return y()})("click",function(){x(b);var f=Q(8);return y(f.trackClick("relatedChangelist"))});S(3);I();G(4,"onedev-hovercard",
null,3);E(6,apb,2,2,"b-changelist-card",34);I()()}if(a&2){a=R(5);var c=Q(),d=Q().$implicit,e=Q(6);A(2);eg("href","https://critique.corp.google.com/cl/",d,"",Ye);F("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);A();T(" ",c.firstInterestingLine," ")}},cpb=function(a,b){a&1&&E(0,bpb,7,5,"div",31);a&2&&Uf(b.shouldDisplay?0:-1)},dpb=function(a,b){a&1&&(E(0,cpb,1,1),V(1,"async"));if(a&2){var c;a=b.$index;b=Q(3).$implicit;Uf((c=W(1,1,b.changelists[a]))?0:-1,c)}},epb=function(a){if(a&
1){var b=v();G(0,"div",25)(1,"div",26);K(2,"img",27);G(3,"a",28);N("onedevHovercardShown",function(){x(b);var f=Q(5);Wo(f.analytics,sq.HELP_ME_FIX,"hover","relatedIssue");return y()})("click",function(){x(b);var f=Q(5);return y(f.trackClick("relatedIssue"))});S(4);I();G(5,"onedev-hovercard",null,1);E(7,$ob,2,2,"b-issue-card",29);I()();Wf(8,dpb,2,3,null,null,Mla);I()}if(a&2){a=R(6);var c=Q(),d=Q().$implicit,e=Q(3);A(2);F("src",e.BUGANIZER_LOGO_URL,Ye);A();eg("href","/issues/",d.issue.issueId,"",Ye);
F("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);A();T(" ",c.title," ");A(4);Xf(d.issue.snapshot[0].changelist.slice(0,3))}},fpb=function(a){a&1&&E(0,epb,10,6,"div",25);a&2&&(a=Q().$implicit,Uf(a.changelists&&0<a.changelists.length?0:-1))},gpb=function(a,b){a&1&&E(0,fpb,1,1);if(a&2){var c;a=b.$implicit;Uf((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},ipb=function(a){a&1&&(G(0,"div",23)(1,"p",24),S(2,"Related fixed issues"),I(),Wf(3,gpb,1,1,null,null,hpb),I());if(a&2){a=
Q();var b=Q();F("hidden",b.isLlmLoading);A(3);Xf(a)}},jpb=function(a,b){a&1&&E(0,ipb,5,1,"div",23);a&2&&Uf(0<b.length?0:-1)},kpb=function(a){var b=!a.description.includes("CHERRYPICK=")&&!a.description.includes("ROLLBACK_OF=")&&!a.description.includes("MENDEL_SYSTEM=");var c=a.description.replace("BEGIN_PUBLIC<br>","");c=c.replaceAll(/#[\w]+[ <br>]*/g,"");return{changelist:a,shouldDisplay:b,firstInterestingLine:c.split("<br>")[0]||c}},lpb=function(a){a&1&&(G(0,"div",3),K(1,"mat-icon",4),G(2,"span",
5),S(3),V(4,"async"),I()());if(a&2){var b;a=Q();A(3);T("",null==(b=W(4,1,a.issues$))?null:b.length," parent issues")}},mpb=function(a){a&1&&(G(0,"div",3),K(1,"mat-icon",6),G(2,"span",5),S(3),V(4,"async"),I()());if(a&2){var b;a=Q();A(3);T("Blocked by ",null==(b=W(4,1,a.issues$))?null:b.length," issues")}},npb=function(a,b){a&1&&(G(0,"span"),S(1),I());a&2&&(a=b.$implicit,b=Q(4),Tf("chippy status-",a," margin-s-left"),A(),T(" ",b.STATUS_JS_TERSE[a]," "))},opb=function(a){a&1&&(L(0),G(1,"a",8)(2,"div",
9)(3,"div",10)(4,"div",11),S(5),I(),G(6,"div",12),S(7),I()(),G(8,"div",10)(9,"div",13),S(10),I(),E(11,npb,2,4,"span",14),I()()(),M());if(a&2){var b=Q();a=b.$implicit;b=b.last;var c=Q(2);A();eg("routerLink","/issues/",a.issueId,"");A();Qf("border-bottom",!b);A(3);rg(a.issueId);A(2);rg(a.snapshot[0].title);A(2);F("ngClass",c.priorityClass(a.snapshot[0].priority));A();rg(a.snapshot[0].priority);A();F("ngIf",a.snapshot[0].status)}},ppb=function(a,b){a&1&&(L(0),E(1,opb,12,9,"ng-container",2),M());a&2&&
(a=b.index,A(),F("ngIf",5>a))},rpb=function(a){if(a&1){var b=v();L(0);G(1,"div",15)(2,"button",16);N("click",function(){x(b);var c=Q(2);return y(qpb(c))});S(3,"View all parent issues");I()();M()}},spb=function(a){if(a&1){var b=v();L(0);G(1,"div",15)(2,"button",16);N("click",function(){x(b);var c=Q(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Fr(c.router,"/issues/"+c.currentIssueId+"/dependencies");return y()});S(3,"View all blockers");I()();M()}},tpb=function(a,b){a&1&&(G(0,"div"),
E(1,ppb,2,1,"ng-container",7)(2,rpb,4,0,"ng-container",2)(3,spb,4,0,"ng-container",2),I());a&2&&(a=b.$implicit,b=Q(),A(),F("ngForOf",a),A(),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),A(),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},upb=function(a){a&1&&K(0,"mat-icon",8)},vpb=function(a){a&1&&(L(0),K(1,"b-list-issues-card",9,1),M());if(a&2){a=R(2);Q();var b=R(5),c=Q();A();F("onedevIsHovercardReady",a.init)("hovercardInstance",b)("currentIssueId",
c.issueId)("issueIds",c.multiParentIssueIds)("mode",c.ListIssuesHovercardMode.PARENT_ISSUES)}},wpb=function(a){a&1&&(L(0),G(1,"a",5),S(2),I(),E(3,upb,1,0,"mat-icon",6),G(4,"onedev-hovercard",null,0),E(6,vpb,3,5,"ng-container",7),I(),M());if(a&2){a=R(5);var b=Q();A();eg("title","",b.multiParentIssueIds.length," parents at this position");F("onedevHovercardTrigger",a);A();T("",b.multiParentIssueIds.length," Parents\u2026");A();F("ngIf",1<b.multiParentIssueIds.length)}},xpb=function(a,b){a&1&&(L(0),
G(1,"b-issue-reference-widget",10),S(2),I(),K(3,"mat-icon",8),M());if(a&2){a=b.$implicit;b=b.last;var c=Q();A();F("href",c.getIssueLink(a))("issueId",a);A();c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=DFa(a)):a=String(a);rg(a);A();Qf("last",b)}},ypb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",9);V(1,"async");V(2,"async");N("starClicked",function(){x(b);var c=Q(2);return y(c.starClicked.emit())});I()}a&2&&(a=Q(2),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",
!W(1,4,uq(a.isSavingStar,a.hotlist.hotlistId)))("starred",W(2,6,uq(a.starredHotlists,a.hotlist.hotlistId))))},zpb=function(a){a&1&&(G(0,"p",10),S(1),I());a&2&&(a=Q(2),A(),T(" ",a.hotlist.description," "))},Apb=function(a){if(a&1){var b=v();G(0,"div",1)(1,"div",2)(2,"label",3);S(3);I();G(4,"span",4);E(5,ypb,3,8,"b-star-toggle",5);G(6,"a",6);N("click",function(c){x(b);return y(c.stopPropagation())})("keydown.enter",function(c){x(b);return y(c.stopPropagation())});K(7,"mat-icon",7);I()()();E(8,zpb,2,
1,"p",8);I()}a&2&&(a=Q(),A(3),T(" ",a.hotlist.name," "),A(2),F("ngIf",a.shouldShowStar(a.hotlist)),A(),F("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),A(2),F("ngIf",!a.isCompact&&a.hotlist.description))},Bpb=function(a){a&1&&Yf(0)},Cpb=function(a){a&1&&(L(0),E(1,Bpb,1,0,"ng-container",9),M());a&2&&(Q(),a=R(12),A(),F("ngTemplateOutlet",a))},Dpb=function(a){a&1&&Yf(0)},Epb=function(a){a&1&&(L(0),E(1,Dpb,1,0,"ng-container",9),M());a&2&&(Q(),a=R(6),A(),F("ngTemplateOutlet",a))},Hpb=function(a){if(a&
1){var b=v();G(0,"button",10);N("click",function(){x(b);var c=Q();return y(Fpb(c))});S(1," Create ");I()}a&2&&(a=Q(),F("disabled",!(0<Gpb(a).length)))},Ipb=function(a){if(a&1){var b=v();G(0,"button",11);N("click",function(){x(b);var c=Q();return y(Gr(c))});S(1);I()}a&2&&(a=Q(),F("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),Hf("aria-label",a.saveBtnTooltip),A(),T(" ",a.saveBtnLabel," "))},Kpb=function(a){if(a&1){var b=v();G(0,"button",20);N("click",function(){x(b);var c=
Q(2),d=qi(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Gr(c)):Jpb(c,d);return y()});S(1);V(2,"async");G(3,"span",21);S(4,"(add hotlist by ID)");I()()}a&2&&(a=Q(2),A(),T(" ",W(2,1,a.query$)," "))},Lpb=function(a){if(a&1){var b=v();G(0,"button",22);N("click",function(){x(b);Q(2).showCreateNewPane=!0;return y()});S(1);V(2,"async");G(3,"span",21);S(4,"(create new)");I()()}a&2&&(a=Q(2),A(),T(" ",W(2,1,a.query$)," "))},Mpb=function(a,b){if(a&1){var c=v();L(0);G(1,"div",25,6);V(3,
"async");G(4,"mat-list-option",26);V(5,"async");N("focus",function(){x(c);var f=R(2);return y(f.show())})("blur",function(){x(c);var f=R(2);return y(f.hide())});G(6,"hotlist-matlist-option",27);N("starClicked",function(){var f=x(c).$implicit,h=Q(3);return y(h.toggleStar(f.hotlistId))});I()()();M()}if(a&2){var d,e;a=b.$implicit;b=Q(3);A();F("matTooltip",!1===(null==(d=W(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");A(3);Pf("height","auto");F("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",
!1===(null==(e=W(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);A(2);F("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},Npb=function(a){if(a&1){var b=v();L(0);G(1,"div",28)(2,"span",21);S(3," The number of hotlists is too large to show at once. ");I();G(4,"button",29);N("click",function(){x(b);var c=Q(3);return y(c.forceShowOverflow$.next(!0))});S(5," Show all anyway ");I()();M()}},Opb=function(a,b){if(a&1){var c=v();L(0);G(1,"mat-selection-list",
23);N("selectionChange",function(d){x(c);var e=Q(2);return y(e.onChangeMatList(d))})("keydown.meta.enter",function(){x(c);var d=Q(2);return y(d.usePreviousSelectedHotlists=!0)})("keydown.shift.enter",function(){x(c);var d=Q(2);return y(d.usePreviousSelectedHotlists=!0)})("keydown.control.enter",function(){x(c);var d=Q(2);return y(d.usePreviousSelectedHotlists=!0)});E(2,Mpb,7,14,"ng-container",24);I();E(3,Npb,6,0,"ng-container",19);V(4,"async");M()}a&2&&(a=b.$implicit,b=Q(2),A(2),F("ngForOf",a)("ngForTrackBy",
b.trackByHotlistId),A(),F("ngIf",W(4,3,b.isOverflowMode$)))},Ppb=function(a){if(a&1){var b=v();G(0,"header",12)(1,"h2");S(2,"Search for Hotlists");I();G(3,"div",13);K(4,"mat-icon",14);G(5,"input",15,4);N("input",function(){x(b);var c=R(6);Q().query$.next(c.value);return y()});I()()();G(7,"section",16,5);E(9,Kpb,5,3,"button",17);V(10,"async");E(11,Lpb,5,3,"button",18);V(12,"async");E(13,Opb,5,5,"ng-container",19);V(14,"async");I()}a&2&&(a=Q(),A(9),F("ngIf",W(10,3,a.showLoadById$)),A(2),F("ngIf",W(12,
5,a.showCreateNew$)),A(2),F("ngIf",W(14,7,a.visibleHotlists$)))},Qpb=function(a){a&1&&(G(0,"header",12)(1,"h2"),S(2,"Create new hotlist"),I()(),G(3,"section",30)(4,"div",31)(5,"form",32)(6,"label",33),S(7,"Name"),I(),K(8,"input",34),G(9,"label",35),S(10,"Description"),I(),K(11,"textarea",36),G(12,"p",21),S(13," Note: Access controls can be adjusted after the hotlist is created. "),I()()()());a&2&&(a=Q(),A(5),F("formGroup",a.hotlistUnderEdit))},Rpb=function(a,b){return a.name.localeCompare(b.name)},
Spb=function(a,b){if(null==a||""===a.trim())return!1;b=b.map(function(c){var d;return null==(d=c.name)?void 0:d.toLowerCase()});a=a.toLowerCase();return!b.includes(a)},Tpb=function(a){var b,c=null!=(b=null==a?void 0:a.added.length)?b:0,d;b=null!=(d=null==a?void 0:a.removed.length)?d:0;return a?0<c&&0===b?["Add ("+c+")","Add "+c+" hotlist(s)"]:0===c&&0<b?["Remove ("+b+")","Remove "+b+" hotlist(s)"]:["Save","Save all changes ("+c+" added, "+b+" removed)"]:["Save","(No changes)"]},Vpb=function(a,b){if(a&
1){var c=v();G(0,"button",1);V(1,"async");N("click",function(){x(c);var d=Q();return y(Upb(d))});S(2);I()}a&2&&(a=b.ngIf,b=Q(),F("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===W(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),A(2),T(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},Wpb=function(a){a&1&&Yf(0)},Xpb=function(a){a&1&&(L(0),E(1,Wpb,1,0,"ng-container",5),M());a&2&&(a=Q(),A(),F("ngTemplateOutlet",a.content))},Ypb=function(a,b){if(a&
1){var c=v();G(0,"button",13);N("click",function(e){var f=x(c).$implicit;return y(f.action(e))});K(1,"mat-icon",14);S(2);I()}if(a&2){var d;a=b.$implicit;F("disabled",a.disabled)("title",a.title);Hf("aria-label",a.title);A();F("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");A();T(" ",a.label," ")}},Zpb=function(a){if(a&1){var b=v();L(0);G(1,"button",15);N("click",function(d){x(b);var e=Q(2);d.stopPropagation();d.preventDefault();var f;null==(f=e.helpHover)||f.toggle();return y()});K(2,"mat-icon",16);
S(3," Retention: ");K(4,"retention-text",17);S(5," \u00a0 ");K(6,"help-hover",18);I();M()}if(a&2){a=Q().ngIf;var c=R(14);A(4);F("retentionState",a.retentionState);A(2);F("content",c)}},$pb=function(a){a&1&&(L(0),K(1,"retention-help-text",19),M());a&2&&(a=Q(2).ngIf,A(),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},aqb=function(a){a&1&&E(0,$pb,2,2,"ng-container",3);a&2&&(a=Q().ngIf,F("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},bqb=function(a,b){if(a&1){var c=
v();L(0);K(1,"b-app-vote-button",4)(2,"hotlist-picker-btn",5);G(3,"smart-dupe-btn",6,0);N("onHotkey",function(){x(c);var e=R(4);return y(Upb(e))});I();G(5,"b-notification-menu",7);N("subscriptionChange",function(e){x(c);var f=Q();return y(f.updateSubscription(e))})("showNotificationSettings",function(e){x(c);var f=Q();return y(f.showNotificationSettings(e))});I();K(6,"insights-graph-menu-smart",8);G(7,"button",9);K(8,"mat-icon",10);I();G(9,"mat-menu",11,1);E(11,Ypb,3,5,"button",12)(12,Zpb,7,2,"ng-container",
3);I();E(13,aqb,1,1,"ng-template",null,2,Eg);M()}if(a&2){a=b.ngIf;b=R(10);var d=Q();A();F("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);A();F("issueId",a.issueId);A();F("issueId",a.issueId)("hotkey",d.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);A(2);F("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);A();F("iconOnly",!0);A();F("matMenuTriggerFor",b);A(4);F("ngForOf",a.menuItems);A();F("ngIf",d.retentionEnabled)}},cqb=function(a){a&1&&(G(0,"h3",7,0),S(2),I());
a&2&&(a=Q(),Hf("title",a.isLongTitle?a.titlePlain:""),A(2),T(" ",a.titleTruncated," "))},eqb=function(a){if(a&1){var b=v();G(0,"mat-form-field",8)(1,"input",9,1);N("keyup",function(c){x(b);var d=Q();return y(dqb(d,c))})("blur",function(){x(b);var c=Q();return y(c.bannedWordsChecker.showWarning()?"":dqb(c))});I()()}a&2&&(a=Q(),Pf("width",a.editModeWidth,"px"),Qf("banned-words-warning",a.bannedWordsChecker.showWarning()),A(),F("value",a.titlePlain))},gqb=function(a){if(a&1){var b=v();G(0,"button",10);
N("click",function(){x(b);var c=Q();return y(c.isEditMode?dqb(c):fqb(c))});K(1,"mat-icon",11);I()}a&2&&(a=Q(),F("disabled",a.disabled))},hqb=function(a){a&1&&(G(0,"p",12),S(1),G(2,"a",13),S(3," Learn more "),I()());a&2&&(a=Q(),A(),T(" ",Dq(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},iqb=function(){},jqb=function(a){a&1&&(G(0,"output"),S(1),V(2,"async"),I());if(a&2){a=Q().ngIf;var b=Q();A();sg(" ",a," of ",W(2,2,b.currentSearchResults.totalText$),
" ")}},nqb=function(a,b){if(a&1){var c=v();L(0);E(1,jqb,3,4,"output",0);G(2,"span",1)(3,"button",2);V(4,"async");N("onHotkey",function(){x(c);var d=Q();return y(kqb(d.currentSearchResults))})("click",function(){x(c);var d=Q();return y(kqb(d.currentSearchResults))});K(5,"mat-icon",3);I();G(6,"button",4);V(7,"async");N("onHotkey",function(){x(c);var d=Q();return y(lqb(d.currentSearchResults))})("click",function(){x(c);var d=Q();return y(lqb(d.currentSearchResults))});K(8,"mat-icon",5);I()();M()}a&2&&
(a=b.ngIf,b=Q(),A(),F("ngIf",-1!==a),A(),F("ngClass",Ag(10,mqb,-1===a)),A(),F("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!W(4,6,b.currentSearchResults.hasPreviousIssue$)),A(3),F("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!W(7,8,b.currentSearchResults.hasNextIssue$)))},oqb=function(a){a&1&&K(0,"b-issue-visibility-chip",6);a&2&&(a=Q(3).$implicit,F("issueId",a.issueId))},pqb=function(a){a&1&&E(0,oqb,1,1,"b-issue-visibility-chip",6);a&2&&(a=Q(2).$implicit,Uf(a.hasAccessIndicator?0:-1))},
qqb=function(a){a&1&&K(0,"b-component-access-level-indicator",3);a&2&&(a=Q(2).$implicit,F("accessLevel",a.accessLevel))},rqb=function(a){a&1&&K(0,"b-access-limits-chip",7);a&2&&(a=Q(2).$implicit,F("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},sqb=function(a){a&1&&K(0,"b-retention-chip",8);a&2&&(a=Q(2).$implicit,F("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},tqb=function(a){a&1&&(G(0,"div",2),E(1,pqb,1,1)(2,
qqb,1,1,"b-component-access-level-indicator",3)(3,rqb,1,3,"b-access-limits-chip",4)(4,sqb,1,3,"b-retention-chip",5),I());if(a&2){a=Q().$implicit;var b=Q();A();Uf(b.enableNewVisibilityChips?1:a.isShowingPublicPartner?2:-1);A(2);F("ngIf",a.isAccessLimited);A();F("ngIf",a.isShowingRetention)}},uqb=function(a,b){a&1&&(L(0),E(1,tqb,5,3,"div",1),M());a&2&&(a=b.$implicit,A(),F("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},vqb=function(a){a&1&&(G(0,"div",4),K(1,"mat-icon",5),
S(2),V(3,"async"),I());if(a&2){a=Q();var b=R(4);F("onedevHovercardTrigger",b);A(2);T("",W(3,2,a.teamName$)," ")}},wqb=function(a){a&1&&Yf(0)},xqb=function(a){a&1&&(L(0),E(1,wqb,1,0,"ng-container",24),M());a&2&&(Q(),a=R(12),A(),F("ngTemplateOutlet",a))},yqb=function(a,b){a&1&&K(0,"ancestors-breadcrumbs",31);a&2&&(a=b.ngIf,b=Q(3),F("ancestors",a)("issueId",b.issueId))},zqb=function(a){a&1&&(L(0),K(1,"b-component-breadcrumb-chip",27),V(2,"async"),G(3,"div",28),E(4,yqb,1,2,"ancestors-breadcrumbs",29),
V(5,"async"),K(6,"b-issue-id-picker",30),V(7,"async"),V(8,"async"),V(9,"async"),I(),M());a&2&&(a=Q(2),A(),F("componentId",W(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),A(3),F("ngIf",W(5,10,a.ancestors$)),A(2),F("issueId",a.issueId)("componentId",W(7,12,a.componentId$))("issueTitle",W(8,14,a.issueTitle$))("isExternalIssue",!!W(9,16,a.isWithinExternalComponent$)))},Aqb=function(a){if(a&1){var b=v();G(0,"b-team-chip",25);V(1,"async");V(2,"async");N("onTeamLoaded",function(){x(b);var c=
Q();return y(c.isTeamLoaded=!0)});I();E(3,zqb,10,18,"ng-container",26)}a&2&&(a=Q(),F("componentId",W(1,3,a.componentId$))("teamId",W(2,5,a.teamId$)),A(3),F("ngIf",a.isTeamLoaded))},Bqb=function(a){a&1&&(L(0),K(1,"b-component-breadcrumb-chip",32),V(2,"async"),G(3,"div",33),K(4,"b-issue-id-picker",34),V(5,"async"),V(6,"async"),V(7,"async"),I(),M());a&2&&(a=Q(2),A(),F("componentId",W(2,6,a.componentId$))("issueId",a.issueId),A(3),F("issueId",a.issueId)("componentId",W(5,8,a.componentId$))("issueTitle",
W(6,10,a.issueTitle$))("isExternalIssue",!!W(7,12,a.isWithinExternalComponent$)))},Cqb=function(a){if(a&1){var b=v();G(0,"b-team-chip",25);V(1,"async");V(2,"async");N("onTeamLoaded",function(){x(b);var c=Q();return y(c.isTeamLoaded=!0)});I();E(3,Bqb,8,14,"ng-container",26)}a&2&&(a=Q(),F("componentId",W(1,3,a.componentId$))("teamId",W(2,5,a.teamId$)),A(3),F("ngIf",a.isTeamLoaded))},Dqb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().$implicit,A(),T(" ",a," "))},Eqb=function(a,b){a&1&&(G(0,"div",35),K(1,
"mat-icon",36),E(2,Dqb,2,1,"ng-container",26),I());a&2&&(a=b.$implicit,Q(),b=R(37),F("onedevHovercardTrigger",b),A(2),F("ngIf",2<=a))},Fqb=function(a){a&1&&(L(0),K(1,"b-list-issues-card",37,3),V(3,"async"),M());if(a&2){a=R(2);var b=Q(),c=R(37);A();F("onedevIsHovercardReady",a.init)("hovercardInstance",c)("currentIssueId",b.issueId)("issueIds",W(3,5,b.blockedByids$))("mode",b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},Gqb=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},Hqb=function(a){if(0!==
a.length)return 1===a.length?Hr.ISSUE(a[0]):Hr.ISSUE_LIST},Iqb=function(a,b){a&1&&(G(0,"div",1),K(1,"img",2),G(2,"h3"),S(3),I(),G(4,"a",3),V(5,"async"),S(6),I()());a&2&&(a=b.$implicit,b=Q(),A(),F("src",null==a.branding?null:a.branding.logoUrl,Ye),A(2),T("This issue is a part of the ",a.name," tracker."),A(),F("href",W(5,4,b.trackerRedirectUrl$),Ye),A(2),T(" View in ",a.name," Tracker "))},Jqb=function(a){a&1&&(G(0,"div")(1,"ol")(2,"li")(3,"label"),S(4,"Issue ID"),I(),G(5,"output"),S(6),I()(),G(7,
"li")(8,"label"),S(9,"Type"),I(),G(10,"output"),S(11),I()(),G(12,"li")(13,"label"),S(14,"Status"),I(),G(15,"output"),S(16),I()()()());a&2&&(a=Q(2),A(6),rg(a.issueId),A(5),rg(a.issueType),A(5),rg(a.issueStatus))},Kqb=function(a){a&1&&(G(0,"div",1)(1,"div",2),K(2,"img",3),V(3,"async"),K(4,"mat-icon",4)(5,"img",3),V(6,"async"),I(),G(7,"h3",5),S(8),V(9,"async"),I(),E(10,Jqb,17,3,"div",6),G(11,"div",7)(12,"a",8),V(13,"async"),S(14,"Continue"),I()()());a&2&&(a=Q(),A(2),F("src",W(3,5,a.currentTrackerLogo$),
Ye),A(3),F("src",W(6,7,a.trackerLogo$),Ye),A(3),T(" Redirecting to ",W(9,9,a.trackerName$)," "),A(2),F("ngIf",null!=a.issue),A(2),F("href",W(13,11,a.trackerRedirectUrl$),Ye))},Lqb=function(a,b){if(a instanceof Element){var c=Bi(window.sessionStorage.getItem(b));if(null!=c){a.scrollTo(0,c);var d=new ResizeObserver(function(){a.scrollTo(0,c);d.disconnect()});d.observe(a);setTimeout(function(){a.scrollTo(0,c);d.disconnect()},100)}}},Mqb=function(a,b){a&1&&(G(0,"h2",8),S(1),I());a&2&&(a=b.ngIf,A(),T("Issue ",
a,""))},Nqb=function(a){a&1&&Yf(0,9);a&2&&(Q(2),a=R(5),F("ngTemplateOutlet",a))},Oqb=function(a){a&1&&Yf(0,9);a&2&&(Q(3),a=R(13),F("ngTemplateOutlet",a))},Qqb=function(a){a&1&&Yf(0,10);if(a&2){a=Q(2);Q(2);var b=R(11);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,Pqb,a.monorailRedirectUrl))}},Rqb=function(a){a&1&&E(0,Qqb,1,4,"ng-container",10);a&2&&(a=Q(),Uf(a.monorailRedirectUrl?0:-1))},Sqb=function(a,b){a&1&&E(0,Oqb,1,1,"ng-container",9)(1,Rqb,1,1);if(a&2){var c;Uf(403===(c=b.status)?0:
404===c?1:-1)}},Tqb=function(a,b){a&1&&(E(0,Nqb,1,1,"ng-container",9)(1,Sqb,2,1),V(2,"async"));if(a&2){var c;a=Q();Uf(b.success?0:-1);A();Uf((c=W(2,2,a.hasIssueFetchResponseError$))?1:-1,c)}},Uqb=function(a){a&1&&Yf(0)},Vqb=function(a){a&1&&K(0,"help-me-fix-sidebar")},Wqb=function(a){a&1&&(G(0,"mat-sidenav-container",11)(1,"mat-sidenav-content"),E(2,Uqb,1,0,"ng-container",12),I(),G(3,"mat-sidenav",13),E(4,Vqb,1,0,"help-me-fix-sidebar"),I()());if(a&2){a=Q(2);var b=R(7);A(2);F("ngTemplateOutlet",b);
A();F("opened",a.isHelpMeFixSidebarOpen)("disableClose",!0);A();Uf(a.isHelpMeFixSidebarOpen?4:-1)}},Xqb=function(a){a&1&&Yf(0)},Yqb=function(a){a&1&&E(0,Xqb,1,0,"ng-container",12);a&2&&(Q(2),a=R(7),F("ngTemplateOutlet",a))},Zqb=function(a){a&1&&(E(0,Wqb,5,4,"mat-sidenav-container",11),V(1,"async"),E(2,Yqb,1,1,"ng-container"));a&2&&(a=Q(),Uf(W(1,1,a.enableHelpMeFixSidebar$)?0:2))},$qb=function(a){a&1&&(G(0,"a",26),S(1,"Learn more"),I())},arb=function(a){if(a&1){var b=v();G(0,"button",27);N("click",
function(){var c=x(b).ngIf,d=Q(4);return y(d.editIssueService.unarchive(c))});S(1," Unarchive ");I()}},brb=function(a){a&1&&(G(0,"b-callout",23)(1,"b-callout-body"),S(2,"This issue has been archived. "),E(3,$qb,2,0,"a",24),I(),G(4,"b-callout-actions"),E(5,arb,2,0,"button",25),V(6,"async"),I()());a&2&&(a=Q(3),F("messageType","caution")("format","app")("iconOverride","archive_24px"),A(3),F("ngIf",a.activeSession.isInternalSession()),A(2),F("ngIf",W(6,5,a.id$)))},crb=function(a){a&1&&(G(0,"a",30),S(1,
"Learn more"),I())},drb=function(a){a&1&&(G(0,"b-callout",28)(1,"b-callout-body"),S(2," This issue is in an archived component. "),E(3,crb,2,0,"a",29),I()());a&2&&(a=Q(3),F("format","app")("iconOverride","archive_24px"),A(3),F("ngIf",a.activeSession.isInternalSession()))},erb=function(a,b){a&1&&(L(0),S(1," Reason: "),G(2,"code"),S(3),I(),S(4,". "),M());a&2&&(a=b.$implicit,A(3),rg(a))},frb=function(a){a&1&&(G(0,"a",35),S(1,"Learn more"),I())},hrb=function(a){if(a&1){var b=v();G(0,"button",36);V(1,
"async");V(2,"async");N("click",function(){var d=x(b).ngIf,e=Q(4);return y(grb(e.editIssueService,d))});S(3," Undelete ");I()}if(a&2){var c;a=Q(4);F("matTooltip",null!==(c=W(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!W(2,4,a.permissions.canUndeleteIssue$))}},irb=function(a){a&1&&(G(0,"b-callout",31)(1,"b-callout-body"),S(2," This issue has been deleted. "),E(3,erb,5,1,"ng-container",32),V(4,"async"),E(5,frb,2,0,"a",33),I(),G(6,"b-callout-actions"),E(7,hrb,4,6,"button",34),V(8,"async"),
I()());if(a&2){var b;a=Q(3);A(3);F("ngIf",null==(b=W(4,3,a.snapshot$))?null:b.deletionReason);A(2);F("ngIf",a.activeSession.isInternalSession());A(2);F("ngIf",W(8,5,a.id$))}},jrb=function(a,b){a&1&&(G(0,"output",44),S(1),I());a&2&&(a=b.$implicit,A(),T(" ",a," "))},lrb=function(a,b){a&1&&(G(0,"a",42,6),S(2),E(3,jrb,2,1,"output",43),V(4,"async"),I());a&2&&(a=b.$implicit,b=R(1),F("routerLink",a.link)("active",b.isActive)("routerLinkActiveOptions",zg(7,krb)),A(2),T(" ",a.title," "),A(),F("ngIf",W(4,5,
a.count$)))},mrb=function(a,b){a&1&&(G(0,"header",37),K(1,"b-tracker-banner",38),V(2,"async"),V(3,"async"),K(4,"issue-header",39),G(5,"nav",40),E(6,lrb,5,8,"a",41),I(),K(7,"mat-tab-nav-panel",null,5),I());if(a&2){a=b.$implicit;b=R(8);var c=Q(3);A();F("issueId",W(2,5,c.id$))("trackerId",W(3,7,c.issueTrackerId$));A(3);F("issueId",a);A();F("tabPanel",b);A();F("ngForOf",c.tabs)}},nrb=function(a,b){a&1&&K(0,"issue-metadata-sidebar",39);a&2&&F("issueId",b.ngIf)},orb=function(a){a&1&&(G(0,"div",15),V(1,
"async"),E(2,brb,7,7,"b-callout",16),V(3,"async"),E(4,drb,4,3,"b-callout",17),V(5,"async"),E(6,irb,9,7,"b-callout",18),V(7,"async"),E(8,mrb,9,9,"header",19),V(9,"async"),G(10,"div",20)(11,"article",21),K(12,"router-outlet"),I(),E(13,nrb,1,1,"issue-metadata-sidebar",22),V(14,"async"),I()());a&2&&(a=Q(2),Qf("issue-editor-false",!W(1,7,a.permissions.hasAclToEdit$)),A(2),F("ngIf",W(3,9,a.archived$)),A(2),F("ngIf",W(5,11,a.inArchivedComponent$)),A(2),F("ngIf",W(7,13,a.deleted$)),A(2),F("ngIf",W(9,15,a.id$)),
A(5),F("ngIf",W(14,17,a.id$)))},prb=function(a){a&1&&(E(0,orb,15,19,"div",14),V(1,"async"));if(a&2){a=Q();var b=R(9);F("ngIf",!W(1,2,a.showTrackerRedirect$))("ngIfElse",b)}},qrb=function(a){a&1&&(G(0,"div",45),K(1,"b-tracker-redirect",46),V(2,"async"),I());a&2&&(a=Q(),A(),F("issue",W(2,1,a.issue$)))},rrb=function(a,b){a&1&&(G(0,"h3"),S(1," Redirecting to "),G(2,"a",47),S(3),I()());a&2&&(a=b.monorailRedirectUrl,A(2),F("href",a,Ye),A(),T(" ",a," "))},srb=function(a){a&1&&(K(0,"b-access-denied-metadata",
48),V(1,"async"));a&2&&(a=Q(2),F("issueMetadata",W(1,1,a.issueMetadata$)))},trb=function(a){a&1&&K(0,"b-access-denied-metadata",49)},urb=function(a){a&1&&(G(0,"div",45),E(1,srb,2,3,"b-access-denied-metadata",48)(2,trb,1,0,"b-access-denied-metadata",49),I());a&2&&(a=Q(),A(),Uf(a.activeSession.isInternalSession()?1:2))},vrb=function(a,b){a&1&&(L(0),K(1,"b-issues-table",1),M());a&2&&(a=b.ngIf,b=Q(),A(),F("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},
xrb=function(a){if(a&1){var b=v();G(0,"div",5);K(1,"img",6);G(2,"p",7);S(3," This issue has no duplicates ");I();G(4,"p",8);S(5," A duplicate is an issue with similar content. ");I();G(6,"p",8);S(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');G(8,"a",9);S(9,"Learn more");I()();G(10,"button",10);N("click",function(){x(b);var c=Q(2);return y(wrb(c))});S(11," Add ");I()()}a&2&&(a=Q(2),A(),F("src",a.ROBOT_SLEEPING,Ye))},yrb=function(a,b){a&1&&
K(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=Q(2).$implicit,F("issueId",a)("duplicateIds",b))},zrb=function(a,b){a&1&&(L(0),G(1,"a",16),S(2," View as search results "),I(),M());a&2&&(a=b.ngIf,A(),F("routerLink",a.path)("queryParams",a.params))},Arb=function(a){if(a&1){var b=v();G(0,"h4",11);S(1);V(2,"async");G(3,"button",12);N("click",function(){x(b);var c=Q(2);return y(wrb(c))});S(4," Add ");I()();E(5,yrb,1,2,"b-duplicates-table",13);V(6,"async");G(7,"aside",14);E(8,zrb,3,2,"ng-container",
2);V(9,"async");I()}a&2&&(a=Q(2),A(),T("Duplicates ",W(2,3,a.counts.countDuplicateDisplay$)," "),A(4),F("ngIf",W(6,5,a.id$)),A(3),F("ngIf",W(9,7,a.dupeUrl$)))},Brb=function(a){a&1&&(L(0),E(1,xrb,12,1,"div",4),V(2,"async"),E(3,Arb,10,9,"ng-template",null,0,Eg),M());if(a&2){a=R(4);var b=Q();A();F("ngIf",!W(2,2,b.showTable$))("ngIfElse",a)}},Crb=function(a){a&1&&(G(0,"aside",17),K(1,"b-spinner"),I())},Drb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(),Qf("muted",a.isGreyedOut),A(),T(" ",a.displayName,
""))},Erb=function(a){if(a&1){var b=v();G(0,"a",2);N("click",function(c){x(b);var d=Q();return y(d.handleClick(c))});S(1);I()}a&2&&(a=Q(),F("href",a.linkUrl,Ye)("rel",a.EXTERNAL_LINK_REL),A(),T(" ",a.displayName,""))},Frb=function(a){a&1&&K(0,"b-restricted-chip",10);a&2&&(a=Q(),F("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},Grb=function(a){a&1&&(G(0,"span",11),K(1,"b-actions-menu",12),I());a&2&&(a=Q(),A(),F("menuItems",
a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},Krb=function(a){if(a&1){var b=v();G(0,"span")(1,"b-conditional-link",13);N("customHandler",function(){x(b);var c=Q();c.isRestricted()?Hrb(c,!1):c.domSafe.openInNewTab(Irb(c,!1));return y()});I()()}a&2&&(a=Q(),Tf("bv2-issue-attachment-link ",Jrb(a),""),A(),F("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",Irb(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},Lrb=function(a){if(a&1){var b=v();
G(0,"span")(1,"b-conditional-link",13);N("customHandler",function(){x(b);var c=Q();c.isRestricted()?Hrb(c,!0):c.domSafe.openInNewTab(Irb(c,!0));return y()});I()()}a&2&&(a=Q(),Tf("bv2-issue-attachment-link ",Jrb(a),""),A(),F("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",Irb(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},Mrb=function(a){a&1&&(G(0,"span",14)(1,"a",15),K(2,"mat-icon",16),I()());a&2&&(a=Q(),A(),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ye)("disableRipple",
!0),A(),F("svgIcon","help-outline"))},Nrb=function(a){a&1&&(G(0,"div",17),S(1," You do not have access to this restricted attachment. "),G(2,"a",18),S(3,"Learn more"),I()());a&2&&(a=Q(),A(2),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ye))},Prb=function(a){if(a&1){var b=v();G(0,"button",19,3);N("click",function(){x(b);var c=Q(2);return y(Orb(c))});S(2," Edit ");I()}},Qrb=function(a,b){a&1&&(L(0),K(1,"b-user-display",20),G(2,"onedev-hovercard",null,4),K(4,"b-issue-person-card",21),
V(5,"async"),I(),S(6," created issue "),M());if(a&2){var c;a=b.ngIf;b=R(3);var d=Q(2);A();F("onedevHovercardTrigger",b)("model",a);A(3);F("email",null!==(c=W(5,3,d.originalAuthorEmail$))&&void 0!==c?c:"")}},Rrb=function(a,b){a&1&&(L(0),S(1," on behalf of "),K(2,"b-user-display-name",22),M());a&2&&(a=b.ngIf,A(2),F("email",a)("showEmail",!1))},Srb=function(a){a&1&&(L(0),E(1,Rrb,3,2,"ng-container",14),V(2,"async"),M());a&2&&(a=Q(2),A(),F("ngIf",W(2,1,a.onBehalfOfEmail$)))},Trb=function(a,b){if(a&1){var c=
v();G(0,"a",23);N("click",function(d){var e=x(c).$implicit;Q(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return y()});S(1);I()}a&2&&(a=b.$implicit,b=Q().$implicit,Q(),F("routerLinkObj",hl(a,{comment:1})),Hf("aria-label","Comment number"+b.commentNumber),A(),T(" #",b.commentNumber,""))},Vrb=function(a){a&1&&(L(0),G(1,"span",24),S(2," \u2022 Edited"),I(),M());if(a&2){a=Q().$implicit;var b=Q();A();F("matTooltip",Urb(b,a))}},Wrb=function(a){a&1&&(L(0),G(1,"p",25),S(2," Description has been deleted. "),
I(),M())},Xrb=function(a){if(a&1){var b=v();G(0,"b-restricted-comment-placeholder",27);V(1,"async");N("onConfirm",function(){x(b);var c=Q().ngIf,d=Q(3).$implicit,e=Q();return y(e.loadRestrictedComment(c,d))});I()}a&2&&(a=Q(5),F("disabled",!W(1,1,a.mayReadPii$)))},Yrb=function(a){a&1&&(L(0),E(1,Xrb,2,3,"b-restricted-comment-placeholder",26),V(2,"async"),M());a&2&&(a=Q(4),A(),F("ngIf",W(2,1,a.shouldShowRestrictedPlaceholder$)))},Zrb=function(a){a&1&&(L(0),E(1,Yrb,3,3,"ng-container",14),V(2,"async"),
M());a&2&&(a=Q(3),A(),F("ngIf",W(2,1,a.id$)))},$rb=function(a){if(a&1){var b=v();G(0,"div",28)(1,"button",30);N("click",function(){x(b);var c=Q(4);return y(c.openHelpMeFixSidebar())});K(2,"mat-icon",31);S(3," Help me fix ");I()()}},asb=function(a,b){a&1&&(K(0,"b-note-container",33),V(1,"async"));if(a&2){a=b.$implicit;b=Q().ngIf;var c=Q(4);F("issueId",b)("issueAccessLevel",W(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},bsb=function(a){a&1&&(L(0),E(1,asb,2,6,"b-note-container",
32),V(2,"async"),M());if(a&2){a=Q(3).$implicit;var b=Q();A();F("ngIf",""!==a.unlinkifiedComment&&W(2,1,b.firstNote$))}},csb=function(a){a&1&&(L(0),S(1," Add one."),M())},dsb=function(a){a&1&&(G(0,"p",34),S(1," No description yet."),E(2,csb,2,0,"ng-container",14),I());a&2&&(a=Q(4),A(2),F("ngIf",a.canEditComment()))},esb=function(a){a&1&&(E(0,$rb,4,0,"div",28),V(1,"async"),V(2,"async"),E(3,bsb,3,3,"ng-container",14),V(4,"async"),E(5,dsb,3,1,"p",29));if(a&2){a=Q(2).$implicit;var b=Q();Uf(W(1,3,b.showHelpMeFix$)&&
W(2,5,b.doesDescriptionContainStackTrace$)?0:-1);A(3);F("ngIf",W(4,7,b.id$));A(2);F("ngIf",""===a.unlinkifiedComment)}},fsb=function(a){a&1&&(E(0,Zrb,3,3,"ng-container",18),V(1,"async"),E(2,esb,6,9,"ng-template",null,5,Eg));if(a&2){a=R(3);var b=Q(2);F("ngIf",W(1,2,b.isRedacted$))("ngIfElse",a)}},gsb=function(a,b){a&1&&(L(0),K(1,"b-attachment-viewer",39),V(2,"async"),M());if(a&2){var c;a=b.ngIf;b=Q().$implicit;var d=Q(4);A();F("issueId",a)("attachment",b)("attachmentUploader",null!==(c=W(2,3,d.originalAuthorEmail$))&&
void 0!==c?c:"")}},hsb=function(a,b){a&1&&(G(0,"div",38),E(1,gsb,3,5,"ng-container",14),V(2,"async"),I());a&2&&(a=b.$implicit,b=Q(4),eg("id","attachment",a.attachmentId,""),A(),F("ngIf",W(2,3,b.id$)))},isb=function(a){a&1&&(G(0,"div",36),E(1,hsb,3,5,"div",37),I());a&2&&(a=Q().ngIf,A(),F("ngForOf",a))},jsb=function(a,b){a&1&&(L(0),E(1,isb,2,1,"div",35),M());a&2&&(a=b.ngIf,A(),F("ngIf",a.length))},lsb=function(a,b){a&1&&(G(0,"div",7),K(1,"mat-icon",8),G(2,"div",9)(3,"div",10)(4,"div",11)(5,"h4",12),
S(6,"Description"),I(),E(7,Prb,3,0,"button",13)(8,Qrb,7,5,"ng-container",14),V(9,"async"),E(10,Srb,3,3,"ng-container",14),V(11,"async"),E(12,Trb,2,3,"a",15),V(13,"async"),E(14,Vrb,3,1,"ng-container",14),V(15,"async"),I(),G(16,"div"),K(17,"b-formatted-date-time",16)(18,"b-actions-menu",17,1),V(20,"async"),I()(),E(21,Wrb,3,0,"ng-container",18),V(22,"async"),E(23,fsb,4,4,"ng-template",null,2,Eg)(25,jsb,2,1,"ng-container",14),V(26,"async"),I()());if(a&2){var c;a=b.$implicit;b=R(24);var d=Q();A(7);F("ngIf",
d.canEditComment());A();F("ngIf",W(9,11,d.originalAuthor$));A(2);F("ngIf",W(11,13,d.isAuthorNotReporter$));A(2);F("ngIf",a.commentNumber&&W(13,15,d.id$));A(2);F("ngIf",W(15,17,d.isShowCommentHistoryActionInMenu$));A(3);F("timestamp",a.modifiedDate);A();F("buttonLabel","Description actions")("menuItems",null!==(c=W(20,19,d.commentActionMenuItems$))&&void 0!==c?c:zg(25,ksb));A(3);F("ngIf",W(22,21,d.isDeleted$))("ngIfElse",b);A(4);F("ngIf",W(26,23,d.attachments$))}},msb=function(a){a&1&&K(0,"b-spinner")},
nsb=function(a){a&1&&K(0,"mat-icon",3)},osb=function(a){a&1&&K(0,"b-spinner")},psb=function(a,b){a&1&&(G(0,"span",12),S(1," of "),G(2,"a",13),S(3),I()());a&2&&(a=b.$implicit,Q(2),b=R(12),A(2),eg("routerLink","/issues/",a,""),F("onedevHovercardTrigger",b),A(),T(" ",a," "))},qsb=function(a,b){a&1&&(G(0,"div")(1,"div",10),V(2,"async"),S(3),I(),E(4,psb,4,4,"span",11),V(5,"async"),I());a&2&&(a=b.$implicit,b=Q(),A(),Tf("chippy ",W(2,6,b.statusCssClass$),""),F("title",b.STATUS_JS_FULL_TEXT[a]),A(2),T(" ",
b.STATUS_JS_TERSE[a]," "),A(),F("ngIf",W(5,8,b.canonicalId$)))},rsb=function(a,b){a&1&&(G(0,"span"),S(1),I());a&2&&(a=b.$implicit,b=Q(),Tf("b-chip squared issue-type-",a,""),A(),T(" ",b.issueTypeToDisplay(a)," "))},tsb=function(a,b){if(a&1){var c=v();G(0,"b-hotlist-chip-smart",18);N("removeHotlist",function(){var d=x(c).$implicit,e=Q(2);return y(ssb(e,d))});I()}a&2&&F("id",b.$implicit)},vsb=function(a,b){if(a&1){var c=v();G(0,"div",14)(1,"button",15);N("onHotkey",function(){x(c);var d=Q();return y(usb(d))})("click",
function(){x(c);var d=Q();return y(usb(d))});K(2,"mat-icon",16);S(3);V(4,"async");I();E(5,tsb,1,1,"b-hotlist-chip-smart",17);I()}a&2&&(a=b.$implicit,b=Q(),A(),F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),A(2),T(" ",W(4,3,b.textOfHotlistBtn$)," "),A(2),F("ngForOf",a))},wsb=function(a){a&1&&(G(0,"div",19),K(1,"smart-full-history-btn"),I())},xsb=function(a){a&1&&(K(0,"b-issue-card",20,1),V(2,"async"));if(a&2){a=R(1);var b=Q();F("onedevIsHovercardReady",a.init)("issueId",W(2,2,b.canonicalId$))}},ysb=function(a){return null==
a?void 0:a.snapshot[0].hotlistId},zsb=function(a,b){a&1&&(G(0,"mat-option",9)(1,"div",10),S(2),I(),G(3,"div",11),S(4),I()());a&2&&(a=b.$implicit,F("value",a),A(2),rg(a.name),A(2),rg(a.description))},Asb=function(a){if(a&1){var b=v();G(0,"mat-form-field",6)(1,"mat-select",7);vg("valueChange",function(c){x(b);var d=Q();ug(d.selectedFilter,c)||(d.selectedFilter=c);return y(c)});N("selectionChange",function(c){x(b);var d=Q();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(xf(d.destroyed$)).subscribe();
Wo(d.analytics,sq.EDIT_ISSUE,"click",c.commentFilterType);return y()});G(2,"mat-select-trigger");S(3);I();E(4,zsb,5,3,"mat-option",8);I()()}a&2&&(a=Q(),A(),tg("value",a.selectedFilter),A(2),rg(null==a.selectedFilter?null:a.selectedFilter.displayName),A(),F("ngForOf",a.filters))},Bsb=function(a){a&1&&(L(0),K(1,"mat-icon",12),G(2,"span"),S(3,"Oldest first"),I(),M())},Csb=function(a){a&1&&(L(0),K(1,"mat-icon",13),G(2,"span"),S(3,"Newest first"),I(),M())},Gsb=function(a){switch(a){case "FULL_HISTORY":return Dsb;
case "ALL_COMMENTS":return Ir;case "HUMAN_ONLY":return Esb;case "TEAM_AND_ASSIGNEE":return Fsb;default:return Ir}},Hsb=function(a){a&1&&(L(0),S(1,", "),K(2,"br"),M())},Isb=function(a){a&1&&(L(0),S(1," reacted"),M())},Jsb=function(a,b){a&1&&(L(0),G(1,"div"),S(2),E(3,Hsb,3,0,"ng-container",3)(4,Isb,2,0,"ng-container",3),I(),M());a&2&&(a=b.$implicit,b=b.last,A(2),T(" ",a,""),A(),F("ngIf",!b),A(),F("ngIf",b))},Ksb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q(2),A(),T(" by ",Vk(a.event.lastCommentEditorUser),
""))},Lsb=function(a){a&1&&(L(0)(1),S(2,"Message last modified"),M(),E(3,Ksb,2,1,"ng-container",0),L(4),S(5," on "),K(6,"b-formatted-date-time",1),M()());a&2&&(a=Q(),A(3),F("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),A(3),F("timestamp",a.event.commentLastModifiedAtDate))},Msb=function(a){a&1&&K(0,"b-user-email",5);a&2&&(a=Q().$implicit,F("email",a.text)("withProfile",!0))},Nsb=function(a){a&1&&(G(0,"b-issue-reference-widget",6),L(1),S(2),M(),I());if(a&2){a=Q().$implicit;var b=Q();
F("href",el(a.text))("issueId",b.getIssueId(a));A(2);rg(a.text)}},Osb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q().$implicit,A(),rg(a.text))},Psb=function(a,b){a&1&&(L(0)(1,1),E(2,Msb,1,2,"b-user-email",2)(3,Nsb,3,3,"b-issue-reference-widget",3)(4,Osb,2,1,"ng-container",4),M()());a&2&&(a=b.$implicit,A(),F("ngSwitch",a.tag),A(),F("ngSwitchCase","user"),A(),F("ngSwitchCase","bug"))},Qsb=function(a){a&1&&(L(0),K(1,"b-component-card",4,1),M());if(a&2){a=R(2);var b=Q();A();F("onedevIsHovercardReady",a.init)("componentId",
b.id)}},Rsb=function(a){a&1&&(G(0,"span"),S(1),I());if(a&2){var b;a=Q(5);A();rg(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},Ssb=function(a){a&1&&(G(0,"label"),E(1,Rsb,2,1,"span",14),S(2,":\u200b "),I());if(a&2){a=Q(4);var b=R(5);A();F("ngIf",a.effortEnabled)("ngIfElse",b)}},Tsb=function(a){a&1&&(G(0,"label"),S(1),I());a&2&&(a=Q(3).$implicit,A(),T("",a.displayName,":\u200b"))},Usb=function(a){a&1&&(G(0,"span"),K(1,"b-user-display-name",16),I());a&2&&(a=Q().$implicit,A(),F("email",
a)("showEmail",!0))},Vsb=function(a){a&1&&(L(0),K(1,"plain-component-path",17),M());a&2&&(a=Q(4).$implicit,A(),F("id",a.oldValue))},Wsb=function(a){a&1&&K(0,"b-formatted-date-time",19);if(a&2){a=Q(2).$implicit;var b=Q(4);F("timestamp",1E3*b.asNumber(a))}},Xsb=function(a){a&1&&(G(0,"span"),S(1,"[Issue creation date]"),I())},Ysb=function(a){a&1&&(G(0,"span"),E(1,Wsb,1,1,"b-formatted-date-time",18)(2,Xsb,2,0,"span",8),I());a&2&&(a=Q().$implicit,A(),F("ngIf","<none>"!==a),A(),F("ngIf","<none>"===a))},
Zsb=function(a){a&1&&K(0,"b-formatted-date-time",19);if(a&2){a=Q(2).$implicit;var b=Q(4);F("timestamp",1E3*b.asNumber(a))}},$sb=function(a){a&1&&(G(0,"span"),S(1,"[Unset]"),I())},atb=function(a){a&1&&(G(0,"span"),E(1,Zsb,1,1,"b-formatted-date-time",18)(2,$sb,2,0,"span",8),I());a&2&&(a=Q().$implicit,A(),F("ngIf","<none>"!==a),A(),F("ngIf","<none>"===a))},btb=function(a){a&1&&(L(0),G(1,"span"),S(2),I(),M());a&2&&(a=Q().$implicit,Q(4),A(2),rg(Aq(a)))},ctb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&
(a=Q().$implicit,A(),rg(a))},dtb=function(a){a&1&&(L(0),E(1,Usb,2,2,"span",8)(2,Vsb,2,1,"ng-container",8)(3,Ysb,3,2,"span",8)(4,atb,3,2,"span",8)(5,btb,3,1,"ng-container",8)(6,ctb,2,1,"span",8),S(7," \u00a0 "),K(8,"span",15),S(9," \u00a0 "),M());a&2&&(a=Q(3).$implicit,A(),F("ngIf",a.isUser),A(),F("ngIf","component"===a.name),A(),F("ngIf","sloStartTime"==a.name),A(),F("ngIf","sloEndTime"==a.name),A(),F("ngIf","access_limit"===a.name),A(),F("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&
"sloEndTime"!==a.name&&"access_limit"!==a.name))},etb=function(a){a&1&&K(0,"b-user-display-name",16);a&2&&(a=Q().$implicit,F("email",a)("showEmail",!0))},ftb=function(a){a&1&&(G(0,"span"),K(1,"plain-component-path",17),I());a&2&&(a=Q(4).$implicit,A(),F("id",a.newValue))},gtb=function(a){a&1&&K(0,"b-formatted-date-time",19);if(a&2){a=Q(2).$implicit;var b=Q(4);F("timestamp",1E3*b.asNumber(a))}},htb=function(a){a&1&&(G(0,"span"),S(1,"[Issue creation date]"),I())},itb=function(a){a&1&&(G(0,"span"),E(1,
gtb,1,1,"b-formatted-date-time",18)(2,htb,2,0,"span",8),I());a&2&&(a=Q().$implicit,A(),F("ngIf","<none>"!==a),A(),F("ngIf","<none>"===a))},jtb=function(a){a&1&&K(0,"b-formatted-date-time",19);if(a&2){a=Q(2).$implicit;var b=Q(4);F("timestamp",1E3*b.asNumber(a))}},ktb=function(a){a&1&&(G(0,"span"),S(1,"[Unset]"),I())},ltb=function(a){a&1&&(G(0,"span"),E(1,jtb,1,1,"b-formatted-date-time",18)(2,ktb,2,0,"span",8),I());a&2&&(a=Q().$implicit,A(),F("ngIf","<none>"!==a),A(),F("ngIf","<none>"===a))},mtb=function(a){a&
1&&(L(0),G(1,"span"),S(2),I(),M());a&2&&(a=Q().$implicit,Q(4),A(2),rg(Aq(a)))},otb=function(a){a&1&&(G(0,"span",22),S(1),I());if(a&2){a=Q().$implicit;var b=Q(3).$implicit;F("ngClass",Ag(2,ntb,b.oldValue&&"title"==b.name));A();rg(a)}},ptb=function(a){a&1&&(L(0),E(1,etb,1,2,"b-user-display-name",20)(2,ftb,2,1,"span",8)(3,itb,3,2,"span",8)(4,ltb,3,2,"span",8)(5,mtb,3,1,"ng-container",8)(6,otb,2,4,"span",21),M());a&2&&(a=Q(3).$implicit,A(),F("ngIf",a.isUser),A(),F("ngIf","component"===a.name),A(),F("ngIf",
"sloStartTime"===a.name),A(),F("ngIf","sloEndTime"===a.name),A(),F("ngIf","access_limit"===a.name),A(),F("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},qtb=function(a){a&1&&(G(0,"div",13),E(1,Ssb,3,2,"label",14)(2,Tsb,2,1,"ng-template",null,2,Eg)(4,dtb,10,6,"ng-container",8)(5,ptb,7,6,"ng-container",8),I());if(a&2){a=R(3);var b=Q(2).$implicit;A();F("ngIf","effort"===b.name)("ngIfElse",a);A(3);F("ngIf",b.oldValue);A();F("ngIf",b.newValue)}},
rtb=function(a){a&1&&(G(0,"span"),S(1,", "),I())},stb=function(a,b){a&1&&(G(0,"span"),K(1,"b-user-display-name",16),E(2,rtb,2,0,"span",8),I());a&2&&(a=b.$implicit,b=b.last,A(),F("email",a)("showEmail",!0),A(),F("ngIf",!b))},ttb=function(a){a&1&&(G(0,"span"),E(1,stb,3,3,"span",23),I());a&2&&(a=Q(4).$implicit,A(),F("ngForOf",a.added))},utb=function(a){a&1&&(G(0,"span"),S(1,", "),I())},vtb=function(a,b){a&1&&(G(0,"span")(1,"span"),S(2),I(),E(3,utb,2,0,"span",8),I());a&2&&(a=b.$implicit,b=b.last,A(2),
rg(a),A(),F("ngIf",!b))},wtb=function(a){a&1&&(G(0,"span"),E(1,vtb,4,2,"span",23),I());a&2&&(a=Q(4).$implicit,A(),F("ngForOf",a.added))},xtb=function(a){a&1&&(G(0,"div")(1,"label"),S(2),I(),E(3,ttb,2,1,"span",8)(4,wtb,2,1,"span",8),I());a&2&&(a=Q(3).$implicit,A(2),T("+",a.displayName,":\u200b"),A(),F("ngIf",a.isUser),A(),F("ngIf",!a.isUser))},ytb=function(a){a&1&&(G(0,"span"),S(1,", "),I())},ztb=function(a,b){a&1&&(G(0,"span"),K(1,"b-user-display-name",16),E(2,ytb,2,0,"span",8),I());a&2&&(a=b.$implicit,
b=b.last,A(),F("email",a)("showEmail",!0),A(),F("ngIf",!b))},Atb=function(a){a&1&&(G(0,"span"),E(1,ztb,3,3,"span",23),I());a&2&&(a=Q(4).$implicit,A(),F("ngForOf",a.removed))},Btb=function(a){a&1&&(G(0,"span"),S(1,", "),I())},Ctb=function(a,b){a&1&&(G(0,"span")(1,"span"),S(2),I(),E(3,Btb,2,0,"span",8),I());a&2&&(a=b.$implicit,b=b.last,A(2),rg(a),A(),F("ngIf",!b))},Dtb=function(a){a&1&&(G(0,"span"),E(1,Ctb,4,2,"span",23),I());a&2&&(a=Q(4).$implicit,A(),F("ngForOf",a.removed))},Etb=function(a){a&1&&
(G(0,"div")(1,"label"),S(2),I(),E(3,Atb,2,1,"span",8)(4,Dtb,2,1,"span",8),I());a&2&&(a=Q(3).$implicit,A(2),T("-",a.displayName,":\u200b"),A(),F("ngIf",a.isUser),A(),F("ngIf",!a.isUser))},Ftb=function(a){a&1&&(G(0,"div",13),E(1,xtb,5,3,"div",8)(2,Etb,5,3,"div",8),I());if(a&2){a=Q(2).$implicit;var b=Q();A();F("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));A();F("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},Gtb=function(a){a&1&&Yf(0)},Itb=function(a,b){a&1&&(G(0,"span"),
E(1,Gtb,1,0,"ng-container",24),I());if(a&2){a=b.$implicit;b=b.last;var c=Q(4).$implicit;Q();var d=R(3);A();F("ngTemplateOutlet",d)("ngTemplateOutletContext",Cg(2,Htb,c,a,b))}},Jtb=function(a){a&1&&(G(0,"div")(1,"label"),S(2),I(),E(3,Itb,2,6,"span",23),I());a&2&&(a=Q(3).$implicit,A(2),T("+",a.displayName,":\u200b"),A(),F("ngForOf",a.added))},Ktb=function(a){a&1&&Yf(0)},Ltb=function(a,b){a&1&&(G(0,"span"),E(1,Ktb,1,0,"ng-container",24),I());if(a&2){a=b.$implicit;b=b.last;var c=Q(4).$implicit;Q();var d=
R(3);A();F("ngTemplateOutlet",d)("ngTemplateOutletContext",Cg(2,Htb,c,a,b))}},Mtb=function(a){a&1&&(G(0,"div")(1,"label"),S(2),I(),E(3,Ltb,2,6,"span",23),I());a&2&&(a=Q(3).$implicit,A(2),T("-",a.displayName,":\u200b"),A(),F("ngForOf",a.removed))},Ntb=function(a){a&1&&(G(0,"div",13),E(1,Jtb,4,2,"div",8)(2,Mtb,4,2,"div",8),I());if(a&2){a=Q(2).$implicit;var b=Q();A();F("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));A();F("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},
Otb=function(a){a&1&&K(0,"b-formatted-date-time",19);a&2&&(a=Q().$implicit,F("timestamp",a))},Ptb=function(a){a&1&&(G(0,"span"),S(1," - "),I())},Qtb=function(a,b){a&1&&(G(0,"span"),K(1,"b-formatted-date-time",19),E(2,Ptb,2,0,"span",8),I());a&2&&(a=b.$implicit,b=b.last,A(),F("timestamp",a),A(),F("ngIf",!b))},Rtb=function(a){a&1&&(G(0,"span"),E(1,Qtb,3,2,"span",23),I());a&2&&(a=Q(4).$implicit,A(),F("ngForOf",a.oldValue.split(", ")))},Stb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,
A(),rg(a))},Vtb=function(a){a&1&&(L(0),E(1,Otb,1,1,"b-formatted-date-time",18)(2,Rtb,2,1,"span",8)(3,Stb,2,1,"span",8),S(4," \u00a0 "),K(5,"span",15),S(6," \u00a0 "),M());if(a&2){a=Q(3).$implicit;var b=Q();A();F("ngIf",Ttb(b,a,"oldValue"));A();F("ngIf",Utb(b,a,"oldValue"));A();F("ngIf",!Ttb(b,a,"oldValue")&&!Utb(b,a,"oldValue"))}},Wtb=function(a){a&1&&K(0,"b-formatted-date-time",19);a&2&&(a=Q().$implicit,F("timestamp",a))},Xtb=function(a){a&1&&(G(0,"span"),S(1," - "),I())},Ytb=function(a,b){a&1&&
(G(0,"span"),K(1,"b-formatted-date-time",19),E(2,Xtb,2,0,"span",8),I());a&2&&(a=b.$implicit,b=b.last,A(),F("timestamp",a),A(),F("ngIf",!b))},Ztb=function(a){a&1&&(G(0,"span"),E(1,Ytb,3,2,"span",23),I());a&2&&(a=Q(4).$implicit,A(),F("ngForOf",a.newValue.split(", ")))},$tb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),rg(a))},aub=function(a){a&1&&(L(0),E(1,Wtb,1,1,"b-formatted-date-time",18)(2,Ztb,2,1,"span",8)(3,$tb,2,1,"span",8),M());if(a&2){a=Q(3).$implicit;var b=Q();A();F("ngIf",
Ttb(b,a,"newValue"));A();F("ngIf",Utb(b,a,"newValue"));A();F("ngIf",!Ttb(b,a,"newValue")&&!Utb(b,a,"newValue"))}},bub=function(a){a&1&&(G(0,"div",13)(1,"label"),S(2),I(),E(3,Vtb,7,3,"ng-container",8)(4,aub,4,3,"ng-container",8),I());if(a&2){a=Q(2).$implicit;var b=Q();A();Hf("title",b.customFieldName(a));A();T("",b.customFieldName(a),":\u200b");A();F("ngIf",a.oldValue);A();F("ngIf",a.newValue)}},cub=function(a){a&1&&(G(0,"span",28),S(1,"Updated"),I())},dub=function(a){a&1&&(G(0,"span"),S(1,"Deleted"),
I())},eub=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q().$implicit,A(),T("Edited (unknown status '",a.status,"')"))},fub=function(a,b){a&1&&(L(0)(1,10),E(2,cub,2,0,"span",25)(3,dub,2,0,"span",26)(4,eub,2,1,"span",27),M()());a&2&&(a=b.$implicit,A(),F("ngSwitch",a.status),A(),F("ngSwitchCase","ACTIVE"),A(),F("ngSwitchCase","DELETED"))},gub=function(a){a&1&&(G(0,"div",13)(1,"label"),S(2),I(),E(3,fub,5,3,"ng-container",8),I());a&2&&(a=Q(2).$implicit,A(2),T("",a.displayName,":\u200b"),A(),F("ngIf",
null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},hub=function(a){a&1&&(G(0,"div",13)(1,"label"),S(2),I(),G(3,"pre",29),S(4),V(5,"json"),I()());a&2&&(a=Q(2).$implicit,A(2),T("",a.displayName,":\u200b"),A(2),rg(W(5,2,a)))},iub=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",9),L(2,10),E(3,qtb,6,4,"div",11)(4,Ftb,3,2,"div",11)(5,Ntb,3,2,"div",11)(6,bub,5,4,"div",11)(7,gub,4,2,"div",11)(8,hub,6,4,"div",12),M()());if(a&2){a=Q().$implicit;var b=Q();A();F("timestamp",a.timestamp);A();
F("ngSwitch",!0);A();F("ngSwitchCase",a.type===b.DiffType.SINGLE_VALUE);A();F("ngSwitchCase",a.type===b.DiffType.COLLECTION||a.type===b.DiffType.USER_COLLECTION);A();F("ngSwitchCase",a.type===b.DiffType.LINKED_COLLECTION);A();F("ngSwitchCase",a.type===b.DiffType.CUSTOM_FIELD);A();F("ngSwitchCase",a.type===b.DiffType.STATUS_UPDATE)}},jub=function(a,b){a&1&&(G(0,"div",7),E(1,iub,9,7,"ng-container",8),I());a&2&&(a=b.$implicit,b=Q(),A(),F("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===
(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},kub=function(a){a&1&&(G(0,"span"),S(1,", "),I())},lub=function(a){a&1&&(G(0,"span")(1,"b-issue-reference-widget",30),S(2),I(),E(3,kub,2,0,"span",8),I());if(a&2){a=Q().$implicit;var b=Q(),c=b.change;b=b.isLast;A();F("href",c.href)("issueId",a);A();rg(a);A();F("ngIf",!b)}},mub=function(a){a&1&&(G(0,"span"),S(1,", "),I())},nub=function(a){a&1&&(L(0),K(1,"hotlist-link",17),E(2,mub,2,0,"span",8),M());if(a&2){a=Q(2).$implicit;var b=Q().isLast;
A();F("id",a);A();F("ngIf",!b)}},oub=function(a){a&1&&(G(0,"span"),S(1,", "),I())},pub=function(a){a&1&&(G(0,"a",31),S(1),I(),E(2,oub,2,0,"span",8));if(a&2){a=Q(2).$implicit;var b=Q(),c=b.isLast;F("href",b.change.href,Ye);A();rg(a);A();F("ngIf",!c)}},qub=function(a){a&1&&E(0,nub,3,2,"ng-container",14)(1,pub,3,3,"ng-template",null,4,Eg);if(a&2){a=R(2);var b=Q(2).diff,c=Q();F("ngIf",c.isHotlistDiff(b))("ngIfElse",a)}},rub=function(a){a&1&&(L(0),E(1,lub,4,4,"span",14)(2,qub,3,2,"ng-template",null,3,
Eg),M());if(a&2){a=R(3);var b=Q().diff,c=Q();A();F("ngIf",c.isIssueDiff(b))("ngIfElse",a)}},sub=function(a,b){a&1&&E(0,rub,4,2,"ng-container",8);a&2&&F("ngIf",b.change.value)},tub=function(a){a&1&&(G(0,"span"),S(1,"Estimated Effort (disabled)"),I())},uub=function(a,b){a&1&&(K(0,"b-user-membership-chip",10),V(1,"async"),V(2,"async"));if(a&2){var c;a=Q(2);F("user",a.event.userPerformingActionUser)("email",b)("teamId",null!==(c=W(1,4,a.teamId$))&&void 0!==c?c:"");Hf("aria-label",W(2,6,a.ariaLabelHeading$))}},
vub=function(a){a&1&&(K(0,"b-user-display",11),V(1,"async"));a&2&&(a=Q(2),F("model",a.event.userPerformingActionUser),Hf("aria-label",W(1,2,a.ariaLabelHeading$)))},wub=function(a){a&1&&Yf(0)},xub=function(a){a&1&&(L(0),G(1,"span",33),E(2,wub,1,0,"ng-container",34),I(),G(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",35),I(),M());if(a&2){a=R(4);Q();var b=R(9),c=Q();A();F("onedevHovercardTrigger",a);A();F("ngTemplateOutlet",b);A(3);F("email",Zk(c.event.userPerformingActionUser))}},yub=function(a){a&
1&&(G(0,"span",36),S(1),I());a&2&&(a=Q(2),A(),T(" <",Vk(a.event.userPerformingActionUser),"> "))},zub=function(a){if(a&1){var b=v();G(0,"span")(1,"a",37);N("click",function(c){x(b);var d=Q(2);return y(d.scrollCommentIntoView(c,d.event.commentNumber))});S(2);I()()}a&2&&(a=Q(2),A(),F("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),Hf("aria-label","Comment number"+a.event.commentNumber),A(),T(" #",a.event.commentNumber,""))},Aub=function(a){if(a&1){var b=v();G(0,"button",38);N("click",
function(){x(b);var c=Q(2);return y(Jr(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});I()}},Bub=function(a){a&1&&K(0,"b-restricted-chip",39);if(a&2){var b,c;a=Q(2);F("label",a.getRestrictedLabel())("retention",null!==(b=a.event.commentRetention)&&void 0!==b?b:void 0)("retentionState",null!==(c=a.event.commentRetentionState)&&void 0!==c?c:void 0)}},Dub=function(a){a&1&&(K(0,"b-actions-menu",40,2),V(2,"async"));if(a&2){var b;a=Q(2);F("buttonLabel","Comment actions")("menuItems",
null!==(b=W(2,2,a.commentActionMenuItems$))&&void 0!==b?b:zg(4,Cub))}},Eub=function(a){a&1&&(G(0,"div",41),K(1,"b-tagged-text",42),I());a&2&&(a=Q(2),A(),F("texts",a.event.taggedSummary))},Fub=function(a){a&1&&(K(0,"b-issue-event-details",43),V(1,"async"),V(2,"async"),V(3,"async"));if(a&2){var b,c;a=Q().ngIf;var d=Q();F("diffs",null!==(b=W(1,4,d.preEventDiffs$))&&void 0!==b?b:zg(10,Cub))("customFieldMap",a.customFieldMap)("effortSpecName",null==(c=W(2,6,d.effortSpec$))?null:c.name)("effortEnabled",
!!W(3,8,d.isEffortEnabled$))}},Gub=function(a){a&1&&(G(0,"div",44),S(1," Comment has been deleted. "),I())},Hub=function(a){if(a&1){var b=v();G(0,"b-restricted-comment-placeholder",45);V(1,"async");N("onConfirm",function(){x(b);var c=Q(2);return y(c.loadRestrictedComment())});I()}a&2&&(a=Q(2),F("disabled",!W(1,1,a.mayReadPii$)))},Iub=function(a){a&1&&K(0,"b-note-container",46);a&2&&(a=Q(2),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",
a.formattingMode))},Jub=function(a){if(a&1){var b=v();L(0);K(1,"b-summarized-note-container",46);G(2,"button",47);N("click",function(){x(b);var c=Q(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return y()});K(3,"mat-icon",48);S(4,"Expand details");I();M()}a&2&&(a=Q(2),A(),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Kub=function(a){if(a&1){var b=v();L(0);G(1,"button",47);N("click",function(){x(b);var c=
Q(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return y()});K(2,"mat-icon",49);S(3,"Collapse details");I();M()}},Lub=function(a){a&1&&K(0,"b-formatted-date-time",50);a&2&&(a=Q(2),F("timestamp",a.event.modifiedDate))},Mub=function(a){a&1&&K(0,"mat-icon",56)},Nub=function(a){a&1&&K(0,"mat-icon",57)},Oub=function(a,b){a&1&&(G(0,"span"),S(1),I());a&2&&(a=b.ngIf,A(),rg(a))},Pub=function(a){a&1&&K(0,"b-comment-reaction-responders-card",58);a&2&&(a=Q(3),F("reactionState",null==a.event.commentReactions?
null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},Uub=function(a){if(a&1){var b=v();G(0,"div",51)(1,"button",52,3);V(3,"async");V(4,"async");V(5,"async");N("click",function(){x(b);var d=Q(2);return y(Qub(d))});E(6,Mub,1,0,"mat-icon",53)(7,Nub,1,0,"mat-icon",54)(8,Oub,2,1,"span",5);V(9,"async");I();G(10,"onedev-hovercard",null,4);E(12,Pub,1,3,"b-comment-reaction-responders-card",55);V(13,"async");I()()}if(a&2){a=R(11);var c=Q(2);
A();F("ariaLabel",Rub(c,c.ReactionType.UPVOTE))("ngClass",Ag(20,Sub,W(3,10,c.noUpvoteReactions$)))("onedevHovercardTrigger",a)("onedevHovercardConfig",c.commentReactionsHovercardConfig)("onedevHovercardActive",!!W(4,12,c.showCommentReactionHovercard$));Hf("aria-disabled",!W(5,14,c.hasAclToUpvoteReact$)||c.commentReactionIsSaving);A(5);F("ngIf",!Tub(c,c.ReactionType.UPVOTE));A();F("ngIf",Tub(c,c.ReactionType.UPVOTE));A();F("ngIf",W(9,16,c.upvoteReactionCountDisplayString$));A(4);F("ngIf",!W(13,18,
c.noUpvoteReactions$))}},Vub=function(a){if(a&1){var b=v();G(0,"a",62);N("click",function(){x(b);var c=Q(3);return y(c.showCommentHistoryDialog(c.event.commentNumber))});S(1," Show History ");I()}},Wub=function(a){a&1&&(G(0,"div",59),K(1,"b-comment-edit-timestamp-message",60),E(2,Vub,2,0,"a",61),I());a&2&&(a=Q(2),A(),F("event",a.event),A(),F("ngIf",a.commentHistoryEnabled))},Xub=function(a){a&1&&(K(0,"b-issue-event-details",43),V(1,"async"),V(2,"async"),V(3,"async"));if(a&2){var b,c;a=Q().ngIf;var d=
Q();F("diffs",null!==(b=W(1,4,d.postEventDiffs$))&&void 0!==b?b:zg(10,Cub))("customFieldMap",a.customFieldMap)("effortSpecName",null==(c=W(2,6,d.effortSpec$))?null:c.name)("effortEnabled",!!W(3,8,d.isEffortEnabled$))}},Yub=function(a,b){a&1&&(G(0,"div",65),K(1,"b-attachment-viewer",66),I());a&2&&(a=b.$implicit,b=Q(3),eg("id","attachment",a.attachmentId,""),A(),F("issueId",b.issueId)("attachment",a)("attachmentUploader",Zk(b.event.userPerformingActionUser)))},Zub=function(a){a&1&&(G(0,"div",63),E(1,
Yub,2,5,"div",64),I());a&2&&(a=Q(2),A(),F("ngForOf",a.event.attachments))},avb=function(a){a&1&&(L(0),G(1,"div",6),K(2,"b-user-image",7),I(),G(3,"div",8)(4,"h4",9),E(5,uub,3,8,"b-user-membership-chip",10)(6,vub,2,4,"b-user-display",11)(7,xub,6,3,"ng-container",12)(8,yub,2,1,"ng-template",null,0,Eg)(10,zub,3,3,"span",5)(11,Aub,1,0,"button",13),V(12,"async"),G(13,"span",14),E(14,Bub,1,3,"b-restricted-chip",15),K(15,"b-formatted-date-time",16),E(16,Dub,3,5,"b-actions-menu",17),I()(),K(17,"div",18),E(18,
Eub,2,1,"div",19)(19,Fub,4,11,"b-issue-event-details",20),V(20,"async"),K(21,"div",18),G(22,"div",21)(23,"div",22),E(24,Gub,2,0,"div",23)(25,Hub,2,3,"b-restricted-comment-placeholder",24),G(26,"div",25),E(27,Iub,1,4,"b-note-container",26)(28,Jub,5,4,"ng-container",5)(29,Kub,4,0,"ng-container",5),I(),G(30,"div",27)(31,"div",28),E(32,Lub,1,1,"b-formatted-date-time",29),V(33,"async"),I(),E(34,Uub,14,22,"div",30),I()(),E(35,Wub,3,2,"div",31),I(),E(36,Xub,4,11,"b-issue-event-details",20),V(37,"async"),
K(38,"div",18),E(39,Zub,2,1,"div",32),K(40,"div",18),I(),M());if(a&2){var b,c=R(9);a=Q();A(2);F("email",Zk(a.event.userPerformingActionUser));A(3);Uf((b=a.enableTeamAnnotations&&Zk(a.event.userPerformingActionUser))?5:6,b);A(2);F("ngIf",a.isNonObfuscatedEmail(Zk(a.event.userPerformingActionUser)))("ngIfElse",c);A(3);F("ngIf",a.isCommentEvent(a.event));A();F("ngIf",W(12,21,a.canEditComment$)&&!Kr(a));A(3);F("ngIf",a.isRestricted());A();F("timestamp",a.event.modifiedDate);A();F("ngIf",a.isCommentEvent(a.event));
A(2);F("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);A();F("ngIf","FULL_HISTORY"===W(20,23,a.showFullHistoryFromFiltering$));A(5);F("ngIf",a.isDeleted());A();F("ngIf",Kr(a)&&!a.isDeleted());A(2);F("ngIf",$ub(a)&&!Kr(a)&&!a.isDeleted()&&!a.isSummarized);A();F("ngIf",$ub(a)&&!Kr(a)&&!a.isDeleted()&&a.isSummarized);A();F("ngIf",a.wasSummarized&&!a.isSummarized);A(3);F("ngIf",W(33,25,a.isShowingCommentTimestamp$));A(2);var d;b=a.ReactionType.UPVOTE;var e;c=!a.issuePermissionService.hasAclToComment()&&
0===(null==(d=a.event.commentReactions)?void 0:null==(e=d.get(b))?void 0:e.count);d=a.isInternalSession&&a.commentReactionsEnabled&&$ub(a)&&!a.isDeleted()&&!Kr(a)&&!c;F("ngIf",d);A();F("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Kr(a));A();F("ngIf","FULL_HISTORY"===W(37,27,a.showFullHistoryFromFiltering$));A(3);F("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},bvb=function(a){a&1&&(G(0,"aside",3),K(1,"b-spinner"),I())},cvb=function(a){a&
1&&(L(0),S(1,"s"),M())},dvb=function(a){if(a&1){var b=v();L(0);G(1,"div",6)(2,"button",7);N("click",function(){x(b);var f=Q().index,h=Q(),l,q,t=null!=(q=null==(l=h.foldedCommentsCounts.get(f))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<t&&((Zn(h.internalEvents[f-l])||$n(h.internalEvents[f-l]))&&h.eventDisplayMode.set(f-l,"full"),0!==f-l);l++);h.foldedCommentsCounts.delete(f);return y()});S(3);E(4,cvb,2,0,"ng-container",4);I();K(5,"div",8);I();M()}if(a&2){var c,d;a=Q().index;var e=Q();A(3);T(" ",null==
(c=e.foldedCommentsCounts.get(a))?null:c.commentFoldedCount," update");A();F("ngIf",1<(null!==(d=null==(d=e.foldedCommentsCounts.get(a))?null:d.commentFoldedCount)&&void 0!==d?d:1))}},evb=function(a){a&1&&(G(0,"div",9),K(1,"b-history-event",10),I());if(a&2){var b=Q();a=b.$implicit;b=b.index;var c=Q();A();F("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},gvb=function(a,b){a&1&&(L(0),E(1,dvb,
6,2,"ng-container",4)(2,evb,2,4,"div",5),M());if(a&2){var c;a=b.$implicit;b=b.index;var d=Q();A();F("ngIf",d.enableCommentFiltering&&d.foldedCommentsCounts.has(b)&&0<(null!==(c=null==(c=d.foldedCommentsCounts.get(b))?null:c.commentFoldedCount)&&void 0!==c?c:0));A();if(c=d.internalIssueId)if(d.enableCommentFiltering)c=fvb(d.eventDisplayMode.get(b));else{var e,f;c=(d.showFullHistory||a.isMajorEvent)&&(Zn(a)&&!!a.unlinkifiedComment||$n(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(f=a.postDiffs)?
void 0:f.length))}F("ngIf",c)}},hvb=function(a){a&1&&(G(0,"aside",3),K(1,"b-spinner"),I())},ivb=function(a){a&1&&(G(0,"p",15),S(1),G(2,"a",16),S(3," Learn more "),I()());a&2&&(a=Q(4),A(),T(" Your comment contains restricted words: ",Dq(a.bannedWordsChecker),". Review your comment before posting. "))},jvb=function(a){if(a&1){var b=v();G(0,"div",17)(1,"b-recaptcha",18);N("onUpdate",function(c){x(b);var d=Q(4);return y(d.recaptchaResponse$.next(c))});I()()}},lvb=function(a){if(a&1){var b=v();G(0,"span")(1,
"mat-checkbox",19);V(2,"async");V(3,"async");N("change",function(){x(b);var c=Q(4);return y(kvb(c))});S(4," CC Me ");I()()}a&2&&(a=Q(4),A(),F("checked",!!W(2,2,a.autoCcOnComment$))("disabled",!!W(3,4,a.isCurrentUserCCd$)))},mvb=function(a){a&1&&(G(0,"mat-checkbox",22),S(1," CC Me "),I());a&2&&F("checked",!0)("disabled",!0)},nvb=function(a){a&1&&(G(0,"span",20),E(1,mvb,2,2,"mat-checkbox",21),V(2,"async"),I());a&2&&(a=Q(4),A(),F("ngIf",W(2,1,a.isCurrentUserCCd$)))},ovb=function(a){if(a&1){var b=v();
G(0,"b-markdown-toggle",23);N("change",function(c){x(b);var d=Q().ngIf;return y(d.formattingMode=c)});I()}a&2&&(a=Q().ngIf,F("initialValue",a.formattingMode))},pvb=function(a){a&1&&(K(0,"b-access-limits-chip",24),V(1,"async"));a&2&&(a=Q(4),F("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",W(1,3,a.issueAccessLimitLevel$)))},qvb=function(a){a&1&&K(0,"b-issue-visibility-chip",13);a&2&&(a=Q(4),F("issueId",a.issueId))},rvb=function(a){a&1&&(K(0,"b-component-access-level-indicator",
14),V(1,"async"));a&2&&(a=Q(4),F("accessLevel",W(1,1,a.accessLevel$)))},tvb=function(a,b){if(a&1){var c=v();L(0);G(1,"b-comment-box",4,0);V(3,"async");V(4,"async");V(5,"async");V(6,"async");N("onHotkey",function(){x(c);var l=R(2);return y(svb(l,"editpage-hotkey"))})("onChange",function(){x(c);var l=Q(3);return y(l.saveCommentDraft())})("onFocusEvent",function(){x(c);var l=Q(3);return y(l.wasFocused=!0)})("onSubmit",function(l){x(c);var q=Q(3);return y(q.submitCommentBox(l))})("onRestrict",function(){x(c);
var l=Q(3);return y(l.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(l){x(c);var q=Q(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&l?"hairline":"fill";return y()});E(7,ivb,4,1,"p",5)(8,jvb,2,0,"div",6);V(9,"async");G(10,"div",7)(11,"b-button",8);V(12,"async");N("onAction",function(l){x(c);var q=Q(3);return y(q.submitCommentBox(l))})("click",function(l){x(c);var q=Q(3);return y(q.submitCommentBox(l))});S(13);I();G(14,"div",9);E(15,lvb,5,6,"span",1);V(16,"async");V(17,"async");
E(18,nvb,3,3,"span",10);V(19,"async");V(20,"async");E(21,ovb,1,1,"b-markdown-toggle",11);V(22,"async");E(23,pvb,2,5,"b-access-limits-chip",12);V(24,"async");I();E(25,qvb,1,1,"b-issue-visibility-chip",13)(26,rvb,2,3,"b-component-access-level-indicator",14);I()();M()}if(a&2){var d,e,f;a=b.ngIf;b=Q(2).ngIf;var h=Q();A();F("hotkey",h.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",null!==(d=W(3,22,h.commentPlaceholderText$))&&
void 0!==d?d:void 0)("judgementForNewContent",null!==(e=W(4,24,h.judgementForNewContent$))&&void 0!==e?e:void 0)("audience",null!==(f=W(5,26,h.audience$))&&void 0!==f?f:void 0)("disabled",!1===W(6,28,h.commentBoxEnabled$))("isPlusOneCalloutEnabled",h.isPlusOneCalloutEnabled())("warn",h.bannedWordsChecker.showWarning());A(6);F("ngIf",h.bannedWordsChecker.showWarning());A();F("ngIf",W(9,30,h.showRecaptcha$));A(3);F("format",h.commentButtonStyle)("disabled",!1===W(12,32,h.commentButtonEnabled$))("color",
h.bannedWordsChecker.showWarning()?"warn":"primary");A(2);T(" ",h.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," ");A(2);F("ngIf",!W(16,34,h.isCurrentUserCCd$)&&W(17,36,h.hasAclToEdit$));A(3);F("ngIf",W(19,38,h.isCurrentUserCCd$)||!W(20,40,h.hasAclToEdit$));A(3);F("ngIf",W(22,42,h.hasAclToComment$));A(2);F("ngIf",W(24,44,h.isAccessLimited$));A(2);Uf(h.enableNewVisibilityChips?25:26)}},vvb=function(a){a&1&&(L(0),G(1,"h3",2),S(2,"Add comment"),I(),G(3,"div",3),V(4,"async"),E(5,tvb,27,
46,"ng-container",1),V(6,"async"),I(),M());a&2&&(a=Q(2),A(3),F("ngClass",Bg(6,uvb,W(4,2,a.empty$),!a.wasFocused)),A(2),F("ngIf",W(6,4,a.comment$)))},wvb=function(a,b){a&1&&(L(0),E(1,vvb,7,9,"ng-container",1),M());a&2&&(a=b.ngIf,A(),F("ngIf",!a.isDeleted))},xvb=function(a,b){a&1&&K(0,"b-issue-person-card",7);a&2&&F("email",b.ngIf)},yvb=function(a,b){a&1&&(L(0),G(1,"span",5),S(2),V(3,"shortenEmail"),I(),G(4,"onedev-hovercard",null,0),E(6,xvb,1,1,"b-issue-person-card",6),I(),M());if(a&2){a=b.ngIf;b=
R(5);var c=Q(2);A();F("onedevHovercardTrigger",b);A();T(" ",Dg(3,3,c.userToString(a),30)," ");A(4);F("ngIf",a.emailAddress)}},zvb=function(a,b){if(a&1){var c=v();G(0,"a",8);N("click",function(d){var e=x(c).ngIf,f=Q(2);return y(f.scrollCommentIntoView(d,e))});S(1);I()}a&2&&(a=b.ngIf,b=Q(2),Jf("aria-label","Comment number ",a,""),F("routerLinkObj",b.getCommentNumberLink(a)),A(),T(" #",a,""))},Avb=function(a){a&1&&(L(0),S(1,","),M())},Bvb=function(a,b){a&1&&(G(0,"span",2),E(1,yvb,7,6,"ng-container",
3),G(2,"span"),E(3,zvb,2,4,"a",4)(4,Avb,2,0,"ng-container",3),I()());a&2&&(a=b.$implicit,b=b.last,A(),F("ngIf",a.userPerformingActionUser),A(2),F("ngIf",a.commentNumber),A(),F("ngIf",!b))},Cvb=function(a,b){a&1&&(G(0,"div",5)(1,"a",6),V(2,"removePngExtension"),K(3,"b-secure-image-widget",7),I(),K(4,"comments-info",8),I());a&2&&(a=b.$implicit,b=Q(3),A(),fg("href",W(2,5,a.src),Ye),A(2),F("showByDefault",!0)("src",a.src),A(),F("issueId",b.issueId)("comments",a.comments))},Dvb=function(a){if(a&1){var b=
v();G(0,"button",10);N("click",function(){x(b);var c=Q(2).ngIf,d=Q(2);c=c.length;var e=Gk(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return y()});S(1," Load more ");I()}},Evb=function(a){if(a&1){var b=v();G(0,"button",11);N("click",function(){x(b);var c=Q(4);return y(c.goToResourcesTab())});S(1," See all screenshots ");I()}},Fvb=function(a){a&1&&(L(0),E(1,Dvb,2,0,"button",9)(2,Evb,2,0,"ng-template",null,1,Eg),M());if(a&2){a=R(3);var b=Q(3);A();F("ngIf",b.paginate)("ngIfElse",
a)}},Gvb=function(a,b){a&1&&(L(0),G(1,"div",3),E(2,Cvb,5,7,"div",4),V(3,"async"),I(),E(4,Fvb,4,2,"ng-container",2),M());if(a&2){a=b.ngIf;b=Q().ngIf;var c=Q();A();Qf("show-all-images",c.paginate);A();F("ngForOf",W(3,4,c.imagesToRender$));A(2);F("ngIf",b.length!==a.length)}},Hvb=function(a){a&1&&(L(0),E(1,Gvb,5,6,"ng-container",2),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.imagesToRender$)))},Ivb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,
e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=k(f);f=h.next().value;h=h.next().value;return{src:f,comments:Rj(h)}})},Jvb=function(a){a&1&&(G(0,"span",6),S(1),V(2,"reverse"),I());a&2&&(a=Q(),A(),rg(W(2,1,a.leftText)))},Kvb=function(a){a&1&&(L(0),G(1,"b-external-hyperlink-widget",7),S(2),I(),M());a&2&&(a=Q(),A(),F("href",a.redirectedHref)("originalHref",a.originalHref),A(),rg(a.linkText))},Lvb=function(a){a&1&&(G(0,"b-issue-reference-widget",
9),S(1),I());a&2&&(a=Q(2),F("href",a.redirectedHref)("issueId",a.issueId),A(),rg(a.linkText))},Mvb=function(a){a&1&&(G(0,"a",10),S(1),I());a&2&&(a=Q(2),fg("href",a.redirectedHref,Ye),A(),rg(a.linkText))},Nvb=function(a){a&1&&E(0,Lvb,2,3,"b-issue-reference-widget",8)(1,Mvb,2,2,"ng-template",null,1,Eg);if(a&2){a=R(2);var b=Q();F("ngIf",b.issueId)("ngIfElse",a)}},Ovb=function(a){a&1&&(G(0,"span",11),S(1),I());a&2&&(a=Q(),A(),rg(a.rightText))},Pvb=function(a){var b=document.createElement("div");a&&(1===
b.nodeType&&Yda(b),b.innerHTML=wh(a));return b},Qvb=function(a){a&1&&(L(0),G(1,"td"),K(2,"b-issue-priority-display",3),I(),G(3,"td",4)(4,"span",5),S(5),I(),K(6,"mentioned-link-with-context",6),I(),G(7,"td"),K(8,"comments-info",7),V(9,"toComments"),I(),M());if(a&2){var b;a=Q().$implicit;var c=Q(3);A(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);A(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");A();T(" ",null!==(b=a.title)&&
void 0!==b?b:"--"," ");A();F("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);A(2);F("issueId",c.issueId)("comments",W(9,8,a.sourceComments))}},Rvb=function(a,b){a&1&&(G(0,"tr"),E(1,Qvb,10,10,"ng-container",1),I());a&2&&(a=b.$implicit,A(),F("ngIf",a.sourceComments&&a.relatedLinks))},Svb=function(a){if(a&1){var b=v();G(0,"button",9);N("click",function(){x(b);var c=Q(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return y()});
S(1," Load more ");I()}},Tvb=function(a){if(a&1){var b=v();G(0,"button",10);N("click",function(){x(b);var c=Q(4);return y(c.goToResourcesTab())});S(1," See all mentioned issues ");I()}},Uvb=function(a){a&1&&(G(0,"div"),E(1,Svb,2,0,"button",8)(2,Tvb,2,0,"ng-template",null,0,Eg),I());if(a&2){a=R(3);var b=Q(3);A();F("ngIf",b.paginate)("ngIfElse",a)}},Vvb=function(a,b){a&1&&(L(0),G(1,"section")(2,"table"),E(3,Rvb,2,1,"tr",2),I(),E(4,Uvb,4,2,"div",1),I(),M());a&2&&(a=b.ngIf,b=Q().ngIf,A(3),F("ngForOf",
b),A(),F("ngIf",a.length!==b.length))},Wvb=function(a){a&1&&(L(0),E(1,Vvb,5,2,"ng-container",1),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.allMentionedIssues$)))},Xvb=function(a,b){a&1&&(G(0,"div",3),K(1,"mentioned-link-with-context",4)(2,"comments-info",5),V(3,"toComments"),I());a&2&&(a=b.$implicit,b=Q(3),A(),F("sourceComment",a[0].comment)("relatedLink",a[0]),A(),F("issueId",b.issueId)("comments",W(3,4,a)))},Yvb=function(a){if(a&1){var b=v();G(0,"button",7);N("click",function(){x(b);var c=
Q(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return y()});S(1," Load more ");I()}},Zvb=function(a){if(a&1){var b=v();G(0,"button",8);N("click",function(){x(b);var c=Q(4);return y(c.goToResourcesTab())});S(1," See all related links ");I()}},$vb=function(a){a&1&&(G(0,"div"),E(1,Yvb,2,0,"button",6)(2,Zvb,2,0,"ng-template",null,0,Eg),I());if(a&2){a=R(3);var b=Q(3);A();F("ngIf",b.paginate)("ngIfElse",a)}},awb=function(a,b){a&1&&(L(0),E(1,Xvb,4,6,"div",2)(2,$vb,4,
2,"div",1),M());if(a&2){a=b.ngIf;b=Q().ngIf;var c=Q();A();F("ngForOf",a)("ngForTrackBy",c.trackByHref);A();F("ngIf",b.length!==a.length)}},bwb=function(a){a&1&&(L(0),E(1,awb,3,3,"ng-container",1),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.linkGroupsToRender$)))},dwb=function(a,b){var c=a.filter(function(d){return HKa(d[0])});a=a.filter(function(d){return!HKa(d[0])});return cwb([].concat(u(c),u(a)).slice(0,b),"asc")},ewb=function(a){a&1&&(G(0,"div"),K(1,"b-spinner"),I())},gwb=function(a){a&
1&&(L(0),K(1,"mat-icon",12),Yf(2,13),M());if(a&2){a=Q().$implicit;Q();var b=R(10);A(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,fwb,a))}},hwb=function(){},iwb=function(a){a&1&&E(0,hwb,0,0,"ng-template")},jwb=function(a){a&1&&(L(0),E(1,iwb,1,0,null,14),M());a&2&&(a=Q(2).$implicit,A(),F("ngTemplateOutlet",a.tabIconTemplate))},kwb=function(a){a&1&&(E(0,jwb,2,1,"ng-container",7),Yf(1,13));if(a&2){a=Q().$implicit;Q();var b=R(10);F("ngIf",a.tabIconTemplate);A();F("ngTemplateOutlet",b)("ngTemplateOutletContext",
Ag(3,fwb,a))}},lwb=function(a,b){if(a&1){var c=v();G(0,"button",10);V(1,"async");V(2,"async");V(3,"async");N("click",function(){var e=x(c).$implicit,f=Q();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return y()});E(4,gwb,3,4,"ng-container",11);V(5,"async");E(6,kwb,2,5,"ng-template",null,1,Eg);I()}if(a&2){a=b.$implicit;b=R(7);var d=Q();Qf("expanded",!!W(1,9,uq(d.internalExpandedTabs,
a.key)));Jf("aria-controls","expandable-tabs-",a.key,"-content");Hf("aria-label",a.ariaLabel)("aria-expanded",!!W(2,11,uq(d.internalExpandedTabs,a.key)))("aria-selected",!!W(3,13,uq(d.internalExpandedTabs,a.key)));A(4);F("ngIf",W(5,15,uq(d.internalExpandedTabs,a.key)))("ngIfElse",b)}},nwb=function(a,b){if(a&1){var c=v();L(0);G(1,"button",15);N("click",function(){x(c);var d=Q();return y(mwb(d))});S(2);I();M()}a&2&&(a=b.ngIf,b=Q(),A(),Qf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",
!a.allTabsExpanded),Hf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),A(),T(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},owb=function(){},pwb=function(a){a&1&&E(0,owb,0,0,"ng-template")},qwb=function(a){a&1&&(L(0),E(1,pwb,1,0,null,14),M());a&2&&(a=Q(3).$implicit,A(),F("ngTemplateOutlet",a.tabIconTemplate))},rwb=function(a){a&1&&(G(0,"h4"),E(1,qwb,2,1,"ng-container",7),Yf(2,13),I());if(a&2){a=Q(2).$implicit;Q();var b=R(10);A();F("ngIf",a.tabIconTemplate);A();F("ngTemplateOutlet",
b)("ngTemplateOutletContext",Ag(3,fwb,a))}},swb=function(a){a&1&&K(0,"span",18)},twb=function(){},uwb=function(a){a&1&&E(0,twb,0,0,"ng-template")},vwb=function(a){a&1&&(L(0),E(1,uwb,1,0,null,14),M());a&2&&(a=Q(2).$implicit,A(),F("ngTemplateOutlet",a.tabContentTemplate))},xwb=function(a){a&1&&(G(0,"div",17),E(1,rwb,3,5,"h4",11),V(2,"async"),E(3,swb,1,0,"ng-template",null,2,Eg)(5,vwb,2,1,"ng-container",7),I());if(a&2){var b;a=R(4);var c=Q().$implicit,d=Q();Tf("expandable-tab-content ",c.key,"");eg("id",
"expandable-tabs-",c.key,"-content");A();F("ngIf",1<(null!==(b=W(2,8,d.visibleExpandedTabs$))&&void 0!==b?b:zg(10,wwb)).length)("ngIfElse",a);A(4);F("ngIf",c.tabContentTemplate)}},ywb=function(a,b){a&1&&(L(0),E(1,xwb,6,11,"div",16),V(2,"async"),M());a&2&&(a=b.$implicit,b=Q(),A(),F("ngIf",W(2,1,uq(b.internalExpandedTabs,a.key))))},zwb=function(){},Awb=function(a){a&1&&E(0,zwb,0,0,"ng-template")},Bwb=function(a){a&1&&(L(0),E(1,Awb,1,0,null,14),M());a&2&&(a=Q().tab,A(),F("ngTemplateOutlet",a.tabHeaderTemplate))},
Cwb=function(a){a&1&&S(0);a&2&&(a=Q().tab,rg(a.key))},Dwb=function(a,b){a&1&&E(0,Bwb,2,1,"ng-container",11)(1,Cwb,1,1,"ng-template",null,3,Eg);a&2&&(a=b.tab,b=R(2),F("ngIf",a.tabHeaderTemplate)("ngIfElse",b))},Ewb=function(a){a&1&&K(0,"mat-icon",10)},Fwb=function(a){a&1&&(S(0),V(1,"async"));if(a&2){var b;a=Q(2);T("Screenshots (",null!==(b=W(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},Iwb=function(a,b){if(a&1){var c=v();G(0,"inline-images-summary",12);V(1,"async");N("click",function(){x(c);
var e=Q(3);Gwb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return y()});I()}if(a&2){var d;a=b.ngIf;b=Q(3);F("issueId",a)("imageLinks",null!==(d=W(1,2,b.imageLinks$))&&void 0!==d?d:zg(4,Hwb))}},Jwb=function(a){a&1&&(E(0,Iwb,2,5,"inline-images-summary",11),V(1,"async"));a&2&&(a=Q(2),F("ngIf",W(1,1,a.issueId$)))},Kwb=function(a){a&1&&K(0,"mat-icon",13)},Lwb=function(a){a&1&&(S(0),V(1,"async"));if(a&2){var b;a=Q(2);T("Mentioned issues (",null!==(b=W(1,1,a.distinctIssuesCount$))&&void 0!==b?b:0,
")")}},Mwb=function(a,b){if(a&1){var c=v();G(0,"b-mentioned-issues",15);N("click",function(){x(c);var d=Q(3);Gwb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return y()});I()}a&2&&(a=b.ngIf,b=Q(3),F("issueReferences",a)("currentIssueId",b.issueId))},Nwb=function(a){a&1&&(E(0,Mwb,1,2,"b-mentioned-issues",14),V(1,"async"));a&2&&(a=Q(2),F("ngIf",W(1,1,a.issues$)))},Owb=function(a){a&1&&K(0,"mat-icon",16)},Pwb=function(a){a&1&&(S(0),V(1,"async"));if(a&2){var b;a=Q(2);T("Links (",null!==
(b=W(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},Qwb=function(a){if(a&1){var b=v();G(0,"related-links-widget",17);V(1,"async");N("click",function(){x(b);var d=Q(2);Gwb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return y()});I()}if(a&2){var c;a=Q(2);F("links",null!==(c=W(1,2,a.otherLinks$))&&void 0!==c?c:zg(4,Hwb))("issueId",a.issueId)}},Rwb=function(a){a&1&&K(0,"mat-icon",18)},Swb=function(a){a&1&&S(0,"Similar issues")},Twb=function(a,b){if(a&1){var c=v();G(0,"suggested-similar-issues",
20);N("click",function(){x(c);var d=Q(3);Gwb(d.issueSummaryTracking,d.issueId,d.TabKeys.SIMILAR_ISSUES);return y()});I()}a&2&&(a=b.ngIf,b=Q(3),F("issueId",b.issueId)("similarIssueIds",a))},Uwb=function(a){a&1&&(E(0,Twb,1,2,"suggested-similar-issues",19),V(1,"async"));a&2&&(a=Q(2),F("ngIf",W(1,1,a.similarIssueIds$)))},Wwb=function(a,b){if(a&1){var c=v();G(0,"expandable-tabs",2);N("expandedTabsChanged",function(d){var e=x(c).ngIf,f=Q();return y(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",
function(d){x(c);var e=Q(),f=e.issueSummaryTracking;e=e.issueId;for(var h=k(Vwb),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(Lr(f.issueInteractionsTracking,e,l+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):(Lr(f.issueInteractionsTracking,e,l+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(f.recordImpressionOnce(),Lr(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):
(Lr(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return y()});G(1,"expandable-tab",3);E(2,Ewb,1,0,"ng-template",4)(3,Fwb,2,3,"ng-template",5)(4,Jwb,2,3,"ng-template",6);I();G(5,"expandable-tab",7);E(6,Kwb,1,0,"ng-template",4)(7,Lwb,2,3,"ng-template",5)(8,Nwb,2,3,"ng-template",6);I();G(9,"expandable-tab",8);E(10,Owb,1,0,"ng-template",4)(11,Pwb,2,3,"ng-template",5)(12,Qwb,2,5,"ng-template",6);I();G(13,"expandable-tab",
9);E(14,Rwb,1,0,"ng-template",4)(15,Swb,1,0,"ng-template",5)(16,Uwb,2,3,"ng-template",6);I()()}a&2&&(a=b.ngIf,b=Q(),F("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),A(),F("key",b.TabKeys.IMAGES),A(4),F("key",b.TabKeys.MENTIONED_ISSUES),A(4),F("key",b.TabKeys.LINKS),A(4),F("key",b.TabKeys.SIMILAR_ISSUES))},Xwb=function(a,b){a&1&&(G(0,"li",6)(1,"div",7),K(2,"b-user-image",8),I(),G(3,"div",9),K(4,"b-user-display",10)(5,"b-formatted-date-time",11),G(6,"p",12),S(7," Formatting: "),G(8,"code",13),
S(9),I()(),K(10,"br"),G(11,"span",14)(12,"b-person-hovercard",15),V(13,"omitObfuscatedEmail"),S(14),V(15,"appendDomain"),I()(),S(16),I(),G(17,"pre"),S(18),I()());a&2&&(a=b.$implicit,b=b.index+1,A(2),F("email",null==a.author?null:a.author.emailAddress),A(2),F("model",a.author),A(),F("timestamp",a.updateTime),A(4),T(" ",a.formattingMode," "),A(3),F("email",W(13,8,null==a.author?null:a.author.emailAddress)),A(2),T(" <",W(15,10,null==a.author?null:a.author.emailAddress),"> "),A(2),T(" #",b," "),A(2),
rg(a.updateText))},Ywb=function(a){if(a&1){var b=v();G(0,"button",9);N("click",function(){x(b);var c=Q(3);return y(c.editStatusUpdate())});S(1," Edit ");I()}},Zwb=function(a){a&1&&(L(0),G(1,"header",5)(2,"h4",6),S(3,"Status Update"),I(),G(4,"p",7),S(5,"No update yet."),I(),E(6,Ywb,2,0,"button",8),V(7,"async"),I(),M());a&2&&(a=Q(2),A(6),Uf(W(7,1,a.showEditButton$)?6:-1))},axb=function(a){if(a&1){var b=v();G(0,"button",18);N("click",function(){x(b);var c=Q(4);return y($wb(c))});S(1," Mark as fresh ");
I()}},bxb=function(a){if(a&1){var b=v();G(0,"button",16);N("click",function(){x(b);var c=Q(3);return y(c.editStatusUpdate())});S(1," Edit ");I();E(2,axb,2,0,"button",17);V(3,"async")}a&2&&(a=Q(3),A(2),F("ngIf",W(3,1,a.freshnessIndicator$)===a.Freshness.STALE))},cxb=function(a){a&1&&K(0,"mat-icon",23)},dxb=function(a,b){a&1&&(L(0),E(1,cxb,1,0,"mat-icon",19),V(2,"async"),S(3," Updated by "),G(4,"span",20),S(5),V(6,"shortenEmail"),I(),K(7,"b-formatted-date-time",21),G(8,"onedev-hovercard",null,0),K(10,
"b-issue-person-card",22),I(),M());if(a&2){var c,d;a=b.ngIf;b=R(9);var e=Q(3);A();F("ngIf",W(2,5,e.freshnessIndicator$)===e.Freshness.FRESH);A(3);F("onedevHovercardTrigger",b);A();T(" ",W(6,7,null!==(c=null==a.author?null:a.author.emailAddress)&&void 0!==c?c:"")," ");A(2);F("timestamp",a.updateTime);A(3);F("email",null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")}},exb=function(a,b){a&1&&K(0,"b-actions-menu",24);a&2&&(a=b.ngIf,F("buttonLabel","Status Update actions")("menuItems",
a))},fxb=function(a,b){a&1&&(K(0,"b-note-container",28),V(1,"async"),V(2,"async"));if(a&2){var c;a=b.ngIf;b=Q().ngIf;var d=Q(3);F("issueId",b.issueId)("issueAccessLevel",W(1,4,d.accessLevel$))("note",a)("formattingMode",null!==(c=W(2,6,d.formattingMode$))&&void 0!==c?c:d.FormattingMode.PLAIN)}},gxb=function(a){if(a&1){var b=v();G(0,"button",29);N("click",function(){x(b);var c=Q(4);return y(c.isCollapsed=!1)});S(1," Show More ");I()}},hxb=function(a){a&1&&(L(0),G(1,"div",25)(2,"div",null,1),E(4,fxb,
3,8,"b-note-container",26),V(5,"async"),I(),E(6,gxb,2,0,"button",27),I(),M());a&2&&(a=Q(3),A(2),Qf("collapsed",a.isCollapsed),A(2),F("ngIf",W(5,4,a.statusUpdateAsNote$)),A(2),F("ngIf",a.isCollapsed))},ixb=function(a){a&1&&(L(0),G(1,"div",10)(2,"header",11)(3,"div",12)(4,"h4",13),S(5,"Status Update"),I(),E(6,bxb,4,3),V(7,"async"),I(),G(8,"div",14),E(9,dxb,11,9,"ng-container",4),V(10,"async"),E(11,exb,1,2,"b-actions-menu",15),V(12,"async"),I()(),E(13,hxb,7,6,"ng-container",4),V(14,"async"),I(),M());
a&2&&(a=Q(2),A(6),Uf(W(7,4,a.showEditButton$)?6:-1),A(3),F("ngIf",W(10,6,a.statusUpdate$)),A(2),F("ngIf",W(12,8,a.menuItems$)),A(2),F("ngIf",W(14,10,a.statusUpdate$)))},kxb=function(a,b){a&1&&(G(0,"div"),V(1,"async"),K(2,"mat-icon",3),E(3,Zwb,8,3,"ng-container",4)(4,ixb,15,12,"ng-container",4),I());a&2&&(a=b.ngIf,b=Q(),Tf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",W(1,9,b.semanticClass$),""),Qf("display-none",Ag(11,jxb,b.UiState.LOADING).includes(a))("short-height",
b.UiState.EMPTY===a),A(3),F("ngIf",a===b.UiState.EMPTY),A(),F("ngIf",a===b.UiState.NORMAL))},lxb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},mxb=function(a){a=a.getReadonlyResponse();return{outputs:Ii(a,Mr,1,hi()).map(function(b){return b.getContent()}),outputBlocked:Li(a,2)}},pxb=function(a){return nxb(oxb(),a.paths.map(function(b){var c=new Nr;return Zh(c,1,b)}))},qxb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[ec(b.getReadonlySourceFileId(),
1),Nxa(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[ec(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},rxb=function(a){var b,c,d,e,f,h;return{changeNumber:null!=(f=null==(b=a.getResponse())?void 0:null==(c=b.getChangeId())?void 0:c.getChangeNumber_asLegacyNumberOrString())?f:0,workspaceName:null!=(h=null==(d=a.getResponse())?void 0:null==(e=d.getWorkspaceId())?void 0:e.getWorkspaceName())?h:""}},sxb=function(a){switch(a){case 1:return 2305;
case 2:return 258;case 3:return 2307;case 4:return 2308;case 5:return 517;case 6:return 2566;case 8:return 3080;case 7:return 1031;case 9:return 3081;case 10:return 2570;default:return 0}},txb=function(a){var b=new Or,c=a.sourceFile,d=new Pr,e=d.setSourceFileId;var f=c.sourceFileId;var h=new Nr;f=Zh(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=e.call(d,f);c.fileOperation&&jj(d,2,sxb(c.fileOperation));return hj(b,Pr,1,d).setContent(a.content)},uxb=function(a){return a.filter(function(b){return 0!==
b.indexOf("+")}).map(function(b){return b.substring(1)})},vxb=function(a){return a.filter(function(b){return 0!==b.indexOf("-")}).map(function(b){return b.substring(1)})},wxb=function(a,b,c){return uxb(c).every(function(d,e){return d.trim()===a[b+e].trim()})},xxb=function(a,b,c){for(var d=[],e=uxb(b).length,f=a.length-e;c<=f;c++)wxb(a,c,b)&&d.push(c);if(0===d.length)throw Error("Ve");a=d[0];return{startRange:a,endRange:a+e}},yxb=function(a,b){if(0===b.length)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(l){return 0<
l.length});b=[];var d=0,e=0,f=0;c=k(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=xxb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=vxb(h.split("\n"));b.push([e,f,h])}d=e=c=0;b=k(b);for(e=b.next();!e.done;e=b.next())e=k(e.value),f=e.next().value,c=e.next().value,e=e.next().value,f+=d,c+=d,a.splice.apply(a,[f,c-f].concat(u(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},zxb=function(a){a&1&&K(0,"mat-icon",15)},Axb=function(a){a&1&&K(0,"mat-icon",16)},Bxb=function(a){a&1&&K(0,"mat-icon",
17)},Cxb=function(a){if(a&1){var b=v();L(0);G(1,"div",21)(2,"label");S(3,"File path");I()();G(4,"div",21)(5,"input",22);N("keyup",function(c){x(b);var d=Q(2).$implicit;Q();"text-input"===d.type&&(d.value=c.target.value);return y()});I()();G(6,"div",21)(7,"button",23);N("click",function(){x(b);var c=Q(2).$implicit;Q();if("text-input"===c.type){var d;null==(d=c.callback)||d.call(c)}return y()});S(8," Continue ");I()();M()}a&2&&(a=Q(2).$implicit,A(5),F("disabled","complete"==a.state),A(2),F("disabled",
"complete"==a.state))},Dxb=function(a,b){a&1&&(G(0,"div",28),S(1),I());a&2&&(a=b.$implicit,Qf("remove",0==a.indexOf("-"))("add",0==a.indexOf("+")),A(),T(" ","-"==a[0]||"+"==a[0]?a.substr(1):a," "))},Exb=function(a,b){a&1&&(G(0,"div",25)(1,"div",26),E(2,Dxb,2,5,"div",27),I()());a&2&&(a=b.$implicit,A(2),F("ngForOf",a.lines))},Fxb=function(a){a&1&&(L(0),S(1),E(2,Exb,3,1,"div",24),M());if(a&2){a=Q(2).$implicit;var b=Q();A();T(" ",a.description," ");A();F("ngForOf",b.blocks(a))}},Gxb=function(a){if(a&
1){var b=v();L(0);G(1,"div",29);S(2);I();G(3,"button",30);N("click",function(){x(b);var c=Q(2).$implicit,d=Q();return y(d.patch(c))});S(4," Patch changelist into new workspace ");I();M()}a&2&&(a=Q(2).$implicit,A(2),T(" ",a.description," "),A(),F("disabled","in-progress"!==a.state))},Hxb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=Q(2).$implicit,A(),T(" ",a.description," "))},Ixb=function(a){a&1&&(G(0,"section",18),E(1,Cxb,9,2,"ng-container",19)(2,Fxb,3,2,"ng-container",19)(3,Gxb,5,2,"ng-container",19)(4,
Hxb,2,1,"ng-container",20),S(5),I());a&2&&(a=Q().$implicit,Rf(a.type),F("ngSwitch",a.type),A(),F("ngSwitchCase","text-input"),A(),F("ngSwitchCase","diff-preview"),A(),F("ngSwitchCase","changelist-create"),A(2),T(" ",a.error," "))},Jxb=function(a,b){a&1&&(G(0,"div",9)(1,"header")(2,"div",10),E(3,zxb,1,0,"mat-icon",11)(4,Axb,1,0,"mat-icon",12)(5,Bxb,1,0,"mat-icon",13),I(),G(6,"span"),S(7),I()(),E(8,Ixb,6,7,"section",14),I());a&2&&(a=b.$implicit,A(2),F("ngSwitch",a.state),A(),F("ngSwitchCase","error"),
A(),F("ngSwitchCase","complete"),A(3),rg(a.title),A(),F("ngIf","complete"!==a.type))},Kxb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+c))});return btoa(a)},Lxb=function(a){if(a&1){var b=v();G(0,"div",3);K(1,"mat-icon",4);G(2,"div",5);Yf(3,6);G(4,"div",7)(5,"button",8);N("click",function(){x(b);var c=Q();return y(c.openDialog())});S(6," Suggest a fix for me ");I()()()()}a&2&&(Q(),a=R(3),A(3),F("ngTemplateOutlet",a))},Mxb=function(a){a&
1&&(G(0,"div"),S(1," AI-generated code changes may inaccurate or offensive information that doesn't represent Google's views. Please review all suggested changes. "),I())},Nxb=function(a){a&1&&(G(0,"h4",9),S(1," AI-generated code change "),G(2,"xap-bubble",10)(3,"xap-icon-trigger"),K(4,"mat-icon",11),I(),E(5,Mxb,2,0,"ng-template",null,1,Eg),I(),G(7,"a",12),K(8,"mat-icon",13),I()());a&2&&(a=R(6),A(2),F("panelTemplate",a))},Pxb=function(a,b){a&1&&Yf(0,14);a&2&&(a=b.ngIf,Q(2),b=R(5),F("ngTemplateOutlet",
b)("ngTemplateOutletContext",Ag(2,Oxb,a)))},Qxb=function(a){a&1&&(G(0,"div",9),K(1,"mat-icon",10),G(2,"div",11),Yf(3,12),E(4,Pxb,1,4,"ng-container",13),V(5,"async"),I()());if(a&2){a=Q();var b=R(3);A(3);F("ngTemplateOutlet",b);A();F("ngIf",W(5,2,a.stage$))}},Rxb=function(a){a&1&&(G(0,"div"),S(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. "),
I())},Sxb=function(a){a&1&&(G(0,"h4",15),S(1," AI-generated summary "),G(2,"xap-bubble",16)(3,"xap-icon-trigger"),K(4,"mat-icon",17),I(),E(5,Rxb,2,0,"ng-template",null,5,Eg),I()());a&2&&(a=R(6),A(2),F("panelTemplate",a))},Uxb=function(a){if(a&1){var b=v();G(0,"button",22);N("click",function(){x(b);var c=Q(3);return y(Txb(c))});S(1," Summarize for me ");I()}},Vxb=function(a){a&1&&(G(0,"div",23)(1,"button",24),S(2," Summarize for me "),I()());a&2&&(a=Q(3),F("matTooltip",a.TOO_LITTLE_TOOLTIP_TEXT),A(),
F("disabled",!0))},Xxb=function(a){if(a&1){var b=v();G(0,"button",25);N("click",function(){x(b);var c=Q(3);return y(Wxb(c))});S(1," Experiment with prompt ");I()}},Yxb=function(a){a&1&&(L(0),G(1,"div",19),E(2,Uxb,2,0,"button",20),V(3,"async"),E(4,Vxb,3,2,"ng-template",null,6,Eg)(6,Xxb,2,0,"button",21),I(),M());if(a&2){a=R(5);var b=Q(2);A(2);F("ngIf",W(3,3,b.isSummarizable$))("ngIfElse",a);A(4);F("ngIf",b.enableLlmDogfood)}},$xb=function(a,b){a&1&&(L(0),Yf(1,14),M());if(a&2){a=b.ngIf;b=Q(2).stage;
Q();var c=R(11);A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Bg(2,Zxb,a,b))}},ayb=function(a){a&1&&(L(0),E(1,$xb,2,5,"ng-container",26),V(2,"async"),M());if(a&2){a=Q(2);var b=R(7);A();F("ngIf",W(2,2,a.commentThreadSummary$))("ngIfElse",b)}},cyb=function(a,b){a&1&&(L(0),Yf(1,14),M());a&2&&(a=b.ngIf,Q(3),b=R(9),A(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,byb,a)))},dyb=function(a){if(a&1){var b=v();L(0);E(1,cyb,2,4,"ng-container",26);V(2,"async");G(3,"div",19)(4,"button",25);
N("click",function(){x(b);var d=Q(2);return y(Wxb(d))});S(5," Experiment with prompt ");I()();M()}if(a&2){a=Q(2);var c=R(7);A();F("ngIf",W(2,2,a.commentThreadSummary$))("ngIfElse",c)}},eyb=function(a,b){a&1&&E(0,Yxb,7,5,"ng-container",18)(1,ayb,3,4,"ng-container",18)(2,dyb,6,4,"ng-container",18);a&2&&(a=b.stage,b=Q(),F("ngIf",a===b.INITIAL),A(),F("ngIf",a===b.SHORT||a===b.LONG),A(),F("ngIf",a===b.CUSTOM))},fyb=function(a){a&1&&K(0,"b-spinner")},gyb=function(a){a&1&&K(0,"b-markdown-format-presenter",
28);a&2&&(a=Q().summary,F("content",a.formattedSummary))},hyb=function(a){a&1&&(G(0,"div",29),S(1),I());a&2&&(a=Q().summary,A(),T(" ",a.summary," "))},iyb=function(a,b){a&1&&E(0,gyb,1,1,"b-markdown-format-presenter",27)(1,hyb,2,1,"ng-template",null,7,Eg);a&2&&(a=b.summary,b=R(2),F("ngIf",a.formattedSummary)("ngIfElse",b))},jyb=function(a){if(a&1){var b=v();G(0,"button",25);N("click",function(){x(b);var c=Q(3);return y(Txb(c))});S(1," Tell me more ");I()}},lyb=function(a){if(a&1){var b=v();L(0);Yf(1,
14);G(2,"div",19);E(3,jyb,2,0,"button",21);I();G(4,"div",30)(5,"span",31);S(6,"Summary will disappear upon page refresh.");I();G(7,"div",19)(8,"button",32);N("click",function(){x(b);var f=Q().summary,h=Q();return y(h.copySummary(f.summary))});K(9,"mat-icon",33);I();G(10,"button",34);N("click",function(){x(b);var f=Q(2);return y(f.openFeedbackDialog())});K(11,"mat-icon",35);I();G(12,"button",36);N("click",function(){x(b);var f=Q(2);return y(f.trackThumbsUp())});K(13,"mat-icon",37);I();G(14,"button",
38);N("click",function(){x(b);var f=Q(2);return y(f.trackThumbsDown())});K(15,"mat-icon",39);I()()();M()}if(a&2){var c=Q();a=c.summary;c=c.stage;var d=Q(),e=R(9);A();F("ngTemplateOutlet",e)("ngTemplateOutletContext",Ag(7,byb,a));A(2);F("ngIf",c===d.SHORT);A(9);F("disabled",d.hasReacted);A();F("ngClass",Ag(9,kyb,d.thumbsUpClicked));A();F("disabled",d.hasReacted);A();F("ngClass",Ag(11,kyb,d.thumbsDownClicked))}},myb=function(a){if(a&1){var b=v();L(0);G(1,"div",30)(2,"div",40);S(3," Issue can not be summarized for now. Please try again later. ");
I();G(4,"div",19)(5,"button",34);N("click",function(){x(b);var c=Q(2);return y(c.openFeedbackDialog())});K(6,"mat-icon",35);I()()();M()}},nyb=function(a){a&1&&(L(0),G(1,"div",30)(2,"div",40),S(3," Summarization could not be performed. Please try again later. "),I()(),M())},oyb=function(a,b){a&1&&E(0,lyb,16,13,"ng-container",18)(1,myb,7,0,"ng-container",18)(2,nyb,4,0,"ng-container",18);a&2&&(a=b.summary,Q(),F("ngIf",0===a.status),A(),F("ngIf",1===a.status),A(),F("ngIf",2===a.status))},pyb=function(a){switch(a){case "initial":return"short";
case "short":return"long";case "long":return"long";case "custom":return"custom";default:vc(a,"nextStage")}},qyb=function(a){switch(a){case "initial":return 0;case "short":return 0;case "long":return 1;case "custom":return 1;default:vc(a,"summaryTypeForStage")}},ryb=function(a){a&1&&(L(0),K(1,"llm-summary",6),M());a&2&&(a=Q().$implicit,A(),F("issueId",a))},syb=function(a){a&1&&(L(0),K(1,"llm-suggested-bug-fix",6),M());a&2&&(a=Q().$implicit,A(),F("issueId",a))},tyb=function(a,b){a&1&&(L(0),K(1,"issue-description-area",
5)(2,"status-update",6),E(3,ryb,2,1,"ng-container",2)(4,syb,2,1,"ng-container",2),K(5,"b-issue-description",7),M());a&2&&(a=b.$implicit,b=Q(),A(),F("id",a),A(),F("issueId",a),A(),F("ngIf",b.enableLlmSummarization),A(),F("ngIf",b.enableGoosePrompting||b.enableGoosePromptingSupportedIssues),A(),F("id",a))},uyb=function(a,b){a&1&&(K(0,"issue-summary-card",8,0),V(2,"async"));a&2&&(a=b.$implicit,b=R(1),Qf("hidden",!W(2,3,b.shouldShowSummaryCard$)),F("issueId",a))},vyb=function(a){a&1&&K(0,"issue-event-list",
11);a&2&&(a=Q().$implicit,F("id",a))},wyb=function(a){a&1&&K(0,"issue-event-list",11);a&2&&(a=Q().$implicit,F("id",a))},xyb=function(a,b){a&1&&(G(0,"div",9),K(1,"b-event-stream-header"),E(2,vyb,1,1,"issue-event-list",10),K(3,"b-post-comment",6),E(4,wyb,1,1,"issue-event-list",10),I());a&2&&(a=b.$implicit,b=Q(),Qf("recent-first",b.showRecentEventsFirst),A(2),F("ngIf",!b.showRecentEventsFirst),A(),F("issueId",a),A(),F("ngIf",b.showRecentEventsFirst))},yyb=function(a){a&1&&(G(0,"section")(1,"h4"),K(2,
"mat-icon",2),S(3),I(),K(4,"inline-images-summary",3)(5,"br")(6,"hr",4),I());if(a&2){a=Q(2).ngIf;var b=Q().ngIf;A(3);T(" Screenshots (",a.length,") ");A();F("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},zyb=function(a){a&1&&(L(0),E(1,yyb,7,4,"section",1),M());a&2&&(a=Q().ngIf,A(),F("ngIf",a.length))},Ayb=function(a){a&1&&(L(0),E(1,zyb,2,1,"ng-container",1),M());a&2&&(a=Q(2),A(),F("ngIf",a.isInternalSession))},Byb=function(a){a&1&&(G(0,"section")(1,"h4"),K(2,"mat-icon",5),S(3),I(),K(4,"b-mentioned-issues",
6)(5,"br")(6,"hr",4),I());if(a&2){a=Q().ngIf;var b=Q().ngIf;A(3);T(" Mentioned issues (",a.length,") ");A();F("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},Cyb=function(a,b){a&1&&(L(0),E(1,Byb,7,4,"section",1),M());a&2&&(a=b.ngIf,A(),F("ngIf",a.length))},Dyb=function(a){a&1&&(G(0,"section")(1,"h4"),K(2,"mat-icon",7),S(3),I(),K(4,"related-links-widget",8),I());if(a&2){a=Q().ngIf;var b=Q().ngIf;A(3);T(" Links (",a.length,") ");A();F("links",a)("issueId",b.issueId)("paginate",!0)}},
Eyb=function(a,b){a&1&&(L(0),E(1,Dyb,5,4,"section",1),M());a&2&&(a=b.ngIf,A(),F("ngIf",a.length))},Fyb=function(a){a&1&&(L(0),E(1,Ayb,2,1,"ng-container",1),V(2,"async"),E(3,Cyb,2,1,"ng-container",1),V(4,"async"),E(5,Eyb,2,1,"ng-container",1),V(6,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,3,a.imageLinks$)),A(2),F("ngIf",W(4,5,a.issueReferences$)),A(2),F("ngIf",W(6,7,a.otherLinks$)))},Gyb=function(a){a&1&&(G(0,"div",4),K(1,"img",5),G(2,"p",6),S(3," This issue has no TODOs "),I(),G(4,"p",7),S(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),
G(6,"a",8),S(7,"Learn more"),I()()());a&2&&(a=Q(3),A(),F("src",a.ROBOT_SLEEPING,Ye))},Hyb=function(a,b){a&1&&K(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=Q(3).ngIf;var c=Q().ngIf,d=Q();F("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},Iyb=function(a){if(a&1){var b=v();L(0);E(1,Hyb,1,3,"b-package-mentions-listing",9);G(2,"p",10)(3,"a",11);N("click",function(){x(b);var c=Q(4);return y(c.trackSqueegeeClick())});S(4,"View in Squeegee");I()();M()}a&
2&&(a=Q(2).ngIf,A(),F("ngForOf",a.mentions.packageMentionSet),A(2),F("href",a.link,Ye))},Jyb=function(a){a&1&&E(0,Iyb,5,2,"ng-container",2);a&2&&(a=Q().ngIf,F("ngIf",a.mentions))},Kyb=function(a,b){a&1&&(L(0),E(1,Gyb,8,1,"div",3)(2,Jyb,1,1,"ng-template",null,0,Eg),M());a&2&&(a=b.ngIf,b=R(3),Q(2),A(),F("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",b))},Lyb=function(a){a&1&&(L(0),E(1,Kyb,4,2,"ng-container",2),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.codeMentionsState$)))},Myb=
function(a){a&1&&K(0,"b-spinner",6);a&2&&F("large",!0)},Nyb=function(a){a&1&&K(0,"b-hotlist-grid",7);a&2&&(a=Q(),F("hotlists",a.hotlists))},Oyb=function(a){if(!a.unlinkifiedComment)return Ek("Can't getClMetadata from an event with no unlinkifiedComment",a),{};a=a.unlinkifiedComment;var b=a.trim().split("\n"),c,d,e=null!=(d=null==(c=b[0])?void 0:c.trim())?d:"",f;c=null==(f=b[2])?void 0:f.trim();var h;f=null==(h=e.match(/^Change\s+(\d+)/))?void 0:h[1];null==f&&Ek("failed to parse an id from cl comment, which is unexpected.",
a);var l;h=null==(l=e.match(/^Change.*by (\S+)@/))?void 0:l[1];null==h&&Ek("failed to parse an author from cl comment, which is unexpected.",a);var q;l=null==(q=a.match(/[\^\s]R=(\S+)/))?void 0:q[1];var t;q=null==(t=a.match(/[\^\s]DELTA=(\d+)/))?void 0:t[1];return{id:Bi(f),author:h,title:c,reviewer:l,delta:Bi(q)}},Pyb=function(a){var b;return null!=(b=Oyb(a).id)?b:0},Qyb=function(a){return[].concat(u(a.preDiffs),u(a.postDiffs)).map(function(b){return"Changed "+(b.displayName||b.name)+" "+(b.newValue?
"to "+b.newValue:"")}).join("\n")},Syb=function(a){if(null==a)return"";var b,c,d=null!=(c=null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)?c:"";if(go(a)){if(a=Oyb(a).author)return a+"@google.com"}else if("product-feedback-gathering@prod.google.com"===d)return Ryb(a,"reporter")||d;return d},Tyb=function(a,b){var c,d,e;return null==(e=[].concat(u(null!=(c=a.preDiffs)?c:[]),u(null!=(d=a.postDiffs)?d:[])).find(function(f){return f.name===b}))?void 0:e.oldValue},Ryb=function(a,b){var c,d,e;
return null==(e=[].concat(u(null!=(c=a.preDiffs)?c:[]),u(null!=(d=a.postDiffs)?d:[])).find(function(f){return f.name===b}))?void 0:e.newValue},Uyb=function(a){if(null==a)return"default";if(Zn(a)&&1===a.commentNumber)return"create";if(go(a))return"changelist";var b,c=null!=(b=a.preDiffs)?b:[],d;b=null!=(d=a.postDiffs)?d:[];c=new Set([].concat(u(c),u(b)).map(function(f){return f.name}));if(c.has("statusUpdate"))return"statusUpdate";if(c.has("assignee")){var e;c=null==(e=a.userPerformingActionUser)?
void 0:e.emailAddress;e=Ryb(a,"assignee");a=Tyb(a,"assignee");return c===e?"self-assign":c===a&&"<none>"===e?"self-unassign":"<none>"===e?"unassign":"assignee"}return c.has("status")?"status":c.has("priority")?"priority":Zn(a)?"comment":c.has("component")?"component":"default"},Vyb=function(a){a&1&&(L(0),S(1," created "),G(2,"b-issue-reference-widget",5),S(3),I(),K(4,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",
a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},Wyb=function(a,b){a&1&&(L(0),S(1," \u2014 "),G(2,"span",8),S(3),I(),M());a&2&&(a=b.$implicit,A(2),F("title",a),A(),rg(a))},Xyb=function(a){a&1&&(L(0),S(1," submitted "),K(2,"changelist-link-plain",7)(3,"b-formatted-date-time",6),E(4,Wyb,4,2,"ng-container",4),M());a&2&&(a=Q(),A(2),F("id",a.getChangelistNumber(a.event)),A(),F("timestamp",a.event.modifiedDate),A(),F("ngIf",a.getClMetadata(a.event).title))},Yyb=function(a){a&1&&(L(0),S(1," commented on "),
G(2,"b-issue-reference-widget",5),S(3),I(),K(4,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},Zyb=function(a){a&1&&(L(0),S(1," set priority "),K(2,"b-issue-priority-display",9),S(3," on "),G(4,"b-issue-reference-widget",5),S(5),I(),K(6,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(2),F("issuePriority",a.toIssuePriority(a.getNewDiffValue(a.event,"priority"))),
A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},$yb=function(a,b){a&1&&(L(0),S(1," set status "),G(2,"span"),S(3),I(),S(4," on "),M());a&2&&(a=b.$implicit,b=Q(2),A(2),Tf("chippy xs status-",b.STATUS_CODE_FROM_DISPLAY_STRING[a],""),A(),T(" ",a," "))},azb=function(a){a&1&&(L(0),E(1,$yb,5,4,"ng-container",4),G(2,"b-issue-reference-widget",5),S(3),I(),K(4,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(),
F("ngIf",a.getNewDiffValue(a.event,"status")),A(),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},bzb=function(a,b){a&1&&(L(0),S(1," \u2014 "),G(2,"span",10),S(3),I(),M());a&2&&(a=b.$implicit,A(2),F("title",a),A(),rg(a))},czb=function(a){a&1&&(L(0),S(1," set status update on "),G(2,"b-issue-reference-widget",5),S(3),I(),K(4,"b-formatted-date-time",6),E(5,bzb,4,2,"ng-container",4),M());a&2&&(a=Q(),A(2),
F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate),A(),F("ngIf",null==a.event.statusUpdate?null:a.event.statusUpdate.updateText))},dzb=function(a){a&1&&(L(0),S(1," assigned "),G(2,"b-issue-reference-widget",5),S(3),I(),S(4," to "),K(5,"b-user-email",0)(6,"b-formatted-date-time",6),M());if(a&2){var b;a=Q();A(2);F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId);A();T("b/",a.event.issueId,
"");A(2);F("ldapOnly",!0)("email",null!==(b=a.getNewDiffValue(a.event,"assignee"))&&void 0!==b?b:"");A();F("timestamp",a.event.modifiedDate)}},ezb=function(a){a&1&&(L(0),S(1," self-assigned "),G(2,"b-issue-reference-widget",5),S(3),I(),K(4,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},fzb=function(a){a&1&&(L(0),S(1," unassigned self from "),G(2,"b-issue-reference-widget",
5),S(3),I(),K(4,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},gzb=function(a){a&1&&(L(0),S(1," unassigned "),K(2,"b-user-email",0),S(3," from "),G(4,"b-issue-reference-widget",5),S(5),I(),K(6,"b-formatted-date-time",6),M());if(a&2){var b;a=Q();A(2);F("ldapOnly",!0)("email",null!==(b=a.getPreviousDiffValue(a.event,"assignee"))&&void 0!==b?b:"");A(2);F("href",
a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId);A();T("b/",a.event.issueId,"");A();F("timestamp",a.event.modifiedDate)}},hzb=function(a){a&1&&(L(0),S(1," moved "),G(2,"b-issue-reference-widget",5),S(3),I(),S(4," to another component "),K(5,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(2),F("timestamp",a.event.modifiedDate))},izb=function(a){a&1&&(L(0),G(1,"span",11),S(2," updated "),
I(),G(3,"b-issue-reference-widget",5),S(4),I(),K(5,"b-formatted-date-time",6),M());a&2&&(a=Q(),A(),F("title",a.shorthandAllDiffs(a.event)),A(2),F("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(),T("b/",a.event.issueId,""),A(),F("timestamp",a.event.modifiedDate))},jzb=function(a,b){a&1&&(L(0),S(1," \u2014 "),G(2,"span",12),S(3),I(),M());a&2&&(a=b.$implicit,A(2),F("title",a),A(),rg(a))},kzb=function(a){a&1&&(L(0),E(1,jzb,4,2,"ng-container",4),M());a&2&&(a=Q(),A(),F("ngIf",a.event.unlinkifiedComment))},
lzb=function(a,b){a&1&&(L(0),S(1," \u2014 "),G(2,"span",13),S(3),I(),M());a&2&&(a=b.$implicit,A(2),F("title",a),A(),rg(a))},mzb=function(a){a&1&&(L(0),E(1,lzb,4,2,"ng-container",4),M());if(a&2){a=Q();A();var b,c;a=null==(b=a.issueFridge.peek(a.event.issueId))?void 0:null==(c=b.snapshot[0])?void 0:c.title;F("ngIf",a)}},nzb=function(a,b){a&1&&K(0,"recent-event-row",5);a&2&&F("event",b.$implicit)},ozb=function(a,b){a&1&&(G(0,"p",3),S(1),I(),E(2,nzb,1,1,"recent-event-row",4));if(a&2){a=Q();var c=Q(3);
A();T("Last 24 hours ",c.printStats(a["<24h"]),"");A();F("ngForOf",b)}},pzb=function(a,b){a&1&&K(0,"recent-event-row",5);a&2&&F("event",b.$implicit)},qzb=function(a,b){a&1&&(G(0,"p",6),S(1),I(),E(2,pzb,1,1,"recent-event-row",4));if(a&2){a=Q();var c=Q(3);A();T("1-7 days ago ",c.printStats(a["24h-7d"]),"");A();F("ngForOf",b)}},rzb=function(a,b){a&1&&K(0,"recent-event-row",5);a&2&&F("event",b.$implicit)},szb=function(a,b){a&1&&(G(0,"p",6),S(1),I(),E(2,rzb,1,1,"recent-event-row",4));if(a&2){a=Q();var c=
Q(3);A();T("1-4 weeks ago ",c.printStats(a["7d-30d"]),"");A();F("ngForOf",b)}},tzb=function(a,b){a&1&&K(0,"recent-event-row",5);a&2&&F("event",b.$implicit)},uzb=function(a,b){a&1&&(G(0,"p",6),S(1),I(),E(2,tzb,1,1,"recent-event-row",4));if(a&2){a=Q();var c=Q(3);A();T(">30 days ago ",c.printStats(a[">30d"]),"");A();F("ngForOf",b)}},vzb=function(a){if(a&1){var b=v();G(0,"button",7);N("click",function(){x(b);var c=Q(4);100>c.numDisplayed$.value?c.numDisplayed$.next(100):c.numDisplayed$.next(c.defaultNumEvents);
return y()});S(1);I()}a&2&&(a=Q(4),A(),T(" ",a.numDisplayed$.value>a.defaultNumEvents?"Show less":"Show more"," "))},wzb=function(a){a&1&&(E(0,ozb,3,2)(1,qzb,3,2)(2,szb,3,2)(3,uzb,3,2)(4,vzb,2,1,"button",2),V(5,"async"));if(a&2){var b,c,d,e,f;a=Q();var h=Q(2);Uf((b=a["<24h"])?0:-1,b);A();Uf((c=a["24h-7d"])?1:-1,c);A();Uf((d=a["7d-30d"])?2:-1,d);A();Uf((e=a[">30d"])?3:-1,e);A();Uf((null!==(f=null==(f=W(5,5,h.events$))?null:f.length)&&void 0!==f?f:0)>h.defaultNumEvents?4:-1)}},xzb=function(a){a&1&&
(E(0,wzb,6,7),V(1,"async"));if(a&2){var b;a=Q(2);Uf((b=W(1,1,a.bucketedEventStats$))?0:-1,b)}},yzb=function(a){a&1&&(G(0,"div",0),S(1," Recent activity "),K(2,"input",1),I(),E(3,xzb,2,3),V(4,"async"));if(a&2){var b;a=Q();A(2);F("formControl",a.quickFilter);A();Uf((b=W(4,2,a.bucketedEvents$))?3:-1,b)}},zzb=function(a){return function(b){var c;if(a){var d="";if(go(b)){var e=Oyb(b);d="submitted cl/"+e.id+" "+e.title}e="b/"+b.issueId;var f=Syb(b),h=Uyb(b),l=Qyb(b);b=null==b||go(b)?"":(null!=(c=b.unlinkifiedComment)?
c:"").slice(0,999);c=[e,f,h,d,l,b].join(" ").toLowerCase().includes(a.toLowerCase())}else c=!0;return c}},Azb=function(a){if(null==a||1>=a.n)return"";var b=Object.keys(a.pptCounts).length;a=[a.clCount?a.clCount+" CLs":void 0,a.fixed?a.fixed+" issues fixed":void 0,1<b?b+" participants":void 0].filter(Ei);return 0===a.length?"":"\u2014 "+a.join(", ")},Bzb=function(a){var b={};a.forEach(function(c){var d=Date.now()-c.modifiedDate,e=">30d";864E5>d?e="<24h":6048E5>d?e="24h-7d":2592E6>d&&(e="7d-30d");null==
b[e]&&(b[e]=[]);b[e].push(c)});return b},Czb=function(a,b){var c;a=null!=(c=b[a])?c:[];var d={n:a.length,pptCounts:{}};a.forEach(function(e){var f=Uyb(e),h=Syb(e);if(e.unlinkifiedComment&&"changelist"!==f){var l;d.comment=(null!=(l=d.comment)?l:0)+1;var q;d.pptCounts[h]=(null!=(q=d.pptCounts[h])?q:0)+1}if("changelist"===f){var t;d.clCount=(null!=(t=d.clCount)?t:0)+1;var w;d.pptCounts[h]=(null!=(w=d.pptCounts[h])?w:0)+1}else if("create"===f){var B;d.created=(null!=(B=d.created)?B:0)+1;var D;d.pptCounts[h]=
(null!=(D=d.pptCounts[h])?D:0)+1}else if("status"===f&&"Fixed"===Ryb(e,"status")){var J;d.fixed=(null!=(J=d.fixed)?J:0)+1}});return d},Dzb=function(a){a&1&&(G(0,"p",12),S(1),I());a&2&&(a=Q().$implicit,A(),rg(a.description))},Ezb=function(a,b){a&1&&(G(0,"mat-list-option",8)(1,"div",9)(2,"label",10),S(3),I()(),E(4,Dzb,2,1,"p",11),I());a&2&&(a=b.$implicit,b=Q(2),Pf("height","auto"),F("selected",b.selectedIds.has(a.searchId))("value",a.searchId),A(3),rg(a.name),A(),F("ngIf",a.description))},Fzb=function(a,
b){if(a&1){var c=v();L(0);G(1,"mat-selection-list",6);N("selectionChange",function(d){x(c);var e=Q();return y(e.onChangeMatList(d))});E(2,Ezb,5,6,"mat-list-option",7);I();M()}a&2&&(a=b.$implicit,b=Q(),A(2),F("ngForOf",a)("ngForTrackBy",b.trackBySearchId))},Gzb=function(a){a&1&&(K(0,"one-work-area-list",0),V(1,"async"));a&2&&(a=Q(2),F("searchString",W(1,4,a.issueFilter$))("prefKey",a.entityReference)("reference",a.entityReference)("onlyShowTableWhenFiltered",a.onlyShowTableWhenFiltered))},Hzb=function(a){a&
1&&K(0,"b-issue-relations-table",3);if(a&2){a=Q(2);var b=Q();eg("saveExpansionAtKey","project-expansion-",a,"");F("rootIssueId",a)("filters",b.getFilters())("tableColumns",b.TREE_COLUMNS)("options",b.TREE_OPTIONS)("defaultExpansionLevel",0)}},Izb=function(a){a&1&&(K(0,"rollups-project",2)(1,"stat-cards-project",2),E(2,Hzb,1,7,"b-issue-relations-table",3));if(a&2){a=Q();var b=Q();F("id",a);A();F("id",a);A();Uf(b.showTable()?2:-1)}},Jzb=function(a){a&1&&S(0);a&2&&(a=Q(2),T(" Unhandled entity type: ",
a.entityType," "))},Kzb=function(a){a&1&&(K(0,"recent-events",1),V(1,"async"));a&2&&(a=Q(2),F("query",W(1,2,a.issueFilter$))("numEvents",a.numRecentActivityEvents))},Lzb=function(a){a&1&&E(0,Gzb,2,6,"one-work-area-list",0)(1,Izb,3,3)(2,Jzb,1,1)(3,Kzb,2,4,"recent-events",1);a&2&&(a=Q(),Uf("hotlist"===a.entityType||"savedsearch"===a.entityType?0:"issue"===a.entityType?1:2),A(3),Uf(a.hideRecentActivity?-1:3))},Mzb=function(a){return{filter:null!=a?a:void 0,pageSize:500,sort:"modified_time:desc"}},Nzb=
function(a){a&1&&(K(0,"b-issues-table",2),V(1,"async"));a&2&&(a=Q(),F("issueIds",W(1,5,a.issueIds$))("options",a.TABLE_OPTIONS)("filters",a.getFilters())("tableColumns",a.FLAT_LIST_COLUMNS)("initialSort",a.INITIAL_SORT))},Ozb=function(a){a&1&&(G(0,"button",13),K(1,"mat-icon",14),S(2," Add "),I());a&2&&(Q(),a=R(9),F("matMenuTriggerFor",a))},Pzb=function(a){a&1&&K(0,"b-issue-card",29);a&2&&(a=Q().$implicit,F("issueId",a.ref))},Rzb=function(a,b){if(a&1){var c=v();G(0,"li",25);N("click",function(){var d=
x(c).$implicit,e=Q(3);return y(Qzb(e,d.ref))});G(1,"p",26);S(2);I();G(3,"p",27);S(4);I();G(5,"onedev-hovercard",null,2);E(7,Pzb,1,1,"b-issue-card",28);I()()}a&2&&(a=b.$implicit,b=R(6),eg("title","Click to add\n\rWhy this? ",a.suggestionRationale,""),A(2),rg(a.title),A(),F("onedevHovercardTrigger",b),A(),T("b/",a.ref,""),A(3),F("ngIf",a.ref))},Szb=function(a){a&1&&(L(0),G(1,"div",22)(2,"h4"),S(3,"Suggestions:"),I(),G(4,"ol",23),E(5,Rzb,8,6,"li",24),I()(),M());a&2&&(a=Q(2),A(5),F("ngForOf",a.suggestions))},
Tzb=function(a){a&1&&(G(0,"section",15)(1,"div",16),K(2,"img",17),E(3,Szb,6,1,"ng-container",18),I(),G(4,"p",19),S(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),I(),G(6,"button",20),K(7,"mat-icon",21),S(8," Add work area "),I()());if(a&2){a=Q();var b=R(9);A(2);F("src",a.EMPTY_STATE_IMG,Ye);A();F("ngIf",0<a.suggestions.length);A(3);F("matMenuTriggerFor",b)}},Uzb=function(a){a&1&&(G(0,"a",44),K(1,"mat-icon",45),S(2," View Issue "),I(),G(3,"a",46),
K(4,"mat-icon",45),S(5," View as search results "),I());if(a&2){a=Q(2).$implicit;var b=Q(2);F("routerLink",b.makeBuganizerUrl(a));A(3);F("href",b.makeIlpUrlForParentIssue(a),Ye)}},Vzb=function(a){a&1&&(G(0,"a",37),K(1,"mat-icon",45),S(2),I());if(a&2){a=Q(2).$implicit;var b=Q(2);F("routerLink",b.makeBuganizerUrl(a));A(2);T(" View ",b.getEntityTypeName(a)," ")}},Wzb=function(a,b){if(a&1){var c=v();G(0,"button",11);N("click",function(){var d=x(c).$implicit,e=Q(4);e.clipboard.copy(d);wr(e.butterBar,"ID copied",
2E3);return y()});K(1,"mat-icon",47);S(2);I()}a&2&&(a=b.$implicit,A(2),T(" Copy ID: ",a," "))},Yzb=function(a){if(a&1){var b=v();S(0);G(1,"button",34);N("click",function(h){x(b);return y(h.stopPropagation())});K(2,"mat-icon",35);I();G(3,"mat-menu",36,3);E(5,Uzb,6,2)(6,Vzb,3,2,"a",37)(7,Wzb,3,1,"button",38);K(8,"mat-divider");G(9,"button",39);N("click",function(){x(b);var h=Q().$implicit,l=Q(2);return y(Xzb(l.prefsService,h,-1))});K(10,"mat-icon",40);S(11," Move Left ");I();G(12,"button",39);N("click",
function(){x(b);var h=Q().$implicit,l=Q(2);return y(Xzb(l.prefsService,h,1))});K(13,"mat-icon",41);S(14," Move Right ");I();G(15,"button",42);N("click",function(){x(b);var h=Q().$implicit,l=Q(2).prefsService;if(null!=h){var q,t=(null!=(q=l.prefs.workAreaUrls)?q:[]).slice();h=t.indexOf(h);0>h||(t.splice(h,1),Qr(l,{workAreaUrls:t}))}return y()});K(16,"mat-icon",43);S(17," Remove ");I()()}if(a&2){a=R(4);var c=Q(),d=c.$implicit,e=c.first;c=c.last;var f=Q(2);T(" ",f.titles[d]||d," ");A();F("matMenuTriggerFor",
a);A(4);Uf("issue"===f.inferEntityType(d)?5:6);A(2);F("ngIf",f.extractLastDigits(d));A(2);F("disabled",e);A(3);F("disabled",c);A(3);eg("title","Hide the work area '",d,"' from this section")}},Zzb=function(a){a&1&&K(0,"one-work-area",48);if(a&2){a=Q().$implicit;var b=Q(2);F("reference",a)("refreshWorkArea",b.refreshData)}},$zb=function(a){a&1&&(L(0),G(1,"mat-tab"),E(2,Yzb,18,8,"ng-template",32)(3,Zzb,1,2,"ng-template",33),I(),M())},bAb=function(a){if(a&1){var b=v();G(0,"mat-tab-group",30);N("selectedIndexChange",
function(c){x(b);var d=Q();return y(aAb(d.prefsService,d.SECTION_SLUG,c))});E(1,$zb,4,0,"ng-container",31);I()}a&2&&(a=Q(),F("selectedIndex",a.INITIAL_TAB_INDEX),A(),F("ngForOf",a.workAreaReferences))},fAb=function(a){if(a&1){var b=v();G(0,"button-toggle",12);vg("valueChange",function(c){x(b);var d=Q(2);ug(d.viewMode,c)||(d.viewMode=c);return y(c)});I()}a&2&&(a=Q(2),tg("value",a.viewMode),F("choices",Bg(4,cAb,zg(2,dAb),zg(3,eAb))))},gAb=function(a,b){a&1&&E(0,fAb,1,7,"button-toggle",11);a&2&&(a=Q(),
Uf(a.viewModesEnabled&&(a.viewMode||500>=b)?0:-1))},hAb=function(a){a&1&&(G(0,"div",13),K(1,"b-spinner"),G(2,"span"),S(3),I()());a&2&&(a=Q(),A(3),T(" Searching",a.query?" for "+a.query:"","..."))},iAb=function(a){a&1&&(L(0),S(1," No issues match your search. "),M())},jAb=function(a){a&1&&S(0," Use search box to find issues. ")},lAb=function(a){a&1&&(G(0,"a",18),S(1," Click to see all open issues"),I());a&2&&F("queryParams",zg(1,kAb))},mAb=function(a){a&1&&(G(0,"a",19),S(1,"Learn more about searching"),
I())},nAb=function(a){a&1&&(G(0,"div",14),K(1,"img",15),E(2,iAb,2,0,"ng-container",16)(3,jAb,1,0,"ng-template",null,0,Eg)(5,lAb,2,2,"a",17),V(6,"async"),E(7,mAb,2,0,"ng-template",null,1,Eg),I());if(a&2){var b;a=R(4);var c=R(8),d=Q();F("bFocus",!0);A();F("src",d.SPACE_EMPTY_STATE,Ye);A();F("ngIf",d.query)("ngIfElse",a);A(3);F("ngIf",null!==(b=W(6,6,d.currentTracker.inTracker$))&&void 0!==b?b:!1)("ngIfElse",c)}},oAb=function(a){a&1&&K(0,"one-work-area-list",22)(1,"recent-events",23);a&2&&(a=Q(2),F("searchString",
a.query)("prefKey",a.query),A(),F("query",a.query)("numEvents",12))},qAb=function(a){if(a&1){var b=v();G(0,"b-issues-grid",24);N("init",function(c){x(b);var d=Q(2);return y(d.resultsGrid=c)});vg("columnsChange",function(c){x(b);var d=Q(2);ug(d.issueColumns,c)||(d.issueColumns=c);return y(c)});N("columnsChange",function(){x(b);Q(2);pAb();return y()})("sortChange",function(c){x(b);var d=Q(2);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=Q(2);return y(d.goToIssue(c.id,
c.isRead,c.event))})("onNextPage",function(){x(b);var c=Q(2);return y(Rr(c,c.page,1))})("onPrevPage",function(){x(b);var c=Q(2);return y(Rr(c,c.page,-1))});I()}a&2&&(a=Q(2),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),tg("columns",a.issueColumns),F("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},rAb=function(a){a&1&&(G(0,"div",20),E(1,oAb,2,4)(2,qAb,1,6,"b-issues-grid",21),I());a&2&&(a=Q(),A(),Uf(a.viewModesEnabled&&"adv"===a.viewMode?
1:2))},sAb=function(a){a&1&&(G(0,"div",9),K(1,"b-spinner"),S(2," Loading recent issues... "),I())},tAb=function(a){a&1&&(G(0,"div",10),S(1," No recent issues found. "),I())},uAb=function(a){if(a&1){var b=v();G(0,"div",11)(1,"b-issues-grid",12);N("init",function(c){x(b);var d=Q();return y(d.resultsGrid=c)});vg("columnsChange",function(c){x(b);var d=Q();ug(d.issueColumns,c)||(d.issueColumns=c);return y(c)});N("sortChange",function(c){x(b);var d=Q();return y(d.setSort(c.field,c.direction))})("rowClick",
function(c){x(b);var d=Q();return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){var c;x(b);var d=Q();return y(d.goToPage((null!==(c=d.page)&&void 0!==c?c:0)+1))})("onPrevPage",function(){var c;x(b);var d=Q();return y(d.goToPage((null!==(c=d.page)&&void 0!==c?c:0)-1))});I()()}a&2&&(a=Q(),A(),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),tg("columns",a.issueColumns),F("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},vAb=function(a,b){return b.map(function(c){var d=
a.indexOf(String(c.id));return[a.length-d,c]}).sort(function(c,d){var e=k(c);c=e.next().value;e.next();d=k(d);e=d.next().value;d.next();return c-e}).map(function(c){c=k(c);c.next();return c.next().value})},wAb=function(a){a&1&&(G(0,"div",6)(1,"h2"),S(2,"Manage SLOs"),I(),G(3,"p",7),S(4,"You have admin rights for all SLOs listed below."),I()())},xAb=function(a){a&1&&K(0,"b-spinner",8);a&2&&F("large",!0)},yAb=function(a){a&1&&(G(0,"div",11),S(1,"You have no Active SLOs"),I())},zAb=function(a){a&1&&
K(0,"b-slo-grid",12);a&2&&(a=Q(2),F("slos",a.activeSlos))},AAb=function(a){a&1&&(L(0),E(1,yAb,2,0,"div",9)(2,zAb,1,1,"b-slo-grid",10),M());a&2&&(a=Q(),A(),F("ngIf",!a.activeSlos.length),A(),F("ngIf",a.activeSlos.length))},BAb=function(a){a&1&&(G(0,"p",19),S(1," You have no archived SLOs. "),I())},CAb=function(a){a&1&&K(0,"b-slo-grid",12);a&2&&(a=Q(3),F("slos",a.archivedSlos))},DAb=function(a){a&1&&(G(0,"div",17),E(1,BAb,2,0,"p",18)(2,CAb,1,1,"b-slo-grid",10),I());a&2&&(a=Q(2),A(),F("ngIf",!a.archivedSlos.length),
A(),F("ngIf",a.archivedSlos.length))},EAb=function(a){if(a&1){var b=v();L(0);G(1,"button",13);N("click",function(){x(b);var c=Q();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return y()});G(2,"h4",14);K(3,"mat-icon",15);S(4);I()();E(5,DAb,3,2,"div",16);M()}a&2&&(a=Q(),A(3),Qf("rotate-180",a.areArchivedSlosExpanded),F("svgIcon","arrow-dropdown"),A(),T(" Archived SLOs (",a.archivedSlos.length,") "),A(),F("ngIf",a.areArchivedSlosExpanded))},FAb=function(a){a&1&&(L(0),G(1,"p"),S(2,"Team inheritance path:"),
I(),K(3,"b-team-breadcrumb",1),M());a&2&&(a=Q(),A(3),F("teamPath",a.teamPath))},GAb=function(a){a&1&&(L(0),G(1,"p"),S(2,"Component inheritance path:"),I(),K(3,"b-component-breadcrumb",2),M());a&2&&(a=Q(),A(3),F("componentPathInfo",a.componentPath))},HAb=function(a){var b={};a=k(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},KAb=function(a){return{approximateSize:Zi(a,2),groupEmail:ec(a,1),sizeCategory:IAb[Qi(a,3,0)],permissionCategory:JAb[Qi(a,5,0)]}},
MAb=function(a){a=Ii(a,LAb,1,hi());return{groupMetadata:(null!=a?a:[]).map(KAb)}},OAb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(NAb),e=d.next();!e.done;e=d.next()){e=e.value;var f=si(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},QAb=function(a,b){if(!a.appenders||!b||ki(b.appenders,a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,PAb.has(c)&&!b.appenders.includes(c))return!0;return!1},RAb=
function(a){var b=new Map;a=k(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},SAb=function(a,b){return 0!==a&&0!==b?"Adding large and open groups to a public component":0!==a?1===a?"Adding a large group to a public component":"Adding large groups to a public component":1===b?"Adding an open group to a public component":"Adding open groups to a public component"},TAb=function(a){if(0===a.size)return Sr;
for(var b=1===a.size?yh("p",{},"The following large group is added: "):yh("p",{},"The following large groups are added: "),c=[],d=k(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(yh("p",{},xh([yh("b",{},e)," has approximately ",yh("b",{},f)," Googlers."])))}return xh([b].concat(u(c)))},UAb=function(a){if(0===a.size)return Sr;var b=1===a.size?yh("p",{},"The following open group is added: "):yh("p",{},"The following open groups are added: "),c=[];a=k(a.keys());
for(var d=a.next();!d.done;d=a.next())c.push(yh("p",{},yh("b",{},d.value)));return xh([b].concat(u(c)))},VAb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,"OPEN_TO_JOIN"===c.permissionCategory&&b.set(c.groupEmail,c);return b},WAb=function(a,b){var c=b.restrictedPlusReaders;return 0<a.restrictedPlusReaders.filter(function(d){return!c.includes(d)}).filter(function(d){return d.startsWith("GROUP:")}).length},XAb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);
var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(f){return!d.includes(f)});b=c.filter(function(f){return f.startsWith("GROUP:")});var e=c.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},Tr=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:jsa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},YAb=function(a,b){a&1&&K(0,
"b-contact-chip",6);a&2&&(a=b.$implicit,b=Q(2),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},ZAb=function(a,b){a&1&&(L(0),G(1,"tr",3)(2,"th",4),S(3),I(),G(4,"td"),E(5,YAb,1,5,"b-contact-chip",5),I()(),M());a&2&&(a=b.$implicit,A(3),rg(a.permission),A(2),F("ngForOf",a.principals))},cBb=function(a){var b="minimal";b=void 0===b?"expanded":b;a=$Ab(a);a=wNa(a,function(c){c=aBb(c);return bBb(c,b)});return $Ab(a)},
eBb=function(a){a=$Ab(a);a=wNa(a,function(b){b=dBb(b);return aBb(b)});return $Ab(a)},bBb=function(a,b){var c="expanded"===b?fBb:gBb;return new Set([].concat(u(a)).flatMap(function(d){return[].concat(u(c.get(d)))}))},dBb=function(a){return new Set(Ur.filter(function(b){return Sra(a,gBb.get(b))}))},aBb=function(a){a=bBb(a,"expanded");var b=dBb(a);return new Set([].concat(u(b)).filter(function(c){return[].concat(u(hBb.get(c))).every(function(d){return!b.has(d)})}))},$Ab=function(a){var b=new Map;a=k(a.entries());
for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,(null!=(f=b.get(e))?f:new Set).add(c))}}return b},jBb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var l=c.get(f);l.add(h);var q;h=k(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(f,q)}var b=iBb,c=new Map,d=[].concat(u(b.values())).flatMap(function(f){return[].concat(u(f))});d=k(new Set([].concat(u(b.keys()),
u(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},kBb=function(a){var b=cBb(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(u(null!=(e=b.get(d))?e:[])).sort()};return{componentPermissions:{inheritedAdmins:a.inheritedComponentAdmin,admins:c("componentAdmin"),appenders:c("componentAppender")},issuesPermissions:{admins:c("issueAdmin"),editors:c("issueEditor"),appenders:c("issueAppender"),readers:c("issueReader"),restrictedReaders:c("issueRestrictedReader"),
restrictedPlusReaders:c("issueRestrictedPlusReader")}}},lBb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Rj([].concat(u(b?[].concat(u(b.inheritedAdmins||[]),u(b.admins||[]),u(b.appenders||[])):[]),u(a?[].concat(u(a.admins||[]),u(a.editors||[]),u(a.appenders||[]),u(a.readers||[]),u(a.restrictedReaders||[]),u(a.restrictedPlusReaders||[])):[]))).sort()},nBb=function(a){function b(e){var f;return[].concat(u(null!=(f=d.get(e))?f:[])).sort()}if(!a)return mBb;var c=a.issueAccessPolicy;
a=a.componentAccessPolicy;var d=eBb(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}},oBb=function(a,b){var c;(c=!b)||(c=!(!ki([].concat(u(b.admins)).sort(),[].concat(u(a.admins)).sort())||!ki([].concat(u(b.appenders)).sort(),
[].concat(u(a.appenders)).sort())||!ki(b.implicitAccess,a.implicitAccess)));return!c},pBb=function(a,b){return b&&a?!ki([].concat(u(a.admins)).sort(),[].concat(u(b.admins)).sort())||!ki([].concat(u(a.editors)).sort(),[].concat(u(b.editors)).sort())||!ki([].concat(u(a.appenders)).sort(),[].concat(u(b.appenders)).sort())||!ki([].concat(u(a.readers)).sort(),[].concat(u(b.readers)).sort())||!ki([].concat(u(a.restrictedReaders)).sort(),[].concat(u(b.restrictedReaders)).sort())||!ki([].concat(u(a.restrictedPlusReaders)).sort(),
[].concat(u(b.restrictedPlusReaders)).sort()):!1},qBb=function(a,b){var c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Yta(a[d],b[d]))return!0;return!1},rBb=function(a){if(a&1){var b=v();G(0,"input",16);vg("ngModelChange",function(c){x(b);var d=Q(2);ug(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return y(c)});I()}a&2&&(a=Q(2),F("disabled",!a.rolesEditor.isAdmin),tg("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
sBb=function(a){if(a&1){var b=v();G(0,"input",17);vg("ngModelChange",function(c){x(b);var d=Q(2);ug(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return y(c)});I()}a&2&&(a=Q(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner()),tg("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},tBb=function(a){if(a&1){var b=v();G(0,"input",18);vg("ngModelChange",function(c){x(b);var d=Q(2);ug(d.rolesEditor.component.accessLimit.accessLevel,
c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return y(c)});I()}a&2&&(a=Q(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic()),tg("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},uBb=function(a,b){a&1&&(G(0,"p",19)(1,"a",20),S(2," Learn more "),I()());a&2&&(a=b.$implicit,A(),F("href",a,Ye))},vBb=function(a){a&1&&(G(0,"div",3)(1,"div",4)(2,"span",5),S(3,"Component visibility: "),I()(),G(4,"div",6)(5,"div",7),E(6,rBb,1,2,"input",8),G(7,"label",9),S(8),I()(),G(9,"div",7),
E(10,sBb,1,2,"input",10),G(11,"label",11),S(12),I()(),G(13,"div",12),E(14,tBb,1,2,"input",13),G(15,"label",14),S(16),I()()(),E(17,uBb,3,1,"p",15),I());a&2&&(a=Q(),A(6),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),A(2),T(" ",zUa(a.AccessLevelStrings.INTERNAL)," "),A(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),A(2),T(" ",zUa(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),A(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
A(2),T(" ",zUa(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),A(),F("ngIf",sWa(a.documentationLinks)))},ABb=function(a,b){if(a&1){var c=v();L(0);G(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);S(6);I();G(7,"button",5);K(8,"mat-icon",6);I()();G(9,"b-multi-user-input",7);N("usersChange",function(e){var f=x(c).$implicit,h=Q();return y(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=x(c).$implicit,h=Q();h.aclFormValidity.set(f.roleType,e);e=[].concat(u(h.aclFormValidity.values())).every(Boolean);
h.formIsValid.emit(e);return y()});I()()();G(10,"td");K(11,"b-icon",8);I();G(12,"td");K(13,"b-icon",8);I();G(14,"td");K(15,"b-icon",8);I();G(16,"td");K(17,"b-icon",8);I();G(18,"td");K(19,"b-icon",8);I();G(20,"td");K(21,"b-icon",8);I();G(22,"td");K(23,"b-icon",8);I();G(24,"td");K(25,"b-icon",8);I()();M()}if(a&2){var d;a=b.$implicit;b=Q();A(3);Qf("bv2-edit-resource-readonly",b.canEdit);A(2);F("htmlFor",a.roleType);A();rg(a.label);A();F("matTooltip",a.tooltip);A(2);F("idForInputBox",a.roleType)("users",
a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&void 0!==d?d:zg(22,wBb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Ag(26,xBb,Bg(23,yBb,a.chips.displayText,a.chips.values)):zg(28,zBb));Hf("disabled",b.canEdit?null:!0);A(2);F("name",b.getIconName(a,"componentAdmin"));A(2);F("name",b.getIconName(a,"createIssues"));A(2);F("name",
b.getIconName(a,"issueAdmin"));A(2);F("name",b.getIconName(a,"issueEditor"));A(2);F("name",b.getIconName(a,"issueCommenter"));A(2);F("name",b.getIconName(a,"issueReader"));A(2);F("name",b.getIconName(a,"restrictedReader"));A(2);F("name",b.getIconName(a,"restrictedPlusReader"))}},BBb=function(a){a&1&&(G(0,"div",2),K(1,"b-spinner"),I())},DBb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",3)(2,"mat-tab-group",4);N("selectedIndexChange",function(c){x(b);var d=Q();return y(d.tabChange(c))});G(3,"mat-tab",
5)(4,"roles-view",6);N("saveRolesMap",function(c){x(b);var d=Q();CBb(d.rolesEditor,c);return y()});I()();G(5,"mat-tab",7);K(6,"permissions-view",8);I()()()()}a&2&&(a=Q(),A(2),F("selectedIndex",a.selectedTabIndex),A(2),F("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),A(2),F("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",
null==a.rolesEditor.component?null:null==a.rolesEditor.component.accessLimit?null:a.rolesEditor.component.accessLimit.accessLevel))},FBb=function(a){if(a&1){var b=v();G(0,"b-button",24,2);N("onAction",function(){x(b);var c=Q(3);return y(EBb(c))});S(2);I()}a&2&&(a=Q(3),F("disabled",a.isSaving()),A(2),T(" ",a.archiveAction," Component "))},GBb=function(a){if(a&1){var b=v();G(0,"b-button",25);N("onAction",function(){x(b);var c=Q(3);return y(c.createIssue())});S(1," Create Issue ");I()}a&2&&(a=Q(3),F("tooltip",
a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},HBb=function(a){a&1&&(L(0),G(1,"a",21),S(2," Browse Components "),I(),E(3,FBb,3,2,"b-button",22)(4,GBb,2,2,"b-button",23),M());a&2&&(a=Q(2),A(),F("routerLinkObj",a.componentListRoute(a.component.componentId)),A(2),F("ngIf",a.isAdmin()),A(),F("ngIf",!a.isAnonymous))},IBb=function(a){a&1&&(G(0,"div",26),K(1,"b-spinner"),I())},JBb=function(a){a&1&&(G(0,"span",42),S(1," (archived) "),I())},KBb=function(a){a&1&&
Yf(0)},LBb=function(a){a&1&&Yf(0)},MBb=function(a){a&1&&Yf(0)},NBb=function(a){a&1&&Yf(0)},OBb=function(a){a&1&&Yf(0)},QBb=function(a){if(a&1){var b=v();G(0,"div",81)(1,"div",51)(2,"label",82)(3,"span",48);S(4,"Parent Component");I()();G(5,"span",53)(6,"div",83)(7,"strong");S(8,"Careful!");I();S(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. ");
G(10,"div",55);K(11,"div",56)(12,"div",57);I()()()();G(13,"b-team-component-picker",84);N("selectedComponentChange",function(c){x(b);var d=Q(4);return y(d.parentComponent=null!==c&&void 0!==c?c:null)});I()()}a&2&&(a=Q(4),A(2),Qf("required",a.isParentComponentRequired&&!PBb(a)),A(11),F("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!PBb(a)))},RBb=function(a){a&1&&(G(0,"a",85),S(1," Learn more "),I());a&2&&(Q(4),F("href",Ohb(),Ye))},
SBb=function(a){if(a&1){var b=v();G(0,"div",86)(1,"label",87)(2,"span",48);S(3,"Retention Settings");I()();G(4,"div",88)(5,"p");S(6,"Please choose a period of time to retain the data stored in this component.");K(7,"br");G(8,"a",89);S(9," Learn more ");I()()();G(10,"div",90)(11,"b-retention-settings-form",91);N("modelChange",function(c){x(b);var d=Q(4);return y(d.component.retentionSettings=c)})("validChange",function(c){x(b);Q(4).retentionIsValid=c;return y()});I()()()}a&2&&(a=Q(4),Qf("bv2-edit-resource-readonly",
!a.isAdmin()),A(8),F("href",Vr(),Ye),A(3),F("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},UBb=function(a){if(a&1){var b=v();G(0,"div",95)(1,"b-component-team-picker",96);N("modelChange",function(c){x(b);var d=Q(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&TBb(d);return y()});I()()}a&2&&
(a=Q(5),A(),fg("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),F("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},VBb=function(a){a&1&&(G(0,"div",92)(1,"label",93)(2,"span",48),S(3,"Team Configuration"),I()(),E(4,UBb,2,6,"div",94),I());a&2&&(a=Q(4),Qf("bv2-edit-resource-readonly",!a.isAdmin()),A(4),F("ngIf",a.component.team))},WBb=function(a){a&1&&(G(0,"a",108),
S(1),I());if(a&2){var b;a=Q().ngIf;var c=Q(5);F("routerLinkObj",c.getSloManagementLink(a.id));A();T(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},XBb=function(a){a&1&&S(0," None ")},YBb=function(a,b){a&1&&(G(0,"div",106),S(1," Inherited SLO Policy: "),E(2,WBb,2,2,"a",107)(3,XBb,1,0,"ng-template",null,9,Eg),I());a&2&&(a=b.ngIf,b=R(4),A(2),F("ngIf","0"!==a.id)("ngIfElse",b))},ZBb=function(a){a&1&&(G(0,"a",112),S(1),V(2,"titlecase"),I());a&2&&(a=Q().ngIf,F("routerLinkObj",a.link),
A(),sg(" (",W(2,3,a.type),") ",a.name," "))},$Bb=function(a){a&1&&S(0," None ")},aCb=function(a){a&1&&(G(0,"div",114),K(1,"slo-inheritance-breadcrumbs",115),I());a&2&&(a=Q().ngIf,A(),F("componentPath",a.componentPath)("teamPath",a.teamPath))},bCb=function(a){a&1&&(L(0),E(1,aCb,2,2,"div",113),M());a&2&&(a=Q(6),A(),F("ngIf",a.showSloInheritancePath))},cCb=function(a,b){if(a&1){var c=v();G(0,"div",109);S(1," Policy Source: ");E(2,ZBb,3,5,"a",110)(3,$Bb,1,0,"ng-template",null,10,Eg);G(5,"button",111);
N("click",function(){x(c);var e=Q(5);return y(e.showSloInheritancePath=!e.showSloInheritancePath)});S(6);I();E(7,bCb,2,1,"ng-container",18);V(8,"async");I()}if(a&2){a=b.ngIf;b=R(4);var d=Q(5);A(2);F("ngIf",a.link)("ngIfElse",b);A(3);Hf("aria-expanded",d.showSloInheritancePath);A();T(" ",d.showSloInheritancePath?"Hide":"Show"," full path ");A();F("ngIf",W(8,5,d.policySourcePath$))}},dCb=function(a){a&1&&(L(0),S(1,", "),G(2,"a",117),S(3,"Team Leads"),I(),M());a&2&&(a=Q(7),A(2),F("routerLinkObj",{path:"/teams/"+
a.component.team.id+"/edit",fragment:a.tabsService.Tab.ACCESS}))},eCb=function(a){a&1&&(L(0),S(1," SLO Admins: "),G(2,"a",117),S(3,"Component Admins"),I(),E(4,dCb,4,1,"ng-container",18),M());a&2&&(a=Q(6),A(2),F("routerLinkObj",a.componentPermissions(a.componentId)),A(2),F("ngIf",a.component.team&&"0"!==a.component.team.id))},fCb=function(a){a&1&&(G(0,"div",116),E(1,eCb,5,2,"ng-container",18),I());a&2&&(a=Q(5),A(),F("ngIf",a.enableTeamLeadSloEditingUi))},gCb=function(a){a&1&&(L(0),K(1,"mat-icon",118),
S(2," on "),M())},hCb=function(a){a&1&&(K(0,"mat-icon",119),S(1," off "))},iCb=function(a){a&1&&(L(0),S(1," Lock: "),E(2,gCb,3,0,"ng-container",12),V(3,"async"),E(4,hCb,2,0,"ng-template",null,11,Eg),M());if(a&2){a=R(5);var b=Q(5);A(2);F("ngIf",W(3,2,b.sloLocked$))("ngIfElse",a)}},kCb=function(a){if(a&1){var b=v();G(0,"div",120)(1,"mat-checkbox",121);N("change",function(c){x(b);var d=Q(5);c=c.checked;d.component.slo.inherit=!c;c||TBb(d);return y()});G(2,"span");S(3,"Override the inherited SLO policy");
I()()()}a&2&&(a=Q(5),A(),F("checked",!a.component.slo.inherit)("disabled",!jCb(a)))},lCb=function(a){if(a&1){var b=v();G(0,"div",128)(1,"label",129);S(2," Justification ");I();K(3,"mat-icon",130);G(4,"textarea",131);vg("ngModelChange",function(c){x(b);var d=Q(6);ug(d.component.slo.comment,c)||(d.component.slo.comment=c);return y(c)});I()()}a&2&&(a=Q(6),A(4),tg("ngModel",a.component.slo.comment),F("disabled",!Wr(a)))},mCb=function(a){a&1&&(G(0,"a",132),K(1,"mat-icon",133),I());a&2&&(a=Q(6),fg("target",
a.hasUnsavedChanges()?"_blank":"_self"),F("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},qCb=function(a){if(a&1){var b=v();L(0);E(1,lCb,5,2,"div",122);G(2,"mat-slide-toggle",123);vg("ngModelChange",function(c){x(b);var d=Q(5);ug(d.isEnableSloChecked,c)||(d.isEnableSloChecked=c);return y(c)});N("change",function(c){x(b);var d=Q(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return y()});S(3," Enable SLO ");I();G(4,"div",124)(5,"label",125);S(6,"SLO policy");I();G(7,
"slo-picker",126);N("onSloSelect",function(c){x(b);var d=Q(5);return y(d.onSloChange(c))});I();E(8,mCb,2,2,"a",127);I();M()}a&2&&(a=Q(5),A(),F("ngIf",nCb(a)),A(),Qf("indented",oCb(a)),tg("ngModel",a.isEnableSloChecked),F("disabled",!pCb(a)),A(5),F("bv2Disabled",!a.isEnableSloChecked||!pCb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&pCb(a)?"Type to search for an SLO":"SLO disabled"),A(),F("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},rCb=function(a){a&1&&(G(0,
"div",97)(1,"div",51)(2,"label",98)(3,"span",48),S(4,"SLO Configuration"),I()(),G(5,"span",53)(6,"div",99)(7,"strong"),S(8,"Careful!"),I(),S(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. "),G(10,"div",55),K(11,"div",56)(12,"div",57),I()()()(),G(13,"div",100),E(14,YBb,5,2,"div",101),V(15,"async"),E(16,cCb,9,7,"div",102),V(17,"async"),E(18,fCb,2,1,"div",103),G(19,"div",104),E(20,iCb,
6,4,"ng-container",18),I()(),E(21,kCb,4,2,"div",105)(22,qCb,9,9,"ng-container",18),I());if(a&2){a=Q(4);Qf("bv2-edit-resource-readonly",!Wr(a));A(14);F("ngIf",W(15,8,a.inheritedSlo$));A(2);F("ngIf",W(17,10,a.sloPolicySource$));A(2);F("ngIf",a.sessionIsInternal);A(2);F("ngIf",a.enableSloLockingUi);A();F("ngIf",oCb(a));A();if(a.component&&a.component.slo){var b=!!a.component.team&&"0"!==a.component.team.id,c=!a.component.slo.inherit;a=0===a.component.parentComponentId&&!b||c}else a=!1;F("ngIf",a)}},
sCb=function(a){if(a&1){var b=v();G(0,"mat-slide-toggle",134);N("change",function(c){x(b);Q(4).component.spamProtection=c.checked?"ALL_PROTECTIONS":"NO_PROTECTIONS";return y()});S(1," Enable Spam Protections ");I()}a&2&&(a=Q(4),F("checked",a.sessionIsInternal&&"EXTERNAL_PUBLIC"===a.getComponentAccessLevel()?"ALL_PROTECTIONS"===a.component.spamProtection||"SPAM_PROTECTION_UNSPECIFIED"===a.component.spamProtection:!1)("disabled",a.isAccessEditDisabled()))},tCb=function(a){if(a&1){var b=v();G(0,"div",
77)(1,"b-button",135);N("onAction",function(){x(b);var c=Q(4);return y(c.saveMetadata())});S(2," Update ");I();G(3,"b-button",136);N("onAction",function(){x(b);var c=Q(4);return y(c.revertMetadataChanges())});S(4," Revert Changes ");I();G(5,"b-button",136);N("onAction",function(){x(b);var c=Q(4);return y(c.createChild())});S(6," Create Child Component ");I()()}a&2&&(a=Q(4),A(),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),A(2),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
A(2),F("disabled",a.hasUnsavedMetadataChanges()))},uCb=function(a){if(a&1){var b=v();G(0,"b-button",137);N("onAction",function(){x(b);var c=Q(4);return y(c.showUpdateHistoryModal())});S(1," View History ");I()}},vCb=function(a){a&1&&K(0,"b-spinner")},wCb=function(a){if(a&1){var b=v();G(0,"b-component-children-list",138);N("onVisit",function(){x(b);var c=Q(4);return y(c.trackClick("openChildComponent"))});I()}a&2&&(a=Q(4),F("children",a.childComponents))},xCb=function(a){a&1&&(G(0,"span"),S(1," No child components. "),
I())},yCb=function(a){if(a&1){var b=v();G(0,"div",43)(1,"form",44,8);K(3,"b-error-banner",45);G(4,"div",46)(5,"label",47)(6,"span",48);S(7,"Name");I()();G(8,"input",49);vg("ngModelChange",function(c){x(b);var d=Q(3);ug(d.component.name,c)||(d.component.name=c);return y(c)});I()();G(9,"div",50)(10,"div",51)(11,"label",52)(12,"span",48);S(13,"Description");I()();G(14,"span",53)(15,"div",54);S(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. ");
G(17,"div",55);K(18,"div",56)(19,"div",57);I()()()();G(20,"textarea",58);vg("ngModelChange",function(c){x(b);var d=Q(3);ug(d.component.description,c)||(d.component.description=c);return y(c)});S(21,"              ");I()();E(22,QBb,14,5,"div",59);G(23,"div",60)(24,"div",61)(25,"mat-checkbox",62);N("change",function(c){x(b);var d=Q(3);return y(d.setCommentEditState(c.checked))});I()();G(26,"div")(27,"strong",63);S(28,"Editable Comments");I();G(29,"div",64);S(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
K(31,"br");E(32,RBb,2,1,"a",65);I()()();E(33,SBb,12,8,"div",66)(34,VBb,5,3,"div",67)(35,rCb,23,12,"div",68);G(36,"div",69)(37,"div",51)(38,"label",70)(39,"span",48);S(40,"Component Alias");I()();G(41,"span",53)(42,"div",71);S(43," You can create a new issue in this component by sending an email to this alias. ");K(44,"br");G(45,"a",72);S(46," Learn more ");I();G(47,"div",55);K(48,"div",56)(49,"div",57);I()()()();G(50,"div")(51,"a",73);S(52);I()()();E(53,sCb,2,2,"mat-slide-toggle",74);G(54,"div",75);
E(55,tCb,7,3,"div",76);G(56,"div",77);E(57,uCb,2,0,"b-button",78);I()();G(58,"div",79)(59,"label")(60,"span",48);S(61,"Child Components");I()();E(62,vCb,1,0,"b-spinner",18)(63,wCb,1,1,"b-component-children-list",80)(64,xCb,2,0,"span",18);I()()()}a&2&&(a=Q(3),A(),Qf("show-errors",a.error),A(2),F("error",a.error),A(),Qf("bv2-edit-resource-readonly",Xr(a)),A(4),tg("ngModel",a.component.name),F("disabled",Xr(a)),A(),Qf("bv2-edit-resource-readonly",Xr(a)),A(11),tg("ngModel",a.component.description),F("disabled",
Xr(a)),A(2),F("ngIf",a.isAdmin()),A(),Qf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),A(2),F("checked",a.commentEditsEnabled)("disabled",Xr(a)),A(7),F("ngIf",!a.sessionIsExternal),A(),F("ngIf",!a.sessionIsExternal),A(),F("ngIf",a.sessionIsInternal),A(),F("ngIf",a.component.slo&&a.sessionIsInternal),A(10),F("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Ye),A(6),eg("href","mailto:",a.component.emailAlias,"",Ye),Hf("aria-label","Component Alias -"+a.component.emailAlias),
A(),rg(a.component.emailAlias),A(),F("ngIf",a.sessionIsInternal&&"EXTERNAL_PUBLIC"===a.getComponentAccessLevel()),A(2),F("ngIf",a.isEditorInternal||Wr(a)),A(2),F("ngIf",a.componentHistoryUiEnabled),A(5),F("ngIf",void 0===a.childComponents),A(),F("ngIf",a.childComponents&&0<a.childComponents.length),A(),F("ngIf",a.childComponents&&0===a.childComponents.length))},zCb=function(a){a&1&&(G(0,"div",143),S(1," Standard Fields "),I())},BCb=function(a){if(a&1){var b=v();G(0,"b-component-standard-fields",144);
N("updateComponent",function(c){x(b);var d=Q(4);return y(ACb(d,c))});I()}a&2&&(a=Q(4),F("effortSpec",a.component.effortSpec)("parentEffortSpec",null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},CCb=function(a){a&1&&(G(0,"div",145),S(1," Custom Fields "),I())},DCb=function(a){a&1&&(E(0,zCb,2,0,"div",139)(1,BCb,1,3,"b-component-standard-fields",140)(2,CCb,2,0,"div",141),K(3,"b-component-custom-fields",142));a&2&&(a=Q(3),F("ngIf",a.sessionIsInternal&&!a.isExternal()),
A(),F("ngIf",a.sessionIsInternal&&!a.isExternal()),A(),F("ngIf",a.sessionIsInternal&&!a.isExternal()),A(),F("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},FCb=function(a){a&1&&(G(0,"a",149),S(1," Learn more "),I());a&2&&(Q(4),F("href",ECb(),Ye))},HCb=function(a){if(a&1){var b=v();G(0,"div",43)(1,"div",146);S(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");
E(3,FCb,2,1,"a",147);I();G(4,"b-field-reorder",148);N("onReload",function(){x(b);var c=Q(3);return y(GCb(c))});I()()}a&2&&(a=Q(3),A(3),F("ngIf",a.sessionIsInternal),A(),F("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},ICb=function(a){a&1&&K(0,"b-edit-templates",151);a&2&&(a=Q(4),F("componentId",a.componentId)("supportCustomFields",!0))},JCb=function(a){a&1&&(G(0,"div"),S(1),I());a&2&&(a=Q().$implicit,A(),rg(a.description))},
KCb=function(a,b){a&1&&(G(0,"div",153)(1,"label"),S(2),I(),E(3,JCb,2,1,"div",18),G(4,"div")(5,"a",73),S(6),I()()());a&2&&(a=b.$implicit,A(2),rg(a.name),A(),F("ngIf",a.description),A(2),F("href",a.url,Ye),Hf("aria-label","Click to open the template "+a.name),A(),rg(a.url))},LCb=function(a){a&1&&(L(0),E(1,KCb,7,5,"div",152),M());a&2&&(a=Q(4),A(),F("ngForOf",a.templates))},MCb=function(a){a&1&&(G(0,"div",43),E(1,ICb,1,2,"b-edit-templates",150)(2,LCb,2,1,"ng-container",18),I());a&2&&(a=Q(3),A(),F("ngIf",
a.isEditorInternal),A(),F("ngIf",!a.isEditorInternal))},OCb=function(a){if(a&1){var b=v();G(0,"role-based-permissions",154);N("onTabChange",function(c){x(b);var d=Q(3).tabsService;d.selectedAccessSubTabIndex=c;NCb(d);return y()});I()}a&2&&(a=Q(3),F("tabIndex",a.tabsService.selectedAccessSubTabIndex))},PCb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",27)(2,"h2");S(3);I();E(4,JBb,2,0,"span",28);G(5,"a",29);N("click",function(){x(b);var l=Q(2);return y(l.trackClick("recentIssues"))});S(6," (Recent Issues)");
I();K(7,"b-component-access-level-indicator",30)(8,"b-tracker-chip-smart",31);I();G(9,"div",32);K(10,"b-component-breadcrumb",33)(11,"div",34);I();G(12,"mat-tab-group",35);N("selectedIndexChange",function(l){x(b);var q=Q(2);return y(q.tabsService.tabChange(l))});G(13,"mat-tab",36);E(14,KBb,1,0,"ng-container",37);I();G(15,"mat-tab",38);E(16,LBb,1,0,"ng-container",37);I();G(17,"mat-tab",39);E(18,MBb,1,0,"ng-container",37);I();G(19,"mat-tab",40);E(20,NBb,1,0,"ng-container",37);I();G(21,"mat-tab",41);
E(22,OBb,1,0,"ng-container",37);I()();E(23,yCb,65,31,"ng-template",null,3,Eg)(25,DCb,4,7,"ng-template",null,4,Eg)(27,HCb,5,5,"ng-template",null,5,Eg)(29,MCb,3,2,"ng-template",null,6,Eg)(31,OCb,1,1,"ng-template",null,7,Eg);I()}if(a&2){a=R(24);var c=R(26),d=R(28),e=R(30),f=R(32),h=Q(2);A(3);sg(" Component ",h.component.componentId,": ",h.currentName," ");A();F("ngIf",h.isArchived());A();F("routerLinkObj",h.getRecentIssuesLink());A(2);F("accessLevel",h.getComponentAccessLevel());A();F("trackerId",h.component.trackerId);
A(2);F("componentPathInfo",h.component.componentPathInfo)("isArchived",h.isArchived())("label","Parent Component");A(2);F("selectedIndex",h.tabsService.selectedTabIndex);A();F("id",h.tabsService.Tab.BASIC);A();F("ngTemplateOutlet",a);A();F("id",h.tabsService.Tab.CUSTOM_FIELDS)("label",h.sessionIsInternal&&!h.isExternal()?"Fields":"Custom Fields");A();F("ngTemplateOutlet",c);A();F("id",h.tabsService.Tab.FIELD_ORDERING);A();F("ngTemplateOutlet",d);A();F("id",h.tabsService.Tab.TEMPLATES);A();F("ngTemplateOutlet",
e);A();F("id",h.tabsService.Tab.ACCESS);A();F("ngTemplateOutlet",f)}},QCb=function(a){a&1&&(G(0,"span")(1,"p"),S(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),K(3,"br"),G(4,"a",159),S(5," Learn more "),I()(),G(6,"p"),S(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),K(8,"br"),S(9," so they can be scheduled for deletion. "),G(10,"a",160),S(11,
" Learn more "),I()()());a&2&&(Q(3),A(4),F("href","http://go/archived-components",Ye),A(6),F("href",Vr(),Ye))},RCb=function(a){a&1&&(G(0,"span")(1,"p"),S(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),K(3,"br"),S(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),G(5,"a",161),S(6," Learn more "),I()()());a&2&&(Q(3),A(5),F("href","http://go/buganizer-admin",Ye))},SCb=function(a,b){a&1&&(G(0,"span")(1,"span"),S(2),I(),G(3,
"span"),S(4," : "),G(5,"b"),S(6),I()(),K(7,"br"),I());a&2&&(a=b.$implicit,b=Q(4),A(2),rg(a.componentPath),A(),Qf("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),A(3),rg(b.getRetentionPeriod(a)))},TCb=function(a){a&1&&(G(0,"span"),E(1,SCb,8,4,"span",162),I());a&2&&(a=Q(3),A(),F("ngForOf",a.descendants))},UCb=function(a){a&1&&(G(0,"span")(1,"span"),S(2),I()());a&2&&(a=Q(3),A(2),rg(a.descendants[0].componentPath))},VCb=function(a){if(a&1){var b=v();G(0,"h2",155);S(1);I();G(2,"mat-dialog-content");
E(3,QCb,12,2,"span",18)(4,RCb,7,1,"span",18);G(5,"p");S(6," The following components will be affected: ");I();G(7,"div",156);E(8,TCb,2,1,"span",18)(9,UCb,3,1,"span",18);I()();G(10,"mat-dialog-actions")(11,"button",157);N("click",function(){x(b);var c=Q(2);c.archive();c.isArchiving=!1;return y()});S(12," Yes ");I();G(13,"button",158);N("click",function(){x(b);Q(2).isArchiving=!1;return y()});S(14," No ");I()()}a&2&&(a=Q(2),A(),rg(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+
' "'+a.component.name+'"'+("Archive"===a.archiveAction?" and its subcomponents?":"?"):""),A(2),F("ngIf","Archive"===a.archiveAction),A(),F("ngIf","Unarchive"===a.archiveAction),A(4),F("ngIf","Archive"===a.archiveAction),A(),F("ngIf","Unarchive"===a.archiveAction))},WCb=function(a){if(a&1){var b=v();L(0);G(1,"div",13)(2,"div",14)(3,"div",15)(4,"b-button",16);N("onAction",function(){x(b);var c=Q();return y(c.back())});K(5,"b-icon",17);I();E(6,HBb,5,3,"ng-container",18);I()()();G(7,"div",19);E(8,IBb,
2,0,"div",20)(9,PCb,33,21,"div",18);I();E(10,VCb,15,5,"ng-template",null,1,Eg);M()}a&2&&(a=Q(),A(6),F("ngIf",a.component),A(2),F("ngIf",a.isLoading),A(),F("ngIf",!a.isLoading&&a.component&&a.component.componentId))},XCb=function(a){a&1&&(G(0,"div",163),K(1,"b-tracker-redirect",164),I());a&2&&(a=Q(),A(),F("component",a.component))},YCb=function(a){var b=null;if("TEAM"===a.containerType)var c=a.content.sourceTeamId;else c=a.content.sourceTeamId,b=a.content.sourceComponentId;return{sourceTeamId:c,sourceComponentId:b}},
ZCb=function(a,b){var c=a.componentPathInfo;a=c.componentPathId;c=c.componentPathName;var d=a.findIndex(function(e){return""+e===b});return{componentPathId:a.slice(d),componentPathName:null==c?void 0:c.slice(d),fieldConfigsMap:new Map}},$Cb=function(a,b,c,d){(null==c?0:c.inherit)||"0"!==(null==c?void 0:c.id)||!d||(a=d);if(!a)return null;c=a.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},aDb=function(a,b){a&1&&(G(0,"div",
44),K(1,"b-team-breadcrumb",45),I());a&2&&(a=b.ngIf,A(),F("teamPath",a))},bDb=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.ngIf,A(),rg(a.trim()))},cDb=function(a){a&1&&S(0," No description ")},dDb=function(a,b){a&1&&(L(0),K(1,"b-multi-user-input",46),M());a&2&&(a=b.ngIf,A(),F("users",a),Hf("disabled",!0))},eDb=function(a){a&1&&(L(0),G(1,"p"),S(2,"No child teams"),I(),M())},fDb=function(a,b){a&1&&(L(0),K(1,"br"),G(2,"a",48),S(3),I(),M());a&2&&(a=b.$implicit,A(2),eg("routerLink","/teams/",a.id,"/edit"),
A(),rg(a.name))},gDb=function(a){a&1&&E(0,fDb,4,3,"ng-container",47);a&2&&(a=Q().ngIf,F("ngForOf",a))},hDb=function(a,b){a&1&&(L(0),E(1,eDb,3,0,"ng-container",24)(2,gDb,1,1,"ng-template",null,2,Eg),M());a&2&&(a=b.ngIf,b=R(3),A(),F("ngIf",0===a.length)("ngIfElse",b))},iDb=function(a){a&1&&(G(0,"a",51),S(1),I());if(a&2){var b;a=Q().ngIf;F("routerLinkObj",a.link);A();T(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},jDb=function(a){a&1&&S(0," None ")},kDb=function(a,b){a&1&&(G(0,
"div",49),S(1," Inherited SLO Policy: "),E(2,iDb,2,2,"a",50)(3,jDb,1,0,"ng-template",null,3,Eg),I());a&2&&(a=b.ngIf,b=R(4),A(2),F("ngIf",a.link)("ngIfElse",b))},lDb=function(a,b){a&1&&(G(0,"a",52),S(1),I());a&2&&(a=b.ngIf,F("routerLinkObj",a.link),A(),T(" ",a.name," "))},mDb=function(a){a&1&&S(0," None ")},nDb=function(a){a&1&&(L(0),K(1,"mat-icon",53),S(2," on "),M())},oDb=function(a){a&1&&(K(0,"mat-icon",54),S(1," off "))},pDb=function(a){a&1&&(L(0),S(1," Lock: "),E(2,nDb,3,0,"ng-container",24)(3,
oDb,2,0,"ng-template",null,4,Eg),M());if(a&2){a=R(4);var b=Q(2);A(2);F("ngIf",b.originalSloLock)("ngIfElse",a)}},qDb=function(a){if(a&1){var b=v();G(0,"div",56)(1,"mat-checkbox",57);N("change",function(c){x(b);var d=Q(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return y()});G(2,"span");S(3,"Override the inherited SLO");I()()()}a&2&&(a=Q(3),A(),F("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},rDb=function(a){if(a&1){var b=v();G(0,"div",
62)(1,"label",63);S(2," Justification to override the org SLO ");I();K(3,"mat-icon",64);G(4,"textarea",65);V(5,"async");N("ngModelChange",function(c){x(b);var d=Q(4);return y(d.sloJustification$.next(c))});I()()}a&2&&(a=Q(4),A(3),F("matTooltip",a.justificationRequiredText),Hf("aria-label",a.justificationRequiredText),A(),F("ngModel",W(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},sDb=function(a,b){a&1&&(G(0,"a",66),V(1,"async"),K(2,"mat-icon",15),I());a&2&&(a=b.ngIf,b=Q(4),fg("target",
W(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),F("routerLinkObj",a))},tDb=function(a){if(a&1){var b=v();L(0);E(1,rDb,6,6,"div",58);G(2,"div",20)(3,"mat-slide-toggle",59);vg("ngModelChange",function(d){x(b);var e=Q(3);ug(e.enableSloChecked,d)||(e.enableSloChecked=d);return y(d)});N("change",function(d){x(b);var e=Q(3);return y(e.enableSloChecked=d.checked)});S(4," Enable SLO ");I();G(5,"slo-picker",60);N("onSloSelect",function(d){x(b);var e=Q(3);return y(e.onSloChange(d))});I();E(6,sDb,3,4,"a",61);
V(7,"async");I();M()}if(a&2){a=Q().ngIf;var c=Q(2);A();F("ngIf",!a.value);A(2);Qf("indented",!a.value);tg("ngModel",c.enableSloChecked);F("disabled",!c.hasEditAccess);A(2);F("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");A();F("ngIf",W(7,9,c.sloPickerLink$))}},uDb=function(a,b){a&1&&(L(0),E(1,qDb,4,2,"div",55)(2,tDb,8,11,"ng-container",12),M());a&2&&(a=b.ngIf,b=Q(2),A(),
F("ngIf",!a.value),A(),F("ngIf",!b.isSloInheritEnabled))},vDb=function(a){if(a&1){var b=v();G(0,"div",20)(1,"mat-checkbox",67);N("change",function(c){x(b);var d=Q(2);return y(d.sloLocked=c.checked)});G(2,"span");S(3,"Lock for all child teams");I()()()}a&2&&(a=Q(2),A(),F("checked",a.sloLocked)("disabled",!a.canEditSloLock))},yDb=function(a){if(a&1){var b=v();G(0,"div",68)(1,"div",69)(2,"button",70);V(3,"async");N("click",function(){x(b);var c=Q().ngIf,d=Q();return y(wDb(d,c))});S(4," Update ");I();
G(5,"button",71);V(6,"async");N("click",function(){x(b);var c=Q(2);return y(xDb(c))});S(7," Revert changes ");I()()()}a&2&&(a=Q(2),A(2),F("disabled",!W(3,2,a.hasUnsavedChanges$)),A(3),F("disabled",!W(6,4,a.hasUnsavedChanges$)))},zDb=function(a){a&1&&(L(0),G(1,"p"),S(2,"No mapped components"),I(),M())},ADb=function(a,b){a&1&&(G(0,"ul")(1,"li")(2,"a",48),S(3),I()()());a&2&&(a=b.$implicit,A(2),eg("routerLink","/components/",a.componentId,"/manage"),A(),T(" ",a.name," "))},BDb=function(a){a&1&&(E(0,ADb,
4,3,"ul",47),V(1,"async"));a&2&&(a=Q(3),F("ngForOf",W(1,1,a.associatedComponents$)))},CDb=function(a,b){a&1&&(L(0),E(1,zDb,3,0,"ng-container",24)(2,BDb,2,3,"ng-template",null,5,Eg),M());a&2&&(a=b.ngIf,b=R(3),A(),F("ngIf",0===a.length)("ngIfElse",b))},GDb=function(a,b){if(a&1){var c=v();L(0);G(1,"div",13)(2,"h2");S(3);G(4,"a",14);S(5);K(6,"mat-icon",15);I()()();E(7,aDb,2,1,"div",16);V(8,"async");G(9,"mat-tab-group",17);vg("selectedIndexChange",function(f){x(c);var h=Q();ug(h.selectedTabIndex,f)||(h.selectedTabIndex=
f);return y(f)});N("selectedIndexChange",function(f){x(c);var h=Q();return y(h.tabChange(f))});G(10,"mat-tab",18)(11,"div",19);S(12," Team information on this page comes from ");G(13,"a",14);S(14," Team Graph ");K(15,"mat-icon",15);I();S(16," and is view only. ");G(17,"div",20)(18,"div",21)(19,"label")(20,"span",22);S(21,"Description");I()();G(22,"div",23);E(23,bDb,2,1,"ng-container",24)(24,cDb,1,0,"ng-template",null,0,Eg);I()()();G(26,"div",20)(27,"div",25)(28,"label",26)(29,"span",22);S(30," Team admins ");
I();G(31,"span",27)(32,"div",28);S(33," Team admins are team leads from Team Graph. ");G(34,"div",29);K(35,"div",30)(36,"div",31);I()()()();E(37,dDb,2,2,"ng-container",12);V(38,"async");I()();G(39,"div",20)(40,"div",21)(41,"label")(42,"span",22);S(43,"Child team(s)");I()();E(44,hDb,4,2,"ng-container",12);V(45,"async");I()()()();G(46,"mat-tab",32)(47,"div",19)(48,"div",25)(49,"label",26)(50,"span",22);S(51,"SLO configuration");I()();G(52,"span",27)(53,"div",33)(54,"strong");S(55,"Careful!");I();S(56,
" Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");G(57,"div",29);K(58,"div",30)(59,"div",31);I()()()();G(60,"div",34);E(61,kDb,5,2,"div",35);V(62,"async");G(63,"div",36);S(64," Policy Source: ");E(65,lDb,2,2,"a",37);V(66,"async");E(67,mDb,1,0,"ng-template",null,1,Eg);I();G(69,"div",38);E(70,pDb,5,2,"ng-container",12);I()();K(71,"b-error-banner",39);E(72,uDb,3,2,"ng-container",12);V(73,"async");
E(74,vDb,4,2,"div",40);G(75,"div",20)(76,"div",25)(77,"label",26)(78,"span",22);S(79," SLO lead ");I()();G(80,"span",27)(81,"div",28);S(82," Single team lead receiving SLO reports of unassigned issues. ");G(83,"div",29);K(84,"div",30)(85,"div",31);I()()()();G(86,"div");L(87);G(88,"b-multi-user-input",41);N("usersChange",function(f){x(c);var h=Q();1<f.length||(h.sloLead=1===f.length?f[0]:"");return y()})("isValid",function(f){x(c);var h=Q();return y(h.isSloLeadValid=f)});I();M();I()();E(89,yDb,8,6,
"div",42);I()();G(90,"mat-tab",43)(91,"div",19)(92,"div",20)(93,"div",21)(94,"label")(95,"span",22);S(96," Component(s) that have mapped to this team ");I()()();E(97,CDb,4,2,"ng-container",12);V(98,"async");I()()()();M()}if(a&2){a=b.ngIf;b=R(25);var d=R(68),e=Q();A(3);T(" Team ",a.teamId,": ");A();eg("href","https://moma.corp.google.com/team/",a.teamId,"",Ye);A();T(" ",a.name," ");A(2);F("ngIf",W(8,29,e.teamPath$));A(2);tg("selectedIndex",e.selectedTabIndex);A();F("id",e.Tab.BASIC);A(3);eg("href",
"https://moma.corp.google.com/team/",a.teamId,"",Ye);A(10);F("ngIf",a.description)("ngIfElse",b);A(14);F("ngIf",W(38,31,e.adminsAndLeads$));A(7);F("ngIf",W(45,33,e.childTeams$));A(2);F("id",e.Tab.SLO);A(15);F("ngIf",W(62,35,e.inheritedSlo$));A(4);F("ngIf",W(66,37,e.sloPolicySource$))("ngIfElse",d);A(5);F("ngIf",e.enableSloLockingUi);A();F("error",e.error);A();F("ngIf",Ag(43,DDb,W(73,39,e.isRootTeam$)));A(2);F("ngIf",e.enableSloLockingUi);A(14);F("users",e.sloLead?Ag(45,EDb,e.sloLead):zg(47,FDb))("customValidators",
e.sloLeadUserValidators)("detailedUserValidators",e.sloLeadGooglerValidators)("maxUserAllowed",1);Hf("disabled",e.hasEditAccess?null:!0);A();F("ngIf",e.hasEditAccess);A();F("id",e.Tab.MAPPINGS);A(7);F("ngIf",W(98,41,e.associatedComponents$))}},HDb=function(a){if(a&1){var b=v();G(0,"a",5);N("click",function(){x(b);var c=Q(2);Wo(c.analytics,sq.MENTIONS_CARD,"navigate","comment");return y()});S(1," a comment ");I()}a&2&&(a=Q(2),F("href",a.lastMentionLink,Ye))},IDb=function(a){a&1&&S(0," a comment ")},
JDb=function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"span"),K(3,"b-user-display",2),S(4," mentioned you in "),E(5,HDb,2,1,"a",3)(6,IDb,1,0),I(),G(7,"span"),K(8,"b-formatted-date-time",4),I()(),G(9,"div"),S(10),I()());a&2&&(a=Q(),A(3),F("model",{emailAddress:b.authorDisplayName}),A(2),Uf(a.lastMentionLink?5:6),A(3),F("timestamp",b.lastModifiedTimestamp),A(2),rg(b.content))},KDb=function(a,b){if(a&1){var c=v();G(0,"a",8);N("click",function(){x(c);var d=Q(4);Wo(d.analytics,sq.MENTIONS_CARD,"navigate",
"commentNumber");return y()});S(1);I()}a&2&&(a=b.ngIf,b=Q(4),F("routerLinkObj",b.getCommentNumberLink(b.issueId,a)),A(),T(" comment #",a," "))},LDb=function(a,b){a&1&&(G(0,"div"),K(1,"b-note-container",9),I());if(a&2){a=b.ngIf;b=Q(2).$implicit;var c=Q(2);A();F("issueId",c.issueId)("note",a)("formattingMode",b.formattingMode)}},NDb=function(a){a&1&&(G(0,"div",2)(1,"div",3)(2,"span",4),K(3,"b-user-display",5),G(4,"span"),S(5," mentioned you in "),E(6,KDb,2,2,"a",6),I()(),G(7,"span"),K(8,"b-formatted-date-time",
7),I()(),E(9,LDb,2,3,"div",0),I());if(a&2){var b=Q();a=b.$implicit;var c=b.$index;b=b.$count;Q(2);F("ngClass",Ag(5,MDb,c!==b-1));A(3);F("model",a.lastCommentEditorUser);A(3);F("ngIf",a.commentNumber);A(2);F("timestamp",a.commentLastModifiedAtDate);A();if(a.unlinkifiedComment){var d;c={commentNumber:null!=(d=a.commentNumber)?d:void 0,unlinkifiedComment:a.unlinkifiedComment,formattedComment:a.formattedComment}}else c=null;F("ngIf",c)}},ODb=function(a,b){a&1&&E(0,NDb,10,7,"div",2);a&2&&Uf(null!=b.$implicit.unlinkifiedComment?
0:-1)},QDb=function(a,b){a&1&&(L(0),G(1,"div",1),Wf(2,ODb,1,1,null,null,PDb),G(4,"div"),Yf(5),I()(),M());a&2&&(a=b.ngIf,A(2),Xf(a))},RDb=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},SDb=function(a){a&1&&Yf(0)},UDb=function(a){a&1&&E(0,SDb,1,0,"ng-container",5);if(a&2){a=Q().$implicit;Q(2);var b=R(3);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,TDb,a))}},VDb=function(a,b){a&1&&E(0,UDb,1,4,"ng-container");a&2&&(a=b.$implicit,b=
Q(2),Uf(b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},XDb=function(a){a&1&&(G(0,"div",4),Wf(1,VDb,1,1,null,null,WDb),I());a&2&&(a=Q(),A(),Xf(a.signals))},YDb=function(a){a&1&&Yf(0)},$Db=function(a,b){a&1&&(G(0,"div",6),E(1,YDb,1,0,"ng-container",5),G(2,"div",7),S(3),I()());if(a&2){a=Q(2);var c=R(3);A();F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ag(4,TDb,b));A();F("matTooltip",ZDb(a.signals,b));A();T(" and ",a.signals.length-1," more ")}},aEb=function(a){a&1&&E(0,$Db,4,6,"div",6);if(a&2){var b;
a=Q();Uf((b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},eEb=function(a,b){if(a&1){var c=v();G(0,"div",11,2);N("mouseenter",function(){var f=x(c).xapLet,h=R(1);return y(f?h.disabled=!0:null)})("mouseleave",function(){var f=x(c).xapLet,h=R(1);return y(f?h.disabled=!1:null)});S(2);I()}if(a&2){a=b.xapLet;b=Q().signal;var d=R(2),e=Q();Tf("signal-chip type-button urgent-",e.getSignalUrgency(b),"");Qf("keep-focus-ring",a);F("onedevHovercardActive",a)("onedevHovercardTrigger",d)("matTooltip",bEb(e,b)||
cEb(e,b)?'Press "Alt/Option + Right Arrow Key" to show comment':dEb.get(b.type));Hf("tabindex",a?"0":"-1");A(2);T(" ",e.SIGNAL_TO_DISPLAY_TEXT.get(b.type)," ")}},gEb=function(a){a&1&&K(0,"mentioned-issue-comments-card",9,3);if(a&2){var b;a=R(1);var c=Q(2).signal,d=Q();F("onedevIsHovercardReady",a.contentReady$)("issueId",d.issueId)("commentNumbers",null!==(b=c.commentNumbers)&&void 0!==b?b:zg(3,fEb))}},hEb=function(a){a&1&&E(0,gEb,2,4,"mentioned-issue-comments-card",12)},iEb=function(a){a&1&&K(0,
"mentioned-drive-comments-card",10,3);if(a&2){a=R(1);var b=Q(2).signal;F("onedevIsHovercardReady",a.contentReady$)("fileId",b.driveFileId)("commentId",b.driveCommentId)("lastMentionLink",b.driveCommentLink)}},jEb=function(a){a&1&&E(0,iEb,2,4,"mentioned-drive-comments-card",13)},kEb=function(a,b){a&1&&(E(0,eEb,3,10,"div",8),G(1,"onedev-hovercard",null,1),E(3,hEb,1,0,"mentioned-issue-comments-card",9)(4,jEb,1,0,"mentioned-drive-comments-card",10),I());a&2&&(a=b.signal,b=Q(),F("xapLet",bEb(b,a)||cEb(b,
a)),A(3),Uf(bEb(b,a)?3:-1),A(),Uf(cEb(b,a)?4:-1))},lEb=function(a,b){a&1&&(G(0,"mat-chip-option",3)(1,"span",4),S(2),I()());if(a&2){a=b.$implicit;b=Q().$implicit;var c=Q();F("value",b)("selected",c.selectedSources.includes(b));A();F("matTooltip",a.tooltipText);A();T(" ",a.displayName," ")}},mEb=function(a,b){a&1&&(L(0),E(1,lEb,3,4,"mat-chip-option",2),M());a&2&&(a=b.$implicit,b=Q(),A(),F("ngIf",b.DEFINITIONS[a]))},nEb=function(a,b){if(a&1){var c=v();G(0,"button",7);N("click",function(){var d=x(c).$implicit,
e=Q();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return y()});S(1);I()}a&2&&(a=b.$implicit,b=Q(),F("disabled",a.numberOfDays===b.selectedTimeBoundary),A(),T(" ",a.label," "))},oEb=function(a){if(a&1){var b=v();L(0);G(1,"div",1)(2,"span",2)(3,"a",3);N("click",function(){x(b);Q().onChipClicked.emit();return y()});S(4,"DMA");I()()();M()}a&2&&(a=Q(),A(),F("matTooltip",a.DMA_TOOLTIP_TEXT))},pEb=function(a,b){if(a&1){var c=v();L(0);G(1,"source-filter-chips",6);N("change",function(d){x(c);
var e=Q().missionControlPrefs;d=d.map(nHa);e.prefs.needsAttentionSources=d;Qr(e,{needsAttentionSources:d,isNeedsAttentionSourcesConfigured:!0});return y()});I();M()}a&2&&(a=b.ngIf,b=Q(),A(),F("sourceFilterKeys",b.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",a))},qEb=function(a,b){if(a&1){var c=v();L(0);G(1,"time-boundary-filter",7);N("change",function(d){x(c);var e=Q().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;Qr(e,{needsAttentionDaysOld:d});return y()});I();M()}a&2&&(a=b.ngIf,
A(),F("selectedTimeBoundary",a))},rEb=function(a){a&1&&(G(0,"p",9),S(1," No alerts "),I())},tEb=function(a){if(a&1){var b=v();G(0,"th",28)(1,"mat-checkbox",29);N("change",function(d){x(b);var e=Q(2).$implicit,f=Q(2);return y(d?sEb(f,e):null)});I()()}if(a&2){a=Q(2).$implicit;var c=Q(2);A();F("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},uEb=function(a,b){if(a&1){var c=v();G(0,"td",30)(1,"mat-checkbox",
31);N("click",function(d){x(c);return y(d.stopPropagation())})("change",function(d){var e=x(c).$implicit,f=Q(4);return y(d?f.selection.toggle(e.id):null)});I()()}a&2&&(a=b.$implicit,b=Q(4),A(),F("checked",b.selection.isSelected(a.id)))},vEb=function(a){a&1&&(G(0,"th",28),S(1),I());a&2&&(a=Q(4),A(),rg(a.selection.hasValue()?"":"Type"))},wEb=function(a,b){a&1&&(G(0,"td",30),K(1,"mat-icon",32),I());a&2&&(a=b.$implicit,A(),Tf("product-icon ",a.icon,""),F("matTooltip",a.type)("svgIcon",a.icon))},xEb=function(a){a&
1&&(G(0,"span"),S(1,"Description"),I())},zEb=function(a){if(a&1){var b=v();G(0,"button",34);N("click",function(){x(b);var c=Q(5);return y(yEb(c))});S(1,"Dismiss");I()}},AEb=function(a){a&1&&(G(0,"th",28),E(1,xEb,2,0,"span",4)(2,zEb,2,0,"button",33),I());a&2&&(a=Q(4),A(),F("ngIf",!a.selection.hasValue()),A(),F("ngIf",a.selection.hasValue()))},BEb=function(a){a&1&&K(0,"b-issue-visibility-chip",37);if(a&2){a=Q(2).$implicit;var b=Q(4);F("issueId",b.extractLastDigits(a.id))}},CEb=function(a){a&1&&K(0,
"b-component-access-level-indicator",38);a&2&&(a=Q(2).$implicit,F("accessLevel",a.accessLevel)("compactMode",!0))},DEb=function(a){a&1&&(G(0,"div",44),V(1,"futureAvailability"),K(2,"mat-icon",45),I());a&2&&(a=Q(2).$implicit,F("matTooltip",W(1,1,a.futureAvailability)))},EEb=function(a){a&1&&(G(0,"div",46),S(1),V(2,"number"),I());a&2&&(a=Q(2).$implicit,A(),T(" <",Dg(2,1,a.reviewEstimate.seconds/60,"1.0-0"),"m "))},FEb=function(a){a&1&&K(0,"b-issue-priority-display",47);a&2&&(a=Q(2).$implicit,F("issuePriority",
a.priority))},GEb=function(a){if(a&1){var b=v();G(0,"div",36);E(1,BEb,1,1,"b-issue-visibility-chip",37)(2,CEb,1,2,"b-component-access-level-indicator",38)(3,DEb,3,3,"div",39)(4,EEb,3,4,"div",40)(5,FEb,1,1,"b-issue-priority-display",41);G(6,"a",42);N("auxclick",function(){x(b);var d=Q().$implicit,e=Q(2).$implicit,f=Q(2);return y(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});S(7);I();G(8,"onedev-dma-chip",43);N("onChipClicked",function(){x(b);var d=Q(5);return y(d.sendDmaAnalytics())});I()()}if(a&
2){a=Q().$implicit;var c=Q(4);A();Uf(c.enableNewVisibilityChips&&"Buganizer"===a.type||c.enableNewVisibilityChips&&a.type===c.TaskResourceType.ISSUE?1:2);A(2);F("ngIf",(null==a.futureAvailability?null:a.futureAvailability.futureOooTimestamp)&&(null==a.futureAvailability?null:a.futureAvailability.comeBackTimestamp));A();F("ngIf",a.reviewEstimate&&60<=a.reviewEstimate.seconds);A();F("ngIf",a.priority);A();F("href","ISSUE"===a.type?"/issues/"+a.issueId:a.lastMentionLink?a.lastMentionLink:a.link,Ye);
Hf("target",a.icon!==c.BUGANIZER_SOURCE_ICON?"_blank":null);A();T(" ",a.description," ");A();F("hotlistIds",a.hotlistIds)}},HEb=function(a){a&1&&(G(0,"span",48),S(1,"No access to linked file"),I())},IEb=function(a,b){a&1&&(G(0,"td",30),E(1,GEb,9,8,"div",35)(2,HEb,2,0,"ng-template",null,1,Eg),I());a&2&&(a=b.$implicit,b=R(3),A(),F("ngIf",a.description&&""!==a.description)("ngIfElse",b))},JEb=function(a){a&1&&(G(0,"th",28),S(1),I());a&2&&(a=Q(4),A(),rg(a.selection.hasValue()?"":"Most recent alert"))},
KEb=function(a){a&1&&K(0,"b-formatted-date-time",50);a&2&&(a=Q().$implicit,F("timestamp",a.lastAlertTimestamp)("paddingLeftPx",0))},LEb=function(a,b){a&1&&(G(0,"td",30),E(1,KEb,1,2,"b-formatted-date-time",49),I());a&2&&(a=b.$implicit,A(),F("ngIf",a.lastAlertTimestamp))},MEb=function(a){a&1&&(G(0,"th",51),S(1),I());a&2&&(a=Q(4),F("onedevFeatureTooltip",a.TOOLTIP_ID_MENTIONED_COMMENTS_HOVERCARD),A(),T(" ",a.selection.hasValue()?"":"Alert"," "))},NEb=function(a,b){a&1&&(G(0,"td",30),K(1,"needs-attention-signals-cell",
52),I());a&2&&(a=b.$implicit,A(),F("issueId",a.issueId)("signals",a.signals))},PEb=function(a){a&1&&(G(0,"onedev-feature-tooltip-controller",53)(1,"onedev-feature-tooltip",54)(2,"p",55),S(3,'"Mentioned me" hovercard'),I(),S(4," For Buganizer issues, hover over the chip to see the comment you were mentioned "),I()());a&2&&(a=Q(4),F("showTooltip$",a.showFeatureTooltip$),A(),F("customPositions",Ag(3,OEb,a.TOOLTIP_POSITIONS.RIGHT_CENTER_BOTTOM))("tooltipId",a.TOOLTIP_ID_MENTIONED_COMMENTS_HOVERCARD))},
QEb=function(a){a&1&&(G(0,"th",28),S(1),I());a&2&&(a=Q(4),A(),rg(a.selection.hasValue()?"":"Action"))},REb=function(a,b){a&1&&(G(0,"td",30)(1,"a",56),S(2),I()());a&2&&(a=b.$implicit,b=Q(4),A(2),T(" ",b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type)," "))},SEb=function(a){a&1&&K(0,"td",57)},TEb=function(a,b){if(a&1){var c=v();G(0,"td",30)(1,"button",58);N("click",function(d){var e=x(c).$implicit,f=Q(4);d.preventDefault();return y(f.copyIdOrLink(e))});K(2,"mat-icon",59);I()()}a&
2&&(a=b.$implicit,b=Q(4),A(),F("matTooltip","Buganizer"===a.type||a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),Hf("aria-label","Buganizer"===a.type||a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},UEb=function(a){a&1&&K(0,"td",57)},WEb=function(a){if(a&1){var b=v();G(0,"td",30)(1,"button",60);N("click",function(c){var d=x(b).$implicit,e=Q(4);c.preventDefault();return y(VEb(e,d))});K(2,"mat-icon",61);I()()}},XEb=function(a){a&
1&&K(0,"tr",62)},YEb=function(a){if(a&1){var b=v();G(0,"tr",63);N("click",function(c){var d=x(b).$implicit,e=Q(2).$implicit,f=Q(2);return y(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});I()}},ZEb=function(a){a&1&&(G(0,"tr",64)(1,"td",65),S(2," No alerts found "),I()())},$Eb=function(a){a&1&&K(0,"mat-icon",69)},aFb=function(a){a&1&&K(0,"mat-icon",70)},bFb=function(a){if(a&1){var b=v();G(0,"button",66);N("click",function(){x(b);var d=Q(2).$implicit,e=Q(2);return y(e.setNumDisplayedRows(d))});
S(1);E(2,$Eb,1,0,"mat-icon",67)(3,aFb,1,0,"mat-icon",68);I()}if(a&2){a=Q(2).$implicit;var c=Q(2);A();T(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A();F("ngIf",a.length>c.numDisplayedRows);A();F("ngIf",a.length===c.numDisplayedRows)}},cFb=function(a){a&1&&(L(0),G(1,"table",10),L(2,11),E(3,tEb,2,2,"th",12)(4,uEb,2,1,"td",13),M(),L(5,14),E(6,vEb,2,1,"th",12)(7,wEb,2,5,"td",13),M(),L(8,15),E(9,AEb,3,2,"th",12)(10,IEb,4,2,"td",13),M(),L(11,16),E(12,JEb,2,1,"th",12)(13,LEb,2,1,"td",13),
M(),L(14,17),E(15,MEb,2,2,"th",18)(16,NEb,2,2,"td",13)(17,PEb,5,5,"onedev-feature-tooltip-controller",19),M(),L(18,20),E(19,QEb,2,1,"th",12)(20,REb,3,1,"td",13),M(),L(21,21),E(22,SEb,1,0,"td",22)(23,TEb,3,2,"td",13),M(),L(24,23),E(25,UEb,1,0,"td",22)(26,WEb,3,0,"td",13),M(),E(27,XEb,1,0,"tr",24)(28,YEb,1,0,"tr",25)(29,ZEb,3,0,"tr",26),I(),E(30,bFb,4,3,"button",27),M());if(a&2){a=Q().$implicit;var b=Q(2);A();F("dataSource",a.slice(0,b.numDisplayedRows));A(16);F("ngIf",b.enableMentionedCommentsHovercard);
A(10);F("matHeaderRowDef",b.displayedColumns);A();F("matRowDefColumns",b.displayedColumns);A(2);F("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},dFb=function(a,b){a&1&&(L(0),E(1,rEb,2,0,"p",8)(2,cFb,31,5,"ng-container",4),M());a&2&&(a=b.$implicit,A(),F("ngIf",0===a.length),A(),F("ngIf",0<a.length))},eFb=function(a){a&1&&(L(0),E(1,dFb,3,2,"ng-container",4),V(2,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,1,a.allNeedsAttention$)))},fFb=function(a){a&1&&(G(0,"div",71),K(1,"b-spinner",72),I());a&2&&(A(),
F("ariaLabel","loading needs attention alerts"))},gFb=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=Rj(a).filter(function(d){return!c.includes(d)}).sort();return[c.join(","),a.join(",")]},hFb=function(a,b){a&1&&(G(0,"div",8)(1,"span",9),S(2),I()());a&2&&(a=b.ngIf,A(2),rg(a))},iFb=function(a){a&1&&(G(0,"div",10),K(1,"b-needs-attention-table",11),I());a&2&&(a=Q(),A(),F("refreshTable",a.refreshData))},jFb=function(a){return{label:"Viewed",
description:"Issues you recently viewed",issues:a.watchMany({custom:"viewed",pageSize:50}).pipe(z(function(b){return b.results})),loading:!1}},kFb=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"},lFb=function(a,b){switch(a){case "Owned":if("CRITIQUE"===b)return"CL Author";if("DRIVE"===b)return"File Owner";if("ARIANE"===b)return"Launch Owner";break;case "Collaborating":if("CRITIQUE"===
b)return"CL Reviewer";if("DRIVE"===b)return"Collaborator";if("ARIANE"===b)return"Approver";break;case "Following":if("CRITIQUE"===b)return"CC'd";if("DRIVE"===b)return"Commenter";if("ARIANE"===b)return"Subscriber"}console.error("getUserRoleForTask() unhandled: ",a,b);return""},oFb=function(a,b,c){return a.map(function(d){var e=d.snapshot[0],f=d.aggregatedData,h,l,q,t,w,B;return{issueId:d.issueId,link:"issues/"+d.issueId,title:e.title,modifiedDate:Math.floor((null!=(l=null==f?void 0:f.modifiedTimeMicros)?
l:0)/1E3),createdDate:Math.floor((null!=(q=null==f?void 0:f.createdTimeMicros)?q:0)/1E3),role:mFb(b,d,c),icon:"bug_report_24px",priority:nFb(e.priority)?e.priority:null,source:"Buganizer",type:null!=(t=e.type)?t:null,accessLevel:null!=(w=null==(h=d.accessLimit)?void 0:h.accessLevel)?w:null,hotlistIds:null!=(B=e.hotlistId)?B:[]}})},pFb=function(a,b){return a.map(function(c){var d=c.resource;return d?{issueId:void 0,link:d.externalLink,title:d.title,modifiedDate:d.lastModifiedTimestamp,createdDate:c.createdTimestamp,
role:lFb(b,d.source),icon:rDa(d),priority:null,type:null,source:d.source,accessLevel:null}:null}).filter(Ei)},mFb=function(a,b,c){var d=b.snapshot[0];switch(c){case "Owned":var e;if((null==(e=d.assigneeUser)?void 0:e.emailAddress)===a)return"Assignee";break;case "Collaborating":var f;if((null==(f=d.reporterUser)?void 0:f.emailAddress)===a)return"Reporter";var h;if(null==(h=d.collaboratorsUsers)?0:h.some(function(l){return l.emailAddress===a}))return"Collaborator";break;case "Following":return b=b.userData,
d.ccUsers&&d.ccUsers.some(function(l){return l.emailAddress===a})?"CC'd":b&&b.voted?"Upvoted":b&&b.starred?"Starred":"Commenter"}return"--"},nFb=function(a){return"P0"===a||"P1"===a},qFb=function(a){a&1&&(G(0,"label",16),S(1),I());a&2&&(a=Q().$implicit,F("matTooltip",a.description),A(),rg(a.label))},sFb=function(a,b){if(a&1){var c=v();L(0);G(1,"source-filter-chips",18);N("change",function(d){x(c);var e=Q(4);return y(rFb(e.prefsService,d))});I();M()}a&2&&(a=b.ngIf,b=Q(4),A(),F("sourceFilterKeys",b.ALL_MY_TASK_FILTERS)("selectedSources",
a))},tFb=function(a,b){if(a&1){var c=v();L(0);G(1,"time-boundary-filter",19);N("change",function(d){x(c);var e=Q(4).prefsService;e.prefs.myTasksDaysOld=d;Qr(e,{myTasksDaysOld:d});return y()});I();M()}a&2&&(a=b.ngIf,A(),F("selectedTimeBoundary",a))},uFb=function(a){a&1&&(G(0,"div",14)(1,"span",5),S(2,"Sources"),I(),E(3,sFb,2,2,"ng-container",17),V(4,"async"),E(5,tFb,2,1,"ng-container",17),V(6,"async"),I());a&2&&(a=Q(3),A(3),F("ngIf",W(4,2,a.sources$)),A(2),F("ngIf",W(6,4,a.timeBoundary$)))},vFb=function(a,
b){a&1&&K(0,"b-issues-table",20);a&2&&(a=Q(4),F("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},wFb=function(a,b){a&1&&(L(0),G(1,"p",21),S(2),I(),M());a&2&&(a=b.ngIf,A(2),T(" ",0===a.length?"Enable source filters to see tasks":"No tasks"," "))},xFb=function(a){a&1&&(L(0),E(1,wFb,3,1,"ng-container",17),V(2,"async"),M());a&2&&(a=Q(5),A(),F("ngIf",W(2,1,a.sources$)))},yFb=function(a){a&1&&(G(0,"th",38),S(1,"Type"),I())},zFb=function(a,b){a&1&&(G(0,"td",39),K(1,"mat-icon",
40),I());a&2&&(a=b.$implicit,b=Q(6),A(),Tf("product-icon ",b.taskResourceTypeToIcon(a),""),F("matTooltip",a.source)("svgIcon",b.taskResourceTypeToIcon(a)))},AFb=function(a){a&1&&(G(0,"th",38),S(1,"Description"),I())},BFb=function(a){a&1&&K(0,"b-issue-visibility-chip",45);a&2&&(a=Q(3).$implicit,F("issueId",a.issueId)("compactMode",!0))},CFb=function(a){a&1&&E(0,BFb,1,2,"b-issue-visibility-chip",45);a&2&&(a=Q(2).$implicit,Uf(a.issueId?0:-1))},DFb=function(a){a&1&&K(0,"b-component-access-level-indicator",
41);a&2&&(a=Q(2).$implicit,F("accessLevel",a.accessLevel)("compactMode",!0))},EFb=function(a){a&1&&K(0,"b-issue-priority-display",46);a&2&&(a=Q(2).$implicit,F("issuePriority",a.issueResource.priority))},FFb=function(a){if(a&1){var b=v();L(0);E(1,CFb,1,1)(2,DFb,1,2,"b-component-access-level-indicator",41)(3,EFb,1,1,"b-issue-priority-display",42);G(4,"a",43);N("auxclick",function(){x(b);var d=Q().$implicit,e=Q(6);return y(e.sendClickAnalytics(d))});S(5);I();G(6,"onedev-dma-chip",44);N("onChipClicked",
function(){x(b);var d=Q(7);return y(d.sendDmaAnalytics())});I();M()}if(a&2){a=Q().$implicit;var c=Q(6);A();Uf(c.enableNewVisibilityChips?1:2);A(2);F("ngIf",a.issueResource&&a.issueResource.priority&&c.isP0OrP1(a.issueResource.priority));A();F("href",a.taskResourceType===c.TaskResourceType.ISSUE?"/issues/"+c.extractLastDigits(a.taskId):a.externalLink,Ye);Hf("target",a.taskResourceType!==c.TaskResourceType.ISSUE?"_blank":null);A();rg(a.title);A();F("hotlistIds",a.hotlistIds)}},GFb=function(a){a&1&&
(G(0,"span",47),S(1,"No access to linked file"),I())},HFb=function(a,b){a&1&&(G(0,"td",39),E(1,FFb,7,6,"ng-container",15)(2,GFb,2,0,"ng-template",null,2,Eg),I());a&2&&(a=b.$implicit,b=R(3),A(),F("ngIf",a.title&&""!==a.title)("ngIfElse",b))},IFb=function(a){a&1&&(G(0,"th",38),S(1,"Last modified"),I())},JFb=function(a){a&1&&K(0,"b-formatted-date-time",49);a&2&&(a=Q().$implicit,F("timestamp",a.lastModifiedTimestamp)("paddingLeftPx",0))},KFb=function(a,b){a&1&&(G(0,"td",39),E(1,JFb,1,2,"b-formatted-date-time",
48),I());a&2&&(a=b.$implicit,A(),F("ngIf",a.lastModifiedTimestamp))},LFb=function(a){a&1&&(G(0,"th",38),S(1,"My role"),I())},MFb=function(a,b){a&1&&(G(0,"td",39),S(1),I());a&2&&(a=b.$implicit,A(),rg(a.resourceRelationships[0].roleName))},NFb=function(a){a&1&&(G(0,"th",38),S(1,"Creation date"),I())},OFb=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",49),M());a&2&&(a=Q().$implicit,A(),F("timestamp",a.createdTimestamp)("paddingLeftPx",0))},PFb=function(a,b){a&1&&(G(0,"td",39),E(1,OFb,2,2,"ng-container",
15),I());a&2&&(a=b.$implicit,Q(6),b=R(11),A(),F("ngIf",a.createdTimestamp)("ngIfElse",b))},QFb=function(a){a&1&&K(0,"td",50)},RFb=function(a,b){if(a&1){var c=v();G(0,"td",39)(1,"button",51);N("click",function(d){var e=x(c).$implicit,f=Q(6);d.preventDefault();return y(f.copyIdOrLink(e))});K(2,"mat-icon",52);I()()}a&2&&(a=b.$implicit,b=Q(6),A(),F("matTooltip",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),Hf("aria-label",a.taskResourceType===b.TaskResourceType.ISSUE?
"Copy ID to clipboard":"Copy link to clipboard"))},SFb=function(a){a&1&&K(0,"tr",53)},TFb=function(a){if(a&1){var b=v();G(0,"tr",54);N("click",function(c){var d=x(b).$implicit,e=Q(6);return y(e.navigateToResource(c,d))});I()}},UFb=function(a){a&1&&K(0,"mat-icon",60)},VFb=function(a){a&1&&K(0,"mat-icon",61)},WFb=function(a){if(a&1){var b=v();G(0,"button",57);N("click",function(){x(b);var d=Q(3).ngIf,e=Q(4);return y(e.setNumDisplayedRows(d))});S(1);E(2,UFb,1,0,"mat-icon",58)(3,VFb,1,0,"mat-icon",59);
I()}if(a&2){a=Q(3).ngIf;var c=Q(4);A();T(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A();F("ngIf",a.length>c.numDisplayedRows);A();F("ngIf",a.length===c.numDisplayedRows)}},XFb=function(a){a&1&&(G(0,"td",55),E(1,WFb,4,3,"button",56),I());if(a&2){a=Q(2).ngIf;var b=Q(4);A();F("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},YFb=function(a){a&1&&K(0,"tr",62);if(a&2){a=Q(2).ngIf;var b=Q(4);F("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},ZFb=function(a,b){a&1&&(G(0,"td",65),S(1),
I());a&2&&(a=b.ngIf,A(),T(" ",0===a.length?"Enable source filters to see tasks":"No tasks found"," "))},$Fb=function(a){a&1&&(G(0,"tr",63),E(1,ZFb,2,1,"td",64),V(2,"async"),I());a&2&&(a=Q(6),A(),F("ngIf",W(2,1,a.sources$)))},cGb=function(a){a&1&&(L(0),G(1,"table",22),L(2,23),E(3,yFb,2,0,"th",24)(4,zFb,2,5,"td",25),M(),L(5,26),E(6,AFb,2,0,"th",24)(7,HFb,4,2,"td",25),M(),L(8,27),E(9,IFb,2,0,"th",24)(10,KFb,2,1,"td",25),M(),L(11,28),E(12,LFb,2,0,"th",24)(13,MFb,2,1,"td",25),M(),L(14,29),E(15,NFb,2,0,
"th",24)(16,PFb,2,2,"td",25),M(),L(17,30),E(18,QFb,1,0,"td",31)(19,RFb,3,2,"td",25),M(),E(20,SFb,1,0,"tr",32)(21,TFb,1,0,"tr",33),L(22,34),E(23,XFb,2,1,"td",35),M(),E(24,YFb,1,1,"tr",36)(25,$Fb,3,3,"tr",37),I(),M());if(a&2){a=Q().ngIf;var b=Q(2).$implicit,c=Q(2);A();Tf("table-",b.label,"");F("dataSource",a.slice(0,c.numDisplayedRows)||zg(7,aGb));A(19);F("matHeaderRowDef",c.displayColumns);A();F("matRowDefColumns",c.displayColumns);A(3);F("matFooterRowDef",zg(8,bGb))}},dGb=function(a,b){a&1&&(L(0),
E(1,xFb,3,3,"ng-container",17)(2,cGb,26,9,"ng-container",17),M());a&2&&(a=b.ngIf,A(),F("ngIf",0===a.length),A(),F("ngIf",0<a.length))},eGb=function(a){a&1&&(L(0),E(1,vFb,1,3,"b-issues-table",20),V(2,"async"),E(3,dGb,3,2,"ng-container",17),V(4,"async"),M());if(a&2){var b;a=Q().$implicit;A();Uf((b=W(2,2,a.issues))?1:-1,b);A(2);F("ngIf",W(4,4,a.liteTasks))}},fGb=function(a,b){a&1&&(G(0,"mat-tab"),E(1,qFb,2,2,"ng-template",13)(2,uFb,7,6,"div",14)(3,eGb,5,6,"ng-container",15),I());a&2&&(a=b.$implicit,
Q(2),b=R(9),A(2),Uf(a.liteTasks?2:-1),A(),F("ngIf",!a.loading)("ngIfElse",b))},gGb=function(a){if(a&1){var b=v();G(0,"div",10)(1,"mat-tab-group",11);N("selectedIndexChange",function(c){x(b);var d=Q();return y(d.onTabIndexChange(c))});E(2,fGb,4,3,"mat-tab",12);I()()}a&2&&(a=Q(),A(),F("selectedIndex",a.INITIAL_TAB_INDEX),A(),F("ngForOf",a.tabData))},hGb=function(a){a&1&&(G(0,"div",66),K(1,"b-spinner",67),I());a&2&&(A(),F("ariaLabel","loading tasks"))},iGb=function(a){a&1&&S(0,"--")},jGb=function(a,
b){return a.lastModifiedTimestamp?b.lastModifiedTimestamp?Kn(b.lastModifiedTimestamp)-Kn(a.lastModifiedTimestamp):1:-1},kGb=function(a){a&1&&(G(0,"label",16),S(1),I());a&2&&(a=Q().$implicit,F("matTooltip",a.description),A(),rg(a.label))},lGb=function(a,b){if(a&1){var c=v();L(0);G(1,"source-filter-chips",18);N("change",function(d){x(c);var e=Q(4);return y(rFb(e.prefsService,d))});I();M()}a&2&&(a=b.ngIf,b=Q(4),A(),F("sourceFilterKeys",b.ALL_MY_TASK_FILTERS)("selectedSources",a))},mGb=function(a,b){if(a&
1){var c=v();L(0);G(1,"time-boundary-filter",19);N("change",function(d){x(c);var e=Q(4).prefsService;e.prefs.myTasksDaysOld=d;Qr(e,{myTasksDaysOld:d});return y()});I();M()}a&2&&(a=b.ngIf,A(),F("selectedTimeBoundary",a))},nGb=function(a){a&1&&(G(0,"div",14)(1,"span",5),S(2,"Sources"),I(),E(3,lGb,2,2,"ng-container",17),V(4,"async"),E(5,mGb,2,1,"ng-container",17),V(6,"async"),I());a&2&&(a=Q(3),A(3),F("ngIf",W(4,2,a.sources$)),A(2),F("ngIf",W(6,4,a.timeBoundary$)))},oGb=function(a,b){a&1&&K(0,"b-issues-table",
20);a&2&&(a=Q(4),F("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},pGb=function(a,b){a&1&&(L(0),G(1,"p",21),S(2),I(),M());a&2&&(a=b.ngIf,A(2),T(" ",0===a.length?"Enable source filters to see tasks":"No tasks"," "))},qGb=function(a){a&1&&(L(0),E(1,pGb,3,1,"ng-container",17),V(2,"async"),M());a&2&&(a=Q(5),A(),F("ngIf",W(2,1,a.sources$)))},rGb=function(a){a&1&&(G(0,"th",38),S(1,"Type"),I())},sGb=function(a,b){a&1&&(G(0,"td",39),K(1,"mat-icon",40),I());a&2&&(a=b.$implicit,
A(),Tf("product-icon ",a.icon,""),F("matTooltip",a.source)("svgIcon",a.icon))},tGb=function(a){a&1&&(G(0,"th",38),S(1,"Description"),I())},uGb=function(a){a&1&&K(0,"b-issue-visibility-chip",45);a&2&&(a=Q(3).$implicit,F("issueId",a.issueId)("compactMode",!0))},vGb=function(a){a&1&&E(0,uGb,1,2,"b-issue-visibility-chip",45);a&2&&(a=Q(2).$implicit,Uf(a.issueId?0:-1))},wGb=function(a){a&1&&K(0,"b-component-access-level-indicator",41);a&2&&(a=Q(2).$implicit,F("accessLevel",a.accessLevel)("compactMode",
!0))},xGb=function(a){a&1&&K(0,"b-issue-priority-display",46);a&2&&(a=Q(2).$implicit,F("issuePriority",a.priority))},yGb=function(a){if(a&1){var b=v();L(0);E(1,vGb,1,1)(2,wGb,1,2,"b-component-access-level-indicator",41)(3,xGb,1,1,"b-issue-priority-display",42);G(4,"a",43);N("auxclick",function(){x(b);var d=Q().$implicit,e=Q(6);return y(e.sendClickAnalytics(d))});S(5);I();G(6,"onedev-dma-chip",44);N("onChipClicked",function(){x(b);var d=Q(7);return y(d.sendDmaAnalytics())});I();M()}if(a&2){a=Q().$implicit;
var c=Q(6);A();Uf(c.enableNewVisibilityChips?1:2);A(2);F("ngIf",a.priority);A();F("href",a.link,Ye);Hf("target",a.icon!==c.BUGANIZER_SOURCE_ICON?"_blank":null);A();rg(a.title);A();F("hotlistIds",a.hotlistIds)}},zGb=function(a){a&1&&(G(0,"span",47),S(1,"No access to linked file"),I())},AGb=function(a,b){a&1&&(G(0,"td",39),E(1,yGb,7,6,"ng-container",15)(2,zGb,2,0,"ng-template",null,2,Eg),I());a&2&&(a=b.$implicit,b=R(3),A(),F("ngIf",a.title&&""!==a.title)("ngIfElse",b))},BGb=function(a){a&1&&(G(0,"th",
38),S(1,"Last modified"),I())},CGb=function(a){a&1&&K(0,"b-formatted-date-time",49);a&2&&(a=Q().$implicit,F("timestamp",a.modifiedDate)("paddingLeftPx",0))},DGb=function(a,b){a&1&&(G(0,"td",39),E(1,CGb,1,2,"b-formatted-date-time",48),I());a&2&&(a=b.$implicit,A(),F("ngIf",a.modifiedDate))},EGb=function(a){a&1&&(G(0,"th",38),S(1,"My role"),I())},FGb=function(a,b){a&1&&(G(0,"td",39),S(1),I());a&2&&(a=b.$implicit,A(),rg(a.role))},GGb=function(a){a&1&&(G(0,"th",38),S(1,"Creation date"),I())},HGb=function(a){a&
1&&(L(0),K(1,"b-formatted-date-time",49),M());a&2&&(a=Q().$implicit,A(),F("timestamp",a.createdDate)("paddingLeftPx",0))},IGb=function(a,b){a&1&&(G(0,"td",39),E(1,HGb,2,2,"ng-container",15),I());a&2&&(a=b.$implicit,Q(6),b=R(11),A(),F("ngIf",0<a.createdDate)("ngIfElse",b))},JGb=function(a){a&1&&K(0,"td",50)},KGb=function(a,b){if(a&1){var c=v();G(0,"td",39)(1,"button",51);N("click",function(d){var e=x(c).$implicit,f=Q(6);d.preventDefault();return y(f.copyIdOrLink(e))});K(2,"mat-icon",52);I()()}a&2&&
(a=b.$implicit,A(),F("matTooltip","Buganizer"===a.source?"Copy ID to clipboard":"Copy link to clipboard"),Hf("aria-label","Buganizer"===a.source?"Copy ID to clipboard":"Copy link to clipboard"))},LGb=function(a){a&1&&K(0,"tr",53)},MGb=function(a){if(a&1){var b=v();G(0,"tr",54);N("click",function(c){var d=x(b).$implicit,e=Q(6);return y(e.navigateToResource(c,d))});I()}},NGb=function(a){a&1&&K(0,"mat-icon",60)},OGb=function(a){a&1&&K(0,"mat-icon",61)},PGb=function(a){if(a&1){var b=v();G(0,"button",
57);N("click",function(){x(b);var d=Q(3).ngIf,e=Q(4);return y(e.setNumDisplayedRows(d))});S(1);E(2,NGb,1,0,"mat-icon",58)(3,OGb,1,0,"mat-icon",59);I()}if(a&2){a=Q(3).ngIf;var c=Q(4);A();T(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A();F("ngIf",a.length>c.numDisplayedRows);A();F("ngIf",a.length===c.numDisplayedRows)}},QGb=function(a){a&1&&(G(0,"td",55),E(1,PGb,4,3,"button",56),I());if(a&2){a=Q(2).ngIf;var b=Q(4);A();F("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},RGb=function(a){a&
1&&K(0,"tr",62);if(a&2){a=Q(2).ngIf;var b=Q(4);F("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},SGb=function(a,b){a&1&&(G(0,"td",65),S(1),I());a&2&&(a=b.ngIf,A(),T(" ",0===a.length?"Enable source filters to see tasks":"No tasks found"," "))},TGb=function(a){a&1&&(G(0,"tr",63),E(1,SGb,2,1,"td",64),V(2,"async"),I());a&2&&(a=Q(6),A(),F("ngIf",W(2,1,a.sources$)))},WGb=function(a){a&1&&(L(0),G(1,"table",22),L(2,23),E(3,rGb,2,0,"th",24)(4,sGb,2,5,"td",25),M(),L(5,26),E(6,tGb,2,0,"th",24)(7,AGb,4,
2,"td",25),M(),L(8,27),E(9,BGb,2,0,"th",24)(10,DGb,2,1,"td",25),M(),L(11,28),E(12,EGb,2,0,"th",24)(13,FGb,2,1,"td",25),M(),L(14,29),E(15,GGb,2,0,"th",24)(16,IGb,2,2,"td",25),M(),L(17,30),E(18,JGb,1,0,"td",31)(19,KGb,3,2,"td",25),M(),E(20,LGb,1,0,"tr",32)(21,MGb,1,0,"tr",33),L(22,34),E(23,QGb,2,1,"td",35),M(),E(24,RGb,1,1,"tr",36)(25,TGb,3,3,"tr",37),I(),M());if(a&2){a=Q().ngIf;var b=Q(2).$implicit,c=Q(2);A();Tf("table-",b.label,"");F("dataSource",a.slice(0,c.numDisplayedRows)||zg(7,UGb));A(19);F("matHeaderRowDef",
c.displayColumns);A();F("matRowDefColumns",c.displayColumns);A(3);F("matFooterRowDef",zg(8,VGb))}},XGb=function(a,b){a&1&&(L(0),E(1,qGb,3,3,"ng-container",17)(2,WGb,26,9,"ng-container",17),M());a&2&&(a=b.ngIf,A(),F("ngIf",0===a.length),A(),F("ngIf",0<a.length))},YGb=function(a){a&1&&(L(0),E(1,oGb,1,3,"b-issues-table",20),V(2,"async"),E(3,XGb,3,2,"ng-container",17),V(4,"async"),M());if(a&2){var b;a=Q().$implicit;A();Uf((b=W(2,2,a.issues))?1:-1,b);A(2);F("ngIf",W(4,4,a.tasks))}},ZGb=function(a,b){a&
1&&(G(0,"mat-tab"),E(1,kGb,2,2,"ng-template",13)(2,nGb,7,6,"div",14)(3,YGb,5,6,"ng-container",15),I());a&2&&(a=b.$implicit,Q(2),b=R(9),A(2),Uf(a.tasks?2:-1),A(),F("ngIf",!a.loading)("ngIfElse",b))},$Gb=function(a){if(a&1){var b=v();G(0,"div",10)(1,"mat-tab-group",11);N("selectedIndexChange",function(c){x(b);var d=Q();return y(d.onTabIndexChange(c))});E(2,ZGb,4,3,"mat-tab",12);I()()}a&2&&(a=Q(),A(),F("selectedIndex",a.INITIAL_TAB_INDEX),A(),F("ngForOf",a.tabData))},aHb=function(a){a&1&&(G(0,"div",
66),K(1,"b-spinner",67),I());a&2&&(A(),F("ariaLabel","loading tasks"))},bHb=function(a){a&1&&S(0,"--")},cHb=function(a,b){return a.modifiedDate?b.modifiedDate?b.modifiedDate-a.modifiedDate:1:-1},dHb=function(a){a&1&&K(0,"my-tasks",6);a&2&&(a=Q(),F("refreshData",a.refreshMissionControlData))},eHb=function(a){a&1&&K(0,"my-tasks-v1",6);a&2&&(a=Q(),F("refreshData",a.refreshMissionControlData))},fHb=function(a){a&1&&Yf(0)},hHb=function(a,b){a&1&&(L(0),E(1,fHb,1,0,"ng-container",7),M());a&2&&(a=b.$implicit,
Q(3),b=R(5),A(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,gHb,a)))},iHb=function(a){a&1&&(G(0,"div",4)(1,"div",5),S(2,"TEAMFOOD"),I(),E(3,hHb,2,4,"ng-container",6),V(4,"async"),I());a&2&&(a=Q(2),A(3),F("ngForOf",W(4,1,a.beapFeaturesTF$)))},jHb=function(a){a&1&&Yf(0)},kHb=function(a,b){a&1&&(L(0),E(1,jHb,1,0,"ng-container",7),M());a&2&&(a=b.$implicit,Q(3),b=R(5),A(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ag(2,gHb,a)))},lHb=function(a){a&1&&(G(0,"div",4)(1,"div",5),S(2,"EARLY ACCESS"),
I(),E(3,kHb,2,4,"ng-container",6),V(4,"async"),I());a&2&&(a=Q(2),A(3),F("ngForOf",W(4,1,a.beapFeaturesEA$)))},mHb=function(a){a&1&&(L(0),E(1,iHb,5,3,"div",3),V(2,"async"),E(3,lHb,5,3,"div",3),V(4,"async"),M());a&2&&(a=Q(),A(),F("ngIf",W(2,2,a.hasFeaturesTF$)),A(2),F("ngIf",W(4,4,a.hasFeaturesEA$)))},nHb=function(a){a&1&&(G(0,"div",8),S(1,"No available experiments"),I())},oHb=function(a){a&1&&(G(0,"a",23),S(1," Learn more"),I());a&2&&(a=Q().feature,Hf("href",a.learnMoreLink,Ye))},pHb=function(a){a&
1&&(G(0,"b-callout",24)(1,"b-callout-body"),S(2," Reload page to see changes. "),I()())},qHb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10)(2,"div",11);K(3,"mat-slide-toggle",12);V(4,"featureState");V(5,"featureState");I();G(6,"div",13)(7,"div",14);S(8);I();G(9,"span",15);S(10);E(11,oHb,2,1,"a",16);I();G(12,"div",17)(13,"a",18);N("click",function(){var d=x(c).feature;Q().linkClicked[d.experimentId]=!0;return y()});K(14,"mat-icon",19);S(15);V(16,"featureState");I()();E(17,pHb,3,0,"b-callout",
20);I();G(18,"div",21);K(19,"b-app-beap-state-indicator",22);I()()()}a&2&&(a=b.feature,b=Q(),A(3),F("checked",W(4,10,a.state))("matTooltip",W(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),A(5),T(" ",a.title," "),A(2),T("",a.description," "),A(),F("ngIf",a.learnMoreLink),A(2),Hf("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Ye),A(2),T(" ",W(16,14,a.state)?"Opt out":"Opt in"," "),A(2),F("ngIf",!!b.linkClicked[a.experimentId]),A(2),F("experimentId",a.experimentId))},
rHb=function(a){a&1&&(G(0,"mat-option",26),S(1),I());a&2&&(a=Q().$implicit,F("value",a),A(),T(" ",a.name," "))},sHb=function(a,b){a&1&&(L(0),E(1,rHb,2,2,"mat-option",25),M());a&2&&(a=b.$implicit,A(),F("ngIf",a.shouldDisplay()))},tHb=function(a,b){a&1&&(G(0,"mat-option",29),S(1),I());a&2&&(a=b.$implicit,F("value",a.id),A(),T(" ",a.name," "))},vHb=function(a){if(a&1){var b=v();G(0,"mat-form-field",5)(1,"mat-select",27);vg("ngModelChange",function(c){x(b);var d=Q();ug(d.preferredHomepage.selectedOptionId,
c)||(d.preferredHomepage.selectedOptionId=c);return y(c)});N("selectionChange",function(){x(b);var c=Q();return y(uHb(c.preferredHomepage))});E(2,tHb,2,2,"mat-option",28);I()()}a&2&&(a=Q(),A(),tg("ngModel",a.preferredHomepage.selectedOptionId),A(),F("ngForOf",a.preferredHomepage.selectedMainOption.options))},wHb=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-slide-toggle",30);N("change",function(c){x(b);var d=Q();c=c.checked;if(d.userPreferences){var e;d.userPreferences.missionControlPreferences=
null!=(e=d.userPreferences.missionControlPreferences)?e:{};e=!c;d.userPreferences.missionControlPreferences.hideBadgeInNav=e;d.save("hideBadgeInNav",String(e))}return y()});S(2,' Show red "attention" badge in left navigation ');I()()}a&2&&(a=Q(),A(),F("checked",!a.hideBadgeInNav))},xHb=function(a,b){a&1&&(G(0,"mat-option",31),S(1),I());a&2&&(a=b.$implicit,F("value",a.value),A(),T(" ",a.label," "))},yHb=function(a,b){a&1&&(G(0,"mat-option",31),S(1),I());a&2&&(a=b.$implicit,F("value",a.value),A(),T(" ",
a.label," "))},zHb=function(a,b){a&1&&(G(0,"mat-option",31),S(1),I());a&2&&(a=b.$implicit,F("value",a.value),A(),T(" ",a.label," "))},AHb=function(a){if(a&1){var b=v();G(0,"div",21)(1,"mat-slide-toggle",32);N("change",function(c){x(b);var d=Q();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return y()});S(2," Show SnipIt images inline in comments ");I()()}a&2&&(a=Q(),A(),F("checked",a.getShowInlineImages()))},BHb=function(a){if(a&1){var b=v();L(0);G(1,"div",
0)(2,"div",1)(3,"p",2);S(4,"Other");I()();G(5,"div")(6,"div")(7,"mat-slide-toggle",33);N("change",function(c){x(b);var d=Q();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return y(d.save("saveBugScreensaverPreferences"))});S(8," Enable bug screensaver ");I()()()();M()}a&2&&(a=Q(),A(7),F("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},CHb=function(a,b){a&1&&(G(0,"mat-option",20),S(1),V(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",
a),A(),T(" ",W(2,2,a)," "))},DHb=function(a,b){a&1&&(G(0,"mat-option",20),S(1),V(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",W(2,2,a)," "))},EHb=function(a,b){a&1&&(G(0,"mat-option",20),S(1),V(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",W(2,2,a)," "))},FHb=function(a,b){a&1&&(G(0,"mat-option",20),S(1),V(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",W(2,2,a)," "))},GHb=function(a,b){a&1&&(G(0,"mat-option",20),S(1),
V(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",W(2,2,a)," "))},HHb=function(a,b){a&1&&(G(0,"mat-option",20),S(1),V(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),A(),T(" ",W(2,2,a)," "))},IHb=function(a,b){a&1&&(G(0,"mat-option",3),S(1),I());a&2&&(a=b.$implicit,F("value",a.id),A(),T(" ",a.displayName," "))},JHb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},KHb=function(a){a&1&&(L(0),K(1,"b-spinner"),M())},LHb=function(a){a&1&&(G(0,
"mat-hint"),S(1,"This field is read-only"),I())},MHb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.frequency),A(),T(" ",a.display," "))},NHb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.ordinal),A(),T(" ",a.display," "))},OHb=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",15)(2,"mat-label");S(3," Repeat on ");I();G(4,"mat-select",17);N("ngModelChange",function(d){x(b);var e=Q(2).ngIf,f=Q(2);Yr(f,Object.assign({},
e,{ordinal:d}));return y()});E(5,NHb,2,2,"mat-option",18);I()()()}if(a&2){a=Q(2).ngIf;var c=Q(2);A(4);F("ngModel",a.ordinal);A();F("ngForOf",c.repeatOnOptions.get(a.frequency))}},PHb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.timeOfDay),A(),T(" ~",a.display," "))},QHb=function(a,b){if(a&1){var c=v();L(0);G(1,"div")(2,"mat-form-field",15)(3,"mat-label");S(4," Repeat at ");I();G(5,"mat-select",22);N("ngModelChange",function(e){x(c);var f=Q(2).ngIf,h=Q(2);Yr(h,
Object.assign({},f,{timeOfDay:e}));return y()});E(6,PHb,2,2,"mat-option",18);I()()();M()}if(a&2){a=b.ngIf;b=Q(2).ngIf;var d=Q(2);A(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);A();F("ngForOf",a)}},RHb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.value),A(),rg(a.displayText))},THb=function(a,b){if(a&1){var c=v();G(0,"div",28)(1,"a",29);S(2);I();G(3,"button",30);N("click",function(){var d=x(c).$implicit,e=Q(3).ngIf,f=Q(2);return y(SHb(f,e,d))});
K(4,"mat-icon",31);I()()}a&2&&(a=b.$implicit,A(),F("href","/slos/"+a,Ye),A(),rg(a),A(),F("matTooltip","Remove SLO ID "+a))},VHb=function(a){if(a&1){var b=v();L(0);G(1,"div")(2,"mat-form-field",23)(3,"mat-label");S(4,"Days remaining");I();G(5,"input",24);vg("ngModelChange",function(d){x(b);var e=Q(4);ug(e.inputDaysRemaining,d)||(e.inputDaysRemaining=d);return y(d)});N("blur",function(){x(b);var d=Q(2).ngIf,e=Q(2);return y(e.setDaysRemaining(d))})("keydown.enter",function(){x(b);var d=Q(2).ngIf,e=Q(2);
return y(e.setDaysRemaining(d))});I()()();G(6,"div")(7,"mat-form-field",23)(8,"mat-label");S(9,"Types");I();G(10,"mat-select",25);N("ngModelChange",function(d){x(b);var e=Q(2).ngIf,f=Q(2);return y(f.setIssueType(d,e))});Wf(11,RHb,2,2,"mat-option",21,Vf);I()()();G(13,"div",9)(14,"mat-form-field",26)(15,"mat-label");S(16,"Add SLO ID");I();G(17,"input",27);vg("ngModelChange",function(d){x(b);var e=Q(4);ug(e.newSloId,d)||(e.newSloId=d);return y(d)});N("keydown.enter",function(){x(b);var d=Q(2).ngIf,e=
Q(2);return y(UHb(e,d))})("blur",function(){x(b);var d=Q(2).ngIf,e=Q(2);return y(UHb(e,d))});I()();Wf(18,THb,5,3,"div",28,Vf);I();M()}if(a&2){a=Q(2).ngIf;var c=Q(2);A(5);tg("ngModel",c.inputDaysRemaining);A(5);F("ngModel",a.types);A();Xf(c.typeChoices);A(6);tg("ngModel",c.newSloId);A();Xf(a.sloIds)}},WHb=function(a){a&1&&(G(0,"div",32),S(1),I());a&2&&(a=Q(2).ngIf,A(),T(" Subscription ID: ",a.id," "))},XHb=function(a){if(a&1){var b=v();L(0);G(1,"div")(2,"mat-form-field",15)(3,"mat-label");S(4," Frequency ");
I();G(5,"mat-select",17);N("ngModelChange",function(d){x(b);var e=Q().ngIf,f=Q(2);return y(f.setFrequency(d,e))});E(6,MHb,2,2,"mat-option",18);I()()();E(7,OHb,6,2,"div",2)(8,QHb,7,3,"ng-container",2);V(9,"async");G(10,"div")(11,"b-timezone-picker",19);N("timezoneIdChange",function(d){x(b);var e=Q().ngIf,f=Q(2);return y(f.setTimeZone(d,e))});I()();E(12,VHb,20,3,"ng-container",2)(13,WHb,2,1,"div",20);M()}if(a&2){a=Q().ngIf;var c=Q(2);A(5);F("ngModel",a.frequency);A();F("ngForOf",c.frequencyOptions);
A();F("ngIf",a.frequency!==c.DAILY);A();F("ngIf",W(9,8,c.repeatAtOptions$));A(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);A();F("ngIf",c.enableSloReportFiltering);A();F("ngIf",a.id)}},ZHb=function(a,b){if(a&1){var c=v();L(0);G(1,"div")(2,"div",9)(3,"mat-slide-toggle",14);V(4,"async");N("change",function(){x(c);var d=Q(2);return y(YHb(d))});S(5," Subscribe to your own reports ");E(6,KHb,2,0,"ng-container",2);V(7,"async");I()();G(8,"div")(9,"mat-form-field",15)(10,"mat-label");S(11,"Scope");I();
G(12,"input",16);N("focus",function(){x(c);var d=Q(2);return y(d.inputHasFocus=!0)})("blur",function(){x(c);var d=Q(2);return y(d.inputHasFocus=!1)});I();E(13,LHb,2,0,"mat-hint",2);I()();E(14,XHb,14,10,"ng-container",2);I();M()}a&2&&(a=b.ngIf,b=Q(2),A(3),F("disabled",W(4,6,b.isThinking$))("checked",0!==a.id),A(3),F("ngIf",W(7,8,b.isThinking$)),A(6),F("ngModel",b.currentUser.email),A(),F("ngIf",b.inputHasFocus),A(),F("ngIf",0!==a.id))},$Hb=function(a){a&1&&(L(0),G(1,"div",3)(2,"div",4)(3,"p",5),S(4,
"Frequency settings"),I(),G(5,"p",11),S(6," Choose when to receive your own reports. "),G(7,"a",12),S(8,"Learn more"),I()()(),E(9,ZHb,15,10,"ng-container",2),V(10,"async"),I(),K(11,"hr",13),M());a&2&&(a=Q(),A(9),F("ngIf",W(10,1,a.userSubscription$)))},aIb=function(a){a&1&&(L(0),K(1,"b-spinner"),M())},bIb=function(a){a&1&&(G(0,"th",41),S(1,"Scope"),I())},cIb=function(a,b){a&1&&(G(0,"td",42),S(1),I());a&2&&(a=b.$implicit,A(),T(" ",a.lead.emailAddress," "))},dIb=function(a){a&1&&(G(0,"th",41),S(1,"Frequency"),
I())},gIb=function(a,b){a&1&&(G(0,"td",42),S(1),V(2,"async"),V(3,"async"),I());if(a&2){var c;a=b.$implicit;b=Q(2);A();hma(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+eIb[a.ordinal-1].display:"monthly"===a.frequency?"- "+fIb(a.ordinal):"":""," - ",null==(c=W(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=W(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},hIb=function(a){a&1&&K(0,"th",41)},jIb=function(a){if(a&1){var b=
v();G(0,"td",42)(1,"button",43);K(2,"mat-icon",44);I();G(3,"mat-menu",null,1)(5,"button",45);N("click",function(){var c=x(b).$implicit,d=Q(2);return y(d.openDialog(c))});S(6," Edit subscription ");I();G(7,"button",46);N("click",function(){var c=x(b).$implicit,d=Q(2);return y(iIb(d,c))});S(8," Delete subscription ");I()()()}a&2&&(a=R(4),A(),F("matMenuTriggerFor",a))},kIb=function(a){a&1&&K(0,"tr",47)},lIb=function(a,b){a&1&&K(0,"tr",48);a&2&&(a=b.$implicit,Hf("aria-label","Subscription with ID "+a.id+
" and scoped to "+a.lead.emailAddress))},mIb=function(a){a&1&&(L(0),G(1,"table",33),L(2,34),E(3,bIb,2,0,"th",35)(4,cIb,2,1,"td",36),M(),L(5,37),E(6,dIb,2,0,"th",35)(7,gIb,4,8,"td",36),M(),L(8,38),E(9,hIb,1,0,"th",35)(10,jIb,9,1,"td",36),M(),E(11,kIb,1,0,"tr",39)(12,lIb,1,1,"tr",40),I(),M());a&2&&(a=Q(),A(),F("dataSource",a.subscriptions$),A(10),F("matHeaderRowDef",a.columns),A(),F("matRowDefColumns",a.columns))},nIb=function(a){a&1&&(G(0,"mat-error"),S(1,"Please select a valid, single user"),I())},
oIb=function(a){a&1&&(G(0,"mat-error"),S(1,"Report for sundar@ cannot be generated"),I())},pIb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.frequency),A(),T(" ",a.display," "))},qIb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.ordinal),A(),T(" ",a.display," "))},rIb=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",15)(2,"mat-label");S(3," Repeat on ");I();G(4,"mat-select",17);vg("ngModelChange",function(d){x(b);
var e=Q().$implicit;ug(e.ordinal,d)||(e.ordinal=d);return y(d)});E(5,qIb,2,2,"mat-option",18);I()()()}if(a&2){a=Q().$implicit;var c=Q();A(4);tg("ngModel",a.ordinal);A();F("ngForOf",c.repeatOnOptions.get(a.frequency))}},sIb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.timeOfDay),A(),T(" ~",a.display," "))},tIb=function(a,b){if(a&1){var c=v();L(0);G(1,"div")(2,"mat-form-field",15)(3,"mat-label");S(4," Repeat at ");I();G(5,"mat-select",22);vg("ngModelChange",function(e){x(c);
var f=Q().$implicit;ug(f.timeOfDay,e)||(f.timeOfDay=e);return y(e)});E(6,sIb,2,2,"mat-option",18);I()()();M()}if(a&2){a=b.ngIf;b=Q().$implicit;var d=Q();A(5);tg("ngModel",b.timeOfDay);F("compareWith",d.compareTimeOfDay);A();F("ngForOf",a)}},uIb=function(a,b){a&1&&(G(0,"mat-option",21),S(1),I());a&2&&(a=b.$implicit,F("value",a.value),A(),rg(a.displayText))},wIb=function(a,b){if(a&1){var c=v();G(0,"div",28)(1,"a",29);S(2);I();G(3,"button",30);N("click",function(){var d=x(c).$implicit,e=Q(2).$implicit;
Q();return y(vIb(e,d))});K(4,"mat-icon",31);I()()}a&2&&(a=b.$implicit,A(),F("href","/slos/"+a,Ye),A(),rg(a),A(),F("matTooltip","Remove SLO ID "+a))},yIb=function(a){if(a&1){var b=v();L(0);G(1,"div")(2,"mat-form-field",15)(3,"mat-label");S(4,"Days remaining");I();G(5,"input",56);vg("ngModelChange",function(d){x(b);var e=Q().$implicit;ug(e.daysRemaining,d)||(e.daysRemaining=d);return y(d)});I()()();G(6,"div")(7,"mat-form-field",15)(8,"mat-label");S(9,"Types");I();G(10,"mat-select",25);vg("ngModelChange",
function(d){x(b);var e=Q().$implicit;ug(e.types,d)||(e.types=d);return y(d)});Wf(11,uIb,2,2,"mat-option",21,Vf);I()()();G(13,"div",9)(14,"mat-form-field",57)(15,"mat-label");S(16,"Add SLO ID");I();G(17,"input",27);vg("ngModelChange",function(d){x(b);var e=Q(2);ug(e.newSloId,d)||(e.newSloId=d);return y(d)});N("keydown.enter",function(){x(b);var d=Q().$implicit,e=Q();return y(xIb(e,d))})("blur",function(){x(b);var d=Q().$implicit,e=Q();return y(xIb(e,d))});I()();Wf(18,wIb,5,3,"div",28,Vf);I();M()}if(a&
2){a=Q().$implicit;var c=Q();A(5);tg("ngModel",a.daysRemaining);A(5);tg("ngModel",a.types);A();Xf(c.typeChoices);A(6);tg("ngModel",c.newSloId);A();Xf(a.sloIds)}},zIb=function(a){a&1&&(G(0,"div",32),S(1),I());a&2&&(a=Q().$implicit,A(),T(" Subscription ID: ",a.id," "))},CIb=function(a,b){if(a&1){var c=v();G(0,"h1",49);S(1,"Add report subscription");I();G(2,"mat-dialog-content")(3,"p",50);S(4," Select the user (scope) and frequency of the report you wish to receive. ");I();G(5,"div")(6,"mat-form-field",
51)(7,"mat-label");S(8,"Scope");I();G(9,"input",52);N("ngModelChange",function(e){var f=x(c).$implicit,h=Q();return y(f.lead=h.emailToUser(e))});I();E(10,nIb,2,0,"mat-error",2)(11,oIb,2,0,"mat-error",2);I()();G(12,"div")(13,"mat-form-field",15)(14,"mat-label");S(15," Frequency ");I();G(16,"mat-select",17);vg("ngModelChange",function(e){var f=x(c).$implicit;ug(f.frequency,e)||(f.frequency=e);return y(e)});N("ngModelChange",function(e){var f=x(c).$implicit;Q();return y(AIb(e,f))});E(17,pIb,2,2,"mat-option",
18);I()()();E(18,rIb,6,2,"div",2)(19,tIb,7,3,"ng-container",2);V(20,"async");G(21,"div")(22,"b-timezone-picker",19);N("timezoneIdChange",function(e){var f=x(c).$implicit;return y(f.timeZone.id=e)});I()();E(23,yIb,20,3,"ng-container",2)(24,zIb,2,1,"div",20);G(25,"p",53);S(26," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");I();G(27,"a",54);S(28,"Learn more");I()();G(29,"mat-dialog-actions")(30,"button",55);S(31,
"Cancel");I();G(32,"button",10);N("click",function(){var e=x(c).$implicit,f=Q();return y(BIb(f,e))});S(33);I()()}if(a&2){var d;a=b.$implicit;b=Q();A(9);F("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete","SINGLE");A();F("ngIf",b.dialogInvalidEmailFormat);A();F("ngIf",b.ceoSelected);A(5);tg("ngModel",a.frequency);A();F("ngForOf",b.frequencyOptions);A();F("ngIf",a.frequency!==b.DAILY);A();F("ngIf",W(20,14,b.repeatAtOptions$));A(3);F("timezoneId",a.timeZone.id)("fullWidth",
!0);A();F("ngIf",b.enableSloReportFiltering);A();F("ngIf",a.id);A(8);F("disabled",!a.lead||!a.lead.emailAddress);A();T(" ",0===a.id?"Add":"Update"," ")}},fIb=function(a){var b=a%10,c=a%100;return 1===b&&11!==c?String(a)+"st":2===b&&12!==c?String(a)+"nd":3===b&&13!==c?String(a)+"rd":String(a)+"th"},DIb=function(a){a&1&&(G(0,"mat-tab",7)(1,"div",3),K(2,"b-slo-reports-settings"),I()())},EIb=function(a){a&1&&(G(0,"mat-tab",8)(1,"div",3),K(2,"b-beap-settings"),I()())},FIb=function(a){if(a&1){var b=v();
G(0,"b-star-toggle",13);N("starClicked",function(){x(b);var c=Q(2);return y(c.toggleStar())});I()}a&2&&(a=Q(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},GIb=function(a){a&1&&K(0,"b-star-toggle",14);a&2&&F("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)},HIb=function(a,b){a&
1&&(G(0,"li")(1,"a",15),S(2),I()());a&2&&(a=b.$implicit,b=Q(2),A(),F("href",b.getUrl(a),Ye)("title",a.description),A(),T(" ",b.getDisplayName(a)," "))},IIb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",4)(2,"div",5);E(3,FIb,1,3,"b-star-toggle",6)(4,GIb,1,4,"b-star-toggle",7);G(5,"span",8);S(6);I();G(7,"button",9);N("click",function(){x(b);var c=Q();return y(c.openEditBookmarkGroup())});I()();G(8,"div",10);S(9);I()();G(10,"ul",11);E(11,HIb,3,3,"li",12);I()()}a&2&&(a=Q(),A(3),F("ngIf",!a.userIsAdmin),
A(),F("ngIf",a.userIsAdmin),A(2),T("Bookmark Group: ",a.bookmarkGroup.name," "),A(3),rg(a.bookmarkGroup.description),A(2),F("ngForOf",a.bookmarkGroup.item))},MIb=function(a){if(a&1){var b=v();G(0,"button-toggle",11);vg("valueChange",function(c){x(b);var d=Q(2);ug(d.viewMode,c)||(d.viewMode=c);return y(c)});I()}a&2&&(a=Q(2),tg("value",a.viewMode),F("choices",Bg(4,JIb,zg(2,KIb),zg(3,LIb))))},NIb=function(a){if(a&1){var b=v();G(0,"button",12);N("click",function(){x(b);var c=Q(2);return y(c.addToMissionControl(c.hotlistId))});
S(1," Hotlist insights in Home ");I()}},OIb=function(a,b){a&1&&E(0,MIb,1,7,"button-toggle",9)(1,NIb,2,0,"button",10);a&2&&(a=Q(),Uf(a.viewModesEnabled&&(a.viewMode||500>=b)?0:a.showAddToMcButton(b)?1:-1))},PIb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",20);N("starClicked",function(){x(b);var c=Q(2);return y(c.toggleStar())})("keydown.space",function(c){x(b);return y(c.stopPropagation())})("keydown.enter",function(c){x(b);return y(c.stopPropagation())});I()}a&2&&(a=Q(2),F("starMessage","Star this hotlist")("unStarMessage",
"Un-star this hotlist")("starred",a.isStarred))},QIb=function(a){a&1&&K(0,"b-star-toggle",21);a&2&&F("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)},RIb=function(a){a&1&&K(0,"b-star-toggle",21);a&2&&F("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},SIb=function(a){a&1&&(G(0,"div",22),S(1," Hotlist not found. "),I());a&2&&F("bFocus",!0)},TIb=
function(a){a&1&&(G(0,"div"),S(1," Loading details... "),I())},UIb=function(a){a&1&&(G(0,"span",29),S(1," (archived) "),I())},VIb=function(a){a&1&&(G(0,"span",30),S(1," \u00a0(changed) "),I())},WIb=function(a){if(a&1){var b=v();G(0,"div")(1,"span",23);S(2," Hotlist: ");G(3,"span",24);S(4);I()();E(5,UIb,2,0,"span",25);G(6,"div",26)(7,"button",27);N("click",function(){x(b);var c=Q(2);return y(c.openEditHotlist())});I()();E(8,VIb,2,0,"span",28);I()}a&2&&(a=Q(2),A(3),F("matTooltip",a.hotlist.description),
A(),T(" ",a.hotlist.name," "),A(),F("ngIf",a.hotlist.archived),A(3),F("ngIf",a.hasParamChanges()))},XIb=function(a){if(a&1){var b=v();G(0,"div",31)(1,"button",32);N("click",function(){x(b);var c=Q(2);return y(c.save())});S(2,"Save ");I();G(3,"button",33);N("click",function(){x(b);var c=Q(2);return y(c.discardChanges())});S(4,"Discard changes ");I()()}},YIb=function(a){a&1&&(G(0,"div",13),E(1,PIb,1,3,"b-star-toggle",14)(2,QIb,1,4,"b-star-toggle",15)(3,RIb,1,4,"b-star-toggle",15),G(4,"div",16),E(5,
SIb,2,1,"div",17)(6,TIb,2,0,"div",18)(7,WIb,9,4,"div",18),I(),E(8,XIb,5,0,"div",19),I());a&2&&(a=Q(),A(),F("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),A(),F("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),A(),F("ngIf",!a.hotlist),A(2),F("ngIf",!a.hotlist&&!a.hotlistLoading),A(),F("ngIf",a.hotlistLoading),A(),F("ngIf",a.hotlist&&!a.hotlistLoading),A(),F("ngIf",a.hasParamChanges()))},ZIb=function(a){a&1&&(G(0,"div",34),K(1,"b-spinner"),G(2,"span"),S(3),I()());a&2&&(a=Q(),A(3),
T(" Loading hotlist: ",a.hotlistId,""))},$Ib=function(a){a&1&&(G(0,"div",35),S(1),I());a&2&&(a=Q(),F("bFocus",!0),A(),T(" No issues in hotlist ",a.hotlistId,". "))},aJb=function(a){a&1&&K(0,"one-work-area",37);a&2&&(a=Q(2),eg("reference","hotlist/",a.hotlistId,""),F("numRecentActivityEvents",12))},bJb=function(a){if(a&1){var b=v();G(0,"b-issues-grid",39);N("init",function(c){x(b);var d=Q(2);return y(d.resultsGrid=c)});vg("focusedRowIndexChange",function(c){x(b);var d=Q(2);ug(d.focusedRowIndex,c)||
(d.focusedRowIndex=c);return y(c)})("columnsChange",function(c){x(b);var d=Q(2);ug(d.issueColumns,c)||(d.issueColumns=c);return y(c)});N("sortChange",function(c){x(b);var d=Q(2);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=Q(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){x(b);var d=Q(2);return y(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){x(b);var c=Q(2);return y(Rr(c,c.page,1))})("onPrevPage",function(){x(b);
var c=Q(2);return y(Rr(c,c.page,-1))});I()}a&2&&(a=Q(2),F("searchResults",a.searchResults),tg("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),F("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},cJb=function(a){a&1&&(G(0,"div",36),E(1,aJb,1,3,"one-work-area",37)(2,bJb,1,6,"b-issues-grid",38),I());a&2&&(a=Q(),A(),Uf(a.viewModesEnabled&&"adv"===a.viewMode?1:2))},gJb=function(a){if(a&1){var b=v();G(0,"button-toggle",11);vg("valueChange",function(c){x(b);
var d=Q(2);ug(d.viewMode,c)||(d.viewMode=c);return y(c)});I()}a&2&&(a=Q(2),tg("value",a.viewMode),F("choices",Bg(4,dJb,zg(2,eJb),zg(3,fJb))))},hJb=function(a){if(a&1){var b=v();G(0,"button",12);N("click",function(){x(b);var c=Q(2);return y(c.addToMissionControl(c.savedSearchId))});S(1," Saved Search insights in Home ");I()}},iJb=function(a,b){a&1&&E(0,gJb,1,7,"button-toggle",9)(1,hJb,2,0,"button",10);a&2&&(a=Q(),Uf(a.viewModesEnabled&&(a.viewMode||500>=b)?0:a.showAddToMcButton(b)?1:-1))},jJb=function(a){a&
1&&(G(0,"div"),S(1," Loading details... "),I())},kJb=function(a){a&1&&(G(0,"div"),S(1," Saved search not found. "),I())},lJb=function(a){a&1&&(G(0,"span",19),S(1," \u00a0(changed) "),I())},mJb=function(a){if(a&1){var b=v();G(0,"div",15);S(1," Saved search: ");G(2,"span",16);S(3);I();G(4,"button",17);N("click",function(){x(b);var c=Q(2);return y(c.openEditSavedSearch())});I();E(5,lJb,2,0,"span",18);I()}a&2&&(a=Q(2),A(2),F("matTooltip",a.savedSearch.description),A(),T(" ",a.savedSearch.name," "),A(2),
F("ngIf",a.hasParamChanges()))},nJb=function(a){a&1&&(G(0,"div",13),E(1,jJb,2,0,"div",8)(2,kJb,2,0,"div",8)(3,mJb,6,3,"div",14),I());a&2&&(a=Q(),A(),F("ngIf",!a.savedSearch&&a.isLoading),A(),F("ngIf",!a.savedSearch&&!a.isLoading),A(),F("ngIf",a.savedSearch))},oJb=function(a){if(a&1){var b=v();G(0,"button",25);N("click",function(){x(b);var c=Q(2);return y(c.save())});S(1,"Save ");I()}},pJb=function(a){if(a&1){var b=v();G(0,"div",20);E(1,oJb,2,0,"button",21);G(2,"button",22);N("click",function(){x(b);
var c=Q();return y(c.discardChanges())});S(3,"Discard changes ");I();G(4,"span",23)(5,"a",24);N("click",function(){x(b);var c=Q();Wo(c.analytics,c.ANALYTICS_CATEGORY,"backToNormalSearch");return y()});S(6," Back to normal search");I()()()}a&2&&(a=Q(),A(),F("ngIf",a.isEditable()),A(4),F("href",a.exitLink,Ye))},qJb=function(a){a&1&&(G(0,"span"),S(1),I());a&2&&(a=Q(3),A(),T(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},rJb=function(a){a&1&&(G(0,"div",29),K(1,"b-spinner"),
E(2,qJb,2,1,"span",8),I());a&2&&(a=Q(2),A(2),F("ngIf",a.searchParams))},sJb=function(a){a&1&&(G(0,"div",30),S(1," No issues in saved search. "),I());a&2&&F("bFocus",!0)},tJb=function(a){a&1&&K(0,"one-work-area",32);a&2&&(a=Q(3),eg("reference","savedsearch/",a.savedSearchId,""),F("numRecentActivityEvents",12))},uJb=function(a){if(a&1){var b=v();G(0,"b-issues-grid",34);N("init",function(c){x(b);var d=Q(3);return y(d.resultsGrid=c)});vg("focusedRowIndexChange",function(c){x(b);var d=Q(3);ug(d.focusedRowIndex,
c)||(d.focusedRowIndex=c);return y(c)})("columnsChange",function(c){x(b);var d=Q(3);ug(d.issueColumns,c)||(d.issueColumns=c);return y(c)});N("sortChange",function(c){x(b);var d=Q(3);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=Q(3);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=Q(3);return y(Rr(c,c.page,1))})("onPrevPage",function(){x(b);var c=Q(3);return y(Rr(c,c.page,-1))});I()}a&2&&(a=Q(3),F("searchResults",a.searchResults),tg("focusedRowIndex",
a.focusedRowIndex)("columns",a.issueColumns),F("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},vJb=function(a){a&1&&(G(0,"div",31),E(1,tJb,1,3,"one-work-area",32)(2,uJb,1,6,"b-issues-grid",33),I());a&2&&(a=Q(2),A(),Uf(a.viewModesEnabled&&"adv"===a.viewMode?1:2))},wJb=function(a){a&1&&(G(0,"div"),E(1,rJb,3,1,"div",26)(2,sJb,2,1,"div",27)(3,vJb,3,1,"div",28),I());a&2&&(a=Q(),A(),F("ngIf",a.isLoading),A(),F("ngIf",!a.isLoading&&!a.hasResults()),A(),F("ngIf",!a.isLoading&&
a.hasResults()))},yJb=function(a,b){return xJb(function(){return Qm(a)},b)},xJb=function(a,b){return a()?[b]:[]},zJb=function(){var a=bd(Zr).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},AJb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},$r=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(vh(b)))},BJb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",
String(vh(b)))},CJb=function(a,b){a.setAttribute("pkd-ps-state",String(vh("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(vh("2")))},function(){a.setAttribute("pkd-ps-state",String(vh("3")))})},GJb=function(a){var b=Np(DJb,{id:as(EJb)});a.appendChild(b);return new FJb(b)},JJb=function(a){if(bs){var b=HJb(a);IJb(a,b)}else a.scrollIntoView({block:"nearest"})},LJb=function(a,b,c){return new ar(new KJb(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},cs=function(a){return(a||
"").trim()},ds=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}b=a.element;a=a.componentId;a=b.getAttribute("jslog").concat("; cid:",a);b.setAttribute("jslog",a)},fs=function(a){return new es(a)},MJb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},gs=function(a){return MJb("pcw-click",a)},OJb=
function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=NJb.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},PJb=function(a){return a.map(function(b){if(hs)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)}})},SJb=function(a,b){var c=as(is.getInstance()),d=Object,e=d.assign;c=c+":"+
a.id;var f=PJb(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("df`"+b);}d=Np(QJb,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&ds({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new RJb(d,a)},UJb=function(a){var b=new TJb([]);return new js(a,b)},WJb=function(a,
b){return new VJb(a,b)},bKb=function(a,b,c,d,e){var f=XJb(c),h=ks(a),l=ls(a);l&&h.intersection(YJb(l));ZJb(h,Mp(a),Mp(c));a=$Jb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new ms(b,h.top+(a&1?h.height:0));h=ns(h,f);a=$Jb(c,d);h=aKb(h,os(c),a).rect;c=ls(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;f=h;f.left<c.left?f.left=c.left:f.left+f.width>c.right&&(f.left=c.right-f.width);h=f;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=
d-c.bottom)),h=e);return h},eKb=function(a,b){ps(a,new ms(b.left,b.top));b=b.getSize();cKb(os(a),b)||dKb(a,b)},fKb=function(a,b){return new qs(a,b)},rs=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},gKb=function(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){return!("true"===b.getAttribute("aria-hidden")||b.hasAttribute("disabled")||b.hasAttribute("hidden"))})},hKb=function(a){return a.closest('[class~="aU4VQc"]')},
kKb=function(a,b,c,d){var e=Np(iKb);ds({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new jKb(e);a.appendChild(e);return new ss(e,b,c,f,d)},nKb=function(a,b){b=Np(lKb,{label:b.label});a.appendChild(b);return new mKb(b)},pKb=function(a,b){for(var c=k(oKb.values()),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=oKb.get(b))&&a.classList.add(b)},rKb=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);
(b=qKb.get(b))&&a.classList.add(b)},uKb=function(a,b,c,d){b=Np(sKb,{content:b,header:d});a.appendChild(b);a=rs(b,"Sx9Kwc");d=nKb(rs(b,"TvD9Pc"),{label:"Close"});rKb(b,c.getTheme());pKb(a,c.getStyle());return new tKb(b,d)},wKb=function(a,b){var c=vKb({header:"Couldn't hide suggestion"});var d=ts("<div>There was a problem and this person could not be hidden</div>");a=uKb(a,d,b,c);ds({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});return a},xKb=function(a,b){var c=
vKb({header:"Couldn't hide suggestion"});var d=ts("<div>Groups of 2 or more people can't be hidden</div>");a=uKb(a,d,b,c);ds({element:a.getRoot(),veid:166230,actions:["impression"],componentId:"peoplekitweb"});return a},yKb=function(a,b){var c=vKb({header:"Couldn't show suggestion"});var d=ts("<div>There was a problem and this person could not be shown in suggestions</div>");a=uKb(a,d,b,c);ds({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});return a},zKb=function(a){var b=
new Image;b.src=a;a=b.complete;b.src="";return a},us=function(a,b,c,d,e,f){e=void 0===e?new AKb:e;f=void 0===f?"":f;b=Np(BKb,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:f||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:CKb()});e=new DKb(b,e);a.appendChild(b);return e},FKb=function(a,b){var c="",d=0;b=k(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 EKb(EKb(Oj(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},GKb=function(a){var b=a.getDisplayName();return b?FKb(b,a.getMatchInfo().getDisplayNameMatches()):""},HKb=function(a){var b=a.getDisplayValue();return b?FKb(b,a.getMatchInfo().getDisplayValueMatches()):""},IKb=function(a,b){var c=b?GKb(a):Oj(a.getDisplayName());b=
b?HKb(a):Oj(a.getDisplayValue());c=c||b;b=b||Oj(a.getDescription());var d=a.getPrimaryTarget();return{hovercardId:1===d.getTargetType()||6===d.getTargetType()?a.getDisplayValue():d.getProfileId(),label:c,sublabel:b,photos:[a.getPhotoUrl()]}},LKb=function(a,b,c,d){var e=b.result().getMemberList();1===e.length?(b=IKb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=IKb(e,!1),b=b.getDisplayNameWithOverrideApplied(),b={label:Oj(b)||e.sublabel,
sublabel:e.sublabel,name:b,photos:e.photos,hovercardId:e.hovercardId});var f=b.hovercardId,h=b.name;var l=b.label;var q=b.sublabel;e=ts;f='<div peoplekit-id="'+vs("tJHJj")+'" class="'+vs("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+vs(f)+'" data-name="'+vs(h)+'"><div class="'+vs("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+vs("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=ts('<div class="'+vs("peoplekitComponentsHideconfirmationdialogImplAvatar")+
'"><div class="'+vs("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+vs("d6MZcd")+'"></div></div>');f=f+h+'</div><div class="'+vs("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';l=ts('<div class="'+vs("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+vs("E0kCZc")+'" class="'+vs("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+vs("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ws(xs(l))+
"</div>"+(q?'<div class="'+vs("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+vs("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ws(xs(q))+"</div>":"")+"</div>");l=e(f+l+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+vs("bN97Pc")+'" class="'+vs("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+vs("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0===d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+
vs("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=ts((0===d?q+"This person won't be suggested again unless you search for them in Photos.":q+"Suggest this person when showing people results.")+"</div></div>");d=Np(JKb,{content:d,header:l});a.appendChild(d);l=rs(d,"Sx9Kwc");a=nKb(rs(d,"IbE0S"),{label:"Cancel"});q=q={confirmButtonText:e};q=q.confirmButtonText;f="";switch(Ba(q)?q.toString():q){case "Confirm":f+="Confirm";break;case "Hide":f+="Hide";break;case "Show":f+="Show";break;
default:f+="Apply"}q=nKb(rs(d,"McfNlf"),{label:f});rKb(d,c.getTheme());pKb(l,c.getStyle());l={element:q.getRoot(),veid:0,actions:["pcw-click","impression"],componentId:"peoplekitweb"};switch(e){case "Hide":l.veid=131909;ds(l);break;case "Show":l.veid=131910,ds(l)}a=new KKb(d,a,q);d=rs(a.getRoot(),"d6MZcd");us(d,b.photos,36,36,c);return new ys(a)},MKb=function(){zs.addDecoratorFactory({type:0,factory:{create:function(a,b){return new As(b,a.appearanceConfig,a.clientConfig,a.result,a.ariaParent)},shouldCreate:function(a){var b=
2<=a.result.getMemberList().length;b=7!==a.result.getResultType()&&!b;var c=!!(new Bs).filterResult(a.result);return Cs(a.clientConfig.internal)&&!c&&b}},configurationKey:void 0})},NKb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("df`"+a);}},OKb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("df`"+a);}},PKb=function(){var a=
void 0===a?10:a;var b="";if(1>a)return b;for(;b.length<a;)b+=Math.random().toString(36).substring(2);return b.length>a?b.substring(0,a):b},QKb=function(a){var b,c=null==(b=a.getClient())?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},RKb=function(a){return(a=QKb(a))?JSON.stringify(a):null},SKb=function(a,b){b=void 0===b?null:b;b=a.getProfileId()||b;return b?(a=QKb(a))?JSON.stringify([a,b]):null:null},UKb=function(a){return TKb.map(function(b){return new Ds(a,b)})},VKb=function(a){var b=
new Es;if(a instanceof Fs)switch(b.setErrorType(a.type),a.type){case 2:b.setErrorMessage("Failed to load flags from service");break;case 3:b.setErrorMessage("Failed to retrieve flags from cache");break;case 4:b.setErrorMessage("Operation failed to complete before timeout");break;case 6:b.setErrorMessage("Operation failed because of invalid keys.")}else b.setErrorType(5),b.setErrorMessage(a.message);return b},Is=function(a){a=void 0===a?null:a;var b=(new Gs).setExperimentFlags(new Hs).setSource(3);
a&&b.setError(VKb(a));return b},dLb=function(a){var b=void 0===b?new WKb:b;if(XKb)return XKb;var c=new YKb(a),d=new ZKb(a),e;(b.cachedIsStorageAvailable_=$Kb(b.storage_))?e=new Js(a,b):e=new Ks(a);b=e;try{b.clean()}catch(f){}c=new aLb(new bLb(b,c),d);return XKb=new cLb(a,c)},fLb=function(a){var b=a.resultCustomizationConfig,c=IKb(a.result,!0);a=eLb(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}},eLb=function(a,b){var c=a.result,d=a.resultConfig;a=OKb(a.appearanceConfig.getDensity());var e=[];Li(Ls.getExperiments(),3,!1)&&d.getWarnForExternalSelections()&&2===c.getPrimaryTarget().getOrgState()&&e.push({iconUrl:"https://www.gstatic.com/people/peoplekit/icons/light_theme/domain_disabled_grey900.svg",altText:"External",style:1});return{id:as(gLb),
hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,tags:e,allowSublabelTranslation:!1}},jLb=function(a,b,c){var d="",e=Oj(a.getDescription()),f=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(l){var q="";if(l.getPrimaryTarget().getName()){var t,w;(q=(q=null==(t=l.getPrimaryTarget())?void 0:null==(w=t.getName())?void 0:w.getGivenName())?FKb(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=GKb(l))}q||(q=HKb(l));return q}),
b&&(d=d.reverse()),d=GKb(a)||hLb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=iLb({memberCount:Number(a.getTotalMemberCount())}),f=!0);else if(1===h)return e=a.getMemberList()[0],f=IKb(e,!0),Object.assign({},f,{type:a.getPrimaryTarget().getTargetType(),flatResult:e,allowSublabelTranslation:!1});b=a.getPhotoUrl();b=a.getDisplayName()&&b?[b]:a.getMemberList().map(function(l){return l.getPhotoUrl()});return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),photos:b,
allowSublabelTranslation:f}},lLb=function(a){var b=a.result,c=a.resultCustomizationConfig,d=a.appearanceConfig,e=a.isRightToLeft,f=Li(a.clientConfig.internal,6,!1);d=OKb(d.getDensity());b=jLb(b,e,f);if(b.flatResult)return d=Object.assign({},a,{result:b.flatResult}),d=eLb(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:as(kLb),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:d,tags:[],allowSublabelTranslation:e}},nLb=function(a,b,c,d,e,f){return new mLb(a,b,c,d,e,f)},rLb=function(a,b){var c=a.result,d=a.resultConfig,e=a.appearanceConfig,
f=a.resultCustomizationConfig,h=c.getPrimaryTarget().getId();a=Ms(h)||Ns(h)?lLb(a):fLb(a);h=Object;var l=h.assign;a:switch(b){case 1:b=oLb();break a;case 2:b=f.showSelectedIndicatorForDisabled?oLb():ts("");break a;default:b='<div class="'+vs("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',b=ts(b+"DISABLED</div>")}b=Np(pLb,l.call(h,{},a,{disableReason:b}));h=rs(b,"d6MZcd");l=NKb(e.getDensity());var q;f=null!=(q=f.backupAvatarUrl)?q:"";e=us(h,a.photos,l,l,e,f);return new qLb(b,c,d,a.tags,
e)},sLb=function(a){return a.resultCustomizationConfig.shouldDisable?2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?1:0},tLb=function(){zs.addCoreFactory({type:1,factory:{create:function(a){var b=sLb(a);return rLb(a,b)},shouldCreate:function(a){return 0!==sLb(a)}},configurationKey:void 0})},vLb=function(a,b){return new uLb(a,void 0===b?"":b)},wLb=function(a){var b=-1;(a=Os(a))&&Mi(a,2)&&(b=fi(a,2,0));return"index:"+b},yLb=function(a){var b=
a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState;a=lLb(a);var h=Np(xLb,a);ds({element:h,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[wLb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var l=rs(h,"d6MZcd"),q=NKb(e.getDensity()),t;d=null!=(t=d.backupAvatarUrl)?t:"";e=us(l,a.photos,q,q,e,d);return new Ps(new Qs(h,b,f,c,a.tags,e))},zLb=function(){zs.addCoreFactory({type:3,factory:{create:function(a){return yLb(a)},
shouldCreate:function(a){return Ns(a.result.getPrimaryTarget().getId())}},configurationKey:void 0})},BLb=function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState,h=a.clientConfig;a=fLb(a);var l=Np(ALb,a);ds({element:l,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[wLb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=rs(l,"d6MZcd"),t=NKb(e.getDensity()),w;d=null!=(w=d.backupAvatarUrl)?w:"";e=
us(q,a.photos,t,t,e,d);b=new Rs(l,b,f,c,a.tags,e,h);return new Ps(new Ss(b,f))},CLb=function(){zs.addCoreFactory({type:0,factory:{create:function(a){return BLb(a)},shouldCreate:function(){return!0}},configurationKey:void 0})},ELb=function(a){var b=a.result,c=a.resultConfig,d=a.appearanceConfig,e=a.resultCustomizationConfig,f=a.clientConfig,h=a.selectionsState;a=lLb(a);var l=Np(DLb,a);ds({element:l,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[wLb(b.getPrimaryTarget().getLoggingToken())],
componentId:"peoplekitweb"});var q=rs(l,"d6MZcd"),t=NKb(d.getDensity()),w;e=null!=(w=e.backupAvatarUrl)?w:"";d=us(q,a.photos,t,t,d,e);b=new Ts(l,b,h,c,a.tags,d,f);return new Ps(new Ss(b,h))},FLb=function(){zs.addCoreFactory({type:2,factory:{create:function(a){return ELb(a)},shouldCreate:function(a){return Ms(a.result.getPrimaryTarget().getId())}},configurationKey:void 0})},LLb=function(a,b){var c=Np(GLb,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,
e=d.add;a:{var f=b.density||0;switch(f){case 0:f="googleMaterialDefaultDensity";break a;case 1:f="workspaceMaterialComfortableDensity";break a;case 2:f="workspaceMaterialCompactDensity";break a;default:throw Error("df`"+f);}}e.call(d,f);if(b.tooltipLabel){d=c.getAttribute("data-tooltip-id")||"";e={label:b.tooltipLabel,ariaLabel:b.ariaLabel};d=Np(HLb,{label:e.label,id:d,ariaLabel:e.ariaLabel});a.appendChild(d);a=e.showDelayMs;e=e.hideDelayMs;a=new Us(d,void 0===a?500:a,void 0===e?300:e);var h=new ILb(d,
a);JLb(h,c)}return new KLb(c,b.icon,b.disabledIcon,h,b.disableDomNavigation,b.onClick)},NLb=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(f){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,f)};return new MLb(a,b,e)},PLb=function(){zs.addDecoratorFactory({type:2,factory:{create:function(a,b){return new OLb(b,a.appearanceConfig,a.clientConfig,a.interactions)},shouldCreate:function(a){return Cs(a.clientConfig.internal)&&!!(new Bs).filterResult(a.result)}},configurationKey:void 0})},
QLb=function(){zs.addDecoratorFactory({type:1,factory:{create:function(a,b){return NLb(b,a.appearanceConfig,a.resultCustomizationConfig.secondaryActionButtonConfig,a.interactions)},shouldCreate:function(a){return!!a.resultCustomizationConfig.secondaryActionButtonConfig&&!(Cs(a.clientConfig.internal)&&(new Bs).filterResult(a.result))}},configurationKey:void 0})},RLb=function(a,b){var c=(new Bs).filterResult(b.result)===b.result;Cs(b.clientConfig.internal)&&c?a=new OLb(a,b.appearanceConfig,b.clientConfig,
b.interactions):b.resultCustomizationConfig.secondaryActionButtonConfig&&(a=NLb(a,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions));return a},SLb=function(a,b){var c=(new Bs).filterResult(b.result)===b.result,d=2<=b.result.getMemberList().length;d=7!==b.result.getResultType()&&!d;Cs(b.clientConfig.internal)&&!c&&d&&(a=new As(a,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent));return a},TLb=function(){return function(a){return SLb(RLb(BLb(a),a),a)}},
ULb=function(a){return function(b){return rLb(b,a)}},XLb=function(a,b,c,d,e,f,h,l,q){VLb||(CLb(),tLb(),FLb(),zLb(),MKb(),PLb(),QLb(),VLb=!0);b=d.getResultCustomizationCallback()(a,b);return(new WLb).create({result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:l,resultCustomizationConfig:b,ariaParent:q})},ZLb=function(a,b,c,d,e,f,h,l,q){b=d.getResultCustomizationCallback()(a,b);var t=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)t=6;else{var w=
a.getPrimaryTarget().getId();t=Ns(w)?3:Ms(w)?2:t&&!d.getAllowResultDeselection()?5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}a={result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:l,resultCustomizationConfig:b,ariaParent:q};c=YLb.get(t);if(!c)throw Error("sf");return c(a)},bMb=function(a){var b=as(is.getInstance());b=Np($Lb,{id:b,header:a});return new aMb(b,a)},cMb=function(a,b,c){return new Vs(a,b,c)},dMb=function(a,b,c){return(b=
b.getGroupName(c))?new Ws(a,b):a},eMb=function(a,b,c,d){var e=b.getGroupName(c);b=b.getResultListGroupConfig(c);return e&&b.infoGroupConfig?new Xs(a,b.infoGroupConfig,d):a},fMb=function(a,b,c){var d=b.getGroupName(c);b=b.getResultListGroupConfig(c);return d&&b.collapsibleGroupConfig?new Ys(a,b.collapsibleGroupConfig):a},iMb=function(a,b,c,d,e,f,h,l,q){h=Np(gMb,{header:h||""});a.appendChild(h);a=GJb(rs(h,"tjneg"));return{resultList:new hMb(a,b,c,d,e,f,l,q),list:a}},lMb=function(a,b,c,d,e,f,h,l,q,t){a=
iMb(a,b,c,d,e,l,q,f,t);b=a.resultList;b=new jMb(b,a.list,h);return new kMb(b,f)},nMb=function(a,b,c,d,e,f,h,l,q,t){q=Np(gMb,{header:q||""});a.appendChild(q);a=GJb(rs(q,"tjneg"));b=new mMb(a,b,c,d,e,f,h,l,t);return new kMb(b,f)},oMb=function(){return"https://support.google.com/contacts/answer/7345608"},qMb=function(a){return pMb.some(function(b){return a instanceof b})},rMb=function(a){return"XLuqBd"===a.getAttribute("peoplekit-id")},tMb=function(a,b){return new sMb(a,b)},uMb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},
Zs=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},$s=function(a,b,c,d){var e;d=k(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;},vMb=function(a,b,c,d,e){e=k(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},xMb=function(a){if(wMb.has(a))return wMb.get(a);throw Error("wf`"+a);},zMb=function(a){if(yMb.has(a))return yMb.get(a);throw Error("xf`"+
a);},AMb=function(a){for(var b=new Map,c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},CMb=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:BMb(a):null},DMb=function(a,b,c){for(c||(a=CMb(a));a&&!b(a);)a=CMb(a)},FMb=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new at);return EMb(a,b,c,h,d,e,f)},EMb=function(a,b,c,d,e,f,h){var l=f.internal,q=e.getEnvironmentConfig(),t=q.experimentsConfig_.getProfileId();
if(t)if(l.getExperiments().getIsEnabled()){var w=Bb(GMb||(GMb=HMb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));w=new IMb(w,7)}else w=new bt;else w=new bt;l=l.getExperiments();q=w.loadExperiments(l.getApplication(),(new ct).setPeopleApiEnv(q.apiEnv_),t);Ls=new JMb(l,q);f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);q=Np(KMb,{classes:"aU4VQc"});a.appendChild(q);Li(f.internal,14,!0)&&e.setStyle(1);rKb(q,e.getTheme());ds({element:q,
veid:64611,actions:["impression"],componentId:"peoplekitweb"});a=new dt;t=e.getEntryPoint();t=new LMb(d,a,t);w=e.getEntryPoint();l=f.internal.getClearcut();w=new MMb(l,w);w=et(w);l=l.getInterfaceType();l=new NMb(new OMb(w,l));var B=new PMb(h.intelligence);h=Np(QMb);pKb(h,e.getStyle());q.appendChild(h);w=Np(RMb);ds({element:w,veid:85843,actions:["impression"],componentId:"peoplekitweb"});pKb(w,e.getStyle());h.appendChild(w);var D=rs(w,"tjneg");a:{var J=e.getAutocompleteHeader(),H=e.getAutocompleteCustomGrouping();
if(f.internal.getEnableAutocompleteLegalese()){var O=4===e.getAutocompleteGroupingType()||5===e.getAutocompleteGroupingType(),P=H&&qMb(H);B=nMb(D,e,e,f,a,t,O&&P?H:new ft,B,J,b)}else{switch(e.getAutocompleteGroupingType()){case 1:B=nMb(D,e,e,f,a,t,new ft,B,J,b);break a;case 2:B=lMb(D,e,e,f,a,t,new gt(e.getAutocompleteGroupingLabel()),B,J,b);break a;case 3:B=lMb(D,e,e,f,a,t,new ht(e.getAutocompleteGroupingLabel()),B,J,b);break a;case 4:if(!H)break;B=Cs(f.internal)?nMb(D,e,e,f,a,t,H,B,J,b):lMb(D,e,e,
f,a,t,H,B,J,b);break a;case 5:if(H){B=nMb(D,e,e,f,a,t,H,B,J,b);break a}}B=iMb(D,e,e,f,a,B,J,t,b);B=new kMb(B.resultList,t)}}D=rs(D,"rymPhb");b.setAttribute("aria-owns",D.id);b.setAttribute("aria-controls",D.id);D.setAttribute("aria-labelledby",b.id);J=e.getNoResultsMessage();D=Np(SMb);J?J.display?J=new TMb(D,J):(J=Np(UMb,J),D.appendChild(J),J=new VMb):J=new WMb;w.appendChild(D);l=new XMb(w,b,B,d,l,e,J,f);Cs(f.internal)&&(l=new it(l,c,d,f,e,b));b=new YMb(h,b,l,a,e);CJb(b.getRoot(),c);c=f.internal.getClearcut();
l=e.getEntryPoint();f=new jt;d=wQa();l=(new ZMb).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(l).setVersionName("1.0").setBaselineCl(621560975);f=new kt(f,1394,d,void 0,void 0,void 0,new $Mb(l));f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1);c=new IQa;d=Ls.getExperimentIds();c=Ip(c,3,d);f.clearcut_.setClearExperimentIds(c);f.setComponentID("peoplekitweb");c=new aNb(q,f);c.start(bNb);return new cNb(q,b,a,t,c,e)},eNb=function(a){var b=
[],c=a.indexOf("@");0>c?c=a.length-1:1<a.length-c&&(b.push(a.substring(c)),a=a.substring(0,c+1));if("@"===a)return b;b.push(a);dNb.lastIndex=0;for(var d=dNb.exec(a);d&&d.index<c;d=dNb.exec(a))b.push(a.substring(Number(dNb.lastIndex)));return b},iNb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(fNb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=lt(gNb(c.value)).replace(hNb,"").toUpperCase().toLowerCase();c=k(eNb(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})},kNb=function(a){var b;return jNb(function(c){1==c.nextAddress&&(b=0);if(3!=c.nextAddress)return b<a?oe(c,b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},lNb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Ms(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},oNb=function(a,b,c){if(Ms(a.id)||
Ms(b.id)){var d=mNb.has(a.id.getType()),e=mNb.has(b.id.getType());if(d!==e)return d?-1:1;if(Ms(a.id)&&Ms(b.id))return nNb(a,b,c,!1)}d=lNb(a,c);c=lNb(b,c);(c=d!==c?d>c?-1:1:0)||(c=1===a.dataSource,c=c!==(1===b.dataSource)?c?-1:1:0);c||(a=!!a.isPrimary,c=a!==!!b.isPrimary?a?-1:1:0);return c},nNb=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?oNb(a,b,c):0},tNb=function(a,b,c){var d=mt(b.getTargetType(),
b.getValue()),e=[].concat(u(b.getProfileIdList().map(pNb)),u(b.getContactIdList().map(qNb)),u(b.getCustomSourceIdList().map(rNb)));sNb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:b.getContactIdList().length?1:2,isMe:!!b.getIsMe(),isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?a.getExtendedData():void 0,
targetData:b,resultData:a}},uNb=function(a){return(a||"").trim()},DNb=function(a){var b=a.resultData,c=a.targetData,d=vNb(nt(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&(d.resultType_=b.getResultType());c.hasValue()&&d.setValue(uNb(c.getValue()));Ni(c,2)&&d.setCanonicalValue(uNb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new wNb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new ot).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(b.hasTotalMemberCount()){var f;a.totalMemberCount=null!=(f=b.getTotalMemberCount())?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");c.hasOrgState()&&(d.orgState_=c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&
xNb(d,c.getTagList().map(function(h){return yNb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&(d.extendedData_=c.getExtendedData());c.hasEmailSecurityInfo()&&(a=c.getEmailSecurityInfo(),zNb(d,ANb(a.certificateStatus_,a.getCertificateExpirySec_asLegacyNumberOrString(),4==a.getEncryptionSupport()||2==a.getEncryptionSupport())));c.hasReachabilityInfo()&&(c=c.getReachabilityInfo(),BNb(d,new CNb(c.reachabilityStatus,c.getClientData())));return d},FNb=function(a){return a?ENb.get(a)||0:
0},JNb=function(a){switch(a.getValueCase()){case 2:return pt(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=GNb(b.getOriginalValue()||""),b=GNb(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):GNb(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Ll(a,HNb,4,qt);if(a.hasProfileId())return a=a.getProfileId()||"",new rt(8,Fp(a).toLowerCase(),a);switch(tm(a,st)){case 2:return a=
a.getEmail()||"",new rt(6,Fp(a).toLowerCase(),a);case 3:return INb(a.getPhone()||"")}}return tt},LNb=function(a){return Ii(a,KNb,5,hi()).map(function(b){switch(b.getIdCase()){case 1:return pNb(b.getProfileId()||"");case 2:return qNb(b.getContactId()||"");default:return null}}).filter(Boolean)},MNb=function(a,b){return Ui(a,ut,3)&&Gi(a,ut,3).getIsPlaceholder()?3:vt(b,8)?1:0},NNb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},ONb=function(a){return a.hasAffinity()?
Number(a.getAffinity().getValue_legacyNullable()):-Infinity},PNb=function(a){return!!a&&!!a.getPrimary()},RNb=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"+QNb(a):""},VNb=function(a){var b=void 0;if(Gi(a,ut,3)){var c;b=null!=(c=b)?c:new SNb;wt(b,TNb,Gi(a,ut,3))}if(Gi(a,
xt,5)){var d;b=null!=(d=b)?d:new SNb;wt(b,UNb,Gi(a,xt,5))}return b},YNb=function(a){var b=void 0;if(Gi(a,WNb,9)){var c;b=null!=(c=b)?c:new SNb;wt(b,XNb,Gi(a,WNb,9))}return b},$Nb=function(a){var b=new yt,c=a?2:1;ZNb(b.setEventType(4),c).setToken(a);return b},bOb=function(a,b){var c=new zt;c=(new yt).setLookupInfo(c);At(c.setEventType(6),9).setItemCount(a.length).setQueryScope(aOb.get(b)||0);return c},cOb=function(){var a=new yt;At(a.setEventType(6),10);return a},dOb=function(a,b){var c=new yt;At(c.setEventType(6),
6).setQueryLength(a.length).setQueryScope(aOb.get(b)||0);return c},eOb=function(a){var b=new yt;At(b.setEventType(6),5).setQueryScope(aOb.get(a)||0);return b},fOb=function(a,b){switch(a){case 8:case 3:case 17:return(new Bt).setProfileId(b);case 1:case 6:return(new Bt).setEmail(b);case 7:case 2:return(new Bt).setPhone(b);case 13:case 14:return a=new Bt,Ql(a,4,Ct,b);default:return null}},iOb=function(a){return((a=Ii(a,gOb,2,hi()).find(function(b){return 1===yo(b,1)}))?hOb.get(yo(a,2)):0)||0},Dt=function(a){return(a||
"").trim()},lOb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(jOb(Dt(Ada($q(b.getAffinity(),1)))));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new wNb).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),f=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=0}d.call(a,f.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new ot).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(kOb.get(b.getType())||0)))},
nOb=function(a,b){if(b.hasProfileId())switch(tm(b,st)){case 2:var c=Dt(b.getEmail());return mOb(nt(a.id).setValue(Dt(b.getProfileId())),(new Et).setType(1).setValue(c));case 3:return c=Dt(b.getPhone()),mOb(nt(a.id).setValue(Dt(b.getProfileId())),(new Et).setType(2).setValue(c));default:return b=Dt(b.getProfileId()),nt(a.id).setValue(b)}switch(tm(b,st)){case 2:return b=Dt(b.getEmail()),mOb(nt(a.id).setValue(b),(new Et).setType(1).setValue(b));case 3:return b=Dt(b.getPhone()),mOb(nt(a.id).setValue(b),
(new Et).setType(2).setValue(b));default:return b=Dt(b.getProfileId()),nt(a.id).setValue(b)}},qOb=function(a,b){var c=vNb(nt(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&lOb(c,b);a.group&&((b=Ii(a.group,oOb,6,hi()).find(function(d){return null!=so(d,1,pOb)}))?c.setValue(Dt(so(b,1,pOb))):a.group.hasGroupId()&&c.setValue(Dt(a.group.getGroupId())));a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},sOb=function(a){return new rOb(a)},vOb=function(a){if(8===
a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=tOb.get(b)))return b}return(b=uOb.get(a.getTargetType()))?b:Ms(a.getId())?8:0},xOb=function(a,b,c){var d=new Ft,e=new Gt;hj(d,Gt,2,e);e.setProvenance(b);b=new Ht;hj(d,Ht,1,b);$h(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===vOb(a)?8:a.getProfileId()?3:4;jj(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&tOb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());
c&&b.setFieldValue(c);Ms(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=vOb(a);jj(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===yo(b,7)&&b.setGroupId(a.getId().getValue());return new wOb(a,d)},zOb=function(a){a=yOb.indexOf(a.provenance);return 0>a?yOb.length:a},AOb=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===b.getType()})},COb=function(a,
b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=k(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=n2a(d,new BOb(f,e))}return[c,d]})));return a},FOb=function(a){return Li(a,21,!1)?new DOb:EOb},GOb=function(a){return 0!==a&&12!==a},HOb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},
b):c(a)})},IOb=function(a,b,c){b=HOb(b,c);return Promise.race([a,b])},JOb=function(a,b){var c=0;return function(d){if(!a.isCancelled()){var e=d.getMetadata();e.setCallbackNumber(c);e.setIsFirstCallback(!c);a.isDone()&&e.setIsLastCallback(!0);if(d.getResults().length||e.getIsLastCallback()||0!==e.getCode())c++,b(d)}}},MOb=function(a,b,c,d){b=KOb(a,b).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new It(e,f)});c=KOb(a,c).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;
return new It(e,f)});a=KOb(a,d).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new It(e,f)});return new LOb(b,c,a)},NOb=function(a){switch(a.getType()){case 1:case 6:return 1;case 2:case 7:return 2;case 17:case 3:case 8:return 3;case 13:case 14:return 13;default:return 0}},OOb=function(a){return a.reduce(function(b,c){var d=NOb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},POb=function(a,b){b=void 0===b?new Jt:b;var c=new Map;a=k(a);
for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=k(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}},ROb=function(a,b){return!a||a instanceof QOb?a:new QOb(a,b)},TOb=function(a){return SOb.get(a)||0},VOb=function(a,b){var c=UOb(Kt(new Lt,"PeopleStore").setLogSource(Qi(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(621560975).setEnableClearcut(a.getEnableClearcut()),
[].concat(u(b.getExperiments().getExperimentIdsList()),u(Mt?Mt.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());if(a=Ii(a,Nt,5,hi()).find(function(d){return 0===d.getEntryPoint()}))c.setEventSource(Ot(a,4)),c.setEventSourceId(Ot(a,4));return c},WOb=function(a){return(Ui(a,Pt,12)?Gi(Gi(a,Pt,12),Nt,2):a.getSources())||new Nt},XOb=function(a){return(Ui(a,Pt,12)?Gi(Gi(a,Pt,12),Nt,3):a.getSources())||new Nt},YOb=function(a){return a.filter(function(b){var c,
d=null==(c=Os(b))?void 0:Qi(c,4,0),e;return 3!==(null==(e=Gi(b,Ht,1))?void 0:Qi(e,8,0))||2!==d&&1!==d?!0:!1})},$Ob=function(a){return a.filter(function(b){var c;return(b=null==(c=Gi(b,Ht,1))?void 0:c.getFieldType())&&ZOb.has(b)?!1:!0})},aPb=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)},bPb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Zi(a,3,0)+":"+Zi(a,4,0)+":"+Zi(a,5,0)+":"+a.getInstanceId()},cPb=function(a){return Ui(a,
Gt,2)?Os(a).getContext()||0:0},dPb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Zi(d,3,0)+"-"+Zi(d,4,0)+"-"+Zi(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},Ut=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Li(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())$h(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=k(d),
e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=dPb(a);c=[];a=k(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 Tt;f.setSessionState(e);f.setEventType(b);mm(f,3,d);f.setEventSources(e.getSources());c.push(f)}return c},ePb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Vt},fPb=function(){var a={};return yh("a",(a.href=
"https://chrome.google.com/webstore",a.target="_blank",a.rel="noopener noreferrer nofollow",a),"the Chrome Webstore")},iPb=function(){return"QA"===bd(Zr).getEnvironmentType()?gPb:hPb},lPb=function(){return"QA"===bd(Zr).getEnvironmentType()?jPb:kPb},oPb=function(){return"QA"===bd(Zr).getEnvironmentType()?mPb:nPb},pPb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},qPb="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||
a==Object.prototype)return a;a[b]=c.value;return a},rPb=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");},Ac=rPb(this),Wt=function(a,b){if(b)a:{var c=Ac;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&qPb(c,a,{configurable:!0,writable:!0,
value:b})}};Wt("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;qPb(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});
Wt("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=Ac[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&qPb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return sPb(pPb(this))}})}return a});Wt("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var sPb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Xt=function(a){return a.raw=a},tPb=function(a,b){a.raw=b;return a},k=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:pPb(a)};throw Error("e`"+String(a));},Be=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},u=function(a){return a instanceof Array?a:Be(k(a))},Yt=function(a,b){return Object.prototype.hasOwnProperty.call(a,
b)},uPb="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Yt(d,e)&&(a[e]=d[e])}return a};Wt("Object.assign",function(a){return a||uPb});
var vPb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},wPb=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if("undefined"!=typeof Reflect&&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){void 0===e&&(e=c);e=vPb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),xPb;if("function"==typeof Object.setPrototypeOf)xPb=Object.setPrototypeOf;else{var yPb;a:{var zPb={a:!0},APb={};try{APb.__proto__=zPb;yPb=APb.a;break a}catch(a){}yPb=!1}xPb=yPb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var Zt=xPb,Y=function(a,b){a.prototype=vPb(b.prototype);a.prototype.constructor=a;if(Zt)Zt(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype},$t=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
$t.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};$t.prototype.next_=function(a){this.yieldResult=a};$t.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};$t.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var oe=function(a,b,c){a.nextAddress=c;return{value:b}};$t.prototype.jumpTo=function(a){this.nextAddress=a};
var se=function(a){a.nextAddress=0},ne=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},au=function(a,b){a.nextAddress=b;a.catchAddress_=0},re=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},pe=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},qe=function(a,b,c){c=a.finallyContexts_.splice(c||0)[0];(c=a.abruptCompletion_=a.abruptCompletion_||
c)?c.isException?a.nextAddress=a.catchAddress_||a.finallyAddress_:void 0!=c.jumpTo&&a.finallyAddress_<c.jumpTo?(a.nextAddress=c.jumpTo,a.abruptCompletion_=null):a.nextAddress=a.finallyAddress_:a.nextAddress=b},BPb=function(a){this.context_=new $t;this.program_=a};BPb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return CPb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return bu(this)};
var DPb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return CPb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return bu(a)};BPb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return CPb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return bu(this)};
var CPb=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.context_.isRunning_=!1,e;var f=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),bu(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return bu(a)},bu=function(a){for(;a.context_.nextAddress;)try{var b=a.program_(a.context_);if(b)return a.context_.isRunning_=!1,{value:b.value,done:!1}}catch(c){a.context_.yieldResult=
void 0,a.context_.throw_(c)}a.context_.isRunning_=!1;if(a.context_.abruptCompletion_){b=a.context_.abruptCompletion_;a.context_.abruptCompletion_=null;if(b.isException)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}},EPb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return DPb(a,b)};this[Symbol.iterator]=function(){return this}},jNb=function(a){var b=kNb;a=new EPb(new BPb(a));Zt&&b.prototype&&Zt(a,
b.prototype);return a},FPb=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())})},me=function(a){return FPb(new EPb(new BPb(a)))},wha=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};void 0!==a["throw"]&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});
void 0!==a["return"]&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},pd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};Wt("Reflect",function(a){return a?a:{}});Wt("Reflect.construct",function(){return wPb});Wt("Reflect.setPrototypeOf",function(a){return a?a:Zt?function(b,c){try{return Zt(b,c),!0}catch(d){return!1}}:null});
Wt("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(l){l(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(h)};var d=Ac.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var l=0;l<h.length;++l){var q=
h[l];h[l]=null;try{q()}catch(t){this.asyncThrow_(t)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var l=this.createResolveAndReject_();try{h(l.resolve,l.reject)}catch(q){l.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(t){return function(w){q||(q=!0,t.call(l,w))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var l=null!=h;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var l=void 0;try{l=h.then}catch(q){this.reject_(q);return}"function"==typeof l?this.settleSameAsThenable_(l,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,l){if(0!=this.state_)throw Error("j`"+h+"`"+l+"`"+this.state_);this.state_=h;this.result_=l;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var l=Ac.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=Ac.CustomEvent,l=Ac.Event,q=Ac.dispatchEvent;if("undefined"===typeof q)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof l?h=new l("unhandledrejection",{cancelable:!0}):(h=Ac.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=
0;h<this.onSettledCallbacks_.length;++h)f.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var f=new b;e.prototype.settleSameAsPromise_=function(h){var l=this.createResolveAndReject_();h.callWhenSettled_(l.resolve,l.reject)};e.prototype.settleSameAsThenable_=function(h,l){var q=this.createResolveAndReject_();try{h.call(l,q.resolve,q.reject)}catch(t){q.reject(t)}};e.prototype.then=function(h,l){function q(D,J){return"function"==typeof D?function(H){try{t(D(H))}catch(O){w(O)}}:
J}var t,w,B=new e(function(D,J){t=D;w=J});this.callWhenSettled_(q(h,t),q(l,w));return B};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(t.state_){case 1:h(t.result_);break;case 2:l(t.result_);break;default:throw Error("k`"+t.state_);}}var t=this;null==this.onSettledCallbacks_?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var t=k(h),w=t.next();!w.done;w=t.next())c(w.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(t,w){function B(H){return function(O){D[H]=O;J--;0==J&&t(D)}}var D=[],J=0;do D.push(void 0),J++,c(q.value).callWhenSettled_(B(D.length-1),w),q=l.next();while(!q.done)})};return e});var cu=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
Wt("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=cu(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});Wt("Object.setPrototypeOf",function(a){return a||Zt});var GPb=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}};
Wt("Array.prototype.find",function(a){return a?a:function(b,c){return GPb(this,b,c).v}});
Wt("WeakMap",function(a){function b(){}function c(q){var t=typeof q;return"object"===t&&null!==q||"function"===t}function d(q){if(!Yt(q,f)){var t=new b;qPb(q,f,{value:t})}}function e(q){var t=Object[q];t&&(Object[q]=function(w){if(w instanceof b)return w;Object.isExtensible(w)&&d(w);return t(w)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),t=Object.seal({}),w=new a([[q,2],[t,3]]);if(2!=w.get(q)||3!=w.get(t))return!1;w.delete(q);w.set(t,4);return!w.has(q)&&4==w.get(t)}catch(B){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,l=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=k(q);for(var t;!(t=q.next()).done;)t=t.value,this.set(t[0],t[1])}};l.prototype.set=function(q,t){if(!c(q))throw Error("n");d(q);if(!Yt(q,f))throw Error("o`"+q);q[f][this.id_]=t;return this};l.prototype.get=function(q){return c(q)&&Yt(q,f)?q[f][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&Yt(q,f)&&Yt(q[f],this.id_)};l.prototype.delete=
function(q){return c(q)&&Yt(q,f)&&Yt(q[f],this.id_)?delete q[f][this.id_]:!1};return l});
Wt("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),q=new a(k([[l,"s"]]));if("s"!=q.get(l)||1!=q.size||q.get({x:4})||q.set({x:4},"t")!=q||2!=q.size)return!1;var t=q.entries(),w=t.next();if(w.done||w.value[0]!=l||"s"!=w.value[1])return!1;w=t.next();return w.done||4!=w.value[0].x||"t"!=w.value[1]||!t.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
f();this.size=0;if(l){l=k(l);for(var q;!(q=l.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(l,q){l=0===l?0:l;var t=d(this,l);t.list||(t.list=this[0][t.id]=[]);t.entry?t.entry.value=q:(t.entry={next:this[1],previous:this[1].previous,head:this[1],key:l,value:q},t.list.push(t.entry),this[1].previous.next=t.entry,this[1].previous=t.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],
l.entry.previous.next=l.entry.next,l.entry.next.previous=l.entry.previous,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,
function(l){return l.value})};c.prototype.forEach=function(l,q){for(var t=this.entries(),w;!(w=t.next()).done;)w=w.value,l.call(q,w[1],w[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var t=q&&typeof q;"object"==t||"function"==t?b.has(q)?t=b.get(q):(t=""+ ++h,b.set(q,t)):t="p_"+q;var w=l[0][t];if(w&&Yt(l[0],t))for(l=0;l<w.length;l++){var B=w[l];if(q!==q&&B.key!==B.key||q===B.key)return{id:t,list:w,index:l,entry:B}}return{id:t,list:w,index:-1,entry:void 0}},e=function(l,
q){var t=l[1];return sPb(function(){if(t){for(;t.head!=l[1];)t=t.previous;for(;t.next!=t.head;)return t=t.next,{done:!1,value:q(t)};t=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});Wt("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});Wt("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
Wt("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});Wt("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});Wt("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
Wt("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Yt(b,d)&&c.push(b[d]);return c}});Wt("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});Wt("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
Wt("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==cu(this,b,"includes").indexOf(b,c||0)}});Wt("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});var HPb=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};
Wt("Array.prototype.entries",function(a){return a?a:function(){return HPb(this,function(b,c){return[b,c]})}});Wt("Array.prototype.keys",function(a){return a?a:function(){return HPb(this,function(b){return b})}});Wt("Array.prototype.values",function(a){return a?a:function(){return HPb(this,function(b,c){return c})}});
Wt("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
Wt("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});var du=function(a){return a?a:Array.prototype.fill};Wt("Int8Array.prototype.fill",du);Wt("Uint8Array.prototype.fill",du);Wt("Uint8ClampedArray.prototype.fill",du);Wt("Int16Array.prototype.fill",du);Wt("Uint16Array.prototype.fill",du);Wt("Int32Array.prototype.fill",du);
Wt("Uint32Array.prototype.fill",du);Wt("Float32Array.prototype.fill",du);Wt("Float64Array.prototype.fill",du);
Wt("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(k([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=0===c?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(f){return c.call(d,f,f,e)})};return b});Wt("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Yt(b,d)&&c.push([d,b[d]]);return c}});
Wt("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=cu(this,b,"endsWith");void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});Wt("String.prototype.repeat",function(a){return a?a:function(b){var c=cu(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("p");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});Wt("globalThis",function(a){return a||Ac});
Wt("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});Wt("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}});Wt("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&0<b?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});
Wt("Array.prototype.findIndex",function(a){return a?a:function(b,c){return GPb(this,b,c).i}});Wt("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}});
Wt("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("q");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}});
Wt("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)}});var IPb=function(a){a=Math.trunc(a)||0;0>a&&(a+=this.length);if(!(0>a||a>=this.length))return this[a]};Wt("Array.prototype.at",function(a){return a?a:IPb});var eu=function(a){return a?a:IPb};Wt("Int8Array.prototype.at",eu);Wt("Uint8Array.prototype.at",eu);
Wt("Uint8ClampedArray.prototype.at",eu);Wt("Int16Array.prototype.at",eu);Wt("Uint16Array.prototype.at",eu);Wt("Int32Array.prototype.at",eu);Wt("Uint32Array.prototype.at",eu);Wt("Float32Array.prototype.at",eu);Wt("Float64Array.prototype.at",eu);Wt("String.prototype.at",function(a){return a?a:IPb});
Wt("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;})})}});Wt("Reflect.isExtensible",function(a){return a?a:"function"==typeof Object.isExtensible?Object.isExtensible:function(){return!0}});Wt("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});Wt("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});
var JPb=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};Wt("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=JPb(b,c);return f?f.set?(f.set.call(3<arguments.length?e:b,d),!0):f.writable&&!Object.isFrozen(b)?(b[c]=d,!0):!1:Reflect.isExtensible(b)?(b[c]=d,!0):!1}});Wt("Reflect.get",function(a){return a?a:function(b,c,d){if(2>=arguments.length)return b[c];var e=JPb(b,c);if(e)return e.get?e.get.call(d):e.value}});
Wt("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("r`"+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("s");c[d[0]]=d[1]}return c}});
Wt("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(0>e||1114111<e||e!==Math.floor(e))throw new RangeError("t`"+e);65535>=e?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
Wt("String.prototype.codePointAt",function(a){return a?a:function(b){var c=cu(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(0<=b&&b<d){b|=0;var e=c.charCodeAt(b);if(55296>e||56319<e||b+1===d)return e;b=c.charCodeAt(b+1);return 56320>b||57343<b?e:1024*(e-55296)+b+9216}}});Wt("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=cu(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";c=0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"";return d+c}});
Wt("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("u");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});Wt("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});var KPb=KPb||{},da=this||self,LPb=function(a){var b=Cp("WIZ_global_data.oxN3nb");a=b&&b[a];return null!=a?a:!1},MPb=da._F_toggles||[],Cp=function(a,b){a=a.split(".");b=b||da;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},jb=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},za=function(a){var b=jb(a);return"array"==b||"object"==b&&"number"==typeof a.length},Ba=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Ca=function(a){return Object.prototype.hasOwnProperty.call(a,
NPb)&&a[NPb]||(a[NPb]=++OPb)},NPb="closure_uid_"+(1E9*Math.random()>>>0),OPb=0,PPb=function(a,b,c){return a.call.apply(a.bind,arguments)},QPb=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},fu=function(a,b,c){fu=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
PPb:QPb;return fu.apply(null,arguments)},gu=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)}},RPb=function(a){(0,eval)(a)},SPb=function(a,b){a=a.split(".");var c=da;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},hu=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=
b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}},TPb=function(a){return a};hu(ba,Error);ba.prototype.name="CustomError";var UPb;hu(aaa,ba);aaa.prototype.name="AssertionError";var faa=void 0,daa,eaa,VPb="undefined"!==typeof TextDecoder,jaa,iaa="function"===typeof String.prototype.isWellFormed,haa="undefined"!==typeof TextEncoder;var iu=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},yWa=function(a){return 0==nr("@ldap.google.com",a.slice(a.length-16))},Rk=function(a){return/^[\s\xa0]*$/.test(a)},ti=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},nr=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},cQb=function(a){if(!WPb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(XPb,"&amp;"));-1!=a.indexOf("<")&&
(a=a.replace(YPb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(ZPb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace($Pb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(aQb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(bQb,"&#0;"));return a},XPb=/&/g,YPb=/</g,ZPb=/>/g,$Pb=/"/g,aQb=/'/g,bQb=/\x00/g,WPb=/[\x00&<>"']/,la=function(a,b){return-1!=a.indexOf(b)},eQb=function(a,b){var c=0;a=ti(String(a)).split(".");b=ti(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",h=b[e]||
"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;c=dQb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||dQb(0==f[2].length,0==h[2].length)||dQb(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c},dQb=function(a,b){return a<b?-1:a>b?1:0};var fQb=!!(MPb[0]&128),gQb=!!(MPb[0]&256),hQb=!!(MPb[0]&2);var ia=fQb?gQb:LPb(610401301),oba=fQb?hQb:LPb(188588736);var ja,iQb=da.navigator;ja=iQb?iQb.userAgentData||null:null;var zaa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ta=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},jQb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h="string"===typeof a?a.split(""):a,l=0;l<d;l++)if(l in h){var q=h[l];b.call(c,q,l,a)&&(e[f++]=q)}return e},kQb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},lQb=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=
"string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};var mQb=function(a){mQb[" "](a);return a};mQb[" "]=function(){};var nQb=function(a,b){try{return mQb(a[b]),!0}catch(c){}return!1};var oQb=maa(),bs=naa(),ju=ma("Edge"),Nj=ju||bs,ku=ma("Gecko")&&!(la(ha().toLowerCase(),"webkit")&&!ma("Edge"))&&!(ma("Trident")||ma("MSIE"))&&!ma("Edge"),lu=la(ha().toLowerCase(),"webkit")&&!ma("Edge"),pQb=lu&&ma("Mobile"),hs=waa(),qQb=qa()?"Windows"===ja.platform:ma("Windows"),rQb=(qa()?"Linux"===ja.platform:ma("Linux"))||(qa()?"Chrome OS"===ja.platform:ma("CrOS")),sQb=uaa(),tQb=vaa(),uQb=ma("iPad"),vQb=ma("iPod"),wQb=ra();la(ha().toLowerCase(),"kaios");
var xQb=function(){var a=da.document;return a?a.documentMode:void 0},yQb;a:{var zQb="",AQb=function(){var a=ha();if(ku)return/rv:([^\);]+)(\)|;)/.exec(a);if(ju)return/Edge\/([\d\.]+)/.exec(a);if(bs)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(lu)return/WebKit\/(\S+)/.exec(a);if(oQb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();AQb&&(zQb=AQb?AQb[1]:"");if(bs){var BQb=xQb();if(null!=BQb&&BQb>parseFloat(zQb)){yQb=String(BQb);break a}}yQb=zQb}var CQb=yQb,DQb;
if(da.document&&bs){var EQb=xQb();DQb=EQb?EQb:parseInt(CQb,10)||void 0}else DQb=void 0;var mu=DQb;var FQb=oaa(),GQb=vaa()||ma("iPod"),HQb=ma("iPad"),IQb=raa(),JQb=paa(),KQb=qaa()&&!ra();var LQb={},nu=null,MQb=ku||lu||!KQb&&!bs&&"function"==typeof da.atob,Laa=function(a,b){void 0===b&&(b=0);NQb();b=LQb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],t=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[f++]=t+h+l+q}t=0;q=d;switch(a.length-e){case 2:t=a[e+1],q=b[(t&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|t>>4]+q+d}return c.join("")},jOb=function(a){if(MQb)return da.atob(a);var b="";OQb(a,function(c){b+=
String.fromCharCode(c)});return b},PQb=function(a){var b=[];OQb(a,function(c){b.push(c)});return b},Paa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):la("=.",a[b-1])&&(c=la("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;OQb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},OQb=function(a,b){function c(q){for(;d<a.length;){var t=a.charAt(d++),w=nu[t];if(null!=w)return w;if(!Rk(t))throw Error("y`"+t);}return q}NQb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),l=c(64);if(64===l&&-1===
e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}},NQb=function(){if(!nu){nu={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));LQb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===nu[f]&&(nu[f]=e)}}}};var Saa="undefined"!==typeof Uint8Array,Kaa=!bs&&"function"===typeof btoa,Qaa=/[-_.]/g,Naa={"-":"+",_:"/",".":"="},Taa,Ha={};var QQb,Ga=function(a,b){if(b!==Ha)throw Error("z");this.value_=a;if(null!=a&&0===a.length)throw Error("A");},Fa=function(){return QQb||(QQb=new Ga(null,Ha))},yca=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Maa(b)},j1a=function(a){return(a=Ja(a))?new Uint8Array(a):Uaa()};Ga.prototype.isEmpty=function(){return null==this.value_};Ga.prototype.sizeBytes=function(){var a=Ja(this);return a?a.length:0};
var Nxa=function(a){var b={};b=void 0===b.parsingErrorsAreFatal?!0:b.parsingErrorsAreFatal;if(a=Ja(a)){var c=a.length;b=VPb?gaa(a,0,c,b):caa(a,0,c,b)}else b="";return b},RQb=function(a,b){if(!a.value_||!b.value_||a.value_===b.value_)return a.value_===b.value_;if("string"===typeof a.value_&&"string"===typeof b.value_){var c=a.value_,d=b.value_;b.value_.length>a.value_.length&&(d=a.value_,c=b.value_);if(0!==c.lastIndexOf(d,0))return!1;for(b=d.length;b<c.length;b++)if("="!==c[b])return!1;return!0}c=
Ja(a);b=Ja(b);return Vaa(c,b)},Ja=function(a){if(Ha!==Ha)throw Error("z");var b=a.value_;null==b||Ea(b)||("string"===typeof b?b=Raa(b):(jb(b),b=null));return null==b?b:a.value_=b},gca=function(a,b){if("string"===typeof b)b=b?new Ga(b,Ha):Fa();else if(b instanceof Uint8Array)b=new Ga(b,Ha);else if(!(b instanceof Ga))return!1;return RQb(a,b)};var SQb="function"===typeof Uint8Array.prototype.slice,Ka=0,La=0;var TQb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};g=TQb.prototype;g.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Xaa(a),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=void 0!==c?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};g.free=function(){this.clear();100>UQb.length&&UQb.push(this)};
g.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};g.getEnd=function(){return this.end_};g.setEnd=function(a){this.end_=a};g.reset=function(){this.cursor_=this.start_};g.getCursor=function(){return this.cursor_};g.advance=function(a){VQb(this,this.cursor_+a)};
var VQb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("H`"+b+"`"+a.end_);},ou=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("G");VQb(a,c);return e},WQb=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},XQb=function(a){for(var b=
0,c=a.cursor_,d=c+10,e=a.bytes_;c<d;){var f=e[c++];b|=f;if(0===(f&128))return VQb(a,c),!!(b&127)}throw Error("G");},YQb=function(a,b){if(0>b)throw Error("I`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("H`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};TQb.prototype.readString=function(a,b){var c=YQb(this,a),d=this.bytes_;return VPb?gaa(d,c,a,b):caa(d,c,a,b)};
TQb.prototype.readByteString=function(a){if(0==a)return Fa();var b=YQb(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?Uaa():SQb?c.slice(b,a):new Uint8Array(c.subarray(b,a))}return Waa(b)};var UQb=[];var Cda=function(a,b){if(UQb.length){var c=UQb.pop();c.init(a,void 0,void 0,b);a=c}else a=new TQb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=Cda.prototype;g.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};g.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>Bda.length&&Bda.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 bda=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=ou(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("C`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("D`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},dda=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?dda(a):XQb(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)dda(a);else{var b=ou(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!bda(a))throw Error("E");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("F");break}dda(a)}while(1);break;default:throw Error("C`"+a.nextWireType_+"`"+a.fieldCursor_);}},ZQb=function(a,b,c){var d=a.decoder_.getEnd(),e=ou(a.decoder_)>>>0,f=a.decoder_.getCursor()+e,h=f-d;0>=h&&(a.decoder_.setEnd(f),c(b,a,void 0,void 0,void 0),h=f-a.decoder_.getCursor());if(h)throw Error("B`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
Cda.prototype.readString=function(){return $Qb(this)};var $Qb=function(a){var b=ou(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};Cda.prototype.readByteString=function(){var a=ou(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var Bda=[];var aRb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},cRb=function(a){if(!a)return bRb||(bRb=new aRb(0,0));if(!/^\d+$/.test(a))return null;cba(a);return new aRb(Ka,La)},bRb,dRb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},fRb=function(a){if(!a)return eRb||(eRb=new dRb(0,0));if(!/^-?\d+$/.test(a))return null;cba(a);return new dRb(Ka,La)},eRb;var pu=function(){this.buffer_=[]};pu.prototype.length=function(){return this.buffer_.length};pu.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};pu.prototype.writeSplitVarint64=function(a,b){for(;0<b||127<a;)this.buffer_.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.buffer_.push(a)};pu.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var gRb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},hRb=function(a,b){if(0<=b)gRb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=pu.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){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;Ka=b;La=a;this.writeUint32(Ka);this.writeUint32(La)};
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){Ma(a);this.writeSplitFixed64(Ka,La)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){hRb(this,a)};var iRb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new pu},$b=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},jRb=function(a){$b(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},dc=function(a,b,c){gRb(a.encoder_,8*b+c)};g=iRb.prototype;g.writeInt32=function(a,b){null!=b&&null!=b&&(dc(this,a,0),hRb(this.encoder_,b))};
g.writeInt64=function(a,b){null!=b&&("string"===typeof b&&fRb(b),null!=b&&(dc(this,a,0),"number"===typeof b?(a=this.encoder_,Ma(b),a.writeSplitVarint64(Ka,La)):(b=fRb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};g.writeUint32=function(){};g.writeUint64=function(){};g.writeBool=function(a,b){null!=b&&(dc(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){null!=b&&(b=parseInt(b,10),dc(this,a,0),hRb(this.encoder_,b))};g.writeSplitFixed64=function(a,b){dc(this,a,1);this.encoder_.writeSplitFixed64(b)};
g.writeSplitVarint64=function(a,b){dc(this,a,0);this.encoder_.writeSplitVarint64(b)};var Xb=function(a,b,c,d){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;this.$$isRepeated=c;this.$$isMsg=d};var qu=dba(),Sba=dba("0di"),kRb=dba("2ex"),Hca=dba("0dg");var eba=qu?function(a,b){a[qu]|=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},Lb=qu?function(a,b){a[qu]&=~b}:function(a,b){void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Qa=qu?function(a){return a[qu]|0}:function(a){return a.internalArrayState|0},Cb=qu?function(a){return a[qu]}:function(a){return a.internalArrayState},Ua=qu?function(a,b){a[qu]=b;return a}:function(a,
b){void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a};var jba={},kba={},lRb,cca,mRb=[];Ua(mRb,55);cca=Object.freeze(mRb);var ru=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};ru.prototype.next=function(){if(this.idx_<this.arr_.length){var a=this.arr_[this.idx_++];return{done:!1,value:this.mapper?this.mapper.call(this.thisArg,a):a}}return{done:!0,value:void 0}};ru.prototype[Symbol.iterator]=function(){return new ru(this.arr_,this.mapper,this.thisArg)};var fb,rba,Ab=0,zi=Object.freeze(new function(){});Object.freeze(new function(){});var sba=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var nRb;var yba=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Xba,Yba,Zba;var xb=void 0;var uca={},oRb=function(){try{var a=function(){return wPb(Map,[],this.constructor)};Y(a,Map);new a;return!1}catch(b){return!0}}(),su=function(){this.map_=new Map};g=su.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)};su.prototype[Symbol.iterator]=function(){return this.entries()};
var tu=function(){if(oRb)return Object.setPrototypeOf(su.prototype,Map.prototype),Object.defineProperties(su.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),su;var a=function(){return wPb(Map,[],this.constructor)};Y(a,Map);return a}(),zb=function(a,b,c,d){c=void 0===c?mca:c;d=void 0===d?mca:d;var e=tu.call(this)||this;var f=Qa(a);f|=64;Ua(a,f);e.arrayState=f;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?nca:d;for(var h=0;h<a.length;h++){var l=a[h],q=c(l[0],!1,!0),t=l[1];
b?void 0===t&&(t=null):t=d(l[1],!1,!0,void 0,void 0,f);tu.prototype.set.call(e,q,t)}return e};Y(zb,tu);var pRb=function(a){if(a.arrayState&2)throw Error("R");},zca=function(a,b){b=void 0===b?oca:b;if(0!==a.size)return Gca(a,b)},Gca=function(a,b){b=void 0===b?oca:b;var c=[];a=tu.prototype.entries.call(a);for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};g=zb.prototype;g.clear=function(){pRb(this);tu.prototype.clear.call(this)};
g.delete=function(a){pRb(this);return tu.prototype.delete.call(this,this.keyToApi(a,!0,!1))};g.entries=function(){var a=Array.from(tu.prototype.keys.call(this));return new ru(a,sca,this)};g.keys=function(){return tu.prototype.keys.call(this)};g.values=function(){var a=Array.from(tu.prototype.keys.call(this));return new ru(a,zb.prototype.get,this)};g.forEach=function(a,b){var c=this;tu.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){pRb(this);a=this.keyToApi(a,!0,!1);return null==a?this:null==b?(tu.prototype.delete.call(this,a),this):tu.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return tu.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=tu.prototype.get.call(this,a);if(void 0!==b){var c=this.valueCtor;return c?(c=this.valueToApi(b,!1,!0,c,this.callToMutableOnAccess,this.arrayState),c!==b&&tu.prototype.set.call(this,a,c),c):b}};var fca=function(a,b,c){return b instanceof zb?pca(a,b,c):rca(a,b,c)};zb.prototype[Symbol.iterator]=function(){return this.entries()};zb.prototype.toJSON=void 0;zb.prototype.mapPrototypeMarker=kba;var tca;var uu=function(a,b){a=a.internalArray_;return Fb(a,Cb(a),b)},Fb=function(a,b,c,d){if(-1===c)return null;var e=iba(b);if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],null!=d)){if(Jca(a,b,e,c)&&null!=kRb){var h;a=null!=(h=nRb)?h:nRb={};h=a[kRb]||0;4<=h||(a[kRb]=h+1,tba())}return d}return Jca(a,b,e,c)}},lp=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);cb(f);Eb(e,f,b,c,d);return a},Ui=function(a,b,c,d){return void 0!==Rca(a,b,c,void 0===d?!1:d)},Zl=function(a,
b,c,d){return void 0!==Rca(a,b,Fl(a,d,c))},qRb=function(a,b){a=a.internalArray_;return Sca(a,Cb(a),vu,b,3,!1,!0).length},wu=function(a,b,c,d,e){Tca(a,b,c,e,d,!1,1);return a},Zq=function(a,b){a=a.internalArray_;var c=Cb(a),d=Fb(a,c,b),e=vba(d);null!=e&&e!==d&&Eb(a,c,b,e);return e},vt=function(a,b){return xba(uu(a,b))},$q=function(a,b){a=a.internalArray_;var c=Cb(a),d=Fb(a,c,b),e=ab(d,!0,!0,!!(c&34));null!=e&&e!==d&&Eb(a,c,b,e);return e},hi=function(a,b){return b&&a!==zi?1:2},rRb=function(a,b,c,d,e){return Kb(a,
b,vba,c,d,e)},kp=function(a,b){a=$q(a,b);return null==a?Fa():a},Ip=function(a,b,c){return Pb(a,b,c,mb)},Do=function(a,b,c){return Pb(a,b,c,pb)},rj=function(a,b,c){return Pb(a,b,c,sb)},qj=function(a,b,c){return Pb(a,b,c,zba)},Il=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);cb(f);(c=Qca(e,f,c))&&c!==b&&null!=d&&(f=Eb(e,f,c));Eb(e,f,b,d);return a},Fl=function(a,b,c){a=a.internalArray_;return Qca(a,Cb(a),b)===c?c:-1},tm=function(a,b){a=a.internalArray_;return Qca(a,Cb(a),b)},xu=function(a,b,c){a=
a.internalArray_;var d=Cb(a);cb(d);var e=Fb(a,d,c);b=Bb(ub(e,b,!0,d));e!==b&&Eb(a,d,c,b);return b},sRb=function(a,b,c,d){var e=Cb(a);cb(e);var f=Fb(a,e,c,d),h;if(null!=f&&Za(f))return b=Bb(f),b!==f&&Eb(a,e,c,b,d),b.internalArray_;if(Array.isArray(f)){var l=Qa(f);l&2?h=Db(f,l,!1):h=f;h=m(h,b[0],b[1])}else h=m(void 0,b[0],b[1]);h!==f&&Eb(a,e,c,h,d);return h},Eq=function(a,b,c){return(a=Rca(a,b,c,!1))?a:Rba(b)},Gi=function(a,b,c,d){d=void 0===d?!1:d;b=Rca(a,b,c,d);if(null==b)return b;a=a.internalArray_;
var e=Cb(a);if(!(e&2)){var f=Bb(b);f!==b&&(b=f,Eb(a,e,c,b,d))}return b},Ii=function(a,b,c,d){a=a.internalArray_;var e=Cb(a);return Sca(a,e,b,c,d,void 0,!1,!(2&e))},hj=function(a,b,c,d,e){null==d&&(d=void 0);return lp(a,c,d,e)},Rl=function(a,b,c,d){null==d&&(d=void 0);return Il(a,b,c,d)},mm=function(a,b,c){var d=a.internalArray_,e=Cb(d);cb(e);if(null==c)return Eb(d,e,b),a;for(var f=Qa(c),h=f,l=!!(2&f)||!!(2048&f),q=l||Object.isFrozen(c),t=!0,w=!0,B=0;B<c.length;B++){var D=c[B];l||(D=Sa(D.internalArray_),
t&&(t=!D),w&&(w=D))}l||(f=Pa(f,5,!0),f=Pa(f,8,t),f=Pa(f,16,w));q&&f!==h&&(c=Oa(c),h=0,f=Gb(f,e),f=Jb(f,e,!0));f!==h&&Ua(c,f);Eb(d,e,b,c);return a},Wq=function(a,b,c,d,e){Tca(a,b,c,d,e);return a},yu=function(a,b,c,d){a=a.internalArray_;var e=Cb(a);cb(e);b=Sca(a,e,c,b,2,!1,!0);a=c=0;if(Array.isArray(d))for(e=0;e<d.length;e++){var f=d[e];b.push(f);(f=Sa(f.internalArray_))&&!c++&&Lb(b,8);f||a++||Lb(b,16)}else for(d=k(d),e=d.next();!e.done;e=d.next())e=e.value,b.push(e),(e=Sa(e.internalArray_))&&!c++&&
Lb(b,8),e||a++||Lb(b,16)},zu=function(a,b){return ob(uu(a,b))},Au=function(a,b){return Nba(uu(a,b))},Si=function(a,b){return rb(uu(a,b))},Bu=function(a,b){a=uu(a,b);var c;null==a?c=a:lb(a)?"number"===typeof a?c=Kba(a):c=Mba(a):c=void 0;return c},ii=function(a,b,c,d,e){return Kb(a,b,ob,c,d,e)},Fi=function(a,b,c,d,e){return Kb(a,b,Nba,c,d,e,0)},Fj=function(a,b){return Kb(a,b,Uca,1,void 0,void 0,4096)},Cu=function(a,b,c,d,e){return Kb(a,b,rb,c,d,e,0)},wj=function(a,b){return Qba(uu(a,b))},gi=function(a,
b,c,d,e){return Kb(a,b,Qba,c,d,e)},yo=function(a,b){return Bba(uu(a,b))},ej=function(a,b,c,d,e){return Kb(a,b,Bba,c,d,e)},Li=function(a,b,c){c=void 0===c?!1:c;return Wb(vt(a,b),c)},fi=function(a,b,c){c=void 0===c?0:c;return Wb(zu(a,b),c)},Zi=function(a,b,c){c=void 0===c?0:c;return Wb(Au(a,b),c)},tRb=function(a){var b=void 0===b?0:b;return Wb(Bu(a,23),b)},Du=function(a,b,c){c=void 0===c?"0":c;return Wb(Si(a,b),c)},Kl=function(a,b,c){c=void 0===c?0:c;return Wb(Zq(a,b),c)},ec=function(a,b,c){c=void 0===
c?"":c;return Wb(wj(a,b),c)},Qi=function(a,b,c){c=void 0===c?0:c;return Wb(yo(a,b),c)},Eu=function(a,b){var c=void 0===c?"0":c;return Wb(rb(uu(a,b),!0),c)},Ti=function(a,b){var c=void 0===c?"0":c;return Wb(rb(uu(a,b),!0),c)},Fu=function(a,b,c){a=ii(a,b,3,void 0,!0);eb(a,c);return a[c]},uRb=function(a,b){a=Fi(a,b,3,void 0,!0);eb(a);return a[void 0]},Gu=function(a,b,c){a=gi(a,b,3,void 0,!0);eb(a,c);return a[c]},vRb=function(a,b){a=ej(a,b,3,void 0,!0);eb(a);return a[void 0]},i1a=function(a,b){b=Fl(a,
Tq,b);a=uu(a,b);var c=void 0===c?!1:c;c=null==a?a:lb(a)?"string"===typeof a?Mba(a):c?Lba(a):Kba(a):void 0;return c},so=function(a,b,c){return wj(a,Fl(a,c,b))},Ll=function(a,b,c,d){return Gi(a,b,Fl(a,d,c))},Hu=function(a,b){a=zu(a,b);return null==a?void 0:a},Iu=function(a,b){a=Au(a,b);return null==a?void 0:a},Ju=function(a,b){a=wj(a,b);return null==a?void 0:a},Ot=function(a,b){a=yo(a,b);return null==a?void 0:a},$h=function(a,b,c){return lp(a,b,kb(c))},Ul=function(a,b,c){return Qb(a,b,kb(c),!1)},gj=
function(a,b,c){return lp(a,b,null==c?c:mb(c))},kl=function(a,b,c){return Qb(a,b,null==c?c:mb(c),0)},pj=function(a,b,c){return lp(a,b,qb(c))},xl=function(a,b,c){return Qb(a,b,qb(c),"0")},oj=function(a,b,c){return lp(a,b,qb(c))},sm=function(a,b,c){return Qb(a,b,ib(c),0)},Zh=function(a,b,c){return lp(a,b,Pba(c))},yl=function(a,b,c){return Qb(a,b,Pba(c),"")},Ql=function(a,b,c,d){return Il(a,b,c,Pba(d))},Dl=function(a,b,c){return Qb(a,b,ab(c,!1,!0,!1),Fa())},jj=function(a,b,c){return lp(a,b,Aba(c))},
zl=function(a,b,c){return Qb(a,b,Aba(c),0)},Ku=function(a,b,c){return Vb(a,b,mb,c,void 0,ii)},Ki=function(a,b){return null!=vt(a,b)},Mi=function(a,b){return null!=zu(a,b)},Yi=function(a,b){return null!=Au(a,b)},Ni=function(a,b){return null!=wj(a,b)},Oi=function(a,b){return null!=yo(a,b)};var n=function(a,b,c){this.internalArray_=m(a,b,c)};n.prototype.toJSON=function(){return lRb?Wca(this,this.internalArray_,!1):Wca(this,Bca(this.internalArray_,Dca,void 0,void 0,!1),!0)};n.prototype.serialize=function(){lRb=!0;try{return JSON.stringify(this.toJSON(),xca)}finally{lRb=!1}};var Fda=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("T");return wb(a,fba(b))};
n.prototype.getExtension=function(a){return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,hi(void 0,!0),!0):a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,hi(void 0,!0),!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var wRb=function(a,b){a=b.ctor?b.getExtensionFn(a,b.ctor,b.fieldIndex,!0):b.getExtensionFn(a,b.fieldIndex,null,!0);return null===a?void 0:a};
n.prototype.hasExtension=function(a){return a.ctor?Ui(this,a.ctor,a.fieldIndex,!0):void 0!==wRb(this,a)};n.prototype.clone=function(){var a=this.internalArray_;return wb(this.constructor,Db(a,Cb(a),!1))};n.prototype.isMutable=function(){return!Sa(this.internalArray_)};n.prototype.isImmutable=function(){return Sa(this.internalArray_)};
var wt=function(a,b,c){b.ctor?b.isRepeated?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,void 0,!0):b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.isRepeated?b.setExtensionFn(a,b.fieldIndex,c,void 0,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)},Tra=0;n.prototype.messagePrototypeMarker=jba;n.prototype.toString=function(){return Wca(this,this.internalArray_,!1).toString()};var Zca=Symbol(),hca,kda=function(){},kca=function(a,b){var c=a[b];if(null!=c)return Array.isArray(c)?a[b]=$ca(c):c;c=a.extensions;if(null!=c&&(c=c[b],null!=c)){c=Yca(c);var d;!c[0].$$isRepeated||null!=(d=a.repeatedFields)&&d.has(b)||(a.repeatedFields||(a.repeatedFields=new Set)).add(b);d=c[1];if(null!=d)return a[b]=$ca(d)}},eda,fda,Yb=Symbol(),oda=Symbol(),tda=Symbol(),xda=Symbol(),xRb=ac(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,l=a.cursor_;do{var q=
h[l++];d|=(q&127)<<f;f+=7}while(32>f&&q&128);32<f&&(e|=(q&127)>>4);for(f=3;32>f&&q&128;f+=7)q=h[l++],e|=(q&127)<<f;VQb(a,l);if(128>q)a=$aa(d>>>0,e>>>0);else throw Error("G");bc(b,c,a);return!0},function(a,b,c){var d=a.writeInt64;a:if(null!=b){if(lb(b)){if("string"===typeof b){b=Eba(b);break a}if("number"===typeof b){b=Gba(b);break a}}b=void 0}d.call(a,c,b)}),Lu=ac(function(a,b,c){if(0!==a.nextWireType_)return!1;bc(b,c,ou(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,ob(b))}),yRb;
yRb=new Xb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Kca(b,Cb(b),c,!1);if(2==a.nextWireType_)for(c=ou(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(ou(a.decoder_));else b.push(ou(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=Qa(b);if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=ob(b[e]);null!=h&&(b[f++]=h)}f<e&&(b.length=f);Ua(b,(d|5)&-12289);d&2&&Object.freeze(b)}}else b=void 0;if(null!=b)for(d=0;d<b.length;d++)e=a,f=
c,h=b[d],null!=h&&(dc(e,f,0),hRb(e.encoder_,h))},!0,!1);
var zRb=ac(function(a,b,c){if(1!==a.nextWireType_)return!1;var d=a.decoder_;a=WQb(d);d=WQb(d);bc(b,c,Na(a,d));return!0},function(a,b,c){a:if(null!=b){if(lb(b)){if("string"===typeof b){b=Mba(b);break a}if("number"===typeof b){b=Kba(b);break a}}b=void 0}null!=b&&("string"===typeof b&&cRb(b),dc(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(c=cRb(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)))}),ARb=ac(function(a,b,c){if(5!==a.nextWireType_)return!1;bc(b,c,WQb(a.decoder_));return!0},function(a,b,
c){b=Dba(b);null!=b&&(dc(a,c,5),a.encoder_.writeUint32(b))}),Mu=ac(function(a,b,c){if(0!==a.nextWireType_)return!1;bc(b,c,XQb(a.decoder_));return!0},function(a,b,c){a.writeBool(c,xba(b))}),BRb=ac(function(a,b,c){if(2!==a.nextWireType_)return!1;bc(b,c,$Qb(a));return!0},function(a,b,c){b=Qba(b);null!=b&&(b=kaa(b,!1),dc(a,c,2),gRb(a.encoder_,b.length),$b(a,a.encoder_.end()),$b(a,b))}),Xca=new Xb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;ZQb(a,sRb(b,d,c,!0),e);return!0},zda,!1,!0),nda=new Xb(function(a,
b,c,d,e){if(2!==a.nextWireType_)return!1;ZQb(a,sRb(b,d,c),e);return!0},zda,!1,!0),CRb=ac(function(a,b,c){if(0!==a.nextWireType_)return!1;bc(b,c,ou(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,ob(b))});var Nu=function(a,b){this.fieldIndex=a;this.ctor=b;this.isRepeated=0;this.getExtensionFn=Gi;this.setExtensionFn=hj;this.defaultValue=void 0};var Ou=function(a){this.internalArray_=m(a)};Y(Ou,n);Ou.prototype.getId=function(){return ec(this,1)};Ou.prototype.setId=function(a){return yl(this,1,a)};Ou.prototype.getSourceId=function(){return Qi(this,2,0)};Ou.prototype.setSourceId=function(a){return zl(this,2,a)};var nl=function(a){this.internalArray_=m(a)};Y(nl,n);g=nl.prototype;g.getSeconds=function(){return Zi(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return Zi(this,1)};g.getSeconds_asString=function(){return Eu(this,1)};g.setSeconds=function(a){return xl(this,1,a)};g.getNanos=function(){return fi(this,2)};g.setNanos=function(a){return kl(this,2,a)};var aj=function(a){this.internalArray_=m(a)};Y(aj,n);g=aj.prototype;g.getSeconds=function(){return Zi(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return Zi(this,1)};g.getSeconds_asString=function(){return Eu(this,1)};g.setSeconds=function(a){return xl(this,1,a)};g.getNanos=function(){return fi(this,2)};g.setNanos=function(a){return kl(this,2,a)};g.toDate=function(){var a=Number(this.getSeconds_asString()),b=this.getNanos();return new Date(1E3*a+b/1E6)};var Pu=function(a){this.internalArray_=m(a)};Y(Pu,n);g=Pu.prototype;g.getUrl=function(){return ec(this,1)};g.setUrl=function(a){return yl(this,1,a)};g.getHeight=function(){return fi(this,2)};g.setHeight=function(a){return kl(this,2,a)};g.getWidth=function(){return fi(this,3)};g.setWidth=function(a){return kl(this,3,a)};var Qu=function(a){this.internalArray_=m(a)};Y(Qu,n);Qu.prototype.getDuration=function(){return Gi(this,nl,2)};Qu.repeatedFields_=[6];var DRb=function(a){this.internalArray_=m(a)};Y(DRb,n);var Ru=function(a){this.internalArray_=m(a)};Y(Ru,n);Ru.prototype.getEmail=function(a){return Gu(this,1,a)};Ru.prototype.setEmail=function(a){return Vb(this,1,sb,a,void 0,gi)};Ru.prototype.getGroupId=function(a){return Gu(this,2,a)};Ru.prototype.setGroupId=function(a){Vb(this,2,sb,a,void 0,gi)};Ru.repeatedFields_=[1,2];var ERb=function(a){this.internalArray_=m(a)};Y(ERb,n);var FRb=function(a){this.internalArray_=m(a)};Y(FRb,n);FRb.prototype.getDownloadUrl=function(){return ec(this,5)};var GRb=function(a){this.internalArray_=m(a)};Y(GRb,n);var HRb=function(a){this.internalArray_=m(a)};Y(HRb,n);HRb.prototype.getPhotoId=function(){return ec(this,1)};var IRb=function(a){this.internalArray_=m(a)};Y(IRb,n);var JRb=function(a){this.internalArray_=m(a)};Y(JRb,n);var Su=function(a){this.internalArray_=m(a)};Y(Su,n);var Tu=[2,4,5,6,7];var KRb=function(a){this.internalArray_=m(a)};Y(KRb,n);var Dn=function(a){this.internalArray_=m(a)};Y(Dn,n);Dn.prototype.getTypeName=function(){return ec(this,1).split("/").pop()};Dn.prototype.getValue=function(){var a=uu(this,2);if(Array.isArray(a)||a instanceof n)throw Error("U");return kp(this,2)};Dn.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=lp(this,2,Bca(a,Dca,void 0,void 0,!1));else if("string"===typeof a||a instanceof Ga||Ea(a))a=Dl(this,2,a);else throw Error("V`"+a);return a};var vu=function(a){this.internalArray_=m(a)};Y(vu,n);g=vu.prototype;g.getId=function(){return Gi(this,Ou,1)};g.setId=function(a){return hj(this,Ou,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return yl(this,2,a)};g.getDescription=function(){return ec(this,3)};g.setDescription=function(a){return yl(this,3,a)};g.getParentId=function(){return ec(this,4)};g.setParentId=function(a){return yl(this,4,a)};g.getType=function(){return Qi(this,6,0)};
g.setType=function(a){return zl(this,6,a)};g.getMimeType=function(){return ec(this,7)};g.setMimeType=function(a){yl(this,7,a)};g.getUrl=function(){return ec(this,8)};g.setUrl=function(a){return yl(this,8,a)};g.getIconUrl=function(){return ec(this,11)};g.setIconUrl=function(a){return yl(this,11,a)};var Uu=function(a){return Ii(a,Pu,10,hi())};vu.prototype.getLastModifiedTimestamp=function(){return Gi(this,aj,12)};vu.prototype.getVideoMetadata=function(){return Gi(this,Qu,34)};
vu.prototype.hasVideoMetadata=function(){return Ui(this,Qu,34)};var Vu=function(a){this.internalArray_=m(a)};Y(Vu,n);g=Vu.prototype;g.getShared=function(){return Li(this,1)};g.setShared=function(a){Ul(this,1,a)};g.getVideoMetadata=function(){return Gi(this,Qu,3)};g.hasVideoMetadata=function(){return Ui(this,Qu,3)};g.getDownloadUrl=function(){return ec(this,10)};vu.repeatedFields_=[5,10,22];var Wu=function(a){this.internalArray_=m(a)};Y(Wu,n);Wu.prototype.getLabel=function(){return ec(this,2)};Wu.prototype.setLabel=function(a){return yl(this,2,a)};var LRb=function(a){this.internalArray_=m(a)};Y(LRb,n);g=LRb.prototype;g.getStatus=function(){return Qi(this,1,0)};g.setStatus=function(a){return zl(this,1,a)};g.getItemList=function(a){return Ii(this,vu,2,hi(a))};g.addItem=function(a,b){return Wq(this,2,vu,a,b)};g.setItem=function(a,b){return wu(this,2,vu,a,b)};g.getItemCount=function(){return qRb(this,2)};g.getErrorCode=function(){return Qi(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return Gi(this,Wu,7)};LRb.repeatedFields_=[2];var Xu=function(a){this.internalArray_=m(a)};Y(Xu,n);g=Xu.prototype;g.getSourceId=function(){return Qi(this,1,0)};g.setSourceId=function(a){return zl(this,1,a)};g.getName=function(){return ec(this,8)};g.setName=function(a){return yl(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return Gi(this,Wu,18)};Xu.repeatedFields_=[14];var Yu=function(a){this.internalArray_=m(a)};Y(Yu,n);g=Yu.prototype;g.getCommand=function(){return Qi(this,1,0)};g.setCommand=function(a){return zl(this,1,a)};g.getSource=function(){return Gi(this,Xu,2)};g.setSource=function(a){return hj(this,Xu,2,a)};g.hasSource=function(){return Ui(this,Xu,2)};g.setVisible=function(a){return Ul(this,5,a)};g.getItemList=function(a){return Ii(this,vu,7,hi(a))};g.addItem=function(a,b){return Wq(this,7,vu,a,b)};g.setItem=function(a,b){return wu(this,7,vu,a,b)};
g.getItemCount=function(){return qRb(this,7)};g.getQuery=function(){return ec(this,8)};g.setQuery=function(a){return yl(this,8,a)};g.clearQuery=function(){lp(this,8)};Yu.repeatedFields_=[3,7];var MRb=function(a){this.internalArray_=m(a)};Y(MRb,n);g=MRb.prototype;g.getCommand=function(){return Qi(this,1,0)};g.setCommand=function(a){return zl(this,1,a)};g.getItemList=function(a){return Ii(this,vu,4,hi(a))};g.addItem=function(a,b){return Wq(this,4,vu,a,b)};g.setItem=function(a,b){return wu(this,4,vu,a,b)};g.getItemCount=function(){return qRb(this,4)};var NRb=gc(MRb);MRb.repeatedFields_=[4];var ORb=function(a){this.internalArray_=m(a)};Y(ORb,n);var PRb=[0,xRb,ARb,-1];var Zu=function(a){this.internalArray_=m(a)};Y(Zu,n);Zu.prototype.setBase=function(a){return hj(this,ORb,1,a)};var QRb=[0,PRb,xRb];var RRb=[0,yRb,Lu];var $u=function(a){this.internalArray_=m(a)};Y($u,n);$u.prototype.setVeIndex=function(a){gj(this,1,a)};var SRb=function(a,b){gj(a,2,b)};$u.prototype.setElementIndex=function(a){gj(this,5,a)};$u.prototype.getResultIndex=function(){return fi(this,6,-1)};$u.prototype.setResultIndex=function(a){gj(this,6,a)};var TRb=[0,Lu,-1,2,Lu,-4,Mu,Lu,zRb,QRb,Lu,RRb],URb=Dda($u,TRb),VRb=function(a){return function(b){var c=new iRb;pda(b.internalArray_,c,Zb(a));return jRb(c)}}(TRb);var av=function(a){this.internalArray_=m(a)};Y(av,n);av.prototype.setVed=function(a){return Ql(this,5,WRb,a)};var XRb=[1,3,4],WRb=[2,5];var bv=function(a){this.internalArray_=m(a,233)};Y(bv,n);bv.prototype.setUiType=function(a){return gj(this,1,a)};bv.prototype.setElementIndex=function(a){gj(this,3,a)};var YRb=function(a,b){Ip(a,4,b)};bv.prototype.getResultIndex=function(){return zu(this,7)};bv.prototype.setResultIndex=function(a){gj(this,7,a)};bv.prototype.setVisible=function(a){return jj(this,6,a)};bv.repeatedFields_=[4];var cv=function(a){this.internalArray_=m(a)};Y(cv,n);g=cv.prototype;g.getCode=function(){return zu(this,1)};g.getCode_legacyNullable=function(){return zu(this,1)};g.setCode=function(a){return gj(this,1,a)};g.getMessage=function(){return wj(this,3)};g.setMessage=function(a){return Zh(this,3,a)};var dv=function(a){this.internalArray_=m(a)};Y(dv,n);var Cn=function(a){this.internalArray_=m(a)};Y(Cn,n);Cn.prototype.getValue=function(){return Zi(this,1)};Cn.prototype.getValue_asLegacyNumberOrString=function(){return Zi(this,1)};Cn.prototype.setValue=function(a){return xl(this,1,a)};var jl=function(a){this.internalArray_=m(a)};Y(jl,n);g=jl.prototype;g.getYear=function(){return fi(this,1)};g.setYear=function(a){return kl(this,1,a)};g.getMonth=function(){return fi(this,2)};g.setMonth=function(a){return kl(this,2,a)};g.getDay=function(){return fi(this,3)};var cn=function(a){this.internalArray_=m(a)};Y(cn,n);var dn=function(a,b){Ub(a,1,sb,b)};cn.repeatedFields_=[1];var SAa=function(a){this.internalArray_=m(a)};Y(SAa,n);SAa.prototype.getValue=function(){return fi(this,1)};SAa.prototype.setValue=function(a){return kl(this,1,a)};var UAa=function(a){this.internalArray_=m(a)};Y(UAa,n);UAa.prototype.getValue=function(){return Li(this,1)};UAa.prototype.setValue=function(a){return Ul(this,1,a)};var Ao=function(a){this.internalArray_=m(a)};Y(Ao,n);g=Ao.prototype;g.getHours=function(){return fi(this,1)};g.setHours=function(a){return kl(this,1,a)};g.getMinutes=function(){return fi(this,2)};g.setMinutes=function(a){return kl(this,2,a)};g.getSeconds=function(){return fi(this,3)};g.setSeconds=function(a){return kl(this,3,a)};g.getNanos=function(){return fi(this,4)};g.setNanos=function(a){return kl(this,4,a)};var vta=function(a){this.internalArray_=m(a)};Y(vta,n);var TAa=function(a){this.internalArray_=m(a)};Y(TAa,n);TAa.prototype.getValue=function(){return ec(this,1)};TAa.prototype.setValue=function(a){return yl(this,1,a)};var Oda="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var ZRb,$Rb=function(){if(void 0===ZRb){var a=null,b=da.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:TPb,createScript:TPb,createScriptURL:TPb})}catch(c){da.console&&da.console.error(c.message)}ZRb=a}else ZRb=a}return ZRb};var fv=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===ev&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=aSb};fv.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var gv=function(a){return a instanceof fv&&a.constructor===fv&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===aSb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},aSb={},ev={};var hv=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};hv.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};var wc=function(a){if(a instanceof hv&&a.constructor===hv)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;jb(a);return"type_error:TrustedResourceUrl"},bSb={},zh=function(a){var b=$Rb();a=b?b.createScriptURL(a):a;return new hv(a,bSb)};var cSb=Xt([""]),dSb=tPb(["\x00"],["\\0"]),eSb=tPb(["\n"],["\\n"]),fSb=tPb(["\x00"],["\\u0000"]);Rda(function(a){return a(cSb)})||Rda(function(a){return a(dSb)})||Rda(function(a){return a(eSb)})||Rda(function(a){return a(fSb)});var oc=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};oc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};var rc=function(a){if(a instanceof oc&&a.constructor===oc)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;jb(a);return"type_error:SafeUrl"},Uda={};var Vda=new oc("about:invalid#zClosurez",Uda);var Sda=function(a){this.isValid=a},Tda=[nc("data"),nc("http"),nc("https"),nc("mailto"),nc("ftp"),new Sda(function(a){return/^[^:]*([/?#]|$)/.test(a)})],Wda=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var gSb=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a};gSb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};var hSb=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a};hSb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};var iSb={},tc=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a};tc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var wh=function(a){if(a instanceof tc&&a.constructor===tc)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;jb(a);return"type_error:SafeHtml"},aRa=function(a){return a instanceof tc?a:uh(cQb(String(a)))},uh=function(a){var b=$Rb();a=b?b.createHTML(a):a;return new tc(a,iSb)},Sr=new tc(da.trustedTypes&&da.trustedTypes.emptyHTML||"",iSb);var jSb="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var lSb=function(a){var b=Cp("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||da.$googDebugFname||b}catch(h){e="Not available",c=!0}b=kSb(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,iv[c])c=iv[c];else{c=String(c);if(!iv[c]){var f=/function\s+([^\(]+)/m.exec(c);iv[c]=f?f[1]:"[Anonymous]"}c=iv[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}return{message:a.message,
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}},kSb=function(a,b){b||(b={});b[mSb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[mSb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=kSb(a,b));return c},mSb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},iv={};var nSb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},oSb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},Xo=function(a){return!/[^0-9]/.test(a)},Oj=function(a){return a=cQb(a)},pSb=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=1==c?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},EKb=function(a,b,c){return a.replace(new RegExp(Jo(b),
"g"),c.replace(/\$/g,"$$$$"))},Jo=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},qSb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},jv=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");-1===c&&(c=a.length);var d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+qSb("0",Math.max(0,b-c))+a},Qk=function(a){return null==a?"":String(a)},kv=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},ql=function(a){var b=Number(a);return 0==b&&Rk(a)?NaN:b},wi=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},qi=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},rSb=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));
return c};var yc=globalThis;var Cc=Object.getOwnPropertyDescriptor,jea=Object.defineProperty,mea=Object.getPrototypeOf,sSb=Object.create,tSb=Array.prototype.slice,uSb=zc("addEventListener"),vSb=zc("removeEventListener"),Jc=zc(""),wSb="undefined"!==typeof window,Ic=wSb?window:void 0,Ec=wSb&&Ic||globalThis,xSb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,wea=!("nw"in Ec)&&"undefined"!==typeof Ec.process&&"[object process]"==={}.toString.call(Ec.process),ySb=!wea&&!xSb&&!(!wSb||!Ic.HTMLElement),zSb=
"undefined"!==typeof Ec.process&&"[object process]"==={}.toString.call(Ec.process)&&!xSb&&!(!wSb||!Ic.HTMLElement),hea={},iea=function(a){if(a=a||Ec.event){var b=hea[a.type];b||(b=hea[a.type]=zc("ON_PROPERTY"+a.type));var c=this||a.target||Ec;b=c[b];ySb&&c===Ic&&"error"===a.type?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),!0===c&&a.preventDefault()):(c=b&&b.apply(this,arguments),void 0==c||c||a.preventDefault());return c}},Fc=zc("originalInstance"),oea=!1,pea=!1;var Lc=!1;if("undefined"!==typeof window)try{var ASb=Object.defineProperty({},"passive",{get:function(){Lc=!0}});window.addEventListener("test",ASb,ASb);window.removeEventListener("test",ASb,ASb)}catch(a){Lc=!1}var yea={useG:!0},Kc={},xea={},Aea=new RegExp("^"+Jc+"(\\w+)(true|false)$"),uea=zc("propagationStopped");var Dea,Eea,Fea,Gea,Mc;var Oea=[].concat(u("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(" ")),
u(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),u(["autocomplete","autocompleteerror"]),u(["toggle"]),u("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),u("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(" ")),
u("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),u("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 Rea=zc("zoneTask");var lv,mv=globalThis,BSb=!0===mv[zc("forceDuplicateZoneCheck")];if(mv.Zone&&(BSb||"function"!==typeof mv.Zone.__symbol__))throw Error("pa");null!=mv.Zone||(mv.Zone=cea());lv=mv.Zone;
(function(a){a.__load_patch("Error",function(b,c,d){function e(ka){for(var Aa={zoneName:ka.zone.name},Ya=Aa;ka.parent;){ka=ka.parent;var ea={zoneName:ka.zone.name};Aa=Aa.parent=ea}return Ya}function f(ka,Aa,Ya){Ya=void 0===Ya?!0:Ya;ka=ka.split("\n");for(var ea=0;ka[ea]!==B&&ka[ea]!==D&&ka[ea]!==J&&ka[ea]!==H&&ka[ea]!==O&&ea<ka.length;)ea++;for(;ea<ka.length&&Aa;ea++){var na=ka[ea];if(na.trim())switch(w[na]){case l.zoneJsInternal:ka.splice(ea,1);ea--;break;case l.transition:Aa.parent?Aa=Aa.parent:
Aa=null;ka.splice(ea,1);ea--;break;default:ka[ea]+=Ya?" ["+Aa.zone.name+"]":" ["+Aa.zoneName+"]"}}return ka.join("\n")}function h(){var ka=this,Aa=t.apply(this,arguments),Ya=Aa.originalStack=Aa.stack;if(h.stackRewrite&&Ya){var ea=d.currentZoneFrame();if("lazy"===P)Aa[d.symbol("zoneFrameNames")]=e(ea);else if("default"===P)try{Aa.stack=Aa.zoneAwareStack=f(Ya,ea)}catch(na){}}return this instanceof t&&this.constructor!=t?(Object.keys(Aa).concat("stack","message").forEach(function(na){var Da=Aa[na];if(void 0!==
Da)try{ka[na]=Da}catch(Ia){}}),this):Aa}var l={zoneJsInternal:0,transition:1},q=d.symbol("zoneJsInternalStackFrames"),t=b[d.symbol("Error")]=b.Error,w={},B,D,J,H,O;b.Error=h;var P=b.__Zone_Error_BlacklistedStackFrames_policy||b.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";h.prototype=t.prototype;h[q]=w;h.stackRewrite=!1;var U=d.symbol("zoneAwareStack");"lazy"===P&&Object.defineProperty(h.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[U]||(this[U]=f(this.originalStack,
this[d.symbol("zoneFrameNames")],!1));return this[U]},set:function(ka){this.originalStack=ka;this[U]=f(this.originalStack,this[d.symbol("zoneFrameNames")],!1)}});var aa=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(b=Object.keys(t))&&b.forEach(function(ka){0===aa.filter(function(Aa){return Aa===ka}).length&&Object.defineProperty(h,ka,{get:function(){return t[ka]},set:function(Aa){t[ka]=Aa}})});t.hasOwnProperty("stackTraceLimit")&&(t.stackTraceLimit=Math.max(t.stackTraceLimit,15),Object.defineProperty(h,
"stackTraceLimit",{get:function(){return t.stackTraceLimit},set:function(ka){return t.stackTraceLimit=ka}}));t.hasOwnProperty("captureStackTrace")&&Object.defineProperty(h,"captureStackTrace",{value:function(ka,Aa){t.captureStackTrace(ka,Aa)}});Object.defineProperty(h,"prepareStackTrace",{get:function(){return t.prepareStackTrace},set:function(ka){return ka&&"function"===typeof ka?t.prepareStackTrace=function(Aa,Ya){if(Ya)for(var ea=0;ea<Ya.length;ea++)if("zoneCaptureStackTrace"===Ya[ea].getFunctionName()){Ya.splice(ea,
1);break}return ka.call(this,Aa,Ya)}:t.prepareStackTrace=ka}});if("disable"!==P){var pa=c.current.fork({name:"detect",onHandleError:function(ka,Aa,Ya,ea){if(ea.originalStack&&Error===h)for(ka=ea.originalStack.split(/\n/),ea=Ya=Aa=!1;ka.length;){var na=ka.shift();if(/:\d+:\d+/.test(na)||"ZoneAwareError"===na){var Da=na.split("(")[0].split("@")[0],Ia=l.transition;-1!==Da.indexOf("ZoneAwareError")&&(-1!==Da.indexOf("new ZoneAwareError")?(B=na,D=na.replace("new ZoneAwareError","new Error.ZoneAwareError")):
(J=na,H=na.replace("Error.",""),-1===na.indexOf("Error.ZoneAwareError")&&(O=na.replace("ZoneAwareError","Error.ZoneAwareError"))),w[D]=l.zoneJsInternal);-1!==Da.indexOf("runGuarded")?Ya=!0:-1!==Da.indexOf("runTask")?ea=!0:-1!==Da.indexOf("run")?Aa=!0:Ia=l.zoneJsInternal;w[na]=Ia;if(Aa&&Ya&&ea){h.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ka,Aa,Ya,ea){return ka.scheduleTask(Ya,ea)},onInvokeTask:function(ka,Aa,Ya,ea,na,Da){return ka.invokeTask(Ya,ea,na,Da)},onCancelTask:function(ka,
Aa,Ya,ea){return ka.cancelTask(Ya,ea)},onInvoke:function(ka,Aa,Ya,ea,na,Da,Ia){return ka.invoke(Ya,ea,na,Da,Ia)}});c=Error.stackTraceLimit;Error.stackTraceLimit=100;pa.run(function(){pa.runGuarded(function(){var ka=function(){};pa.scheduleEventTask(q,function(){pa.scheduleMacroTask(q,function(){pa.scheduleMicroTask(q,function(){throw Error();},void 0,function(Aa){Aa._transitionTo=ka;Aa.invoke()});pa.scheduleMicroTask(q,function(){throw Error();},void 0,function(Aa){Aa._transitionTo=ka;Aa.invoke()})},
void 0,function(Aa){Aa._transitionTo=ka;Aa.invoke()},function(){})},void 0,function(Aa){Aa._transitionTo=ka;Aa.invoke()},function(){})})});Error.stackTraceLimit=c}})})(lv);
(function(a){a.__load_patch("ZoneAwarePromise",function(b,c,d){function e(db){if(db&&db.toString===Object.prototype.toString){var Ra=db.constructor&&db.constructor.name;return(Ra?Ra:"")+": "+JSON.stringify(db)}return db?db.toString():Object.prototype.toString.call(db)}function f(db){d.onUnhandledError(db);try{var Ra=c[Aa];"function"===typeof Ra&&Ra.call(this,db)}catch(nb){}}function h(db){return db}function l(db){return Hb.reject(db)}function q(db,Ra){return function(nb){try{t(db,Ra,nb)}catch(Nb){t(db,
!1,Nb)}}}function t(db,Ra,nb){var Nb=Xa();if(db===nb)throw new TypeError("qa");if(null===db[Ya]){var tb=null;try{if("object"===typeof nb||"function"===typeof nb)tb=nb&&nb.then}catch(cc){return Nb(function(){t(db,!1,cc)})(),db}if(!1!==Ra&&nb instanceof Hb&&nb.hasOwnProperty(Ya)&&nb.hasOwnProperty(ea)&&null!==nb[Ya])w(nb),t(db,nb[Ya],nb[ea]);else if(!1!==Ra&&"function"===typeof tb)try{tb.call(nb,Nb(q(db,Ra)),Nb(q(db,!1)))}catch(cc){Nb(function(){t(db,!1,cc)})()}else{db[Ya]=Ra;Nb=db[ea];db[ea]=nb;db[na]===
na&&!0===Ra&&(db[Ya]=db[Ia],db[ea]=db[Da]);!1===Ra&&nb instanceof Error&&(tb=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__)&&O(nb,yb,{configurable:!0,enumerable:!1,writable:!0,value:tb});for(tb=0;tb<Nb.length;)B(db,Nb[tb++],Nb[tb++],Nb[tb++],Nb[tb++]);if(0==Nb.length&&0==Ra){db[Ya]=0;Ra=nb;try{throw Error("ra`"+e(nb)+"`"+(nb&&nb.stack?"\n"+nb.stack:""));}catch(cc){Ra=cc}aa&&(Ra.throwOriginal=!0);Ra.rejection=nb;Ra.promise=db;Ra.zone=c.current;Ra.task=c.currentTask;U.push(Ra);
d.scheduleMicroTask()}}}return db}function w(db){if(0===db[Ya]){try{var Ra=c[Rb];Ra&&"function"===typeof Ra&&Ra.call(this,{rejection:db[ea],promise:db})}catch(nb){}db[Ya]=!1;for(Ra=0;Ra<U.length;Ra++)db===U[Ra].promise&&U.splice(Ra,1)}}function B(db,Ra,nb,Nb,tb){w(db);var cc=db[Ya],pc=cc?"function"===typeof Nb?Nb:h:"function"===typeof tb?tb:l;Ra.scheduleMicroTask("Promise.then",function(){try{var mc=db[ea],Bc=!!nb&&na===nb[na];Bc&&(nb[Da]=mc,nb[Ia]=cc);var Qc=Ra.run(pc,void 0,Bc&&pc!==l&&pc!==h?[]:
[mc]);t(nb,!0,Qc)}catch(Xd){t(nb,!1,Xd)}},nb)}function D(db){var Ra=db.prototype,nb=H(Ra,"then");if(!nb||!1!==nb.writable&&nb.configurable){var Nb=Ra.then;Ra[ka]=Nb;db.prototype.then=function(tb,cc){var pc=this;return(new Hb(function(mc,Bc){Nb.call(pc,mc,Bc)})).then(tb,cc)};db[od]=!0}}function J(db){return function(Ra,nb){Ra=db.apply(Ra,nb);if(Ra instanceof Hb)return Ra;nb=Ra.constructor;nb[od]||D(nb);return Ra}}var H=Object.getOwnPropertyDescriptor,O=Object.defineProperty,P=d.symbol,U=[],aa=!1!==
b[P("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],pa=P("Promise"),ka=P("then");d.onUnhandledError=function(db){if(d.showUncaughtError()){var Ra=db&&db.rejection;Ra?console.error("Unhandled Promise rejection:",Ra instanceof Error?Ra.message:Ra,"; Zone:",db.zone.name,"; Task:",db.task&&db.task.source,"; Value:",Ra,Ra instanceof Error?Ra.stack:void 0):console.error(db)}};d.microtaskDrainDone=function(){for(var db={};U.length;db={uncaughtPromiseError:void 0}){db.uncaughtPromiseError=U.shift();try{db.uncaughtPromiseError.zone.runGuarded(function(Ra){return function(){if(Ra.uncaughtPromiseError.throwOriginal)throw Ra.uncaughtPromiseError.rejection;
throw Ra.uncaughtPromiseError;}}(db))}catch(Ra){f(Ra)}}};var Aa=P("unhandledPromiseRejectionHandler"),Ya=P("state"),ea=P("value"),na=P("finally"),Da=P("parentPromiseValue"),Ia=P("parentPromiseState"),Xa=function(){var db=!1;return function(Ra){return function(){db||(db=!0,Ra.apply(null,arguments))}}},yb=P("currentTaskTrace"),Rb=P("rejectionHandledHandler"),Sb=function(){},Wa=b.AggregateError,Hb=function(db){if(!(this instanceof Hb))throw Error("sa");this[Ya]=null;this[ea]=[];try{var Ra=Xa();db&&db(Ra(q(this,
!0)),Ra(q(this,!1)))}catch(nb){t(this,!1,nb)}};Hb.toString=function(){return"function ZoneAwarePromise() { [native code] }"};Hb.resolve=function(db){return db instanceof Hb?db:t(new this(null),!0,db)};Hb.reject=function(db){return t(new this(null),!1,db)};Hb.any=function(db){if(!db||"function"!==typeof db[Symbol.iterator])return Promise.reject(new Wa([],"All promises were rejected"));var Ra=[],nb=0;try{for(var Nb=k(db),tb=Nb.next();!tb.done;tb=Nb.next()){var cc=tb.value;nb++;Ra.push(Hb.resolve(cc))}}catch(Bc){return Promise.reject(new Wa([],
"All promises were rejected"))}if(0===nb)return Promise.reject(new Wa([],"All promises were rejected"));var pc=!1,mc=[];return new Hb(function(Bc,Qc){for(var Xd=0;Xd<Ra.length;Xd++)Ra[Xd].then(function(Ld){pc||(pc=!0,Bc(Ld))},function(Ld){mc.push(Ld);nb--;0===nb&&(pc=!0,Qc(new Wa(mc,"All promises were rejected")))})})};Hb.race=function(db){function Ra(mc){Nb(mc)}function nb(mc){tb(mc)}var Nb,tb,cc=new this(function(mc,Bc){Nb=mc;tb=Bc});db=k(db);for(var pc=db.next();!pc.done;pc=db.next())(pc=pc.value)&&
pc.then||(pc=this.resolve(pc)),pc.then(Ra,nb);return cc};Hb.all=function(db){return Hb.allWithCallback(db)};Hb.allSettled=function(db){return(this&&this.prototype instanceof Hb?this:Hb).allWithCallback(db,{thenCallback:function(Ra){return{status:"fulfilled",value:Ra}},errorCallback:function(Ra){return{status:"rejected",reason:Ra}}})};Hb.allWithCallback=function(db,Ra){var nb,Nb,tb=new this(function(Xd,Ld){nb=Xd;Nb=Ld}),cc=2,pc=0,mc=[];db=k(db);for(var Bc=db.next(),Qc={};!Bc.done;Qc={curValueIndex:void 0},
Bc=db.next()){(Bc=Bc.value)&&Bc.then||(Bc=this.resolve(Bc));Qc.curValueIndex=pc;try{Bc.then(function(Xd){return function(Ld){mc[Xd.curValueIndex]=Ra?Ra.thenCallback(Ld):Ld;cc--;0===cc&&nb(mc)}}(Qc),function(Xd){return function(Ld){Ra?(mc[Xd.curValueIndex]=Ra.errorCallback(Ld),cc--,0===cc&&nb(mc)):Nb(Ld)}}(Qc))}catch(Xd){Nb(Xd)}cc++;pc++}cc-=2;0===cc&&nb(mc);return tb};Ac.Object.defineProperty(Hb.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});Ac.Object.defineProperty(Hb.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Hb}});Hb.prototype.then=function(db,Ra){var nb,Nb=null==(nb=this.constructor)?void 0:nb[Symbol.species];Nb&&"function"===typeof Nb||(Nb=this.constructor||Hb);nb=new Nb(Sb);Nb=c.current;null==this[Ya]?this[ea].push(Nb,nb,db,Ra):B(this,Nb,nb,db,Ra);return nb};Hb.prototype.catch=function(db){return this.then(null,db)};Hb.prototype.finally=function(db){var Ra,nb=null==(Ra=this.constructor)?void 0:Ra[Symbol.species];nb&&"function"===typeof nb||
(nb=Hb);Ra=new nb(Sb);Ra[na]=na;nb=c.current;null==this[Ya]?this[ea].push(nb,Ra,db,db):B(this,nb,Ra,db,db);return Ra};Hb.resolve=Hb.resolve;Hb.reject=Hb.reject;Hb.race=Hb.race;Hb.all=Hb.all;pa=b[pa]=b.Promise;b.Promise=Hb;var od=P("thenPatched");d.patchThen=D;pa&&(D(pa),Hc(b,"fetch",function(db){return J(db)}));Promise[c.__symbol__("uncaughtPromiseErrors")]=U;return Hb})})(lv);
(function(a){a.__load_patch("toString",function(b){var c=Function.prototype.toString,d=zc("OriginalDelegate"),e=zc("Promise"),f=zc("Error"),h=function(){if("function"===typeof this){var q=this[d];if(q)return"function"===typeof q?c.call(q):Object.prototype.toString.call(q);if(this===Promise&&(q=b[e])||this===Error&&(q=b[f]))return c.call(q)}return c.call(this)};h[d]=c;Function.prototype.toString=h;var l=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&
this instanceof Promise?"[object Promise]":l.call(this)}})})(lv);
(function(a){a.__load_patch("util",function(b,c,d){var e=sea(b);d.patchOnProperties=lea;d.patchMethod=Hc;d.bindArguments=eea;d.patchMacroTask=nea;var f=c.__symbol__("BLACK_LISTED_EVENTS"),h=c.__symbol__("UNPATCHED_EVENTS");b[h]&&(b[f]=b[h]);b[f]&&(c[f]=c[h]=b[f]);d.patchEventPrototype=Cea;d.patchEventTarget=Bea;d.isIEOrEdge=qea;d.ObjectDefineProperty=jea;d.ObjectGetOwnPropertyDescriptor=Cc;d.ObjectCreate=sSb;d.ArraySlice=tSb;d.patchClass=Gc;d.wrapWithCurrentZone=dea;d.filterProperties=rea;d.attachOriginToPatched=
Dc;d._redefineProperty=Object.defineProperty;d.patchCallbacks=bea;d.getGlobalObjects=function(){return{globalSources:xea,zoneSymbolEventNames:Kc,eventNames:e,isBrowser:ySb,isMix:zSb,isNode:wea,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:Jc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})})(lv);
(function(){var a="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Kea;Jea()});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){Lea(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Nea(e,c)||(d="undefined"!==typeof WebSocket,Pea(e),e.patchClass("XMLHttpRequest"),d&&Mea(e,c),Zone[e.symbol("patchEvents")]=!0)})}})();
(function(a){a.__load_patch("legacy",function(b){(b=b[a.__symbol__("legacyPatch")])&&b()});a.__load_patch("timers",function(b){Nc(b,"set","clear","Timeout");Nc(b,"set","clear","Interval");Nc(b,"set","clear","Immediate")});a.__load_patch("requestAnimationFrame",function(b){Nc(b,"request","cancel","AnimationFrame");Nc(b,"mozRequest","mozCancel","AnimationFrame");Nc(b,"webkitRequest","webkitCancel","AnimationFrame")});a.__load_patch("blocking",function(b,c){for(var d=["alert","prompt","confirm"],e=0;e<
d.length;e++)Hc(b,d[e],function(f,h,l){return function(q,t){return c.current.run(f,b,t,l)}})});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,l=e.FALSE_STR;e=e.ZONE_SYMBOL_PREFIX;for(var q=0;q<c.length;q++){var t=c[q],w=e+(t+l),B=e+(t+h);f[t]={};f[t][l]=w;f[t][h]=B}(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(){Gc("MutationObserver");Gc("WebKitMutationObserver")});a.__load_patch("IntersectionObserver",function(){Gc("IntersectionObserver")});a.__load_patch("FileReader",function(){Gc("FileReader")});a.__load_patch("on_property",function(b,c,d){if((!wea||zSb)&&!Zone[d.symbol("patchEvents")]){c=b.__Zone_ignore_on_properties;d=[];if(ySb){var e=window;d=d.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));
a:{try{var f=Ic.navigator.userAgent;if(-1!==f.indexOf("MSIE ")||-1!==f.indexOf("Trident/")){var h=!0;break a}}catch(q){}h=!1}f=h?[{target:e,ignoreProperties:["error"]}]:[];h=sea(e);var l=c?c.concat(f):c;f=mea(e);e&&(h=rea(e,h,l),lea(e,h,f))}d=d.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(e=0;e<d.length;e++)(f=b[d[e]])&&f.prototype&&(h=f.prototype,f=sea(f.prototype),h&&(f=rea(h,f,c),lea(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(t){function w(Aa){var Ya=Aa.data,ea=Ya.target;ea[h]=!1;ea[q]=!1;var na=
ea[f];H||(H=ea[uSb],O=ea[vSb]);na&&O.call(ea,"readystatechange",na);na=ea[f]=function(){if(ea.readyState===ea.DONE)if(!Ya.aborted&&ea[h]&&"scheduled"===Aa.state){var Da=ea[c.__symbol__("loadfalse")];if(0!==ea.status&&Da&&0<Da.length){var Ia=Aa.invoke;Aa.invoke=function(){for(var Xa=ea[c.__symbol__("loadfalse")],yb=0;yb<Xa.length;yb++)Xa[yb]===Aa&&Xa.splice(yb,1);Ya.aborted||"scheduled"!==Aa.state||Ia.call(Aa)};Da.push(Aa)}else Aa.invoke()}else Ya.aborted||!1!==ea[h]||(ea[q]=!0)};H.call(ea,"readystatechange",
na);ea[d]||(ea[d]=Aa);pa.apply(ea,Ya.args);ea[h]=!0;return Aa}function B(){}function D(Aa){Aa=Aa.data;Aa.aborted=!0;return ka.apply(Aa.target,Aa.args)}var J=t.XMLHttpRequest;if(J){J=J.prototype;var H=J[uSb],O=J[vSb];!H&&(t=t.XMLHttpRequestEventTarget)&&(t=t.prototype,H=t[uSb],O=t[vSb]);var P=Hc(J,"open",function(){return function(Aa,Ya){Aa[e]=0==Ya[2];Aa[l]=Ya[1];return P.apply(Aa,Ya)}}),U=zc("fetchTaskAborting"),aa=zc("fetchTaskScheduling"),pa=Hc(J,"send",function(){return function(Aa,Ya){if(!0===
c.current[aa]||Aa[e])return pa.apply(Aa,Ya);Ya={target:Aa,url:Aa[l],isPeriodic:!1,args:Ya,aborted:!1};var ea=Zone.current.scheduleMacroTask("XMLHttpRequest.send",B,Ya,w,D);Aa&&!0===Aa[q]&&!Ya.aborted&&"scheduled"===ea.state&&ea.invoke()}}),ka=Hc(J,"abort",function(){return function(Aa,Ya){var ea=Aa[d];if(ea&&"string"==typeof ea.type)null==ea.cancelFn||ea.data&&ea.data.aborted||ea.zone.cancelTask(ea);else if(!0===c.current[U])return ka.apply(Aa,Ya)}})}})(b);var d=zc("xhrTask"),e=zc("xhrSync"),f=zc("xhrListener"),
h=zc("xhrScheduled"),l=zc("xhrURL"),q=zc("xhrErrorBeforeScheduled")});a.__load_patch("geolocation",function(b){b.navigator&&b.navigator.geolocation&&gea(b.navigator.geolocation)});a.__load_patch("PromiseRejectionEvent",function(b,c){function d(e){return function(f){zea(b,e).forEach(function(h){var l=b.PromiseRejectionEvent;l&&(l=new l(e,{promise:f.promise,reason:f.rejection}),h.invoke(l))})}}b.PromiseRejectionEvent&&(c[zc("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[zc("rejectionHandledHandler")]=
d("rejectionhandled"))});a.__load_patch("queueMicrotask",function(b,c,d){Qea(b,d)})})(lv);(function(a){a.__load_patch("canvas",function(b,c,d){b=b.HTMLCanvasElement;"undefined"!==typeof b&&b.prototype&&b.prototype.toBlob&&d.patchMacroTask(b.prototype,"toBlob",function(e,f){return{name:"HTMLCanvasElement.toBlob",target:e,cbIdx:0,args:f}})})})(lv);var Sea=Oc({"\u0275prov":Oc}),Wea=Oc({"\u0275inj":Oc}),Tea=Oc({ngInjectableDef:Oc}),Xea=Oc({ngInjectorDef:Oc});var Uc=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(Uc,Error);var gd=Oc({"\u0275cmp":Oc}),Gfa=Oc({"\u0275dir":Oc}),Kfa=Oc({"\u0275pipe":Oc}),CSb=Oc({"\u0275mod":Oc}),Mfa=Oc({"\u0275fac":Oc}),Nd=Oc({__NG_ELEMENT_ID__:Oc}),DSb=Oc({__NG_ENV_ID__:Oc});var bfa=null,cfa=!1,kfa=1,pfa=Symbol("ua"),ESb={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};var FSb=Symbol("va"),GSb=Symbol("wa"),HSb=Symbol("xa");Object.assign({},ESb,{value:FSb,dirty:!0,error:null,equal:afa,producerMustRecompute:function(a){return a.value===FSb||a.value===GSb},producerRecomputeValue:function(a){if(a.value===GSb)throw Error("ya");var b=a.value;a.value=GSb;var c=ffa(a);try{var d=a.computation()}catch(e){d=HSb,a.error=e}finally{ifa(a,c)}b!==FSb&&b!==HSb&&d!==HSb&&a.equal(b,d)?a.value=b:(a.value=d,a.version++)}});var Nka=function(){throw Error();};var ISb=Object.assign({},ESb,{equal:afa,value:void 0});var ofa=function(){},nfa=Object.assign({},ESb,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){null!==a.schedule&&a.schedule(a.ref)},hasRun:!1,cleanupFn:ofa});var Wc;var tfa=Oc({__forward_ref__:Oc});var rd=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=Pc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};rd.prototype.toString=function(){return"InjectionToken "+this._desc};Ac.Object.defineProperties(rd.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Fe=globalThis;var JSb={},KSb=/\n/gm,$c=void 0;var Wfa=new rd("");var LSb=new rd("",-1);var Vfa=new rd("");var $fa=function(){};$fa.prototype.get=function(a,b){b=void 0===b?JSb:b;if(b===JSb)throw a=Error("Aa`"+Tc(a)),a.name="NullInjectorError",a;return b};var id={},fd=[];var Xfa=Oc({provide:String,useValue:Oc});var Ima=new rd("");var ega={},MSb={},Zfa=void 0,nv=function(){},td=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;gga(a,function(f){return NSb(e,f)});this.records.set(LSb,sd(void 0,this));d.has("environment")&&this.records.set(nv,sd(void 0,this));a=this.records.get(Ima);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Vfa,fd,2))};Y(td,nv);
td.prototype.destroy=function(){hga(this);this._destroyed=!0;var a=Vc(null);try{for(var b=k(this._ngOnDestroyHooks),c=b.next();!c.done;c=b.next())c.value.ngOnDestroy();var d=this._onDestroyHooks;this._onDestroyHooks=[];for(var e=k(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Vc(a)}};
td.prototype.onDestroy=function(a){var b=this;hga(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};
td.prototype.get=function(a,b,c){b=void 0===b?JSb:b;c=void 0===c?0:c;hga(this);if(a.hasOwnProperty(DSb))return a[DSb](this);c=vfa(c);var d=ad(this),e=Xc();try{if(!(c&4)){var f=this.records.get(a);if(void 0===f){var h=("function"===typeof a||"object"===typeof a&&a instanceof rd)&&Uea(a),l;if(l=h)if(h.providedIn){var q=Zc(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?f=sd(cga(a),ega):f=null;this.records.set(a,f)}if(null!=f){a:{b=f;var t=Vc(null);
try{b.value===ega&&(b.value=MSb,b.value=b.factory());var w;if(w="object"===typeof b.value&&b.value){var B=b.value;w=null!==B&&"object"===typeof B&&"function"===typeof B.ngOnDestroy}w&&this._ngOnDestroyHooks.add(b.value);var D=b.value;break a}finally{Vc(t)}D=void 0}return D}}var J=c&2?aga():this.parent;b=c&8&&b===JSb?null:b;return J.get(a,b)}catch(Aa){if("NullInjectorError"===Aa.name){(Aa.ngTempTokenPath=Aa.ngTempTokenPath||[]).unshift(Tc(a));if(d)throw Aa;D=Aa;var H=this.source,O=D.ngTempTokenPath;
a.__source&&O.unshift(a.__source);var P="\n"+D.message;a=H;a=void 0===a?null:a;P=P&&"\n"===P.charAt(0)&&"\u0275"==P.charAt(1)?P.slice(2):P;var U=Tc(O);if(Array.isArray(O))U=O.map(Tc).join(" -> ");else if("object"===typeof O){H=[];for(var aa in O)if(O.hasOwnProperty(aa)){var pa=O[aa];H.push(aa+":"+("string"===typeof pa?JSON.stringify(pa):Tc(pa)))}U="{"+H.join(", ")+"}"}var ka="R3InjectorError"+(a?"("+a+")":"")+"["+U+"]: "+P.replace(KSb,"\n  ");D.message=ka;D.ngTokenPath=O;D.ngTempTokenPath=null;throw D;
}throw Aa;}finally{Xc(e),ad(d)}};var Tga=function(a){var b=Vc(null),c=ad(a),d=Xc();try{for(var e=a.get(Wfa,fd,2),f=k(e),h=f.next();!h.done;h=f.next()){var l=h.value;l()}}finally{ad(c),Xc(d),Vc(b)}};td.prototype.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Tc(c.value));return"R3Injector["+a.join(", ")+"]"};
var hga=function(a){if(a._destroyed)throw new Uc(205,!1);},NSb=function(a,b){b=Zc(b);var c=qd(b)?b:Zc(b&&b.provide),d=fga(b);if(!qd(b)&&!0===b.multi){var e=a.records.get(c);e||(e=sd(void 0,ega,!0),e.factory=function(){return wfa(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};Ac.Object.defineProperties(td.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var mga=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};mga.prototype.isFirstChange=function(){return this.firstChange};xd.ngInherit=!0;var Ed=uga(null),hja=null,qia=!1,Ef=!0;var Rd=function(a,b){var c=C;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var Cga=!0,Ega=0,Pd={},Sd=function(a,b){this._tNode=a;this._lView=b};Sd.prototype.get=function(a,b,c){return Nga(this._tNode,this._lView,a,vfa(c),b)};var OSb=cd(Ud(function(a){return{token:a}}),-1),ov=cd(Ud(),8);cd(Ud(),2);var pv=cd(Ud(),4);cd(Ud(),1);Oc({provide:String,useValue:Oc});var Ie=function(){},Mg=function(a){if(Array.isArray(a))return Uga({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Uga({name:c},a.parent,a.providers,c)},PSb=new $fa;Ie.\u0275prov=Pc({token:Ie,providedIn:"any",factory:function(){return p(LSb)}});Ie.__NG_ELEMENT_ID__=-1;var qv=function(){};var rv=function(){},Yva=function(){};var Ig=function(){},QSb=new rd("",{providedIn:"root",factory:function(){return!1}}),Ama=new rd("");var Vga=void 0;var Xga=new Map,fja=0;var RSb=new rd("",{providedIn:"root",factory:function(){return"ng"}}),Kma=new rd(""),Je=new rd("",{providedIn:"platform",factory:function(){return"unknown"}});new rd("");
var sv=new rd(""),SSb=new rd("",{providedIn:"root",factory:function(){var a,b;return(null==(a=Wga().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}}),TSb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};new rd("",{providedIn:"root",factory:function(){return TSb}});var USb=function(){},VSb=function(){};var Wd=function(a){this.nativeElement=a};Wd.__NG_ELEMENT_ID__=function(){return Yd(Fd(),v())};var WSb=function(){},tv=function(){this.destroyNode=null};tv.__NG_ELEMENT_ID__=function(){var a=v(),b=Ad(Fd().index,a);return(vd(b)?b:a)[11]};var XSb=this,bf=function(){this._console=console};bf.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};bf.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};var yma=new rd("",{providedIn:"root",factory:function(){return bd(bf).handleError.bind(XSb)}});var Me=function(){};Me.__NG_ELEMENT_ID__=$ga;Me.__NG_ENV_ID__=function(a){return a};var Zd=function(a){this._lView=a};Y(Zd,Me);Zd.__NG_ENV_ID__=Me.__NG_ENV_ID__;Zd.__NG_ELEMENT_ID__=Me.__NG_ELEMENT_ID__;Zd.prototype.onDestroy=function(a){var b=this;pga(this._lView,a);return function(){var c=b._lView;if(null!==c[21]){var d=c[21].indexOf(a);-1!==d&&c[21].splice(d,1)}}};var bha=new Set;var YSb=!1,ZSb=!1,fe={quietBadConfig:!1,Promise:void 0,set useDeprecatedSynchronousErrorHandling(a){this.quietBadConfig||(a?console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Error().stack):YSb&&console.log("RxJS: Back to a better error behavior. Thank you. <3"));YSb=a},get useDeprecatedSynchronousErrorHandling(){return YSb},set useDeprecatedNextContext(a){this.quietBadConfig||(a?console.warn("DEPRECATED! RxJS was set to use deprecated next context. This will result in deoptimizations when creating any new subscription. \n"+
Error().stack):ZSb&&console.log("RxJS: back to more optimized subscription creation. Thank you. <3"));ZSb=a},get useDeprecatedNextContext(){return ZSb}};var $Sb={closed:!0,next:function(){},error:function(a){if(fe.useDeprecatedSynchronousErrorHandling)throw a;cha(a)},complete:function(){}};var aTb=be(function(a){return function(b){a(this);this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"";this.name="UnsubscriptionError";this.errors=b}});var de=function(a){this.initialTeardown=a;this.closed=!1;this._teardowns=this._parents=this._singleParent=null};g=de.prototype;
g.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this._singleParent,b;if(a)this._singleParent=null,a.remove(this);else if(b=this._parents){this._parents=null;for(var c=k(b),d=c.next();!d.done;d=c.next())d.value.remove(this)}c=this.initialTeardown;if(ce(c))try{c()}catch(h){var e=h instanceof aTb?h.errors:[h]}var f=this._teardowns;this._teardowns=null;if(f)for(c=k(f),d=c.next();!d.done;d=c.next()){d=d.value;try{"function"===typeof d?d():d.unsubscribe()}catch(h){d=void 0,e=null!=(d=e)?
d:[],h instanceof aTb?e=[].concat(u(e),u(h.errors)):e.push(h)}}if(e)throw new aTb(e);}};g.add=function(a){if(a&&a!==this)if(this.closed)"function"===typeof a?a():a.unsubscribe();else{if(a instanceof de){if(a.closed||a._hasParent(this))return;a._addParent(this)}var b;this._teardowns=null!=(b=this._teardowns)?b:[];this._teardowns.push(a)}};g._hasParent=function(a){var b;return this._singleParent===a||(null==(b=this._parents)?void 0:b.includes(a))||!1};
g._addParent=function(a){var b=this._singleParent,c;b?(this._parents=[b,a],this._singleParent=null):(c=this._parents)?c.push(a):this._singleParent=a};g._removeParent=function(a){var b=this._singleParent,c;if(b)b===a&&(this._singleParent=null);else if(c=this._parents)a=c.indexOf(a),0<=a&&c.splice(a,1)};g.remove=function(a){var b=this._teardowns;if(b){var c=b.indexOf(a);0<=c&&b.splice(c,1)}a instanceof de&&a._removeParent(this)};var bTb=new de;bTb.closed=!0;de.EMPTY=bTb;var uv=function(a,b,c){de.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=$Sb;break;case 1:if(!a){this.destination=$Sb;break}if("object"===typeof a){a instanceof uv?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new vv(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new vv(this,a,b,c)}};Y(uv,de);
uv.EMPTY=de.EMPTY;uv.create=function(a,b,c){a=new uv(a,b,c);a.syncErrorThrowable=!1;return a};g=uv.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,de.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 vv=function(a,b,c,d){uv.call(this);this._parentSubscriber=a;if(ce(b))var e=b;else if(b&&(e=b.next,c=b.error,d=b.complete,b!==$Sb)){if(fe.useDeprecatedNextContext){var f=Object.create(b);f.unsubscribe=this.unsubscribe.bind(this)}else f=b;e=e&&e.bind(f);c=c&&c.bind(f);d=d&&d.bind(f);dha(b)&&b.add(this.unsubscribe.bind(this))}this._next=e;this._error=c;this._complete=d};Y(vv,uv);vv.EMPTY=uv.EMPTY;vv.create=uv.create;g=vv.prototype;
g.next=function(a){if(!this.isStopped&&this._next)try{this._next(a)}catch(b){this._throw(b)}};g.error=function(a){if(!this.isStopped)if(this._error){try{this._error(a)}catch(b){this._throw(b);return}this.unsubscribe()}else this._throw(a)};g._throw=function(a){this.unsubscribe();if(fe.useDeprecatedSynchronousErrorHandling){var b=this._parentSubscriber;if(null==b?0:b.syncErrorThrowable)b.syncErrorValue=a,b.syncErrorThrown=!0;else throw a;}else cha(a)};
g.complete=function(){if(!this.isStopped){if(this._complete)try{this._complete()}catch(a){this._throw(a);return}this.unsubscribe()}};g.unsubscribe=function(){if(!this.closed){var a=this._parentSubscriber;this._parentSubscriber=null;a.unsubscribe();uv.prototype.unsubscribe.call(this)}};var ue="function"===typeof Symbol&&Symbol.observable||"@@observable";var cTb=function(a){uv.call(this);this.destination=a};Y(cTb,uv);cTb.EMPTY=uv.EMPTY;cTb.create=uv.create;var ge=function(a){a&&(this._subscribe=a)};g=ge.prototype;g.lift=function(a){var b=new ge;b.source=this;b.operator=a;return b};
g.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof uv||fha(a)&&dha(a))break a;if(fha(a)){a=new cTb(a);break a}}a=a||b||c?new uv(a,b,c):new uv($Sb)}d?a.add(d.call(a,this.source)):a.add(this.source||fe.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(fe.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
g._trySubscribe=function(a){try{return this._subscribe(a)}catch(f){if(fe.useDeprecatedSynchronousErrorHandling)a.syncErrorThrown=!0,a.syncErrorValue=f;else{var b;a:{for(b=a;b;){var c=b,d=c.destination,e=c.isStopped;if(c.closed||e){b=!1;break a}d&&d instanceof uv?b=d:b=null}b=!0}b?a.error(f):console.warn(f)}}};g.forEach=function(a,b){var c=this;b=gha(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(l){e(l),f&&f.unsubscribe()}},e,d)})};
g._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};ge.prototype[ue]=function(){return this};ge.prototype.pipe=function(){var a=pd.apply(0,arguments);return 0===a.length?this:eha(a)(this)};var dTb=function(a){var b=gha(b);return new b(function(c,d){var e;a.subscribe(function(f){return e=f},function(f){return d(f)},function(){return c(e)})})};ge.create=function(a){return new ge(a)};var wv=function(a,b){de.call(this);this.subject=a;this.subscriber=b;this.closed=!1};Y(wv,de);wv.EMPTY=de.EMPTY;wv.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this.subject,b=a.observers;this.subject=null;!b||0===b.length||a.isStopped||a.closed||(a=b.indexOf(this.subscriber),-1!==a&&b.splice(a,1))}};var xv=be(function(a){return function(){a(this);this.message="object unsubscribed"}});var sf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};Y(sf,ge);g=sf.prototype;g.lift=function(a){var b=new yv(this,this);b.operator=a;return b};g.next=function(a){if(this.closed)throw new xv;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
g.error=function(a){if(this.closed)throw new xv;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};g.complete=function(){if(this.closed)throw new xv;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};g.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
g._trySubscribe=function(a){if(this.closed)throw new xv;return ge.prototype._trySubscribe.call(this,a)};g._subscribe=function(a){if(this.closed)throw new xv;if(this.hasError)return a.error(this.thrownError),de.EMPTY;if(this.isStopped)return a.complete(),de.EMPTY;this.observers.push(a);return new wv(this,a)};var xr=function(a){var b=new ge;b.source=a;return b};
Ac.Object.defineProperties(sf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});sf.create=function(a,b){return new yv(a,b)};var yv=function(a,b){sf.call(this);this.destination=a;this.source=b};Y(yv,sf);yv.create=sf.create;yv.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};yv.prototype.error=function(a){this.destination&&this.destination.error(a)};
yv.prototype.complete=function(){this.destination&&this.destination.complete()};yv.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):de.EMPTY};var zv=function(){sf.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};Y(zv,sf);zv.create=sf.create;zv.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),de.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),de.EMPTY):sf.prototype._subscribe.call(this,a)};zv.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};zv.prototype.error=function(a){this.hasCompleted||sf.prototype.error.call(this,a)};
zv.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&sf.prototype.next.call(this,this.value);sf.prototype.complete.call(this)};var Av=function(a){sf.call(this);this._value=a};Y(Av,sf);Av.create=sf.create;Av.prototype._subscribe=function(a){var b=sf.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Av.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new xv;return this._value};Av.prototype.next=function(a){sf.prototype.next.call(this,this._value=a)};Ac.Object.defineProperties(Av.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Ae=new ge(function(a){return a.complete()});var jha=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var eTb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};eTb.prototype.observe=function(a){switch(this.kind){case "N":var b;null==(b=a.next)||b.call(a,this.value);break;case "E":var c;null==(c=a.error)||c.call(a,this.error);break;case "C":var d;null==(d=a.complete)||d.call(a)}};
eTb.prototype.accept=function(a,b,c){if(a&&"function"===typeof a.next)a=this.observe(a);else{switch(this.kind){case "N":null==a||a(this.value);break;case "E":null==b||b(this.error);break;case "C":null==c||c()}a=void 0}return a};var fTb={now:function(){return(fTb.delegate||Date).now()},delegate:void 0};var rf=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?fTb:c;sf.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=1>a?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};Y(rf,sf);rf.create=sf.create;g=rf.prototype;
g.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();sf.prototype.next.call(this,a)};g.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();sf.prototype.next.call(this,a)};
g._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new xv;if(this.isStopped||this.hasError)var e=de.EMPTY;else this.observers.push(a),e=new wv(this,a);if(b)for(var f=0;f<d&&!a.closed;f++)a.next(c[f]);else for(f=0;f<d&&!a.closed;f++)a.next(c[f].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};g._getNow=function(){var a=this.timestampProvider;return a?a.now():fTb.now()};
g._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,f=0;f<e&&!(a-d[f].time<c);)f++;e>b&&(f=Math.max(f,e-b));0<f&&d.splice(0,f);return d};var hTb=function(a,b){b=void 0===b?gTb:b;this.SchedulerAction=a;this.now=b};hTb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var gTb=fTb.now;var nf=be(function(a){return function(){a(this);this.message="no elements in sequence"}});var je=function(a,b,c,d,e){uv.call(this,a);this.onUnsubscribe=e;b&&(this._next=function(f){try{null==b||b(f)}catch(h){this.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(je,uv);je.EMPTY=uv.EMPTY;je.create=uv.create;je.prototype.unsubscribe=function(){var a;this.closed||null!=(a=this.onUnsubscribe)&&a.call(this);uv.prototype.unsubscribe.call(this)};var Bv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};Y(Bv,ge);Bv.create=ge.create;Bv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Bv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Bv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new de,a.add(this.source.subscribe(new Cv(this.getSubject(),this))),a.closed&&(this._connection=null,a=de.EMPTY));return a};Bv.prototype.refCount=function(){return ke()(this)};var wka,Dv=Bv.prototype;
wka={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Dv._subscribe},_isComplete:{value:Dv._isComplete,writable:!0},getSubject:{value:Dv.getSubject},connect:{value:Dv.connect},refCount:{value:Dv.refCount}};var Cv=function(a,b){uv.call(this);this.destination=a;this.connectable=b};Y(Cv,uv);Cv.EMPTY=uv.EMPTY;Cv.create=uv.create;Cv.prototype._error=function(a){this._teardown();uv.prototype._error.call(this,a)};
Cv.prototype._complete=function(){this.connectable._isComplete=!0;this._teardown();uv.prototype._complete.call(this)};Cv.prototype._teardown=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._connection;a._refCount=0;a._subject=null;a._connection=null;b&&b.unsubscribe()}};Cv.prototype.unsubscribe=function(){this.closed||(this._teardown(),uv.prototype.unsubscribe.call(this))};var pha=function(a){this.project=a;this.thisArg=void 0};pha.prototype.call=function(a,b){return b.subscribe(new Ev(a,this.project,this.thisArg))};var Ev=function(a,b,c){uv.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};Y(Ev,uv);Ev.EMPTY=uv.EMPTY;Ev.create=uv.create;Ev.prototype._next=function(a){try{var b=this.project.call(this.thisArg,a,this.count++)}catch(c){this.destination.error(c);return}this.destination.next(b)};var le=Array.isArray||function(a){return a&&"number"===typeof a.length};var zha="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var Dha=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var iTb=function(a){return function(b){var c=a[zha]();do{var d=void 0;try{d=c.next()}catch(e){b.error(e);return}if(d.done){b.complete();break}b.next(d.value);if(b.closed)break}while(1);"function"===typeof c.return&&b.add(function(){c.return&&c.return()});return b}};var jTb=function(a){return function(b){var c=a[ue]();if("function"!==typeof c.subscribe)throw new TypeError("Fa");return c.subscribe(b)}};var kTb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,cha);return b}};var xha=function(a){if(a&&"function"===typeof a[ue])return jTb(a);if(Dha(a))return jha(a);if(tha(a))return kTb(a);if(a&&"function"===typeof a[zha])return iTb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return vha(a);throw new TypeError("Ga`"+(sha(a)?"an invalid object":"'"+a+"'"));};var Fv=function(a){uv.call(this);this.parent=a};Y(Fv,uv);Fv.EMPTY=uv.EMPTY;Fv.create=uv.create;Fv.prototype._next=function(a){this.parent.notifyNext(a)};Fv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Fv.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var Gv=function(a,b,c){uv.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};Y(Gv,uv);Gv.EMPTY=uv.EMPTY;Gv.create=uv.create;
Gv.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};Gv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Gv.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var Hv=function(){uv.apply(this,arguments)};Y(Hv,uv);Hv.EMPTY=uv.EMPTY;Hv.create=uv.create;Hv.prototype.notifyNext=function(a){this.destination.next(a)};Hv.prototype.notifyError=function(a){this.destination.error(a)};
Hv.prototype.notifyComplete=function(){this.destination.complete()};var Iv=function(){uv.apply(this,arguments)};Y(Iv,uv);Iv.EMPTY=uv.EMPTY;Iv.create=uv.create;Iv.prototype.notifyNext=function(a,b){this.destination.next(b)};Iv.prototype.notifyError=function(a){this.destination.error(a)};Iv.prototype.notifyComplete=function(){this.destination.complete()};var lTb={},Xja=function(a,b){this.resultSelector=a;this.keys=b};Xja.prototype.call=function(a,b){return b.subscribe(new Jv(a,this.resultSelector,this.keys))};var Jv=function(a,b,c){Iv.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};Y(Jv,Iv);Jv.EMPTY=Iv.EMPTY;Jv.create=Iv.create;g=Jv.prototype;g._next=function(a){this.values.push(lTb);this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{this.toRespond=this.active=b;for(var c=0;c<b;c++)this.add(te(a[c],new Gv(this,null,c)))}};g.notifyComplete=function(){0===--this.active&&this.destination.complete()};
g.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===lTb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(f,h,l){return f[h]=d[l],f},{}):d.slice()))};g._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var Fha=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};Fha.prototype.call=function(a,b){return b.subscribe(new Kv(a,this.project,this.concurrent))};var Kv=function(a,b,c){c=void 0===c?Infinity:c;Hv.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};Y(Kv,Hv);Kv.EMPTY=Hv.EMPTY;Kv.create=Hv.create;
Kv.prototype._next=function(a){if(this.active<this.concurrent){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}this.active++;a=new Fv(this);this.destination.add(a);te(c,a)}else this.buffer.push(a)};Kv.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};Kv.prototype.notifyNext=function(a){this.destination.next(a)};
Kv.prototype.notifyComplete=function(){var a=this.buffer;this.active--;0<a.length?this._next(a.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};var Iha=function(a){var b=cancelAnimationFrame,c=requestAnimationFrame(function(d){b=void 0;a(d)});return new de(function(){var d;return null==(d=b)?void 0:d(c)})},mTb=function(){return requestAnimationFrame.apply(null,u(pd.apply(0,arguments)))},nTb=function(){cancelAnimationFrame.apply(null,u(pd.apply(0,arguments)))};var Hha={now:function(){return(Hha.delegate||performance).now()},delegate:void 0};var oTb=Jha();var Lv=function(){de.call(this)};Y(Lv,de);Lv.EMPTY=de.EMPTY;Lv.prototype.schedule=function(){return this};var pTb=function(a,b){return setInterval.apply(null,[a,b].concat(u(pd.apply(2,arguments))))};var Mv=function(a,b){de.call(this);this.scheduler=a;this.work=b;this.pending=!1};Y(Mv,Lv);Mv.EMPTY=Lv.EMPTY;g=Mv.prototype;g.schedule=function(a,b){b=void 0===b?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;null!=a&&(this.id=this.recycleAsyncId(c,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.requestAsyncId(c,this.id,b);return this};g.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return pTb(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!=c&&this.delay===c&&!1===this.pending)return b;clearInterval(b)};g.execute=function(a,b){if(this.closed)return Error("Ka");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g.unsubscribe=function(){if(!this.closed){var a=this.id,b=this.scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.scheduler=null;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null;Lv.prototype.unsubscribe.call(this)}};var Nv=function(a,b){b=void 0===b?gTb:b;hTb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};Y(Nv,hTb);Nv.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 De=new Nv(Mv);var qTb=new ge(ze);var Tha=function(a,b){this.predicate=a;this.thisArg=b};Tha.prototype.call=function(a,b){return b.subscribe(new Ov(a,this.predicate,this.thisArg))};var Ov=function(a,b,c){uv.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};Y(Ov,uv);Ov.EMPTY=uv.EMPTY;Ov.create=uv.create;Ov.prototype._next=function(a){try{var b=this.predicate.call(this.thisArg,a,this.count++)}catch(c){this.destination.error(c);return}b&&this.destination.next(a)};var Vha=function(){};Vha.prototype.call=function(a,b){return b.subscribe(new Pv(a))};var Pv=function(a){Iv.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};Y(Pv,Iv);Pv.EMPTY=Iv.EMPTY;Pv.create=Iv.create;g=Pv.prototype;g._next=function(a){this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=te(a[c],new Gv(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};g.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};
g.notifyComplete=function(a){this.hasFirst=!0;Iv.prototype.notifyComplete.call(this,a)};g.notifyError=function(a){this.hasFirst=!0;Iv.prototype.notifyError.call(this,a)};var rTb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};Y(rTb,ge);rTb.create=ge.create;rTb.prototype._subscribe=function(a){var b=new de,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new sTb(c));b.add(d.subscribe(a));return b};var sTb=function(a){de.call(this);this.parent=a;a.count++};Y(sTb,de);sTb.EMPTY=de.EMPTY;
sTb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(de.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var bia=be(function(a){return function(b){b=void 0===b?null:b;a(this);this.message="Timeout has occurred";this.name="TimeoutError";this.info=b}});var tTb=function(a,b){a=void 0===a?Qv:a;b=void 0===b?Infinity:b;Nv.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};Y(tTb,Nv);tTb.prototype.flush=function(){for(var a=this.actions,b=this.maxFrames,c,d;(d=a[0])&&d.delay<=b&&!(a.shift(),this.frame=d.delay,c=d.execute(d.state,d.delay)););if(c){for(;d=a.shift();)d.unsubscribe();throw c;}};
var Qv=function(a,b,c){c=void 0===c?a.index+=1:c;Mv.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};Y(Qv,Mv);Qv.EMPTY=Mv.EMPTY;Qv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return Mv.prototype.schedule.call(this,a,b);this.active=!1;var c=new Qv(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return de.EMPTY};
Qv.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(uTb);return!0};Qv.prototype.recycleAsyncId=function(){};Qv.prototype._execute=function(a,b){if(!0===this.active)return Mv.prototype._execute.call(this,a,b)};var uTb=function(a,b){return a.delay===b.delay?a.index===b.index?0:a.index>b.index?1:-1:a.delay>b.delay?1:-1};var Rv=function(a,b){Mv.call(this,a,b);this.scheduler=a;this.work=b};Y(Rv,Mv);Rv.EMPTY=Mv.EMPTY;Rv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Mv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=mTb(function(){return a.flush(void 0)}))};
Rv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!=c&&0<c||null==c&&0<this.delay)return Mv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(nTb(b),a.scheduled=void 0)};var vTb=function(){Nv.apply(this,arguments)};Y(vTb,Nv);vTb.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 wTb=new vTb(Rv);var xTb=1,yTb,cia={},zTb=function(a){var b=xTb++;cia[b]=!0;yTb||(yTb=Promise.resolve());yTb.then(function(){return dia(b)&&a()});return b};var ATb=function(){return zTb.apply(null,u(pd.apply(0,arguments)))};var Sv=function(a,b){Mv.call(this,a,b);this.scheduler=a;this.work=b};Y(Sv,Mv);Sv.EMPTY=Mv.EMPTY;Sv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Mv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=ATb(a.flush.bind(a,void 0)))};
Sv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!=c&&0<c||null==c&&0<this.delay)return Mv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(dia(b),a.scheduled=void 0)};var BTb=function(){Nv.apply(this,arguments)};Y(BTb,Nv);BTb.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 CTb=new BTb(Sv);var Tv=function(a,b){Mv.call(this,a,b);this.scheduler=a;this.work=b};Y(Tv,Mv);Tv.EMPTY=Mv.EMPTY;Tv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return Mv.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};Tv.prototype.execute=function(a,b){return 0<b||this.closed?Mv.prototype.execute.call(this,a,b):this._execute(a,b)};
Tv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!=c&&0<c||null==c&&0<this.delay?Mv.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var DTb=function(){Nv.apply(this,arguments)};Y(DTb,Nv);var ETb=new DTb(Tv);var FTb=be(function(a){return function(){a(this);this.message="argument out of range"}});var GTb=be(function(a){return function(b){a(this);this.message=b}});var HTb=be(function(a){return function(b){a(this);this.message=b}});var X={};X.Observable=ge;X.ConnectableObservable=Bv;X.GroupedObservable=rTb;X.observable=ue;X.animationFrames=function(a){return a?Jha(a):oTb};X.Subject=sf;X.BehaviorSubject=Av;X.ReplaySubject=rf;X.AsyncSubject=zv;X.asap=CTb;X.asapScheduler=CTb;X.async=De;X.asyncScheduler=De;X.queue=ETb;X.queueScheduler=ETb;X.animationFrame=wTb;X.animationFrameScheduler=wTb;X.VirtualTimeScheduler=tTb;X.VirtualAction=Qv;X.Scheduler=hTb;X.Subscription=de;X.Subscriber=uv;X.Notification=eTb;
X.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};X.pipe=function(){return eha(pd.apply(0,arguments))};X.noop=ze;X.identity=ee;X.isObservable=function(a){return!!a&&(a instanceof ge||"function"===typeof a.lift&&"function"===typeof a.subscribe)};X.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(f){e=f;d=!0},error:c,complete:function(){d?b(e):c(new nf)}})})};
X.firstValueFrom=function(a){return new Promise(function(b,c){var d=new de;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new nf)}}))})};X.ArgumentOutOfRangeError=FTb;X.EmptyError=nf;X.NotFoundError=GTb;X.ObjectUnsubscribedError=xv;X.SequenceError=HTb;X.TimeoutError=bia;X.UnsubscriptionError=aTb;X.bindCallback=qha;X.bindNodeCallback=rha;
X.combineLatest=function(){var a=pd.apply(0,arguments),b=void 0,c=void 0,d=void 0;he(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];le(e)&&(a=e);sha(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(f){return e[f]}))}return ie(kha(a,c),new Xja(b,d))};X.concat=ye;X.defer=Gha;X.empty=function(a){return a?hha(a):Ae};
X.forkJoin=function(){var a=pd.apply(0,arguments);if(1===a.length){var b=a[0];if(le(b))return Kha(b,null);if(sha(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),Kha(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&le(a[0])?a[0]:a;return Kha(a,null).pipe(z(function(d){return c.apply(null,u(d))}))}return Kha(a,null)};X.from=ve;X.fromEvent=Lha;X.fromEventPattern=Nha;
X.generate=function(a,b,c,d,e){if(1==arguments.length){var f=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||ee;e=a.scheduler}else void 0===d||he(d)?(f=a,h=ee,e=d):(f=a,h=d);return new ge(function(l){var q=f;if(e)return e.schedule(Oha,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var t=void 0;try{t=b(q)}catch(w){l.error(w);break}if(!t){l.complete();break}}t=void 0;try{t=h(q)}catch(w){l.error(w);break}l.next(t);if(l.closed)break;try{q=c(q)}catch(w){l.error(w);
break}}while(1)})};X.iif=function(a,b,c){b=void 0===b?Ae:b;c=void 0===c?Ae:c;return Gha(function(){return a()?b:c})};X.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?De:b;if(!Pha(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=De);return new ge(function(c){c.add(b.schedule(Qha,a,{subscriber:c,counter:0,period:a}));return c})};
X.merge=function(){var a=pd.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];he(d)?(c=a.pop(),1<a.length&&"number"===typeof a[a.length-1]&&(b=a.pop())):"number"===typeof d&&(b=a.pop());return!c&&1===a.length&&a[0]instanceof ge?a[0]:xe(b)(kha(a,c))};X.never=function(){return qTb};X.of=lha;X.onErrorResumeNext=Rha;
X.pairs=function(a,b){return b?new ge(function(c){var d=Object.keys(a),e=new de;e.add(b.schedule(Sha,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new ge(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var f=d[e];a.hasOwnProperty(f)&&c.next([f,a[f]])}c.complete()})};X.partition=function(a,b,c){return[Ce(b,c)(new ge(xha(a))),Ce(Uha(b,c))(new ge(xha(a)))]};X.race=Wha;
X.range=function(a,b,c){a=void 0===a?0:a;return new ge(function(d){void 0===b&&(b=a,a=0);var e=0,f=a;if(c)return c.schedule(Xha,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(f++);if(d.closed)break}while(1)})};X.throwError=function(a,b){return b?new ge(function(c){return b.schedule(function(){c.error("function"===typeof a?a():a)})}):new ge(function(c){return c.error("function"===typeof a?a():a)})};X.timer=$ha;
X.using=function(a,b){return new ge(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var f=(e?ve(e):Ae).subscribe(c);return function(){f.unsubscribe();d&&d.unsubscribe()}})};
X.zip=function(){var a=pd.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return new ge(function(c){for(var d=a.map(function(){return[]}),e=a.map(function(){return!1}),f=new de,h=function(){if(d.every(function(w){return 0<w.length})){var t=d.map(function(w){return w.shift()});if(b)try{t=b.apply(null,u(t))}catch(w){c.error(w);return}c.next(t);d.some(function(w,B){return 0===w.length&&e[B]})&&c.complete()}},l={i$jscomp$302:0};!c.closed&&l.i$jscomp$302<a.length;l={i$jscomp$302:l.i$jscomp$302},
l.i$jscomp$302++){var q=ve(a[l.i$jscomp$302]);f.add(q.subscribe({next:function(t){return function(w){d[t.i$jscomp$302].push(w);h()}}(l),error:function(t){return c.error(t)},complete:function(t){return function(){e[t.i$jscomp$302]=!0;0===d[t.i$jscomp$302].length&&c.complete()}}(l)}))}return f})};X.scheduled=Eha;X.EMPTY=Ae;X.NEVER=qTb;X.config=fe;var Uv=function(a){a=void 0===a?!1:a;X.Subject.call(this);this.__isAsync=a;void 0===Wc&&null==$c||bd(Me,{optional:!0})};Y(Uv,X.Subject);Uv.create=X.Subject.create;Uv.prototype.emit=function(a){var b=Vc(null);try{X.Subject.prototype.next.call(this,a)}finally{Vc(b)}};
Uv.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&"object"===typeof a){var e;d=null==(e=a.next)?void 0:e.bind(a);var f;b=null==(f=a.error)?void 0:f.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=eia(b),d&&(d=eia(d)),c&&(c=eia(c)));d=X.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof X.Subscription&&a.add(d);return d};var He=function(a){var b=void 0===a.enableLongStackTrace?!1:a.enableLongStackTrace,c=void 0===a.shouldCoalesceEventChangeDetection?!1:a.shouldCoalesceEventChangeDetection;a=void 0===a.shouldCoalesceRunChangeDetection?!1:a.shouldCoalesceRunChangeDetection;this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new Uv(!1);this.onMicrotaskEmpty=new Uv(!1);this.onStable=new Uv(!1);this.onError=new Uv(!1);if("undefined"==typeof Zone)throw new Uc(908,!1);Zone.assertZonePatched();
this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!a&&c;this.shouldCoalesceRunChangeDetection=a;this.callbackScheduled=!1;this.scheduleCallback=fia;lia(this)},ITb=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},JTb=function(){if(ITb())throw new Uc(909,
!1);};He.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};He.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,KTb,gia,gia);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};He.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};He.prototype.runOutsideAngular=function(a){return this._outer.run(a)};
var KTb={},Ge=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Uv;this.onMicrotaskEmpty=new Uv;this.onStable=new Uv;this.onError=new Uv};Ge.prototype.run=function(a,b,c){return a.apply(b,c)};Ge.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};Ge.prototype.runOutsideAngular=function(a){return a()};Ge.prototype.runTask=function(a,b,c){return a.apply(b,c)};var nia={destroy:function(){}},oia=function(a,b){this.phase=a;this.callbackFn=b;this.zone=bd(He);this.errorHandler=bd(bf,{optional:!0});var c;null==(c=bd(Ig,{optional:!0}))||c.notify(1)};oia.prototype.invoke=function(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(b){var a;null==(a=this.errorHandler)||a.handleError(b)}};var Le=function(){this.executingCallbacks=!1;var a={};this.buckets=(a[0]=new Set,a[1]=new Set,a[2]=new Set,a[3]=new Set,a);this.deferredCallbacks=new Set};
Le.prototype.register=function(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)};Le.prototype.unregister=function(a){this.buckets[a.phase].delete(a);this.deferredCallbacks.delete(a)};
Le.prototype.execute=function(){this.executingCallbacks=!0;for(var a=k(Object.values(this.buckets)),b=a.next();!b.done;b=a.next()){b=k(b.value);for(var c=b.next();!c.done;c=b.next())c.value.invoke()}this.executingCallbacks=!1;a=k(this.deferredCallbacks);for(b=a.next();!b.done;b=a.next())b=b.value,this.buckets[b.phase].add(b);this.deferredCallbacks.clear()};Le.prototype.destroy=function(){for(var a=k(Object.values(this.buckets)),b=a.next();!b.done;b=a.next())b.value.clear();this.deferredCallbacks.clear()};
var Ke=function(){this.handler=null;this.internalCallbacks=[]};Ke.prototype.execute=function(){LTb(this);var a;null==(a=this.handler)||a.execute()};var LTb=function(a){var b=[].concat(u(a.internalCallbacks));a.internalCallbacks.length=0;a=k(b);for(b=a.next();!b.done;b=a.next())b=b.value,b()};Ke.prototype.ngOnDestroy=function(){var a;null==(a=this.handler)||a.destroy();this.handler=null;this.internalCallbacks.length=0};Ke.\u0275prov=Pc({token:Ke,providedIn:"root",factory:function(){return new Ke}});new rd("");var MTb=new rd("",{providedIn:"root",factory:function(){return!1}});new rd("");var uia=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,via=/(<|>)/g;var $e={};var Se=function(a){this.changingThisBreaksApplicationSecurity=a};Se.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var NTb=function(){Se.apply(this,arguments)};Y(NTb,Se);NTb.prototype.getTypeName=function(){return"HTML"};var OTb=function(){Se.apply(this,arguments)};Y(OTb,Se);OTb.prototype.getTypeName=function(){return"URL"};var PTb=function(){Se.apply(this,arguments)};Y(PTb,Se);
PTb.prototype.getTypeName=function(){return"ResourceURL"};var Hia;var Sia=function(a){this.inertDocumentHelper=a};Sia.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Jia(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var Ria=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Ria.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Jia(a);return b};var Kia=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var QTb=Ve("area,br,col,hr,img,wbr"),RTb=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),STb=Ve("rp,rt"),TTb=We(STb,RTb),UTb=We(RTb,Ve("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")),VTb=We(STb,Ve("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")),
Uia=We(QTb,UTb,VTb,TTb),Wia=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),WTb=Ve("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"),
XTb=Ve("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"),
Via=We(Wia,WTb,XTb),Xia=Ve("script,style,template"),Tia=function(){this.buf=[]};Tia.prototype.endElement=function(a){a=Mia(a).toLowerCase();Uia.hasOwnProperty(a)&&!QTb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Nia=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Oia=/([^#-~ |!])/g,Qia;var YTb={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 Zia;var Kja=[],Lja=Object.assign({},ESb,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){nga(a.lView)},consumerOnSignalRead:function(){this.lView[23]=this}});var Fg=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=void 0===c?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=Fg.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(wd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Re(a,c),Ofa(b,c))}this._attachedToViewContainer=!1}Aia(this._lView[1],this._lView)};g.onDestroy=function(a){pga(this._lView,a)};
g.markForCheck=function(){ria(this._cdRefInjectingView||this._lView)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;Ija(this._lView,this.notifyErrorHandler)};
Ac.Object.defineProperties(Fg.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Gja(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 256===(this._lView[2]&256)}}});var ZTb=function(){};ZTb.\u0275prov=Pc({token:ZTb,providedIn:"root",factory:function(){return null}});var $Tb={};var aUb=function(a){this.ngModule=a};Y(aUb,qv);var bUb=function(a,b){return new Qg(b[gd]||null,a.ngModule)},cUb=function(a,b){this.injector=a;this.parentInjector=b};cUb.prototype.get=function(a,b,c){c=vfa(c);var d=this.injector.get(a,$Tb,c);return d!==$Tb||b===$Tb?d:this.parentInjector.get(a,b,c)};
var Qg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(Cfa).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};Y(Qg,VSb);
Qg.prototype.create=function(a,b,c,d){var e=Vc(null);try{d=d||this.ngModule;var f,h=d instanceof nv?d:null==(f=d)?void 0:f.injector;h&&null!==this.componentDef.getStandaloneInjector&&(h=this.componentDef.getStandaloneInjector(h)||h);var l=h?new cUb(a,h):a,q=l.get(WSb,null);if(null===q)throw new Uc(407,!1);var t=l.get(ZTb,null),w=l.get(Ke,null),B=l.get(Ig,null);a={rendererFactory:q,sanitizer:t,inlineEffectRunner:null,afterRenderEventManager:w,changeDetectionScheduler:B};var D=q.createRenderer(null,
this.componentDef),J=this.componentDef.selectors[0][0]||"div";if(c){var H=this.componentDef.encapsulation,O=l.get(MTb,!1)||3===H;var P=D.selectRootElement(c,O)}else{var U=J.toLowerCase();P=D.createElement(J,"svg"===U?"svg":"math"===U?"math":null)}q=P;J=512;this.componentDef.signals?J|=4096:this.componentDef.onPush||(J|=16);P=null;null!==q&&(P=null);var aa=qja(0,null,null,1,0,null,null,null,null,null,null),pa=gja(null,aa,null,J,null,null,a,D,l,null,P);tga(pa);try{var ka=this.componentDef;l=null;if(ka.findHostDirectiveDefs){var Aa=
[];l=new Map;ka.findHostDirectiveDefs(ka,Aa,l);Aa.push(ka)}else Aa=[ka];var Ya=pa[1];pa[25]=q;var ea=Ze(Ya,25,2,"#host",null);Ya=Aa;for(var na=pa[1],Da=k(Ya),Ia=Da.next();!Ia.done;Ia=Da.next())ea.mergedAttrs=dd(ea.mergedAttrs,Ia.value.hostAttrs);null!==ea.mergedAttrs&&(Fja(ea,ea.mergedAttrs,!0),null!==q&&Gia(D,q,ea));Da=null;null!==q&&(Da=null);var Xa=a.rendererFactory.createRenderer(q,ka);Ia=16;ka.signals?Ia=4096:ka.onPush&&(Ia=64);var yb=gja(pa,lja(ka),null,Ia,pa[ea.index],ea,a,Xa,null,null,Da);
na.firstCreatePass&&uja(na,ea,Ya.length-1);mja(pa,yb);var Rb=pa[ea.index]=yb;var Sb=aa.data[25];if(q)if(c)xfa(D,q,["ng-version","0.0.0-PLACEHOLDER"]);else{var Wa=ka.selectors[0];c=[];ea=[];na=1;for(Xa=2;na<Wa.length;){var Hb=Wa[na];if("string"===typeof Hb)2===Xa?""!==Hb&&c.push(Hb,Wa[++na]):8===Xa&&ea.push(Hb);else{if(0!==(Xa&1))break;Xa=Hb}na++}c&&xfa(D,q,c);if(ea&&0<ea.length){var od=ea.join(" ");""===od?D.removeAttribute(q,"class"):D.setAttribute(q,"class",od)}}if(void 0!==b){var db=this.ngContentSelectors,
Ra=Sb.projection=[];for(D=0;D<db.length;D++){var nb=b[D];Ra.push(null!=nb?Array.from(nb):null)}}b=Aa;db=l;Aa=[Oja];var Nb=Fd(),tb=pa[1],cc=zd(Nb,pa);vja(tb,pa,Nb,b,null,db);for(db=0;db<b.length;db++){var pc=Qd(pa,tb,Nb.directiveStart+db,Nb);Vd(pc,pa)}nja(tb,pa,Nb);cc&&Vd(cc,pa);var mc=Qd(pa,tb,Nb.directiveStart+Nb.componentOffset,Nb);Rb[8]=pa[8]=mc;if(null!==Aa)for(var Bc=k(Aa),Qc=Bc.next();!Qc.done;Qc=Bc.next()){var Xd=Qc.value;Xd(mc,ka)}kja(tb,Nb,pa);var Ld=mc;Eja(aa,pa,null)}finally{wga()}return new Vv(this.componentType,
Ld,Yd(Sb,pa),pa,Sb)}finally{Vc(e)}};Ac.Object.defineProperties(Qg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=Nja(a.inputs);if(null!==b)for(var c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return Nja(this.componentDef.outputs)}}});
var Vv=function(a,b,c,d,e){this.location=c;this._rootLView=d;this._tNode=e;this.previousInputValues=null;this.instance=b;this.hostView=this.changeDetectorRef=new Fg(d,void 0,!1);this.componentType=a};Y(Vv,USb);
Vv.prototype.setInput=function(a,b){var c=this._tNode.inputs,d;null!==c&&(d=c[a])&&(null!=this.previousInputValues||(this.previousInputValues=new Map),this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),b)||(c=this._rootLView,tja(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=Ad(this._tNode.index,c),ria(a)))};Vv.prototype.destroy=function(){this.hostView.destroy()};Vv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
Ac.Object.defineProperties(Vv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Sd(this._tNode,this._rootLView)}}});var cf=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new aUb(this);var d=(a[CSb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Sga(a,b,[{provide:rv,useValue:this},{provide:qv,useValue:this.componentFactoryResolver}].concat(u(c)),Tc(a),new Set(["environment"]));Tga(this._r3Injector);this.instance=this._r3Injector.get(a)};Y(cf,rv);
cf.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};cf.prototype.onDestroy=function(a){this.destroyCbs.push(a)};Ac.Object.defineProperties(cf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var Zva=function(a){this.moduleType=a};Y(Zva,Yva);Zva.prototype.create=function(a){return new cf(this.moduleType,a,[])};
var Qja=function(a){this.componentFactoryResolver=new aUb(this);this.instance=null;var b=new td([].concat(u(a.providers),[{provide:rv,useValue:this},{provide:qv,useValue:this.componentFactoryResolver}]),a.parent||aga(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Tga(b)};Y(Qja,rv);Qja.prototype.destroy=function(){this.injector.destroy()};Qja.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var dUb=new rd(""),Wv=function(){var a=this;this.done=this.initialized=!1;this.donePromise=new Promise(function(c,d){a.resolve=c;a.reject=d});var b;this.appInits=null!=(b=bd(dUb,{optional:!0}))?b:[]},eUb=function(a){if(!a.initialized){for(var b=[],c=k(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())d=d.value,e.initResult=d(),df(e.initResult)?b.push(e.initResult):Sja(e.initResult)&&(e=new Promise(function(f){return function(h,l){f.initResult.subscribe({complete:h,error:l})}}(e)),
b.push(e));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};Wv.\u0275fac=function(a){return new (a||Wv)};Wv.\u0275prov=Pc({token:Wv,factory:Wv.\u0275fac,providedIn:"root"});var Xv=function(){};Xv.prototype.log=function(a){console.log(a)};Xv.prototype.warn=function(a){console.warn(a)};Xv.\u0275fac=function(a){return new (a||Xv)};Xv.\u0275prov=Pc({token:Xv,factory:Xv.\u0275fac,providedIn:"platform"});var Yv=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new X.BehaviorSubject(!1)};Yv.prototype.add=function(){this._hasPendingTasks||this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Yv.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)};Yv.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this._hasPendingTasks&&this.hasPendingTasks.next(!1)};
Ac.Object.defineProperties(Yv.prototype,{_hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.hasPendingTasks.value}}});Yv.\u0275fac=function(a){return new (a||Yv)};Yv.\u0275prov=Pc({token:Yv,factory:Yv.\u0275fac,providedIn:"root"});var fUb=new rd(""),gUb=new rd(""),Zv=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._pendingCount=0;this._isZoneStable=!0;this._callbacks=[];this.taskTrackingZone=null;hUb||(hUb=c,iUb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Zv.prototype._watchAngularEvents=function(){var a=this;this._ngZone.onUnstable.subscribe({next:function(){a._isZoneStable=!1}});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.subscribe({next:function(){JTb();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Zv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Zv.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())queueMicrotask(function(){for(;0!==a._callbacks.length;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb()}});else{var b=jUb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var jUb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=Zv.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a()},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Qa");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[]};Zv.\u0275fac=function(a){return new (a||Zv)(p(He),p($v),p(gUb))};Zv.\u0275prov=Pc({token:Zv,factory:Zv.\u0275fac});var $v=function(){this._applications=new Map};$v.prototype.registerApplication=function(a,b){this._applications.set(a,b)};$v.prototype.unregisterApplication=function(a){this._applications.delete(a)};
$v.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=hUb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};$v.\u0275fac=function(a){return new (a||$v)};$v.\u0275prov=Pc({token:$v,factory:$v.\u0275fac,providedIn:"platform"});var hUb;var Uja=function(a){this.durationSelector=a};Uja.prototype.call=function(a,b){return b.subscribe(new aw(a,this.durationSelector))};var aw=function(a,b){Hv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};Y(aw,Hv);aw.EMPTY=Hv.EMPTY;aw.create=Hv.create;
aw.prototype._next=function(a){this.value=a;this.hasValue=!0;if(!this.throttled){try{var b=this.durationSelector;var c=b(a)}catch(d){return this.destination.error(d)}a=te(c,new Fv(this));!a||a.closed?kUb(this):this.add(this.throttled=a)}};var kUb=function(a){var b=a.value,c=a.hasValue,d=a.throttled;d&&(a.remove(d),a.throttled=null,d.unsubscribe());c&&(a.value=null,a.hasValue=!1,a.destination.next(b))};aw.prototype.notifyNext=function(){kUb(this)};aw.prototype.notifyComplete=function(){kUb(this)};var ff=function(a,b){uv.call(this,a);this.onError=b};Y(ff,uv);ff.EMPTY=uv.EMPTY;ff.create=uv.create;ff.prototype._error=function(a){this.onError(a);this.unsubscribe()};var aka=function(a){this.durationSelector=a};aka.prototype.call=function(a,b){return b.subscribe(new bw(a,this.durationSelector))};var bw=function(a,b){Hv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};Y(bw,Hv);bw.EMPTY=Hv.EMPTY;bw.create=Hv.create;g=bw.prototype;g._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};g._complete=function(){lUb(this);this.destination.complete()};
g._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=te(b,new Fv(this)))&&!c.closed&&this.add(this.durationSubscription=c)};g.notifyNext=function(){lUb(this)};g.notifyComplete=function(){lUb(this)};var lUb=function(a){if(a.hasValue){var b=a.value,c=a.durationSubscription;c&&(a.durationSubscription=null,c.unsubscribe(),a.remove(c));a.value=null;a.hasValue=!1;Hv.prototype._next.call(a,b)}};var cka=function(a,b){this.dueTime=a;this.scheduler=b};cka.prototype.call=function(a,b){return b.subscribe(new cw(a,this.dueTime,this.scheduler))};var cw=function(a,b,c){uv.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};Y(cw,uv);cw.EMPTY=uv.EMPTY;cw.create=uv.create;cw.prototype._next=function(a){mUb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(eka,this.dueTime,this))};
cw.prototype._complete=function(){dka(this);this.destination.complete()};var dka=function(a){mUb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},mUb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var fka=function(a){this.defaultValue=a};fka.prototype.call=function(a,b){return b.subscribe(new dw(a,this.defaultValue))};var dw=function(a,b){uv.call(this,a);this.defaultValue=b;this.isEmpty=!0};Y(dw,uv);dw.EMPTY=uv.EMPTY;dw.create=uv.create;dw.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};dw.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var hka=function(a,b){this.delay=a;this.scheduler=b};hka.prototype.call=function(a,b){return b.subscribe(new ew(a,this.delay,this.scheduler))};var ew=function(a,b,c){uv.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};Y(ew,uv);ew.EMPTY=uv.EMPTY;ew.create=uv.create;
var nUb=function(a){for(var b=a.source,c=b.queue,d=a.scheduler,e=a.destination;0<c.length&&0>=c[0].time-d.now();)e.next(c.shift().value);0<c.length?(b=Math.max(0,c[0].time-d.now()),this.schedule(a,b)):(b.isStopped?b.destination.complete():this.unsubscribe(),b.active=!1)};ew.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(nUb,this.delay,{source:this,destination:b,scheduler:a}))};
ew.prototype._next=function(a){var b=this.scheduler;a=new oUb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};ew.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};ew.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var oUb=function(a,b){this.time=a;this.value=b};var ika=function(a){this.compare=a;this.keySelector=void 0};ika.prototype.call=function(a,b){return b.subscribe(new fw(a,this.compare,this.keySelector))};var fw=function(a,b,c){uv.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};Y(fw,uv);fw.EMPTY=uv.EMPTY;fw.create=uv.create;fw.prototype.compare=function(a,b){return a===b};
fw.prototype._next=function(a){try{var b=this.keySelector;var c=b?b(a):a}catch(e){return this.destination.error(e)}b=!1;if(this.hasKey)try{var d=this.compare;b=d(this.key,c)}catch(e){return this.destination.error(e)}else this.hasKey=!0;b||(this.key=c,this.destination.next(a))};var jka=function(){this.count=1};jka.prototype.call=function(a,b){return b.subscribe(new gw(a,this.count))};var gw=function(a,b){uv.call(this,a);this.count=b;this._valueCount=0};Y(gw,uv);gw.EMPTY=uv.EMPTY;gw.create=uv.create;gw.prototype._next=function(a){var b=this.count,c=++this._valueCount;c<=b&&(this.destination.next(a),c===b&&(this.destination.complete(),this.unsubscribe()))};var lka=function(a){this.errorFactory=a};lka.prototype.call=function(a,b){return b.subscribe(new hw(a,this.errorFactory))};var hw=function(a,b){uv.call(this,a);this.errorFactory=b;this.hasValue=!1};Y(hw,uv);hw.EMPTY=uv.EMPTY;hw.create=uv.create;hw.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};hw.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var nka=function(a){this.callback=a};nka.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var oka=function(){};oka.prototype.call=function(a,b){return b.subscribe(new iw(a))};var iw=function(){uv.apply(this,arguments)};Y(iw,uv);iw.EMPTY=uv.EMPTY;iw.create=uv.create;iw.prototype._next=function(){};var qka=function(){this.total=1};qka.prototype.call=function(a,b){return b.subscribe(new jw(a,this.total))};var jw=function(a,b){uv.call(this,a);this.total=b;this.ring=[];this.count=0};Y(jw,uv);jw.EMPTY=uv.EMPTY;jw.create=uv.create;jw.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
jw.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var f=b++%c;a.next(d[f])}a.complete()};var tka=function(a){this.value=a};tka.prototype.call=function(a,b){return b.subscribe(new kw(a,this.value))};var kw=function(a,b){uv.call(this,a);this.value=b};Y(kw,uv);kw.EMPTY=uv.EMPTY;kw.create=uv.create;kw.prototype._next=function(){this.destination.next(this.value)};var uka=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};uka.prototype.call=function(a,b){return b.subscribe(new lw(a,this.accumulator,this.seed,this.hasSeed))};var lw=function(a,b,c,d){uv.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};Y(lw,uv);lw.EMPTY=uv.EMPTY;lw.create=uv.create;
lw.prototype._next=function(a){var b=this.destination;if(this._hasState){var c=this.index++;try{var d=this.accumulator(this._state,a,c)}catch(e){b.error(e);return}this._state=d;b.next(d)}else this._state=a,this._hasState=!0,b.next(a)};var Dka=function(a){this.total=a};Dka.prototype.call=function(a,b){return b.subscribe(new mw(a,this.total))};var mw=function(a,b){uv.call(this,a);this.total=b;this.count=0};Y(mw,uv);mw.EMPTY=uv.EMPTY;mw.create=uv.create;mw.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var Eka=function(a){this.project=a};Eka.prototype.call=function(a,b){return b.subscribe(new nw(a,this.project))};var nw=function(a,b){Hv.call(this,a);this.destination=a;this.project=b;this.index=0};Y(nw,Hv);nw.EMPTY=Hv.EMPTY;nw.create=Hv.create;nw.prototype._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new Fv(this);this.destination.add(a);this.innerSubscription=a;te(c,a)};
nw.prototype._complete=function(){var a=this.innerSubscription;a&&!a.closed||Hv.prototype._complete.call(this);this.innerSubscription=void 0;this.unsubscribe()};nw.prototype.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&Hv.prototype._complete.call(this)};nw.prototype.notifyNext=function(a){this.destination.next(a)};var Gka=function(a,b){this.predicate=a;this.inclusive=b};Gka.prototype.call=function(a,b){return b.subscribe(new ow(a,this.predicate,this.inclusive))};var ow=function(a,b,c){uv.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};Y(ow,uv);ow.EMPTY=uv.EMPTY;ow.create=uv.create;ow.prototype._next=function(a){var b=this.destination;try{var c=this.predicate(a,this.index++)}catch(d){b.error(d);return}b=this.destination;c?b.next(a):(this.inclusive&&b.next(a),b.complete())};var Ika=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};Ika.prototype.call=function(a,b){return b.subscribe(new pw(a,this.nextOrObserver,this.error,this.complete))};var pw=function(a,b,c,d){uv.call(this,a);this._tapComplete=this._tapError=this._tapNext=ze;this._tapError=c||ze;this._tapComplete=d||ze;ce(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||ze,this._tapError=b.error||ze,this._tapComplete=b.complete||ze)};Y(pw,uv);pw.EMPTY=uv.EMPTY;
pw.create=uv.create;pw.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};pw.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};pw.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var Jka={leading:!0,trailing:!1},Kka=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};Kka.prototype.call=function(a,b){return b.subscribe(new qw(a,this.durationSelector,this.leading,this.trailing))};var qw=function(a,b,c,d){Hv.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};Y(qw,Hv);qw.EMPTY=Hv.EMPTY;qw.create=Hv.create;
qw.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():pUb(this,a))};qw.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),pUb(this,a));this._hasValue=!1;this._sendValue=null};var pUb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=te(c,new Fv(a)))},qUb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
qw.prototype.notifyNext=function(){qUb(this)};qw.prototype.notifyComplete=function(){qUb(this)};var Mka=function(a,b){this.observables=a;this.project=b};Mka.prototype.call=function(a,b){return b.subscribe(new rw(a,this.observables,this.project))};var rw=function(a,b,c){Iv.call(this,a);this.project=c;this.toRespond=[];a=b.length;this.values=Array(a);for(c=0;c<a;c++)this.toRespond.push(c);for(c=0;c<a;c++)this.add(te(b[c],new Gv(this,void 0,c)))};Y(rw,Iv);rw.EMPTY=Iv.EMPTY;rw.create=Iv.create;
rw.prototype.notifyNext=function(a,b,c){this.values[c]=b;b=this.toRespond;0<b.length&&(c=b.indexOf(c),-1!==c&&b.splice(c,1))};rw.prototype.notifyComplete=function(){};rw.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(u(this.values)),this.project?this._tryProject(a):this.destination.next(a))};rw.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var rUb=new rd(""),sw=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=bd(yma);this.afterRenderEffectManager=bd(Ke);this.zonelessEnabled=bd(QSb);this.externalTestViews=new Set;this.beforeRender=new X.Subject;this.afterTick=new X.Subject;this.componentTypes=[];this.components=[];this.isStable=bd(Yv).hasPendingTasks.pipe(z(function(a){return!a}));this._injector=bd(nv)};
sw.prototype.bootstrap=function(a,b){var c=this,d=a instanceof VSb;if(!this._injector.get(Wv).done)throw new Uc(405,!1);var e;d?e=a:e=bUb(this._injector.get(qv),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(rv);var f=e.create(PSb,[],b||e.selector,a),h=f.location.nativeElement,l=f.injector.get(fUb,null);null==l||l.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);Rka(c.components,f);null==l||l.unregisterApplication(h)});this._loadComponent(f);
return f};sw.prototype.tick=function(){this._tick(!0)};sw.prototype._tick=function(a){if(this._runningTick)throw new Uc(101,!1);var b=Vc(null);try{this._runningTick=!0,sUb(this,a)}catch(c){this.internalErrorHandler(c)}finally{this.afterTick.next(),this._runningTick=!1,Vc(b)}};
var sUb=function(a,b){for(var c=0,d=a.afterRenderEffectManager;10>c;){if(b){var e=0===c;a.beforeRender.next(e);for(var f=k(a._views),h=f.next();!h.done;h=f.next())h=h.value,Ska(h._lView,h.notifyErrorHandler,e,a.zonelessEnabled)}c++;LTb(d);if(![].concat(u(a.externalTestViews.keys()),u(a._views)).some(function(l){return Cd(l._lView)})&&(d.execute(),![].concat(u(a.externalTestViews.keys()),u(a._views)).some(function(l){return Cd(l._lView)})))break}},tUb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Uc(902,
!1);b._appRef=a;oga(b._lView)};g=sw.prototype;g.detachView=function(a){Rka(this._views,a);a._appRef=null;xia(a._lView[1],a._lView)};g._loadComponent=function(a){tUb(this,a.hostView);this.tick();this.components.push(a);var b=this._injector.get(rUb,[]);[].concat(u(this._bootstrapListeners),u(b)).forEach(function(c){return c(a)})};
g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return Rka(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new Uc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
Ac.Object.defineProperties(sw.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}},injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},viewCount:{configurable:!0,enumerable:!0,get:function(){return this._views.length}}});sw.\u0275fac=function(a){return new (a||sw)};sw.\u0275prov=Pc({token:sw,factory:sw.\u0275fac,providedIn:"root"});var jg=function(){};jg.__NG_ELEMENT_ID__=Yka;var Af=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};Y(Af,jg);Af.__NG_ELEMENT_ID__=jg.__NG_ELEMENT_ID__;g=Af.prototype;g.clear=function(){for(;0<this.length;)this.remove(this.length-1)};g.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};
g.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=uUb(a,b||{},e,null);vUb(this,a,d,Vka(this._hostTNode,null));return a};
g.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var f=b||{};b=f.index;c=f.injector;d=f.projectableNodes;f=f.environmentInjector||f.ngModuleRef}a=e?a:new Qg(a[gd]||null);c=c||this.parentInjector;f||null!=a.ngModule||(e=(e?c:this.parentInjector).get(nv,null))&&(f=e);d=a.create(c,d,null,f);vUb(this,d.hostView,b,Vka(this._hostTNode,null));return d};g.insert=function(a,b){return vUb(this,a,b,!0)};
var vUb=function(a,b,c,d){var e=b._lView;if(wd(e[3])){var f=a.indexOf(b);-1!==f?a.detach(f):(f=e[3],f=new Af(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;Wka(a,e,c,d);if(b._appRef)throw new Uc(902,!1);b._attachedToViewContainer=!0;d=Zka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=Af.prototype;g.move=function(a,b){return this.insert(a,b)};g.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};
g.remove=function(a){a=this._adjustIndex(a,-1);var b=Re(this._lContainer,a);b&&(Ofa(Zka(this._lContainer),a),Aia(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=Re(this._lContainer,a);return b&&null!=Ofa(Zka(this._lContainer),a)?new Fg(b):null};g._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
Ac.Object.defineProperties(Af.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Yd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Sd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=Iga(this._hostTNode,this._hostLView);if(-1!==a){var b=Bga(a,this._hostLView);return new Sd(b[1].data[(a&32767)+8],b)}return new Sd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var $ka=ala;var ela=gla;new rd("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new rd("");var Lf=0,Mf=0,Nf=0,rla=0,tla=0;var wUb=function(){};wUb.prototype.destroy=function(){};wUb.prototype.updateValue=function(){};var Gla=function(a,b,c){var d=Math.min(b,c);b=Math.max(b,c);c=a.detach(b);if(1<b-d){var e=a.detach(d);a.attach(d,c);a.attach(b,e)}else a.attach(d,c)};wUb.prototype.move=function(a,b){this.attach(b,this.detach(a))};var Hla=function(){this.kvMap=new Map;this._vMap=void 0};g=Hla.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);void 0!==this._vMap&&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);void 0===this._vMap&&(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=k(this.kvMap),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a(d,c);if(void 0!==this._vMap)for(var e=this._vMap;e.has(d);)d=e.get(d),a(d,c)}};var xUb=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};Ac.Object.defineProperties(xUb.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Nla=function(a){this.trackByFn=a;this.liveCollection=void 0},Ola=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.needsIndexUpdate=!1};Y(Ola,wUb);g=Ola.prototype;g.at=function(a){return Uka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);Wka(this.lContainer,b,a,Vka(this.templateTNode,c))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return Re(this.lContainer,a)};g.create=function(a,b){return Tka(this.hostLView,this.templateTNode,new xUb(this.lContainer,b,a),{dehydratedView:null})};g.destroy=function(a){Aia(a[1],a)};g.updateValue=function(a,b){Uka(this.lContainer,a)[8].$implicit=b};
g.reset=function(){this.needsIndexUpdate=!1};Ac.Object.defineProperties(Ola.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Qla=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],["SMTWTFS".split(""),"Sun Mon Tue Wed Thu Fri Sat".split(" "),"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"Su Mo Tu We Th Fr Sa".split(" ")],void 0,["JFMAMJJASOND".split(""),"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),"January February March April May June July August September October November December".split(" ")],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,
0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],". , ; % + - E \u00d7 \u2030 \u221e NaN :".split(" "),["#,##0.###","#,##0%","\u00a4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(a){var b=a.toString().replace(/^[^.]*\.?/,"").length;return 1===Math.floor(Math.abs(a))&&0===b?1:5}];var Rla={};var kg=function(a){this._emitDistinctChangesOnly=a=void 0===a?!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;var b=kg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Wla)};g=kg.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 og=function(a){void 0===a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};
kg.prototype.setDirty=function(){this.dirty=!0;var a;null==(a=this._onDirty)||a.call(this)};kg.prototype.destroy=function(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())};Ac.Object.defineProperties(kg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._changes)?a:this._changes=new Uv}}});Symbol.iterator;var ig=function(){};ig.__NG_ELEMENT_ID__=Yla;var hg=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};Y(hg,ig);hg.__NG_ELEMENT_ID__=ig.__NG_ELEMENT_ID__;hg.prototype.createEmbeddedView=function(a,b){return uUb(this,a,b)};var uUb=function(a,b,c,d){a=Tka(a._declarationLView,a._declarationTContainer,b,{embeddedViewInjector:c,dehydratedView:d});return new Fg(a)};
Ac.Object.defineProperties(hg.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var bma=function(a){this.queryList=a;this.matches=null};bma.prototype.clone=function(){return new bma(this.queryList)};bma.prototype.setDirty=function(){this.queryList.setDirty()};var ama=function(a){this.queries=a=void 0===a?[]:a};ama.prototype.createEmbeddedView=function(a){var b=a.queries;if(null!==b){a=null!==a.contentQueries?a.contentQueries[0]:b.length;for(var c=[],d=0;d<a;d++)c.push(this.queries[b.queries[d].indexInDeclarationView].clone());return new ama(c)}return null};
ama.prototype.detachView=function(a){Dja(this,a)};var Dja=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},ema=function(a,b,c){this.flags=b;this.read=void 0===c?null:c;"string"===typeof a?this.predicate=fma(a):this.predicate=a},gma=function(a){this.queries=a=void 0===a?[]:a};g=gma.prototype;g.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};g.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
g.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,null!==b?b.length:0);d&&(d.indexInDeclarationView=c,null!==b?b.push(d):b=[d])}return null!==b?new gma(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)};Ac.Object.defineProperties(gma.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var ng=function(a,b){this.metadata=a;this.matches=null;this.indexInDeclarationView=-1;this.crossesNgTemplate=!1;this._appliesToNextNode=!0;this._declarationNodeIndex=void 0===b?-1:b};
ng.prototype.elementStart=function(a,b){if(yUb(this,b)){var c=this.metadata.predicate;if(Array.isArray(c))for(var d=0;d<c.length;d++){var e=c[d];a:{var f=b.localNames;if(null!==f)for(var h=0;h<f.length;h+=2)if(f[h]===e){f=f[h+1];break a}f=null}zUb(this,a,b,f);zUb(this,a,b,Pga(b,a,e,!1,!1))}else c===ig?b.type&4&&zUb(this,a,b,-1):zUb(this,a,b,Pga(b,a,c,!1,!1))}};ng.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
ng.prototype.template=function(a,b){this.elementStart(a,b)};ng.prototype.embeddedTView=function(a,b){return yUb(this,a)?(this.crossesNgTemplate=!0,AUb(this,-a.index,b),new ng(this.metadata)):null};
var yUb=function(a,b){if(a._appliesToNextNode&&1!==(a.metadata.flags&1)){a=a._declarationNodeIndex;for(b=b.parent;null!==b&&b.type&8&&b.index!==a;)b=b.parent;return a===(null!==b?b.index:-1)}return a._appliesToNextNode},zUb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===Wd||e===jg||e===ig&&c.type&4?AUb(a,c.index,-2):(b=Pga(c,b,e,!1,!1),null!==b&&AUb(a,c.index,b)):AUb(a,c.index,d)}},AUb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var xg=function(a){this._injector=a;this.cachedInjectors=new Map};xg.prototype.ngOnDestroy=function(){try{for(var a=k(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};xg.\u0275prov=Pc({token:xg,providedIn:"environment",factory:function(){return new xg(p(nv))}});var tw=function(){};tw.\u0275fac=function(a){return new (a||tw)(p(sw))};tw.\u0275mod=hd({type:tw});tw.\u0275inj=Rc({});Object.assign({},ISb,{transformFn:void 0,applyValueToInputSignal:function(a,b){var c;!1!==(null==(c=bfa)?void 0:c.consumerAllowSignalWrites)||Nka();a.equal(a.value,b)||(a.value=b,a.version++,kfa++,efa(a))}});var Pg=function(){};Pg.__NG_ELEMENT_ID__=wma;var BUb=function(){};BUb.prototype.supports=function(a){return cla(a)};BUb.prototype.create=function(a){return new CUb(a)};var DUb=function(a,b){return b},CUb=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||DUb};
CUb.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};
var EUb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<xma(a,d,e)?c:a,h=xma(f,d,e),l=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,null==f.previousIndex)d++;else{e||(e=[]);var q=h-d,t=l-d;if(q!=t){for(var w=0;w<q;w++){var B=w<e.length?e[w]:e[w]=0,D=B+w;t<=D&&D<q&&(e[w]=B+1)}e[f.previousIndex]=t-q}}h!==l&&b(f,h,l)}},FUb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};g=CUb.prototype;
g.diff=function(a){null==a&&(a=[]);if(!cla(a))throw new Uc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var l=0;dla(a,function(q){h=b._trackByFn(l,q);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,l)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,l),d=!0);c=c._next;l++});this.length=l}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
g._mismatch=function(a,b,c,d){if(null===a)var e=this._itTail;else e=a._prev,this._remove(a);a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=null===this._linkedRecords?null:this._linkedRecords.get(c,d),null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new GUb(b,c),e,d));return a};
g._verifyReinsertion=function(a,b,c,d){b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==b?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
g._truncate=function(a){for(;null!==a;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}null!==this._unlinkedRecords&&this._unlinkedRecords.clear();null!==this._additionsTail&&(this._additionsTail._nextAdded=null);null!==this._movesTail&&(this._movesTail._nextMoved=null);null!==this._itTail&&(this._itTail._next=null);null!==this._removalsTail&&(this._removalsTail._nextRemoved=null);null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)};
g._reinsertAfter=function(a,b,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;null===d?this._removalsHead=e:d._nextRemoved=e;null===e?this._removalsTail=d:e._prevRemoved=d;this._insertAfter(a,b,c);this._addToMoves(a,c);return a};g._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
g._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};g._insertAfter=function(a,b,c){var d=null===b?this._itHead:b._next;a._next=d;a._prev=b;null===d?this._itTail=a:d._prev=a;null===b?this._itHead=a:b._next=a;null===this._linkedRecords&&(this._linkedRecords=new uw);this._linkedRecords.put(a);a.currentIndex=c;return a};g._remove=function(a){return this._addToRemovals(this._unlink(a))};
g._unlink=function(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;null===b?this._itHead=c:b._next=c;null===c?this._itTail=b:c._prev=b;return a};g._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
g._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new uw);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
g._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};Ac.Object.defineProperties(CUb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var GUb=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},HUb=function(){this._tail=this._head=null};HUb.prototype.add=function(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)};
HUb.prototype.get=function(a,b){var c;for(c=this._head;null!==c;c=c._nextDup)if((null===b||b<=c.currentIndex)&&Object.is(c.trackById,a))return c;return null};HUb.prototype.remove=function(a){var b=a._prevDup;a=a._nextDup;null===b?this._head=a:b._nextDup=a;null===a?this._tail=b:a._prevDup=b;return null===this._head};var uw=function(){this.map=new Map};uw.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new HUb,this.map.set(b,c));c.add(a)};
uw.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};uw.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};uw.prototype.clear=function(){this.map.clear()};Ac.Object.defineProperties(uw.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var IUb=function(){};IUb.prototype.supports=function(a){return a instanceof Map||bla(a)};IUb.prototype.create=function(){return new JUb};var JUb=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=JUb.prototype;g.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};
g.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||bla(a)))throw new Uc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._mapHead;this._appendAfter=null;this._forEach(a,function(d,e){c&&c.key===e?(b._maybeAddToChanges(c,d),b._appendAfter=c,c=c._next):(d=b._getOrCreateRecordForKey(e,d),c=b._insertBeforeOrAppend(c,d))});if(c)for(c._prev&&(c._prev._next=null),a=this._removalsHead=c;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=
null;this._changesTail&&(this._changesTail._nextChanged=null);this._additionsTail&&(this._additionsTail._nextAdded=null);return this.isDirty};g._insertBeforeOrAppend=function(a,b){if(a){var c=a._prev;b._next=a;b._prev=c;a._prev=b;c&&(c._next=b);a===this._mapHead&&(this._mapHead=b);return this._appendAfter=a}this._appendAfter?(this._appendAfter._next=b,b._prev=this._appendAfter):this._mapHead=b;this._appendAfter=b;return null};
g._getOrCreateRecordForKey=function(a,b){if(this._records.has(a)){a=this._records.get(a);this._maybeAddToChanges(a,b);b=a._prev;var c=a._next;b&&(b._next=c);c&&(c._prev=b);a._next=null;a._prev=null;return a}c=new KUb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
g._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};g._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
g._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};Ac.Object.defineProperties(JUb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var KUb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var vw=function(a){this.factories=a};vw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new Uc(901,!1);};vw.\u0275prov=Pc({token:vw,providedIn:"root",factory:function(){return new vw([new BUb])}});var ww=function(a){this.factories=a};ww.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Uc(901,!1);};ww.\u0275prov=Pc({token:ww,providedIn:"root",factory:function(){return new ww([new IUb])}});var Jg=function(){this.appRef=bd(sw);this.taskService=bd(Yv);this.pendingRenderTaskId=null;this.shouldRefreshViews=!1;this.ngZone=bd(He);this.runningTick=!1;this.cancelScheduledCallback=null;this.zonelessEnabled=bd(QSb);var a;this.disableScheduling=null!=(a=bd(Ama,{optional:!0}))?a:!1;this.zoneIsDefined="undefined"!==typeof Zone;this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Ge||!this.zoneIsDefined))};
Jg.prototype.notify=function(a){var b=this;this.shouldRefreshViews||(this.shouldRefreshViews=0===(void 0===a?0:a));if(!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.zoneIsDefined&&ITb())){this.pendingRenderTaskId=this.taskService.add();var c;"undefined"!==typeof Zone&&(null==(c=Zone.root)?0:c.run)?Zone.root.run(function(){b.cancelScheduledCallback=fia(function(){b.tick(b.shouldRefreshViews)})}):this.cancelScheduledCallback=fia(function(){b.tick(b.shouldRefreshViews)})}};
Jg.prototype.tick=function(a){var b=this;if(!this.runningTick&&!this.appRef.destroyed)try{this.ngZone.run(function(){b.runningTick=!0;b.appRef._tick(a)})}finally{this.cleanup()}};Jg.prototype.ngOnDestroy=function(){this.cleanup()};Jg.prototype.cleanup=function(){this.runningTick=this.shouldRefreshViews=!1;var a;null==(a=this.cancelScheduledCallback)||a.call(this);this.cancelScheduledCallback=null;null!==this.pendingRenderTaskId&&(a=this.pendingRenderTaskId,this.pendingRenderTaskId=null,this.taskService.remove(a))};
Jg.\u0275fac=function(a){return new (a||Jg)};Jg.\u0275prov=Pc({token:Jg,factory:Jg.\u0275fac,providedIn:"root"});var Gg=function(){this.zone=bd(He);this.changeDetectionScheduler=bd(Ig,{optional:!0});this.applicationRef=bd(sw)};Gg.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){a.changeDetectionScheduler?a.changeDetectionScheduler.tick(!0):a.applicationRef.tick()})}}))};Gg.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};
Gg.\u0275fac=function(a){return new (a||Gg)};Gg.\u0275prov=Pc({token:Gg,factory:Gg.\u0275fac,providedIn:"root"});new rd("");var Hg=function(){this.subscription=new X.Subscription;this.initialized=!1;this.zone=bd(He);this.pendingTasks=bd(Yv)};
Hg.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(){JTb();queueMicrotask(function(){null===b||a.zone.hasPendingMacrotasks||a.zone.hasPendingMicrotasks||(a.pendingTasks.remove(b),b=null)})}))});this.subscription.add(this.zone.onUnstable.subscribe(function(){if(!ITb())throw new Uc(909,
!1);null!=b||(b=a.pendingTasks.add())}))}};Hg.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};Hg.\u0275fac=function(a){return new (a||Hg)};Hg.\u0275prov=Pc({token:Hg,factory:Hg.\u0275fac,providedIn:"root"});var sh=new rd("",{providedIn:"root",factory:function(){return bd(sh,12)||("undefined"!==typeof KPb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new rd("",{providedIn:"root",factory:function(){return"USD"}});new rd("");new rd("");var xw=function(){};xw.prototype.getModuleId=function(){};xw.\u0275fac=function(a){return new (a||xw)};xw.\u0275prov=Pc({token:xw,factory:xw.\u0275fac,providedIn:"root"});new rd("");var Jma=new rd(""),Lg=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},LUb=function(a,b,c){var d=mia(null==c?void 0:c.ngZone,Cma({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=Pja(b.moduleType,a.injector,Bma({ngZoneFactory:function(){return d},schedulingMode:null==c?void 0:c.schedulingMode})),f=e.injector.get(bf,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(l){f.handleError(l)}});
e.onDestroy(function(){Rka(a._modules,e);h.unsubscribe()})});return Pka(f,d,function(){var h=e.injector.get(Wv);eUb(h);return h.donePromise.then(function(){e.injector.get(sh,"en-US");a._moduleDoBootstrap(e);return e})})})},NUb=function(){var a=MUb(),b=yw;var c=void 0===c?[]:c;var d=Qka({},c);Promise.resolve(new Zva(b)).then(function(e){return LUb(a,e,d)})};
Lg.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(sw);if(0<a._bootstrapComponents.length)a._bootstrapComponents.forEach(function(c){return b.bootstrap(c)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(b);else throw new Uc(-403,!1);this._modules.push(a)};Lg.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Lg.prototype.destroy=function(){if(this._destroyed)throw new Uc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Jma,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};Ac.Object.defineProperties(Lg.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Lg.\u0275fac=function(a){return new (a||Lg)(p(Ie))};Lg.\u0275prov=Pc({token:Lg,factory:Lg.\u0275fac,providedIn:"platform"});var Kg=null,Ema=new rd("");var Mma=new rd("",{providedIn:"root",factory:function(){return bd(OUb)}}),OUb=function(){};OUb.\u0275prov=Pc({token:OUb,providedIn:"root",factory:function(){return new PUb}});var PUb=function(){this.queuedEffectCount=0;this.queues=new Map;this.pendingTasks=bd(Yv);this.taskId=null},QUb=function(a,b){a.enqueue(b);if(null===a.taskId){var c=a.taskId=a.pendingTasks.add();queueMicrotask(function(){a.flush();a.pendingTasks.remove(c);a.taskId=null})}};
PUb.prototype.enqueue=function(a){var b=a.creationZone;this.queues.has(b)||this.queues.set(b,new Set);b=this.queues.get(b);b.has(a)||(this.queuedEffectCount++,b.add(a))};PUb.prototype.flush=function(){for(var a=this;0<this.queuedEffectCount;)for(var b=k(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$5:void 0},c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$5=e;null===c?RUb(this,d.queue$jscomp$5):c.run(function(f){return function(){return RUb(a,f.queue$jscomp$5)}}(d))}};
var RUb=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()},Lma=function(a,b,c,d,e,f){var h=this;this.scheduler=a;this.effectFn=b;this.creationZone=c;this.injector=e;this.watcher=qfa(function(l){try{h.effectFn(l)}catch(t){var q;null==(q=h.injector.get(bf,null,{optional:!0}))||q.handleError(t)}},function(){return h.schedule()},f);this.unregisterOnDestroy=null==d?void 0:d.onDestroy(function(){return h.destroy()})};Lma.prototype.run=function(){this.watcher.run()};
Lma.prototype.schedule=function(){QUb(this.scheduler,this)};Lma.prototype.destroy=function(){this.watcher.destroy();var a;null==(a=this.unregisterOnDestroy)||a.call(this)};var SUb=Hma(null,"core",[]);var zw=function(a,b){this._viewContainer=a;this._context=new TUb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
zw.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)))};
Ac.Object.defineProperties(zw.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){Rma("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){Rma("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});zw.\u0275fac=function(a){return new (a||zw)(C(jg),C(ig))};
zw.\u0275dir=jd({type:zw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var TUb=function(){this.ngIf=this.$implicit=null};var Aw=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};Aw.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};Aw.prototype.registerOnTouched=function(a){this.onTouched=a};Aw.prototype.registerOnChange=function(a){this.onChange=a};Aw.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};Aw.\u0275fac=function(a){return new (a||Aw)(C(tv),C(Wd))};Aw.\u0275dir=jd({type:Aw});
var ch=function(){Aw.apply(this,arguments)};Y(ch,Aw);ch.\u0275fac=function(){var a;return function(b){return(a||(a=Td(ch)))(b||ch)}}();ch.\u0275dir=jd({type:ch,features:[Ff]});var Bw=new rd("");var UUb=/\s+/,VUb=[],Cw=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=VUb;this.stateMap=new Map};Cw.prototype.ngDoCheck=function(){for(var a=k(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=k(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){b=k(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
Cw.prototype._updateState=function(a,b){var c=this.stateMap.get(a);void 0!==c?(c.enabled!==b&&(c.changed=!0,c.enabled=b),c.touched=!0):this.stateMap.set(a,{enabled:b,changed:!0,touched:!0})};Cw.prototype._applyStateDiff=function(){for(var a=k(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}};
Cw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(UUb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};Ac.Object.defineProperties(Cw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(UUb):VUb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(UUb):a}}});
Cw.\u0275fac=function(a){return new (a||Cw)(C(Wd),C(tv))};Cw.\u0275dir=jd({type:Cw,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});var WUb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};Ac.Object.defineProperties(WUb.prototype,{first:{configurable:!0,enumerable:!0,get:function(){return 0===this.index}},last:{configurable:!0,enumerable:!0,get:function(){return this.index===this.count-1}},even:{configurable:!0,enumerable:!0,get:function(){return 0===this.index%2}},odd:{configurable:!0,enumerable:!0,get:function(){return!this.even}}});
var Dw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Dw.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)};
Dw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;EUb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new WUb(h.item,b._ngForOf,-1,-1),null===q?void 0:q):null==q?c.remove(null===l?void 0:l):null!==l&&(l=c.get(l),c.move(l,q),l.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}FUb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
Ac.Object.defineProperties(Dw.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)}}});Dw.\u0275fac=function(a){return new (a||Dw)(C(jg),C(ig),C(vw))};
Dw.\u0275dir=jd({type:Dw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var XUb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};XUb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};XUb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var Ew=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};Ew.prototype._addCase=function(){return this._caseCount++};Ew.prototype._addDefault=function(a){this._defaultViews.push(a)};
Ew.prototype._matchCase=function(a){a=a==this._ngSwitch;this._lastCasesMatched||(this._lastCasesMatched=a);this._lastCaseCheckIndex++;this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1);return a};
Ew.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=k(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};Ac.Object.defineProperties(Ew.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});Ew.\u0275fac=function(a){return new (a||Ew)};
Ew.\u0275dir=jd({type:Ew,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Fw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new XUb(a,b)};Fw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Fw.\u0275fac=function(a){return new (a||Fw)(C(jg),C(ig),C(Ew,9))};Fw.\u0275dir=jd({type:Fw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Gw=function(a,b,c){c._addDefault(new XUb(a,b))};Gw.\u0275fac=function(a){return new (a||Gw)(C(jg),C(ig),C(Ew,9))};Gw.\u0275dir=jd({type:Gw,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Hw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};Hw.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:null!=(c=this.ngTemplateOutletInjector)?c:void 0})}else this._viewRef=null};
Hw.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};Hw.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)}})};Hw.\u0275fac=function(a){return new (a||Hw)(C(jg))};
Hw.\u0275dir=jd({type:Hw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[xd]});var YUb=function(){};YUb.prototype.createSubscription=function(a,b){return Oma(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};YUb.prototype.dispose=function(a){Oma(function(){return a.unsubscribe()})};var ZUb=function(){};ZUb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};ZUb.prototype.dispose=function(){};
var $Ub=new ZUb,aVb=new YUb,Iw=function(a){this._latestValue=null;this.markForCheckOnValueUpdate=!0;this._strategy=this._obj=this._subscription=null;this._ref=a};g=Iw.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)})};g._selectStrategy=function(a){if(df(a))return $Ub;if(Sja(a))return aVb;throw Tg();};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;null==(c=this._ref)||c.markForCheck()}};Iw.\u0275fac=function(a){return new (a||Iw)(C(Pg,16))};Iw.\u0275pipe=kd({name:"async",type:Iw,pure:!1,standalone:!0});var Jw=function(){};Jw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw Tg();return a.toLowerCase()};Jw.\u0275fac=function(a){return new (a||Jw)};Jw.\u0275pipe=kd({name:"lowercase",type:Jw,pure:!0,standalone:!0});
var bVb=/(?:[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,Kw=
function(){};Kw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw Tg();return a.replace(bVb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Kw.\u0275fac=function(a){return new (a||Kw)};Kw.\u0275pipe=kd({name:"titlecase",type:Kw,pure:!0,standalone:!0});var qna=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Xg={},dna=/((?:[^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]*)/,gna={};var cVb=new rd(""),dVb=new rd(""),Lw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};Lw.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,f,h=null!=(f=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?f:"mediumDate",l,q,t,w=null!=(t=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?t:void 0;return kna(a,h,d||this.locale,w)}catch(B){throw Tg();}};
Lw.\u0275fac=function(a){return new (a||Lw)(C(sh,16),C(cVb,24),C(dVb,24))};Lw.\u0275pipe=kd({name:"date",type:Lw,pure:!0,standalone:!0});var Mw=function(){};Mw.prototype.transform=function(a){return JSON.stringify(a,null,2)};Mw.\u0275fac=function(a){return new (a||Mw)};Mw.\u0275pipe=kd({name:"json",type:Mw,pure:!1,standalone:!0});var Nw=function(a){this.differs=a;this.keyValues=[];this.compareFn=sna};Nw.prototype.transform=function(a,b){var c=this;b=void 0===b?sna:b;if(!a||!(a instanceof Map)&&"object"!==typeof a)return null;null!=this.differ||(this.differ=this.differs.find(a).create());a=this.differ.diff(a);var d=b!==this.compareFn;a&&(this.keyValues=[],a.forEachItem(function(e){c.keyValues.push({key:e.key,value:e.currentValue})}));if(a||d)this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
Nw.\u0275fac=function(a){return new (a||Nw)(C(ww,16))};Nw.\u0275pipe=kd({name:"keyvalue",type:Nw,pure:!1,standalone:!0});var vna=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var Ow=function(a){this._locale=a};
Ow.prototype.transform=function(a,b,c){if(null==a||""===a||a!==a)return null;c||(c=this._locale);try{if("string"!==typeof a||isNaN(Number(a)-parseFloat(a))){if("number"!==typeof a)throw Error("cb`"+a);var d=a}else d=Number(a);a=d;var e=ag(c)[14][0],f=Sg(c,5);f=void 0===f?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],t=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],w=t[0],B=t[1]||"";d.posPre=w.substring(0,w.indexOf("#"));for(e=0;e<B.length;e++){var D=B.charAt(e);"0"===D?d.minFrac=d.maxFrac=e+1:"#"===D?d.maxFrac=e+1:d.posSuf+=D}var J=w.split(",");d.gSize=J[1]?J[1].length:0;d.lgSize=J[2]||J[1]?(J[2]||J[1]).length:0;if(q){var H=l.length-d.posPre.length-d.posSuf.length,O=q.indexOf("#");d.negPre=q.substring(0,O).replace(/'/g,"");d.negSuf=q.slice(O+H).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return yna(a,d,c,b)}catch(P){throw Tg();}};
Ow.\u0275fac=function(a){return new (a||Ow)(C(sh,16))};Ow.\u0275pipe=kd({name:"number",type:Ow,pure:!0,standalone:!0});var Pw=function(){};Pw.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw Tg();return a.slice(b,c)};Pw.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};Pw.\u0275fac=function(a){return new (a||Pw)};Pw.\u0275pipe=kd({name:"slice",type:Pw,pure:!1,standalone:!0});var Qw=function(){};Qw.\u0275fac=function(a){return new (a||Qw)};Qw.\u0275mod=hd({type:Qw});Qw.\u0275inj=Rc({});var eVb=function(a){return a.src};new rd("",{providedIn:"root",factory:function(){return eVb}});var qh=new rd("");new rd("");new rd("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var fVb=null,gVb=function(){};var Rw=function(){};Rw.prototype.historyGo=function(){throw Error("$");};Rw.\u0275fac=function(a){return new (a||Rw)};Rw.\u0275prov=Pc({token:Rw,factory:function(){return bd(Sw)},providedIn:"platform"});var hVb=new rd(""),Sw=function(){this._doc=bd(qh);this._location=window.location;this._history=window.history};Y(Sw,Rw);Sw.prototype.onPopState=function(a){var b=iVb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var jVb=function(a,b){var c=iVb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=Sw.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(void 0===a?0:a)};g.getState=function(){return this._history.state};
Ac.Object.defineProperties(Sw.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}}});Sw.\u0275fac=function(a){return new (a||Sw)};Sw.\u0275prov=Pc({token:Sw,factory:function(){return new Sw},providedIn:"platform"});var Tw=function(){};Tw.prototype.historyGo=function(){throw Error("$");};Tw.\u0275fac=function(a){return new (a||Tw)};Tw.\u0275prov=Pc({token:Tw,factory:function(){return bd(Uw)},providedIn:"root"});var kVb=new rd(""),Uw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:fVb.getBaseHref())?d:null==(c=bd(qh).location)?void 0:c.origin)?e:""};Y(Uw,Tw);g=Uw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),jVb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return zna(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Zg(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+Zg(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Zg(d)))};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};Uw.\u0275fac=function(a){return new (a||Uw)(p(Rw),p(kVb,8))};Uw.\u0275prov=Pc({token:Uw,factory:Uw.\u0275fac,providedIn:"root"});var Vw=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};Y(Vw,Tw);g=Vw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),jVb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};
g.path=function(){var a,b=null!=(a=this._platformLocation.hash)?a:"#";return 0<b.length?b.substring(1):b};g.prepareExternalUrl=function(a){a=zna(this._baseHref,a);return 0<a.length?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Zg(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
g.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+Zg(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};Vw.\u0275fac=function(a){return new (a||Vw)(p(Rw),p(kVb,8))};
Vw.\u0275prov=Pc({token:Vw,factory:Vw.\u0275fac});var Ww=function(a){var b=this;this._subject=new Uv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Bna(Ana(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=Ww.prototype;g.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
g.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};g.getState=function(){return this._locationStrategy.getState()};g.normalize=function(a){var b=this._basePath;a=a.replace(/\/index.html$/,"");b&&a.startsWith(b)?(b=a.substring(b.length),b=""===b||["/",";","?","#"].includes(b[0])?b:a):b=a;return Ana(b)};g.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
g.go=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Zg(b)),c)};g.replaceState=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Zg(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};g._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};Ww.\u0275fac=function(a){return new (a||Ww)(p(Tw))};Ww.\u0275prov=Pc({token:Ww,factory:function(){return new Ww(p(Tw))},providedIn:"root"});var lVb=function(){};lVb.\u0275prov=Pc({token:lVb,providedIn:"root",factory:function(){return"browser"===bd(Je)?new mVb:new nVb}});var mVb=function(){var a=bd(qh),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};g=mVb.prototype;g.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};g.getScrollPosition=function(){return[this.window.scrollX,this.window.scrollY]};g.scrollToPosition=function(a){this.window.scrollTo(a[0],a[1])};
g.scrollToAnchor=function(a){a:{var b=this.document,c=b.getElementById(a)||b.getElementsByName(a)[0];if(c)a=c;else{if("function"===typeof b.createTreeWalker&&b.body&&"function"===typeof b.body.attachShadow)for(b=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT),c=b.currentNode;c;){if(c=c.shadowRoot)if(c=c.getElementById(a)||c.querySelector('[name="'+a+'"]')){a=c;break a}c=b.nextNode()}a=null}}if(a){c=a.getBoundingClientRect();b=c.left+this.window.pageXOffset;c=c.top+this.window.pageYOffset;var d=
this.offset();this.window.scrollTo(b-d[0],c-d[1]);a.focus()}};g.setHistoryScrollRestoration=function(a){this.window.history.scrollRestoration=a};var nVb=function(){};g=nVb.prototype;g.setOffset=function(){};g.getScrollPosition=function(){return[0,0]};g.scrollToPosition=function(){};g.scrollToAnchor=function(){};g.setHistoryScrollRestoration=function(){};var oVb=function(){};var pVb={provide:Bw,useExisting:Yc(function(){return bh}),multi:!0},qVb=new rd(""),bh=function(a,b,c){Aw.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((fVb?window.navigator.userAgent:"").toLowerCase()))};Y(bh,Aw);bh.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};bh.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
bh.prototype._compositionStart=function(){this._composing=!0};bh.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};bh.\u0275fac=function(a){return new (a||bh)(C(tv),C(Wd),C(qVb,8))};
bh.\u0275dir=jd({type:bh,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&&N("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[wg([pVb]),Ff]});var Xw=new rd(""),Yw=new rd(""),Zw=function(a){return Ena(a)};var $w=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=$w.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=Ona(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=Qna(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};
Ac.Object.defineProperties($w.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 ax=function(){$w.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};Y(ax,$w);var bx=function(){$w.apply(this,arguments)};Y(bx,$w);Ac.Object.defineProperties(bx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var rVb=function(a){this._cd=a};
Ac.Object.defineProperties(rVb.prototype,{isTouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.touched)}},isUntouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.untouched)}},isPristine:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.pristine)}},isDirty:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==
(a=this._cd)?0:null==(b=a.control)?0:b.dirty)}},isValid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.valid)}},isInvalid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.invalid)}},isPending:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.pending)}},isSubmitted:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==
(a=this._cd)||!a.submitted)}}});Object.assign({},{"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},{"[class.ng-submitted]":"isSubmitted"});var cx=function(a){this._cd=a};Y(cx,rVb);cx.\u0275fac=function(a){return new (a||cx)(C(ax,2))};
cx.\u0275dir=jd({type:cx,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&Qf("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[Ff]});var dx=function(a){this._cd=a};Y(dx,rVb);dx.\u0275fac=function(a){return new (a||dx)(C(bx,10))};
dx.\u0275dir=jd({type:dx,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&Qf("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[Ff]});var ex=new rd("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var fx=function(a,b){this._pendingTouched=this._hasOwnPendingAsyncValidator=this._pendingDirty=!1;this._onCollectionChange=function(){};this._parent=null;this.pristine=!0;this.touched=!1;this._onDisabledChange=[];this._assignValidators(a);this._assignAsyncValidators(b)},aoa=function(a,b){a._assignValidators(b)},boa=function(a,b){a._assignAsyncValidators(b)},sVb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(Zw):a===Zw},doa=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&doa(a._parent,b)},tVb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){tVb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},eoa=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&eoa(a._parent,b)},uVb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){uVb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};g=fx.prototype;
g.disable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(c){c.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!0)})};
g.enable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});ah(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};g._updateAncestors=function(a){this._parent&&!a.onlySelf&&(ah(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
g.setParent=function(a){this._parent=a};g.getRawValue=function(){return this.value};var ah=function(a,b){b=void 0===b?{}:b;a._setInitialStatus();a._updateValue();a.enabled&&(a._cancelExistingSubscription(),a.errors=a._runValidator(),a.status=a._calculateStatus(),"VALID"!==a.status&&"PENDING"!==a.status||a._runAsyncValidator(b.emitEvent));!1!==b.emitEvent&&(a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&ah(a._parent,b)};g=fx.prototype;
g._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});ah(this,{onlySelf:!0,emitEvent:a.emitEvent})};g._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};g._runValidator=function(){return this.validator?this.validator(this):null};
g._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=Jna(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;b.setErrors(c,{emitEvent:a})}))};g._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
g.setErrors=function(a,b){b=void 0===b?{}:b;this.errors=a;this._updateControlsErrors(!1!==b.emitEvent)};g.get=function(a){if(null==a)return null;Array.isArray(a)||(a=a.split("."));return 0===a.length?null:a.reduce(function(b,c){return b&&b._find(c)},this)};g.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};g.hasError=function(a,b){return!!this.getError(a,b)};
g._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};g._initObservables=function(){this.valueChanges=new Uv;this.statusChanges=new Uv};g._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};
g._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};g._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};g._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};g._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};
g._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};g._setUpdateStrategy=function(a){dh(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};g._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};g._find=function(){return null};
g._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?Ona(a):a||null};g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?Qna(a):a||null};
Ac.Object.defineProperties(fx.prototype,{validator:{configurable:!0,enumerable:!0,get:function(){return this._composedValidatorFn},set:function(a){this._rawValidators=this._composedValidatorFn=a}},asyncValidator:{configurable:!0,enumerable:!0,get:function(){return this._composedAsyncValidatorFn},set:function(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}},parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},valid:{configurable:!0,enumerable:!0,get:function(){return"VALID"===
this.status}},invalid:{configurable:!0,enumerable:!0,get:function(){return"INVALID"===this.status}},pending:{configurable:!0,enumerable:!0,get:function(){return"PENDING"==this.status}},disabled:{configurable:!0,enumerable:!0,get:function(){return"DISABLED"===this.status}},enabled:{configurable:!0,enumerable:!0,get:function(){return"DISABLED"!==this.status}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},untouched:{configurable:!0,enumerable:!0,get:function(){return!this.touched}},
updateOn:{configurable:!0,enumerable:!0,get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},root:{configurable:!0,enumerable:!0,get:function(){for(var a=this;a._parent;)a=a._parent;return a}}});var gx=function(a,b,c){var d=fx.call,e=ioa(b);c=(dh(b)?b.asyncValidators:c)||null;d.call(fx,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();ah(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};Y(gx,fx);var vVb=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=gx.prototype;
g.addControl=function(a){var b=void 0===b?{}:b;vVb(this,a);ah(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];ah(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;joa(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Uc(1E3,"");if(!e[d])throw new Uc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});ah(this,b)};g.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a?a[d]:null,{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);ah(this,b)};
g.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};g._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&ah(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=k(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=k(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=k(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var wVb={provide:bx,useExisting:Yc(function(){return hx})},xVb=Promise.resolve(),hx=function(a,b,c){bx.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new Uv;this.form=new gx({},Ona(a),Qna(b))};Y(hx,bx);g=hx.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;xVb.then(function(){var c=b._findContainer(a.path);a.control=vVb(c,a.name,a.control);$g(a.control,a,b.callSetDisabledState);ah(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;xVb.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;xVb.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submitted=!0;goa(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
Ac.Object.defineProperties(hx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}},controls:{configurable:!0,enumerable:!0,get:function(){return this.form.controls}}});hx.\u0275fac=function(a){return new (a||hx)(C(Xw,10),C(Yw,10),C(ex,8))};
hx.\u0275dir=jd({type:hx,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&N("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[wg([wVb]),Ff]});var ix=function(a,b,c){a=void 0===a?null:a;var d=fx.call,e=ioa(b);c=(dh(b)?b.asyncValidators:c)||null;d.call(fx,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();ah(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});dh(b)&&(b.nonNullable||b.initialValueIsDefault)&&(koa(a)?this.defaultValue=a.value:this.defaultValue=a)};Y(ix,fx);g=ix.prototype;
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;this.value=this._pendingValue=a;this._onChange.length&&!1!==b.emitModelToViewChange&&this._onChange.forEach(function(d){return d(c.value,!1!==b.emitViewToModelChange)});ah(this,b)};g.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);uVb(this,b);tVb(this,b);this.setValue(this.value,b);this._pendingChange=!1};g._updateValue=function(){};g._anyControls=function(){return!1};g._allControlsDisabled=function(){return this.disabled};
g.registerOnChange=function(a){this._onChange.push(a)};g._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._forEachChild=function(){};
g._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&eoa(this),this._pendingTouched&&doa(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){koa(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 yVb={provide:ax,useExisting:Yc(function(){return jx})},zVb=Promise.resolve(),jx=function(a,b,c,d,e,f){ax.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new ix;this._registered=!1;this.name="";this.update=new Uv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=hoa(d)};Y(jx,ax);g=jx.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);foa(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};g._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
g._setUpStandalone=function(){$g(this.control,this,this.callSetDisabledState);ah(this.control,{emitEvent:!1})};g._checkForErrors=function(){this._checkName()};g._checkParentType=function(){};g._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};g._updateValue=function(a){var b=this;zVb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
g._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&Ng(a);zVb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};g._getPath=function(a){return this._parent?Sna(a,this._parent):[a]};
Ac.Object.defineProperties(jx.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}}});jx.\u0275fac=function(a){return new (a||jx)(C(bx,9),C(Xw,10),C(Yw,10),C(Bw,10),C(Pg,8),C(ex,8))};
jx.\u0275dir=jd({type:jx,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"],features:[wg([yVb]),Ff,xd]});var kx=function(){};kx.\u0275fac=function(a){return new (a||kx)};kx.\u0275dir=jd({type:kx,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var AVb={provide:Bw,useExisting:Yc(function(){return lx}),multi:!0},lx=function(){ch.apply(this,arguments)};Y(lx,ch);lx.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};lx.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};lx.\u0275fac=function(){var a;return function(b){return(a||(a=Td(lx)))(b||lx)}}();
lx.\u0275dir=jd({type:lx,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&N("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[wg([AVb]),Ff]});var BVb={provide:Bw,useExisting:Yc(function(){return mx}),multi:!0},ox=function(){this._accessors=[]};ox.prototype.add=function(a,b){this._accessors.push([a,b])};ox.prototype.remove=function(a){for(var b=this._accessors.length-1;0<=b;--b)if(this._accessors[b][1]===a){this._accessors.splice(b,1);break}};ox.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};
ox.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};ox.\u0275fac=function(a){return new (a||ox)};ox.\u0275prov=Pc({token:ox,factory:ox.\u0275fac,providedIn:"root"});var mx=function(a,b,c,d){ch.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=bd(ex,{optional:!0}))?e:"whenDisabledForLegacyCode"};Y(mx,ch);g=mx.prototype;
g.ngOnInit=function(){this._control=this._injector.get(ax);this._checkName();this._registry.add(this._control,this)};g.ngOnDestroy=function(){this._registry.remove(this)};g.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};g.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};
g.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};g._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};mx.\u0275fac=function(a){return new (a||mx)(C(tv),C(Wd),C(ox),C(Ie))};
mx.\u0275dir=jd({type:mx,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&N("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[wg([BVb]),Ff]});var CVb=new rd(""),DVb={provide:ax,useExisting:Yc(function(){return px})},px=function(a,b,c,d,e){ax.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Uv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=hoa(c)};Y(px,ax);
px.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Zna(b,this);$g(this.form,this,this.callSetDisabledState);ah(this.form,{emitEvent:!1})}foa(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};px.prototype.ngOnDestroy=function(){this.form&&Zna(this.form,this)};px.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};px.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
Ac.Object.defineProperties(px.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}}});px.\u0275fac=function(a){return new (a||px)(C(Xw,10),C(Yw,10),C(Bw,10),C(CVb,8),C(ex,8))};
px.\u0275dir=jd({type:px,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[wg([DVb]),Ff,xd]});var EVb={provide:bx,useExisting:Yc(function(){return qx})},qx=function(a,b,c){bx.call(this);var d=this;this.callSetDisabledState=c;this.submitted=!1;this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this.form=null;this.ngSubmit=new Uv;this._setValidators(a);this._setAsyncValidators(b)};Y(qx,bx);g=qx.prototype;g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
g.ngOnDestroy=function(){this.form&&(Yna(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);$g(b,a,this.callSetDisabledState);ah(b,{emitEvent:!1});this.directives.push(a);return b};g.removeControl=function(a){Zna(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};g.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
g.onSubmit=function(a){this.submitted=!0;goa(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(Zna(c||null,b),d instanceof ix&&($g(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
g._setUpFormContainer=function(a){var b=this.form.get(a.path);Tna(b,a);ah(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Yna(b,a)&&ah(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){Tna(this.form,this);this._oldForm&&Yna(this._oldForm,this)};g._checkFormPresent=function(){};
Ac.Object.defineProperties(qx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}}});qx.\u0275fac=function(a){return new (a||qx)(C(Xw,10),C(Yw,10),C(ex,8))};
qx.\u0275dir=jd({type:qx,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&N("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[wg([EVb]),Ff,xd]});var FVb={provide:ax,useExisting:Yc(function(){return rx})},rx=function(a,b,c,d,e){ax.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Uv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=hoa(d)};Y(rx,ax);g=rx.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();foa(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._checkParentType=function(){};g._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
Ac.Object.defineProperties(rx.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return Sna(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});rx.\u0275fac=function(a){return new (a||rx)(C(bx,13),C(Xw,10),C(Yw,10),C(Bw,10),C(CVb,8))};
rx.\u0275dir=jd({type:rx,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[wg([FVb]),Ff,xd]});var sx=function(){this._validator=Gna};sx.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):Gna,this._onChange&&this._onChange())};sx.prototype.validate=function(a){return this._validator(a)};sx.prototype.registerOnValidatorChange=function(a){this._onChange=a};sx.prototype.enabled=function(a){return null!=a};sx.\u0275fac=function(a){return new (a||sx)};
sx.\u0275dir=jd({type:sx,features:[xd]});var GVb={provide:Xw,useExisting:Yc(function(){return tx}),multi:!0},tx=function(){sx.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Dna(a)}};Y(tx,sx);tx.\u0275fac=function(){var a;return function(b){return(a||(a=Td(tx)))(b||tx)}}();
tx.\u0275dir=jd({type:tx,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&&Hf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[wg([GVb]),Ff]});var HVb={provide:Xw,useExisting:Yc(function(){return ux}),multi:!0},ux=function(){sx.apply(this,arguments);this.inputName="required";this.normalizeInput=Ng;this.createValidator=function(){return Ena}};
Y(ux,sx);ux.prototype.enabled=function(a){return a};ux.\u0275fac=function(){var a;return function(b){return(a||(a=Td(ux)))(b||ux)}}();ux.\u0275dir=jd({type:ux,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&Hf("required",b._enabled?"":null)},inputs:{required:"required"},features:[wg([HVb]),Ff]});
var IVb={provide:Xw,useExisting:Yc(function(){return vx}),multi:!0},vx=function(){sx.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return Fna(a)}};Y(vx,sx);vx.\u0275fac=function(){var a;return function(b){return(a||(a=Td(vx)))(b||vx)}}();
vx.\u0275dir=jd({type:vx,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Hf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[wg([IVb]),Ff]});var JVb={provide:Xw,useExisting:Yc(function(){return wx}),multi:!0},wx=function(){sx.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Hna(a)}};
Y(wx,sx);wx.\u0275fac=function(){var a;return function(b){return(a||(a=Td(wx)))(b||wx)}}();wx.\u0275dir=jd({type:wx,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Hf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[wg([JVb]),Ff]});var xx=function(){};xx.\u0275fac=function(a){return new (a||xx)};xx.\u0275mod=hd({type:xx});xx.\u0275inj=Rc({});var yx=function(){};yx.\u0275fac=function(a){return new (a||yx)};yx.\u0275mod=hd({type:yx});yx.\u0275inj=Rc({imports:[xx]});var zx=function(){};zx.\u0275fac=function(a){return new (a||zx)};zx.\u0275mod=hd({type:zx});zx.\u0275inj=Rc({imports:[xx]});var loa,moa="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 eh;var qoa,gh;var soa;var KVb;try{KVb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){KVb=!1}
var Ax=function(a){this.EDGE=(this.isBrowser=(this._platformId=a)?"browser"===this._platformId:"object"===typeof document&&!!document)&&/(edge)/i.test(navigator.userAgent);this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);this.BLINK=this.isBrowser&&!(!window.chrome&&!KVb)&&"undefined"!==typeof CSS&&!this.EDGE&&!this.TRIDENT;this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&
!("MSStream"in window);this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT};Ax.\u0275fac=function(a){return new (a||Ax)(p(Je))};Ax.\u0275prov=Pc({token:Ax,factory:Ax.\u0275fac,providedIn:"root"});var Bx=function(a){this._platform=a};Bx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};Bx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var LVb=function(a,b){if(!a._platform.isBrowser)return!1;try{var c=(b.ownerDocument&&b.ownerDocument.defaultView||window).frameElement}catch(h){c=null}if(c&&(-1===woa(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=woa(b);if(b.hasAttribute("contenteditable"))a=-1!==d;else{var e;if(!(e="iframe"===c||"object"===c)&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var f="input"===e&&b.type;e=!("text"===f||"password"===f||"select"===e||"textarea"===e)}a=e?!1:"audio"===
c?b.hasAttribute("controls")?-1!==d:!1:"video"===c?-1===d?!1:null!==d?!0:a._platform.FIREFOX||b.hasAttribute("controls"):0<=b.tabIndex}return a};
Bx.prototype.isFocusable=function(a,b){if("input"==a.nodeName.toLowerCase()&&"hidden"==a.type)var c=!1;else c=a.nodeName.toLowerCase(),c="input"===c||"select"===c||"button"===c||"textarea"===c||"a"==a.nodeName.toLowerCase()&&a.hasAttribute("href")||a.hasAttribute("contenteditable")||voa(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};Bx.\u0275fac=function(a){return new (a||Bx)(p(Ax))};Bx.\u0275prov=Pc({token:Bx,factory:Bx.\u0275fac,providedIn:"root"});var Ex=function(a,b,c,d,e){var f=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return MVb(f)};this.endAnchorListener=function(){return Cx(f)};this._enabled=!0;(void 0===e?0:e)||Dx(this)};
Ex.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 Dx=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))},NVb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Ex.prototype._getRegionBoundary=function(a){var b=this._element.querySelectorAll("[cdk-focus-region-"+a+"], [cdkFocusRegion"+(a+"], [cdk-focus-")+(a+"]"));return"start"==a?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)};
Ex.prototype.focusInitialElement=function(){var a=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(a){if(!this._checker.isFocusable(a))return a=this._getFirstTabbableElement(a),null==a||a.focus(void 0),!!a;a.focus(void 0);return!0}return Cx(this)};var Cx=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},MVb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=Ex.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&LVb(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)&&LVb(this._checker,a))return a;a=a.children;for(var b=a.length-1;0<=b;b--){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(a[b]):null;if(c)return c}return null};
g._createAnchor=function(){var a=this._document.createElement("div");this._toggleAnchorTabIndex(this._enabled,a);a.classList.add("cdk-visually-hidden");a.classList.add("cdk-focus-trap-anchor");a.setAttribute("aria-hidden","true");return a};g._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var OVb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Ex.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(mf()).subscribe(a)};Ac.Object.defineProperties(Ex.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 Fx=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
Fx.prototype.create=function(a,b){return new Ex(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};Fx.\u0275fac=function(a){return new (a||Fx)(p(Bx),p(He),p(qh))};Fx.\u0275prov=Pc({token:Fx,factory:Fx.\u0275fac,providedIn:"root"});var Gx=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;bd(Ax).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=Gx.prototype;
g.ngOnDestroy=function(){var a;null==(a=this.focusTrap)||a.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};g.ngAfterContentInit=function(){var a;null==(a=this.focusTrap)||Dx(a);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&Dx(this.focusTrap)};
g.ngOnChanges=function(a){a=a.autoCapture;var b;a&&!a.firstChange&&this.autoCapture&&(null==(b=this.focusTrap)?0:b.hasAttached())&&this._captureFocus()};g._captureFocus=function(){this._previouslyFocusedElement=hh();var a;null==(a=this.focusTrap)||NVb(a)};Ac.Object.defineProperties(Gx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.focusTrap)?void 0:a.enabled)||!1},set:function(a){this.focusTrap&&(this.focusTrap.enabled=a)}}});
Gx.\u0275fac=function(a){return new (a||Gx)(C(Wd),C(Fx),C(qh))};Gx.\u0275dir=jd({type:Gx,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Ng],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Ng]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Gf,xd]});var PVb=new rd("cdk-input-modality-detector-options"),QVb={ignoreKeys:[18,17,224,91,16]},Hx=fh({passive:!0,capture:!0}),Ix=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new X.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,l;(null==(h=e._options)?0:null==(l=h.ignoreKeys)?0:l.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=ih(f))};this._onMousedown=function(f){650>Date.now()-e._lastTouchMs||
(e._modality.next(xoa(f)?"keyboard":"mouse"),e._mostRecentTarget=ih(f))};this._onTouchstart=function(f){yoa(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=ih(f))};this._options=Object.assign({},QVb,d);this.modalityDetected=this._modality.pipe(uf(1));this.modalityDetected.pipe(lf());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Hx);c.addEventListener("mousedown",e._onMousedown,Hx);c.addEventListener("touchstart",
e._onTouchstart,Hx)})};Ix.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Hx),document.removeEventListener("mousedown",this._onMousedown,Hx),document.removeEventListener("touchstart",this._onTouchstart,Hx))};Ac.Object.defineProperties(Ix.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
Ix.\u0275fac=function(a){return new (a||Ix)(p(Ax),p(He),p(qh),p(PVb,8))};Ix.\u0275prov=Pc({token:Ix,factory:Ix.\u0275fac,providedIn:"root"});var RVb=new rd("cdk-focus-monitor-default-options"),SVb=fh({passive:!0,capture:!0}),Jx=function(a,b,c,d,e){var f=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){f._windowFocused=!0;f._windowFocusTimeoutId=window.setTimeout(function(){return f._windowFocused=!1})};this._stopInputModalityDetector=
new X.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=ih(h);l;l=l.parentElement)"focus"===h.type?f._onFocus(h,l):f._onBlur(h,l)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
Jx.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=nh(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,X.of)();var c=toa(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new X.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
Jx.prototype.stopMonitoring=function(a){a=nh(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var Kx=function(a,b,c,d){b=nh(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=k(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};g=Jx.prototype;
g.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};
g._getFocusOrigin=function(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"};g._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
g._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused","touch"===b);a.classList.toggle("cdk-keyboard-focused","keyboard"===b);a.classList.toggle("cdk-mouse-focused","mouse"===b);a.classList.toggle("cdk-program-focused","program"===b)};
g._setOrigin=function(a,b){var c=this;b=void 0===b?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction="touch"===a&&b;0===c._detectionMode&&(clearTimeout(c._originTimeoutId),c._originTimeoutId=setTimeout(function(){return c._origin=null},c._originFromTouchInteraction?650:1))})};g._onFocus=function(a,b){var c=this._elementInfo.get(b);a=ih(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
g._onBlur=function(a,b){var c=this._elementInfo.get(b);!c||c.checkChildren&&a.relatedTarget instanceof Node&&b.contains(a.relatedTarget)||(this._setClasses(b),this._emitOrigin(c,null))};g._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
g._registerGlobalListeners=function(a){var b=this;if(this._platform.isBrowser){var c=a.rootNode;(a=this._rootNodeFocusListenerCount.get(c)||0)||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",b._rootNodeFocusAndBlurListener,SVb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,SVb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(xf(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
g._removeGlobalListeners=function(a){a=a.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var b=this._rootNodeFocusListenerCount.get(a);1<b?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,SVb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,SVb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};g._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};g._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
g._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if("mouse"!==b.mostRecentModality||!c||c===a||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};Jx.\u0275fac=function(a){return new (a||Jx)(p(He),p(Ax),p(Ix),p(qh,8),p(RVb,8))};Jx.\u0275prov=Pc({token:Jx,factory:Jx.\u0275fac,providedIn:"root"});
var Lx=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new Uv};Lx.prototype.ngAfterViewInit=function(){var a=this,b=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(b,1===b.nodeType&&b.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(c){a._focusOrigin=c;a.cdkFocusChange.emit(c)})};Lx.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
Ac.Object.defineProperties(Lx.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});Lx.\u0275fac=function(a){return new (a||Lx)(C(Wd),C(Jx))};Lx.\u0275dir=jd({type:Lx,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});var TVb=new Set,Mx,Nx=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Aoa};Nx.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!TVb.has(a))try{Mx||(Mx=document.createElement("style"),b&&Mx.setAttribute("nonce",b),Mx.setAttribute("type","text/css"),document.head.appendChild(Mx)),Mx.sheet&&(Mx.sheet.insertRule("@media "+a+" {body{ }}",0),TVb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
Nx.\u0275fac=function(a){return new (a||Nx)(p(Ax),p(SSb,8))};Nx.\u0275prov=Pc({token:Nx,factory:Nx.\u0275fac,providedIn:"root"});var Ox=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new X.Subject};Ox.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
Ox.prototype.observe=function(a){var b=this;a=Boa(kh(a)).map(function(c){return b._registerQuery(c).observable});a=(0,X.combineLatest)(a);a=(0,X.concat)(a.pipe(mf()),a.pipe(uf(1),jf(0)));return a.pipe(z(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}))};
Ox.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 X.Observable(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(vf(c),z(function(e){return{query:a,matches:e.matches}}),xf(this._destroySubject)),mql:c};this._queries.set(a,d);return d};Ox.\u0275fac=function(a){return new (a||Ox)(p(Nx),p(He))};
Ox.\u0275prov=Pc({token:Ox,factory:Ox.\u0275fac,providedIn:"root"});var Px=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=bd(Ox).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},UVb=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};Px.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
Px.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=UVb(this);1===b?a.add("cdk-high-contrast-active","cdk-high-contrast-black-on-white"):2===b&&a.add("cdk-high-contrast-active","cdk-high-contrast-white-on-black")}};
Px.\u0275fac=function(a){return new (a||Px)(p(Ax),p(qh))};Px.\u0275prov=Pc({token:Px,factory:Px.\u0275fac,providedIn:"root"});var VVb=new rd("liveAnnouncerElement",{providedIn:"root",factory:Coa}),WVb=new rd("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Qx=function(){};Qx.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};Qx.\u0275fac=function(a){return new (a||Qx)};Qx.\u0275prov=Pc({token:Qx,factory:Qx.\u0275fac,providedIn:"root"});var Rx=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};g=Rx.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=nh(a);return new X.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};g._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new X.Subject,c=this._mutationObserverFactory.create(function(d){return b.next(d)});c&&c.observe(a,{characterData:!0,childList:!0,subtree:!0});this._observedElements.set(a,{observer:c,stream:b,count:1})}return this._observedElements.get(a).stream};
g._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};g._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};Rx.\u0275fac=function(a){return new (a||Rx)(p(Qx))};Rx.\u0275prov=Pc({token:Rx,factory:Rx.\u0275fac,providedIn:"root"});
var Sx=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new Uv;this._disabled=!1;this._currentSubscription=null};Sx.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};Sx.prototype.ngOnDestroy=function(){this._unsubscribe()};
Sx.prototype._subscribe=function(){var a=this;this._unsubscribe();var b=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){a._currentSubscription=(a.debounce?b.pipe(jf(a.debounce)):b).subscribe(a.event)})};Sx.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
Ac.Object.defineProperties(Sx.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=oh(a);this._subscribe()}}});Sx.\u0275fac=function(a){return new (a||Sx)(C(Rx),C(Wd),C(He))};
Sx.\u0275dir=jd({type:Sx,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Ng],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[Gf]});var Tx=function(){};Tx.\u0275fac=function(a){return new (a||Tx)};Tx.\u0275mod=hd({type:Tx});Tx.\u0275inj=Rc({providers:[Qx]});var XVb=0,Ux=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=Ux.prototype;
g.announce=function(a){var b=pd.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=k(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));var h;null==(h=c._currentResolve)||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;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+XVb++;this._document.body.appendChild(b);return b};
g._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};Ux.\u0275fac=function(a){return new (a||Ux)(p(VVb,8),p(He),p(qh),p(WVb,8))};Ux.\u0275prov=Pc({token:Ux,factory:Ux.\u0275fac,providedIn:"root"});var Vx=function(a){a._applyBodyHighContrastModeCssClasses()};Vx.\u0275fac=function(a){return new (a||Vx)(p(Px))};Vx.\u0275mod=hd({type:Vx});Vx.\u0275inj=Rc({imports:[Tx]});var Goa=0,Wx=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+Goa++;this._document=a;this._id=bd(RSb)+"-"+Goa++},Xx=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=Foa(c,d);"string"!==typeof c?(Hoa(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)}},Yx=function(a,b,c,d){if(c&&a._isElementNode(b)){d=Foa(c,
d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);"string"===typeof c&&(b=a._messageRegistry.get(d))&&0===b.referenceCount&&a._deleteMessageElement(d);var e;0===(null==(e=a._messagesContainer)?void 0:e.childNodes.length)&&(a._messagesContainer.remove(),a._messagesContainer=null)}};g=Wx.prototype;
g.ngOnDestroy=function(){for(var a=this._document.querySelectorAll('[cdk-describedby-host="'+this._id+'"]'),b=0;b<a.length;b++)this._removeCdkDescribedByReferenceIds(a[b]),a[b].removeAttribute("cdk-describedby-host");var c;null==(c=this._messagesContainer)||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
g._createMessageElement=function(a,b){var c=this._document.createElement("div");Hoa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(Foa(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=Doa(a,"aria-describedby").filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};g._addMessageReference=function(a,b){b=this._messageRegistry.get(b);Eoa(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--;ph(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=Doa(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};
g._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&"object"===typeof b)return!0;b=null==b?"":b.trim();a=a.getAttribute("aria-label");return b?!a||a.trim()!==b:!1};g._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};Wx.\u0275fac=function(a){return new (a||Wx)(p(qh),p(Ax))};Wx.\u0275prov=Pc({token:Wx,factory:Wx.\u0275fac,providedIn:"root"});var Zx=function(a,b,c,d,e,f,h){Ex.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};Y(Zx,Ex);Zx.prototype.destroy=function(){this._focusTrapManager.deregister(this);Ex.prototype.destroy.call(this)};Zx.prototype._enable=function(){this._inertStrategy.preventFocus(this);OVb(this,!0)};Zx.prototype._disable=function(){this._inertStrategy.allowFocus(this);OVb(this,!1)};
Ac.Object.defineProperties(Zx.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 YVb=function(){this._listener=null};YVb.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)})};YVb.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
YVb.prototype._trapFocus=function(a,b){b=b.target;var c=a._element,d;!b||c.contains(b)||(null==(d=b.closest)?0:d.call(b,"div.cdk-overlay-pane"))||setTimeout(function(){a.enabled&&!c.contains(a._document.activeElement)&&Cx(a)})};var ZVb=new rd("FOCUS_TRAP_INERT_STRATEGY");var ay=function(){this._focusTrapStack=[]};ay.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()};ay.prototype.deregister=function(a){a._disable();var b=this._focusTrapStack;a=b.indexOf(a);-1!==a&&(b.splice(a,1),b.length&&b[b.length-1]._enable())};ay.\u0275fac=function(a){return new (a||ay)};ay.\u0275prov=Pc({token:ay,factory:ay.\u0275fac,providedIn:"root"});var by=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new YVb};by.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new Zx(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};by.\u0275fac=function(a){return new (a||by)(p(Bx),p(He),p(ay),p(qh),p(ZVb,8))};by.\u0275prov=Pc({token:by,factory:by.\u0275fac,providedIn:"root"});var cy=function(a,b){var c=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new X.Subject;this._typeaheadSubscription=X.Subscription.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(d){return d.disabled};this._pressedLetters=[];this.tabOut=new X.Subject;this.change=new X.Subject;a instanceof kg?this._itemChangesSubscription=a.changes.subscribe(function(d){return c._itemsChanged(d.toArray())}):
Tja(a)&&(this._effectRef=Nma(function(){return c._itemsChanged(a())},{injector:b}))},dy=function(a,b){a._skipPredicateFn=b;return a},ey=function(a){a._wrap=!0;return a},fy=function(a,b){a._vertical=void 0===b?!0:b;return a},gy=function(a,b){a._horizontal=b;return a},$Vb=function(a){a._allowedModifierKeys=["shiftKey"];return a},aWb=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(yf(function(c){return a._pressedLetters.push(c)}),
jf(b),Ce(function(){return 0<a._pressedLetters.length}),z(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var f=(a._activeItemIndex+e)%d.length,h=d[f];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(f);break}}a._pressedLetters=[]});return a},hy=function(a){a._homeAndEnd=!0;return a},bWb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
cy.prototype.setActiveItem=function(a){var b=this._activeItem;iy(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
cy.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(e){return!a[e]||-1<b._allowedModifierKeys.indexOf(e)});switch(c){case 9:this.tabOut.next();return;case 40:if(this._vertical&&d){this.setNextItemActive();break}else return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&
d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&d){this._setActiveItemByIndex(0,1);break}else return;case 35:if(this._homeAndEnd&&d){cWb(this);break}else return;case 33:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(0<c?c:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex+this._pageUpAndDown.delta;d=this._getItemsArray().length;
this._setActiveItemByIndex(c<d?c:d-1,-1);break}else return;default:if(d||jh(a,"shiftKey"))a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(65<=c&&90>=c||48<=c&&57>=c)&&this._letterKeyStream.next(String.fromCharCode(c));return}this._pressedLetters=[];a.preventDefault()};var cWb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};cy.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
cy.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?cWb(this):this._setActiveItemByDelta(-1)};var iy=function(a,b){var c=a._getItemsArray();b="number"===typeof b?b:c.indexOf(b);c=c[b];a._activeItem=null==c?null:c;a._activeItemIndex=b};g=cy.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();var b;null==(b=this._effectRef)||b.destroy();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};g._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
g._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};g._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};g._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
g._getItemsArray=function(){return Tja(this._items)?this._items():this._items instanceof kg?this._items.toArray():this._items};g._itemsChanged=function(a){this._activeItem&&(a=a.indexOf(this._activeItem),-1<a&&a!==this._activeItemIndex&&(this._activeItemIndex=a))};Ac.Object.defineProperties(cy.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var jy=function(){cy.apply(this,arguments)};Y(jy,cy);jy.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();cy.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var ky=function(){cy.apply(this,arguments);this._origin="program"};Y(ky,cy);var dWb=function(a,b){a._origin=b;return a};ky.prototype.setActiveItem=function(a){cy.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var ly=function(){};ly.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};ly.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};Ac.Object.defineProperties(ly.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var my=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};Y(my,ly);
var ny=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};Y(ny,ly);ny.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return ly.prototype.attach.call(this,a)};ny.prototype.detach=function(){this.context=void 0;return ly.prototype.detach.call(this)};Ac.Object.defineProperties(ny.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var oy=function(){this._isDisposed=!1};g=oy.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof my)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof ny)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 py=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};Y(py,oy);
py.prototype.attachComponentPortal=function(a){var b=this,c=bUb(a.componentFactoryResolver||this._componentFactoryResolver,a.component);if(a.viewContainerRef){var d=a.viewContainerRef.createComponent(c,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0);this.setDisposeFn(function(){return d.destroy()})}else d=c.create(a.injector||this._defaultInjector||PSb),tUb(this._appRef,d.hostView),this.setDisposeFn(function(){0<b._appRef.viewCount&&b._appRef.detachView(d.hostView);
d.destroy()});this.outletElement.appendChild(this._getComponentRootNode(d));this._attachedPortal=a;return d};py.prototype.attachTemplatePortal=function(a){var b=this,c=a.viewContainerRef,d=c.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});d.rootNodes.forEach(function(e){return b.outletElement.appendChild(e)});d.detectChanges();this.setDisposeFn(function(){var e=c.indexOf(d);-1!==e&&c.remove(e)});this._attachedPortal=a;return d};
py.prototype.dispose=function(){oy.prototype.dispose.call(this);this.outletElement.remove()};py.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var qy=function(a,b){ny.call(this,a,b)};Y(qy,ny);qy.\u0275fac=function(a){return new (a||qy)(C(ig),C(jg))};qy.\u0275dir=jd({type:qy,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[Ff]});var ry=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new Uv;this._document=c};Y(ry,oy);g=ry.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){oy.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=bUb(a.componentFactoryResolver||this._componentFactoryResolver,a.component),d=b.createComponent(c,b.length,a.injector||b.injector,a.projectableNodes||void 0);b!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]);oy.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});oy.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};
Ac.Object.defineProperties(ry.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&oy.prototype.detach.call(this),a&&oy.prototype.attach.call(this,a),this._attachedPortal=a||null}}});ry.\u0275fac=function(a){return new (a||ry)(C(qv),C(jg),C(qh))};
ry.\u0275dir=jd({type:ry,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ff]});var sy=function(){};sy.\u0275fac=function(a){return new (a||sy)};sy.\u0275mod=hd({type:sy});sy.\u0275inj=Rc({});var eWb=new rd("cdk-dir-doc",{providedIn:"root",factory:Ioa});var fWb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,ty=function(a){this.value="ltr";this.change=new Uv;if(a){var b=a.documentElement?a.documentElement.dir:null;b=(a.body?a.body.dir:null)||b||"ltr";b=(null==b?void 0:b.toLowerCase())||"";var c;this.value="auto"===b&&"undefined"!==typeof navigator&&(null==(c=navigator)?0:c.language)?fWb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};ty.prototype.ngOnDestroy=function(){this.change.complete()};
ty.\u0275fac=function(a){return new (a||ty)(p(eWb,8))};ty.\u0275prov=Pc({token:ty,factory:ty.\u0275fac,providedIn:"root"});var uy=function(){};uy.\u0275fac=function(a){return new (a||uy)};uy.\u0275mod=hd({type:uy});uy.\u0275inj=Rc({});var vy=function(a){this._attachedOverlays=[];this._document=a};vy.prototype.ngOnDestroy=function(){this.detach()};vy.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};vy.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};vy.\u0275fac=function(a){return new (a||vy)(p(qh))};vy.\u0275prov=Pc({token:vy,factory:vy.\u0275fac,providedIn:"root"});var wy=function(a,b){vy.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,f={},h=e.length-1;-1<h;f={keydownEvents:void 0},h--)if(0<e[h]._keydownEvents.observers.length){f.keydownEvents=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.keydownEvents.next(d)}}(f)):f.keydownEvents.next(d);break}}};Y(wy,vy);
wy.prototype.add=function(a){var b=this;vy.prototype.add.call(this,a);this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return b._document.body.addEventListener("keydown",b._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)};wy.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
wy.\u0275fac=function(a){return new (a||wy)(p(qh),p(He,8))};wy.\u0275prov=Pc({token:wy,factory:wy.\u0275fac,providedIn:"root"});var xy=function(a,b,c){vy.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=ih(e)};this._clickListener=function(e){var f=ih(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},t=l.length-1;-1<t;q={outsidePointerEvents:void 0},t--){var w=l[t];if(!(1>w._outsidePointerEvents.observers.length)&&w.hasAttached()){if(w.overlayElement.contains(f)||
w.overlayElement.contains(h))break;q.outsidePointerEvents=w._outsidePointerEvents;d._ngZone?d._ngZone.run(function(B){return function(){return B.outsidePointerEvents.next(e)}}(q)):q.outsidePointerEvents.next(e)}}}};Y(xy,vy);
xy.prototype.add=function(a){var b=this;vy.prototype.add.call(this,a);if(!this._isAttached){var c=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return b._addEventListeners(c)}):this._addEventListeners(c);this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=c.style.cursor,c.style.cursor="pointer",this._cursorStyleIsSet=!0);this._isAttached=!0}};
xy.prototype.detach=function(){if(this._isAttached){var a=this._document.body;a.removeEventListener("pointerdown",this._pointerDownListener,!0);a.removeEventListener("click",this._clickListener,!0);a.removeEventListener("auxclick",this._clickListener,!0);a.removeEventListener("contextmenu",this._clickListener,!0);this._platform.IOS&&this._cursorStyleIsSet&&(a.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1);this._isAttached=!1}};
xy.prototype._addEventListeners=function(a){a.addEventListener("pointerdown",this._pointerDownListener,!0);a.addEventListener("click",this._clickListener,!0);a.addEventListener("auxclick",this._clickListener,!0);a.addEventListener("contextmenu",this._clickListener,!0)};xy.\u0275fac=function(a){return new (a||xy)(p(qh),p(Ax),p(He,8))};xy.\u0275prov=Pc({token:xy,factory:xy.\u0275fac,providedIn:"root"});var yy=function(a,b){this._platform=b;this._document=a};yy.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var gWb=function(a){a._containerElement||a._createContainer();return a._containerElement};
yy.prototype._createContainer=function(){if(this._platform.isBrowser||uoa())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");uoa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
yy.\u0275fac=function(a){return new (a||yy)(p(qh),p(Ax))};yy.\u0275prov=Pc({token:yy,factory:yy.\u0275fac,providedIn:"root"});var hWb=poa(),zy=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};zy.prototype.attach=function(){};
zy.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=mh(-this._previousScrollPosition.left);a.style.top=mh(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
zy.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");hWb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);hWb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
zy.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var a=this._document.body,b=this._viewportRuler.getViewportSize();return a.scrollHeight>b.height||a.scrollWidth>b.width};var Ay=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()})}};Ay.prototype.attach=function(a){this._overlayRef=a};
Ay.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Ce(function(c){return!c||!a._overlayRef.overlayElement.contains(c.elementRef.nativeElement)}));this._config&&this._config.threshold&&1<this._config.threshold?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=b.subscribe(function(){var c=a._viewportRuler.getViewportScrollPosition().top;Math.abs(c-a._initialScrollPosition)>a._config.threshold?
a._detach():a._overlayRef.updatePosition()})):this._scrollSubscription=b.subscribe(this._detach)}};Ay.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Ay.prototype.detach=function(){this.disable();this._overlayRef=null};var By=function(){};By.prototype.enable=function(){};By.prototype.disable=function(){};By.prototype.attach=function(){};var Cy=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};Cy.prototype.attach=function(a){this._overlayRef=a};
Cy.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;Joa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
Cy.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Cy.prototype.detach=function(){this.disable();this._overlayRef=null};new rd("VIRTUAL_SCROLL_STRATEGY");var Dy=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new X.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};Dy.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Dy.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Dy.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new X.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(ef(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,X.of)()};
Dy.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var iWb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Dy.prototype._getWindow=function(){return this._document.defaultView||window};
Dy.prototype._scrollableContainsElement=function(a,b){b=nh(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Dy.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,X.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
Dy.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};Dy.\u0275fac=function(a){return new (a||Dy)(p(He),p(Ax),p(qh,8))};Dy.\u0275prov=Pc({token:Dy,factory:Dy.\u0275fac,providedIn:"root"});var Ey=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new X.Subject;this._elementScrolled=new X.Observable(function(f){return e.ngZone.runOutsideAngular(function(){return(0,X.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(xf(e._destroyed)).subscribe(f)})})};Ey.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Ey.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Ey.prototype.scrollTo=function(a){var b=this.elementRef.nativeElement,c=this.dir&&"rtl"==this.dir.value;null==a.left&&(a.left=c?a.end:a.start);null==a.right&&(a.right=c?a.start:a.end);null!=a.bottom&&(a.top=b.scrollHeight-b.clientHeight-a.bottom);c&&0!=roa()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==roa()?a.left=a.right:1==roa()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Ey.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;poa()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};Ey.\u0275fac=function(a){return new (a||Ey)(C(Wd),C(Dy),C(He),C(ty,8))};Ey.\u0275dir=jd({type:Ey,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var jWb=new rd("_ViewRepeater");var kWb=function(){},lWb=function(a,b,c,d){EUb(a,function(e,f,h){if(null==e.previousIndex){var l=c(e,f,h);l=b.createEmbeddedView(l.templateRef,l.context,l.index);f=1}else null==h?(b.remove(f),f=3):(l=b.get(f),b.move(l,h),f=2);if(d){var q;d({context:null==(q=l)?void 0:q.context,operation:f,record:e})}})};kWb.prototype.detach=function(){};var Fy=function(a,b,c,d){var e=this;a=void 0===a?!1:a;c=void 0===c?!0:c;this._multiple=a;this._emitChanges=c;this.compareWith=d;this._selection=new Set;this._deselectedToEmit=[];this._selectedToEmit=[];this.changed=new X.Subject;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=Fy.prototype;
g.select=function(){var a=this;pd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;pd.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return 0===this._selection.size};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a,b){if(this.compareWith){var c;b=null!=(c=b)?c:this._selection;b=k(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};Ac.Object.defineProperties(Fy.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Gy=function(){this._listeners=[]};Gy.prototype.notify=function(a,b){for(var c=k(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};Gy.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Gy.prototype.ngOnDestroy=function(){this._listeners=[]};Gy.\u0275fac=function(a){return new (a||Gy)};Gy.\u0275prov=Pc({token:Gy,factory:Gy.\u0275fac,providedIn:"root"});var Hy=function(a,b,c){var d=this;this._platform=a;this._change=new X.Subject;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};g=Hy.prototype;
g.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};g.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
g.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};g.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(ef(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}};Hy.\u0275fac=function(a){return new (a||Hy)(p(Ax),p(He),p(qh,8))};Hy.\u0275prov=Pc({token:Hy,factory:Hy.\u0275fac,providedIn:"root"});new rd("VIRTUAL_SCROLLABLE");var Iy=function(){};Iy.\u0275fac=function(a){return new (a||Iy)};Iy.\u0275mod=hd({type:Iy});Iy.\u0275inj=Rc({});var Jy=function(){};Jy.\u0275fac=function(a){return new (a||Jy)};Jy.\u0275mod=hd({type:Jy});Jy.\u0275inj=Rc({imports:[uy,Iy,uy,Iy]});var Ky=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new By};this.close=function(f){return new Ay(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new zy(e._viewportRuler,e._document)};this.reposition=function(f){return new Cy(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};Ky.\u0275fac=function(a){return new (a||Ky)(p(Dy),p(Hy),p(He),p(qh))};
Ky.\u0275prov=Pc({token:Ky,factory:Ky.\u0275fac,providedIn:"root"});var Ly=function(a){this.scrollStrategy=new By;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var My=function(a,b,c,d,e,f,h,l,q,t,w){var B=this;t=void 0===t?!1:t;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=t;this._injector=w;this._backdropElement=null;this._backdropClick=new X.Subject;this._attachments=new X.Subject;this._detachments=new X.Subject;this._locationChanges=X.Subscription.EMPTY;this._backdropClickHandler=function(D){return B._backdropClick.next(D)};
this._backdropTransitionendHandler=function(D){B._disposeBackdrop(D.target)};this._keydownEvents=new X.Subject;this._outsidePointerEvents=new X.Subject;this._renders=new X.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy;this._afterRenderRef=Oma(function(){return pia(function(){B._renders.next()},{injector:B._injector})})};g=My.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();Ne(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._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if("function"===typeof(null==a?void 0:a.onDestroy))a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});return a};
g.detach=function(){if(this.hasAttached()){mWb(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenEmpty();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete();this._afterRenderRef.destroy();this._renders.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};
g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};var nWb=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};My.prototype.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};My.prototype.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};
My.prototype.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};My.prototype.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};var oWb=function(a){return(a=a._config.direction)?"string"===typeof a?a:a.value:"ltr"};g=My.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",oWb(this))};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=mh(this._config.width);a.height=mh(this._config.height);a.minWidth=mh(this._config.minWidth);a.minHeight=mh(this._config.minHeight);a.maxWidth=mh(this._config.maxWidth);a.maxHeight=mh(this._config.maxHeight)}};g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||"undefined"===typeof requestAnimationFrame?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var mWb=function(a){var b=a._backdropElement;b&&(a._animationsDisabled?a._disposeBackdrop(b):(b.classList.remove("cdk-overlay-backdrop-showing"),a._ngZone.runOutsideAngular(function(){b.addEventListener("transitionend",a._backdropTransitionendHandler)}),b.style.pointerEvents="none",a._backdropTimeout=a._ngZone.runOutsideAngular(function(){return setTimeout(function(){a._disposeBackdrop(b)},500)})))};
My.prototype._toggleClasses=function(a,b,c){b=kh(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,u(b)):a.classList.remove.apply(a.classList,u(b)))};
My.prototype._detachContentWhenEmpty=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._renders.pipe(xf((0,X.merge)(a._attachments,a._detachments))).subscribe(function(){a._pane&&a._host&&0!==a._pane.children.length||(a._pane&&a._config.panelClass&&a._toggleClasses(a._pane,a._config.panelClass,!1),a._host&&a._host.parentElement&&(a._previousHostParent=a._host.parentElement,a._host.remove()),b.unsubscribe())})})};
My.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};My.prototype._disposeBackdrop=function(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null));this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)};
Ac.Object.defineProperties(My.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var pWb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Moa=/([A-Za-z%]+)$/,Ny=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 X.Subject;this._resizeSubscription=X.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Ny.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()})};
Ny.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)qWb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=gWb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=k(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),t=this._getOverlayPoint(q,b,l),w=this._getOverlayFit(t,b,c,l);if(w.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(w,t,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!f||f.overlayFit.visibleArea<w.visibleArea)f={overlayFit:w,
overlayPoint:t,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=k(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)}};Ny.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Ny.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&rh(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 qWb=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;b?(a._originRect=a._getOriginRect(),a._overlayRect=a._pane.getBoundingClientRect(),a._viewportRect=a._getNarrowedViewportRect(),a._containerRect=gWb(a._overlayContainer).getBoundingClientRect(),a._applyPosition(b,a._getOriginPoint(a._originRect,a._containerRect,b))):a.apply()}},rWb=function(a,b){a._scrollables=b;return a},Oy=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=null);
return a},Py=function(a,b){a._viewportMargin=b;return a},Qy=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},sWb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},tWb=function(a,b){a._canPush=void 0===b?!0:b;return a},uWb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Ny.prototype.setOrigin=function(a){this._origin=a;return this};var vWb=function(a,b){a._transformOriginSelector=b;return a};g=Ny.prototype;
g._getOriginPoint=function(a,b,c){if("center"==c.originX)var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d="start"==c.originX?d:e}0>b.left&&(d-=b.left);a="center"==c.originY?a.top+a.height/2:"top"==c.originY?a.top:a.bottom;0>b.top&&(a-=b.top);return{x:d,y:a}};
g._getOverlayPoint=function(a,b,c){return{x:a.x+("center"==c.overlayX?-b.width/2:"start"===c.overlayX?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width),y:a.y+("center"==c.overlayY?-b.height/2:"top"==c.overlayY?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=Ooa(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=Noa(this._overlayRef.getConfig().minHeight);var e=Noa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
g._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=Ooa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),l=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?l||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};
g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);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 pWb(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="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var f=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;f=2*e;e=a.y-e;f>l&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-l/2)}l="start"===b.overlayX&&!d||"end"===b.overlayX&&d;if("end"===b.overlayX&&!d||"start"===
b.overlayX&&d){var q=c.width-a.x+2*this._viewportMargin;b=a.x-this._viewportMargin}else if(l){var t=a.x;b=c.right-a.x}else t=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*t,t=a.x-t,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(t=a.x-c/2);return{top:e,left:t,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=mh(a.height);c.top=mh(a.top);c.bottom=mh(a.bottom);
c.width=mh(a.width);c.left=mh(a.left);c.right=mh(a.right);c.alignItems="center"===b.overlayX?"center":"end"===b.overlayX?"flex-end":"flex-start";c.justifyContent="center"===b.overlayY?"center":"bottom"===b.overlayY?"flex-end":"flex-start";d&&(c.maxHeight=mh(d));e&&(c.maxWidth=mh(e))}this._lastBoundingBoxSize=a;rh(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){rh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){rh(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();rh(c,this._getExactOverlayY(b,a,h));rh(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=mh(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=mh(f.maxWidth):e&&(c.maxWidth=""));rh(this._pane.style,c)};g._getExactOverlayY=function(a,b,c){var d={top:"",bottom:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=mh(b.y);return d};
g._getExactOverlayX=function(a,b,c){var d={left:"",right:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"right"===(this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left")?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=mh(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:Koa(a,c),isOriginOutsideView:Joa(a,c),isOverlayClipped:Koa(b,c),isOverlayOutsideView:Joa(b,c)}};g._subtractOverflows=function(a){return pd.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
g._getNarrowedViewportRect=function(){var a=this._document.documentElement.clientWidth,b=this._document.documentElement.clientHeight,c=this._viewportRuler.getViewportScrollPosition();return{top:c.top+this._viewportMargin,left:c.left+this._viewportMargin,right:c.left+a-this._viewportMargin,bottom:c.top+b-this._viewportMargin,width:a-2*this._viewportMargin,height:b-2*this._viewportMargin}};g._isRtl=function(){return"rtl"===oWb(this._overlayRef)};
g._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};g._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};g._validatePositions=function(){};g._addPanelClasses=function(a){var b=this;this._pane&&kh(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
g._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};g._getOriginRect=function(){var a=this._origin;if(a instanceof Wd)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}};
Ac.Object.defineProperties(Ny.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var wWb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=wWb.prototype;g.attach=function(a){var b=a.getConfig();this._overlayRef=a;this._width&&!b.width&&a.updateSize({width:this._width});this._height&&!b.height&&a.updateSize({height:this._height});a.hostElement.classList.add("cdk-global-overlay-wrapper");this._isDisposed=!1};
g.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};g.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};g.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};g.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};g.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
g.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};g.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};g.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var Ry=function(a){a.left("");a._xPosition="center";return a},Sy=function(a){a.top("");a._alignItems="center";return a};
wWb.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!f||"100%"===f||"100vw"===f);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);f=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,l="",q="",t="";if(d)t="flex-start";else if("center"===
f)t="center",h?q=c:l=c;else if(h)if("left"===f||"end"===f)t="flex-end",l=c;else{if("right"===f||"start"===f)t="flex-start",q=c}else if("left"===f||"start"===f)t="flex-start",l=c;else if("right"===f||"end"===f)t="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":l;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=t;b.alignItems=e?"flex-start":this._alignItems}};
wWb.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 Ty=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};Ty.prototype.global=function(){return new wWb};var Uy=function(a,b){return new Ny(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Ty.\u0275fac=function(a){return new (a||Ty)(p(Hy),p(qh),p(Ax),p(yy))};Ty.\u0275prov=Pc({token:Ty,factory:Ty.\u0275fac,providedIn:"root"});var xWb=0,Vy=function(a,b,c,d,e,f,h,l,q,t,w,B){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=l;this._directionality=q;this._location=t;this._outsideClickDispatcher=w;this._animationsModuleType=B};g=Vy.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Ly(a);a.direction=a.direction||this._directionality.value;return new My(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(nv))};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+xWb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");gWb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(sw));return new py(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
Vy.\u0275fac=function(a){return new (a||Vy)(p(Ky),p(yy),p(qv),p(Ty),p(wy),p(Ie),p(He),p(qh),p(ty),p(Ww),p(xy),p(sv,8))};Vy.\u0275prov=Pc({token:Vy,factory:Vy.\u0275fac,providedIn:"root"});var yWb=[{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"}],zWb=new rd("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.reposition()}}}),Wy=function(a){this.elementRef=a};
Wy.\u0275fac=function(a){return new (a||Wy)(C(Wd))};Wy.\u0275dir=jd({type:Wy,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var Xy=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=X.Subscription.EMPTY;this._disposeOnNavigation=!1;this._ngZone=bd(He);this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new Uv;this.positionChange=new Uv;this.attach=new Uv;this.detach=new Uv;this.overlayKeydown=new Uv;this.overlayOutsideClick=
new Uv;this._templatePortal=new ny(b,c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=Xy.prototype;g.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
g.ngOnChanges=function(a){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply());a.open&&(this.open?this._attachOverlay():this._detachOverlay())};
g._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=yWb);var b=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=b.attachments().subscribe(function(){return a.attach.emit()});this._detachSubscription=b._detachments.subscribe(function(){return a.detach.emit()});b.keydownEvents().subscribe(function(c){a.overlayKeydown.next(c);27!==c.keyCode||a.disableClose||jh(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Ly({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});if(this.width||0===this.width)a.width=this.width;if(this.height||0===this.height)a.height=this.height;if(this.minWidth||0===this.minWidth)a.minWidth=this.minWidth;if(this.minHeight||0===this.minHeight)a.minHeight=this.minHeight;this.backdropClass&&
(a.backdropClass=this.backdropClass);this.panelClass&&(a.panelClass=this.panelClass);return a};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return vWb(uWb(Py(sWb(tWb(Qy(Oy(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=Uy(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};g._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof Wy?this.origin.elementRef:this.origin};
g._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();0<this.positionChange.observers.length&&(this._positionSubscription=this._position.positionChanges.pipe(Hka(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a._ngZone.run(function(){return a.positionChange.emit(b)});0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
Ac.Object.defineProperties(Xy.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"}}});Xy.\u0275fac=function(a){return new (a||Xy)(C(Vy),C(ig),C(jg),C(zWb),C(ty,8))};
Xy.\u0275dir=jd({type:Xy,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",Ng],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ng],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ng],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ng],push:[2,"cdkConnectedOverlayPush","push",Ng],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
Ng]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Gf,xd]});var AWb={provide:zWb,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Yy=function(){};Yy.\u0275fac=function(a){return new (a||Yy)};Yy.\u0275mod=hd({type:Yy});Yy.\u0275inj=Rc({providers:[Vy,AWb],imports:[uy,sy,Jy,Jy]});var BWb=new rd("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Zy=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};Zy.prototype._checkIsEnabled=function(a){return uoa()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};Zy.\u0275fac=function(a){return new (a||Zy)(p(Px),p(BWb,8),p(qh))};Zy.\u0275mod=hd({type:Zy});
Zy.\u0275inj=Rc({imports:[uy,uy]});var CWb=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};CWb.prototype.updateErrorState=function(){var a=this.errorState,b=this._parentFormGroup||this._parentForm,c=this.ngControl?this.ngControl.control:null,d,e,f=null!=(e=null==(d=this.matcher||this._defaultMatcher)?void 0:d.isErrorState(c,b))?e:!1;f!==a&&(this.errorState=f,this._stateChanges.next())};new rd("MAT_DATE_LOCALE",{providedIn:"root",factory:Soa});var $y=function(){this.localeChanges=this._localeChanges=new X.Subject},az=function(a,b){return b instanceof Mn&&a.isValid(b)?b:null},bz=function(a,b){return null==b||b instanceof Mn&&a.isValid(b)?b:a.invalid()};$y.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var cz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
$y.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!cz(this,a,b):c==d}return a==b};var DWb=function(a,b,c,d){return c&&0>cz(a,b,c)?c:d&&0<cz(a,b,d)?d:b};var dz=new rd("mat-date-formats");var ez=function(){};ez.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};ez.\u0275fac=function(a){return new (a||ez)};ez.\u0275prov=Pc({token:ez,factory:ez.\u0275fac,providedIn:"root"});var fz=function(){};fz.\u0275fac=function(a){return new (a||fz)};
fz.\u0275cmp=r({type:fz,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mdc-form-field--align-end","before"===b.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[yg],attrs:["mat-internal-form-field",""],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.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>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}\n"],encapsulation:2,
changeDetection:0});var EWb=new rd("MAT_OPTION_PARENT_COMPONENT");var FWb=new rd("MatOptgroup");var GWb=fh({passive:!0,capture:!0}),IWb=function(a,b,c,d){var e=HWb,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,GWb)}))};var JWb=function(a,b,c,d){d=void 0===d?!1:d;this._renderer=a;this.element=b;this.config=c;this._animationForciblyDisabledThroughCss=d;this.state=3};var KWb={enterDuration:225,exitDuration:150},LWb=fh({passive:!0,capture:!0}),MWb=["mousedown","touchstart"],NWb=["mouseup","mouseleave","touchend","touchcancel"],OWb=function(a,b,c,d){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=nh(c))},PWb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
KWb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Toa(b,c,e);b-=e.left;var l=c-e.top;c=f.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=l-h+"px";q.style.height=2*h+"px";q.style.width=2*h+"px";null!=d.color&&(q.style.backgroundColor=d.color);q.style.transitionDuration=c+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);b=h.transitionDuration;e="none"===h.transitionProperty||
"0s"===b||"0s, 0s"===b||0===e.width&&0===e.height;var t=new JWb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";t.state=0;d.persistent||(a._mostRecentTransientRipple=t);var w=null;e||!c&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var B=function(){return a._finishRippleTransition(t)},D=function(){return a._destroyRipple(t)};q.addEventListener("transitionend",B);q.addEventListener("transitioncancel",D);w={onTransitionEnd:B,onTransitionCancel:D}});a._activeRipples.set(t,w);!e&&c||a._finishRippleTransition(t);
return t},QWb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},KWb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};OWb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||QWb(a._renderer,a)})};
var RWb=function(a,b){var c=nh(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,MWb.forEach(function(d){IWb(a._ngZone,d,c,a)}))};g=OWb.prototype;
g.handleEvent=function(a){var b=this;"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){NWb.forEach(function(c){b._triggerElement.addEventListener(c,b,LWb)})}),this._pointerUpEventsRegistered=!0)};g._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
g._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||QWb(a._renderer,a)};
g._destroyRipple=function(a){var b,c=null!=(b=this._activeRipples.get(a))?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;null!==c&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel));a.element.remove()};
g._onMousedown=function(a){var b=xoa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,PWb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!yoa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)PWb(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)};
g._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=1===a.state||a.config.terminateOnPointerUp&&0===a.state;!a.config.persistent&&b&&QWb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(MWb.forEach(function(c){var d=HWb,e=d._events.get(c);if(e){var f=e.get(b);f&&(f.delete(a),0===f.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,GWb)))}}),this._pointerUpEventsRegistered&&NWb.forEach(function(c){return b.removeEventListener(c,a,LWb)}))};
var HWb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=ih(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,f){(f===c||f.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var gz=new rd("mat-ripple-global-options"),hz=function(a,b,c,d,e){this._elementRef=a;this._animationMode=e;this.radius=0;this._isInitialized=this._disabled=!1;this._globalOptions=d||{};this._rippleRenderer=new OWb(this,b,a,c)};g=hz.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};g.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};g.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
g._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&RWb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return"number"===typeof a?PWb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):PWb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
Ac.Object.defineProperties(hz.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){a&&this.fadeOutAllNonPersistent();this._disabled=a;this._setupTriggerEventsIfEnabled()}},trigger:{configurable:!0,enumerable:!0,get:function(){return this._trigger||this._elementRef.nativeElement},set:function(a){this._trigger=a;this._setupTriggerEventsIfEnabled()}},rippleConfig:{configurable:!0,enumerable:!0,get:function(){return{centered:this.centered,radius:this.radius,
color:this.color,animation:Object.assign({},this._globalOptions.animation,"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||!!this._globalOptions.disabled}}});hz.\u0275fac=function(a){return new (a||hz)(C(Wd),C(He),C(Ax),C(gz,8),C(sv,8))};
hz.\u0275dir=jd({type:hz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("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"],
standalone:!0});var iz=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};iz.\u0275fac=function(a){return new (a||iz)(C(sv,8))};
iz.\u0275cmp=r({type:iz,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&Qf("mat-pseudo-checkbox-indeterminate","indeterminate"===b.state)("mat-pseudo-checkbox-checked","checked"===b.state)("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal","minimal"===b.appearance)("mat-pseudo-checkbox-full","full"===b.appearance)("_mat-animation-noopable","NoopAnimations"===b._animationMode)},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},standalone:!0,features:[yg],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-minimal-pseudo-checkbox-selected-checkmark-color)}.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-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);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-full-pseudo-checkbox-selected-checkmark-color)}.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-full-pseudo-checkbox-disabled-selected-icon-color)}.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-full-pseudo-checkbox-disabled-selected-checkmark-color)}.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 SWb=["text"],TWb=[[["mat-icon"]],"*"],UWb=0,VWb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},jz=function(a,b,c,d){this._element=a;this._changeDetectorRef=b;this._parent=c;this.group=d;this._disabled=this._active=this._selected=!1;this._mostRecentViewValue="";this.id="mat-option-"+UWb++;this.onSelectionChange=new Uv;this._stateChanges=new X.Subject};g=jz.prototype;
g.select=function(a){a=void 0===a?!0:a;this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.deselect=function(a){a=void 0===a?!0:a;this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};g.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};
g.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};g.getLabel=function(){return this.viewValue};g._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||jh(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 VWb(this,void 0===a?!1:a))};
Ac.Object.defineProperties(jz.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=a}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return!(!this._parent||!this._parent.disableRipple)}},hideSingleSelectionIndicator:{configurable:!0,
enumerable:!0,get:function(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}},active:{configurable:!0,enumerable:!0,get:function(){return this._active}},viewValue:{configurable:!0,enumerable:!0,get:function(){var a;return((null==(a=this._text)?void 0:a.nativeElement.textContent)||"").trim()}}});jz.\u0275fac=function(a){return new (a||jz)(C(Wd),C(Pg),C(EWb,8),C(FWb,8))};
jz.\u0275cmp=r({type:jz,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&lg(SWb,7);if(a&2){var c;pg(c=qg())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(a,b){a&1&&N("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Zf("id",b.id),Hf("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),Qf("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",Ng]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Gf,yg],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-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(cg(TWb),E(0,Uoa,1,2,"mat-pseudo-checkbox",1),dg(1),G(2,"span",2,0),dg(4,1),I(),E(5,Voa,1,1,"mat-pseudo-checkbox",3)(6,Woa,2,1,"span",4),K(7,"div",5));a&2&&(Uf(b.multiple?0:-1),A(5),Uf(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),A(),Uf(b.group&&b.group._inert?
6:-1),A(),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[iz,hz],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.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)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.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}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var kz=function(){};kz.\u0275fac=function(a){return new (a||kz)};kz.\u0275mod=hd({type:kz});kz.\u0275inj=Rc({imports:[Zy,Zy]});var lz=function(){};lz.\u0275fac=function(a){return new (a||lz)};lz.\u0275mod=hd({type:lz});lz.\u0275inj=Rc({imports:[Zy]});var mz=function(){};mz.\u0275fac=function(a){return new (a||mz)};mz.\u0275mod=hd({type:mz});mz.\u0275inj=Rc({imports:[kz,Zy,lz,jz]});var WWb={capture:!0},XWb=["focus","click","mouseenter","touchstart"],nz=function(){var a=this;this._document=bd(qh,{optional:!0});this._animationMode=bd(sv,{optional:!0});this._globalRippleOptions=bd(gz,{optional:!0});this._platform=bd(Ax);this._ngZone=bd(He);this._hosts=new Map;this._onInteraction=function(b){if(b.target instanceof HTMLElement){var c,d;(b=b.target.closest('[mat-ripple-loader-uninitialized="'+(null!=(d=null==(c=a._globalRippleOptions)?void 0:c.namespace)?d:"")+'"]'))&&a._createRipple(b)}};
this._ngZone.runOutsideAngular(function(){for(var b=k(XWb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,WWb)}})};nz.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=k(a);for(var b=a.next();!b.done;b=a.next())YWb(this,b.value);a=k(XWb);for(b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,WWb)}};
var ZWb=function(a,b,c){var d,e;b.setAttribute("mat-ripple-loader-uninitialized",null!=(e=null==(d=a._globalRippleOptions)?void 0:d.namespace)?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","")},$Wb=function(a,b){return a._hosts.get(b)||a._createRipple(b)},aXb=function(a,b,c){(a=a._hosts.get(b))?a.disabled=
c:c?b.setAttribute("mat-ripple-loader-disabled",""):b.removeAttribute("mat-ripple-loader-disabled")};
nz.prototype._createRipple=function(a){if(this._document){var b=this._hosts.get(a);if(b)return b;var c;null==(c=a.querySelector(".mat-ripple"))||c.remove();b=this._document.createElement("span");b.classList.add("mat-ripple",a.getAttribute("mat-ripple-loader-class-name"));a.append(b);b=new hz(new Wd(b),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);b._isInitialized=!0;b.trigger=a;b.centered=a.hasAttribute("mat-ripple-loader-centered");
b.disabled=a.hasAttribute("mat-ripple-loader-disabled");bXb(this,a,b);return b}};var bXb=function(a,b,c){b.removeAttribute("mat-ripple-loader-uninitialized");a._hosts.set(b,c)},YWb=function(a,b){var c=a._hosts.get(b);c&&(c.ngOnDestroy(),a._hosts.delete(b))};nz.\u0275fac=function(a){return new (a||nz)};nz.\u0275prov=Pc({token:nz,factory:nz.\u0275fac,providedIn:"root"});var cXb=new rd("MAT_BUTTON_CONFIG"),dXb=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",
mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],oz=function(a,b,c,d){this._elementRef=a;this._platform=b;this._ngZone=c;this._animationMode=d;this._focusMonitor=bd(Jx);this._rippleLoader=bd(nz);this._disabled=this._disableRipple=this._isFab=!1;var e=bd(cXb,{optional:!0}),f=a.nativeElement,h=f.classList,l;this.disabledInteractive=null!=(l=null==e?void 0:e.disabledInteractive)?l:!1;var q;null==(q=this._rippleLoader)||
ZWb(q,f,{className:"mat-mdc-button-ripple"});e=k(dXb);for(l=e.next();!l.done;l=e.next())l=l.value,q=l.mdcClasses,f.hasAttribute(l.attribute)&&h.add.apply(h,u(q))};g=oz.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._rippleLoader)||YWb(a,this._elementRef.nativeElement)};
g.focus=function(a,b){(a=void 0===a?"program":a)?Kx(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};g._getAriaDisabled=function(){return null!=this.ariaDisabled?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null};g._getDisabledAttribute=function(){return this.disabledInteractive||!this.disabled?null:!0};g._updateRippleDisabled=function(){var a;null==(a=this._rippleLoader)||aXb(a,this._elementRef.nativeElement,this.disableRipple||this.disabled)};
Ac.Object.defineProperties(oz.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this._rippleLoader)?void 0:$Wb(a,this._elementRef.nativeElement)},set:function(a){var b;null==(b=this._rippleLoader)||bXb(b,this._elementRef.nativeElement,a)}},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()}}});oz.\u0275fac=function(){Oe()};oz.\u0275dir=jd({type:oz,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ng],disabled:[2,"disabled","disabled",Ng],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ng],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ng]},features:[Gf]});var eXb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],pz=function(a,b,c,d){oz.call(this,a,b,c,d)};Y(pz,oz);pz.\u0275dir=oz.\u0275dir;pz.\u0275fac=function(a){return new (a||pz)(C(Wd),C(Ax),C(He),C(sv,8))};
pz.\u0275cmp=r({type:pz,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(Hf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),Rf(b.color?"mat-"+b.color:""),Qf("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",
!0))},exportAs:["matButton"],standalone:!0,features:[Ff,yg],attrs:["mat-button",""],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-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(cg(eXb),
K(0,"span",0),dg(1),G(2,"span",1),dg(3,1),I(),dg(4,2),K(5,"span",2)(6,"span",3));a&2&&Qf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:['.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-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{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{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-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;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\n',
".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"],encapsulation:2,changeDetection:0});new rd("mat-mdc-fab-default-options",{providedIn:"root",factory:Zoa});var qz=function(a,b,c,d){oz.call(this,a,b,c,d);ZWb(this._rippleLoader,this._elementRef.nativeElement,{centered:!0})};Y(qz,oz);qz.\u0275dir=oz.\u0275dir;qz.\u0275fac=function(a){return new (a||qz)(C(Wd),C(Ax),C(He),C(sv,8))};
qz.\u0275cmp=r({type:qz,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(Hf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),Rf(b.color?"mat-"+b.color:""),Qf("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ff,yg],attrs:["mat-icon-button",
""],ngContentSelectors:["*"],decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(cg(),K(0,"span",0),dg(1),K(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',
".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"],encapsulation:2,changeDetection:0});var rz=function(){};rz.\u0275fac=function(a){return new (a||rz)};rz.\u0275mod=hd({type:rz});rz.\u0275inj=Rc({imports:[Zy,kz,Zy]});var sz=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new X.Subject;this.selection=a};sz.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};sz.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};sz.prototype._isValidDateInstance=function(a){return a instanceof Mn&&this._adapter.isValid(a)};sz.\u0275fac=function(){Oe()};sz.\u0275prov=Pc({token:sz,factory:sz.\u0275fac});
var tz=function(a){sz.call(this,null,a)};Y(tz,sz);tz.prototype.add=function(a){sz.prototype.updateSelection.call(this,a,this)};tz.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};tz.prototype.isComplete=function(){return null!=this.selection};tz.prototype.clone=function(){var a=new tz(this._adapter);a.updateSelection(this.selection,this);return a};tz.\u0275fac=function(a){return new (a||tz)(p($y))};tz.\u0275prov=Pc({token:tz,factory:tz.\u0275fac});
var fXb={provide:sz,deps:[[new ov,new pv,sz],$y],useFactory:function(a,b){return a||new tz(b)}};new ov;new pv;var uz=function(){this.changes=new X.Subject;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar"};uz.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};uz.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};uz.\u0275fac=function(a){return new (a||uz)};uz.\u0275prov=Pc({token:uz,factory:uz.\u0275fac,providedIn:"root"});var gXb=function(a,b,c,d,e,f,h){e=void 0===e?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=void 0===f?a:f;this.rawValue=h},hXb=1,iXb=fh({passive:!1,capture:!0}),vz=fh({passive:!0,capture:!0}),jXb=fh({passive:!0}),wz=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=bd(Ax);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new Uv;this.previewChange=new Uv;this.activeDateChange=new Uv;this.dragStarted=new Uv;this.dragEnded=new Uv;this._didDragSinceMouseDown=!1;this._injector=bd(Ie);this._enterHandler=function(d){if(c._skipNextFocus&&"focus"===d.type)c._skipNextFocus=!1;else if(d.target&&c.isRange){var e=c._getCellFromElement(d.target);e&&c._ngZone.run(function(){return c.previewChange.emit({value:e.enabled?e:null,event:d})})}};this._touchmoveHandler=function(d){if(c.isRange){var e=ipa(d),
f=e?c._getCellFromElement(e):null;e!==d.target&&(c._didDragSinceMouseDown=!0);epa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(null==f?0:f.enabled)?f:null,event:d})})}};this._leaveHandler=function(d){null!==c.previewEnd&&c.isRange&&("blur"!==d.type&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,event:d})}))};
this._mousedownHandler=function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);e&&c._isInRange(e.compareValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=epa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var f=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==f?void 0:f.rawValue)?h:null,event:d})}):
c._ngZone.run(function(){c.dragEnded.emit({value:null,event:d})})}};this._touchendHandler=function(d){(d=ipa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+hXb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,iXb);d.addEventListener("mouseenter",c._enterHandler,vz);d.addEventListener("focus",c._enterHandler,vz);d.addEventListener("mouseleave",
c._leaveHandler,vz);d.addEventListener("blur",c._leaveHandler,vz);d.addEventListener("mousedown",c._mousedownHandler,jXb);d.addEventListener("touchstart",c._mousedownHandler,jXb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};g=wz.prototype;g.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};
g._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};g._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};g._isSelected=function(a){return this.startValue===a||this.endValue===a};
g.ngOnChanges=function(a){var b=a.numCols,c=this.rows,d=this.numCols;if(a.rows||b)this._firstRowOffset=c&&c.length&&c[0].length?d-c[0].length:0;if(a.cellAspectRatio||b||!this._cellPadding)this._cellPadding=50*this.cellAspectRatio/d+"%";if(b||!this._cellWidth)this._cellWidth=100/d+"%"};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("touchmove",this._touchmoveHandler,iXb);a.removeEventListener("mouseenter",this._enterHandler,vz);a.removeEventListener("focus",this._enterHandler,vz);a.removeEventListener("mouseleave",this._leaveHandler,vz);a.removeEventListener("blur",this._leaveHandler,vz);a.removeEventListener("mousedown",this._mousedownHandler,jXb);a.removeEventListener("touchstart",this._mousedownHandler,jXb);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};g._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};g._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;Ne(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 fpa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return gpa(a,this.startValue,this.endValue)};g._isInRange=function(a){return hpa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return fpa(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 gpa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return hpa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return fpa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return gpa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return hpa(a,this.previewStart,this.previewEnd,this.isRange)};g._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};g._getCellFromElement=function(a){var b=epa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
wz.\u0275fac=function(a){return new (a||wz)(C(Wd),C(He))};
wz.\u0275cmp=r({type:wz,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"],standalone:!0,features:[xd,yg],attrs:["mat-calendar-body",""],decls:7,vars:5,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&&(E(0,$oa,3,6,"tr",0),Wf(1,cpa,4,1,"tr",1,Vf),G(3,"label",2),S(4),I(),G(5,"label",2),S(6),I());a&2&&(Uf(b._firstRowOffset<b.labelMinRequiredCells?
0:-1),A(),Xf(b.rows),A(2),F("id",b._startDateLabelId),A(),T(" ",b.startDateAccessibleName,"\n"),A(),F("id",b._endDateLabelId),A(),T(" ",b.endDateAccessibleName,"\n"))},dependencies:[Cw],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)}.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);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;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)}.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)}.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)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-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)}@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)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.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)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.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) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 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) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 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)}.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)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}\n'],
encapsulation:2,changeDetection:0});var kXb=new rd("MAT_DATE_RANGE_SELECTION_STRATEGY");new ov;new pv;var xz=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=X.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new Uv;this._userSelection=new Uv;this.dragStarted=new Uv;this.dragEnded=new Uv;this.activeDateChange=new Uv;this._activeDate=new Mn};g=xz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vf(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);cz(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=yz(this._activeDate,c?1:-1);break;case 39:this.activeDate=yz(this._activeDate,c?-1:1);break;case 38:this.activeDate=yz(this._activeDate,-7);break;case 40:this.activeDate=yz(this._activeDate,7);break;case 36:this.activeDate=yz(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=yz(this._activeDate,lXb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?zz(this._activeDate,-1):Az(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?zz(this._activeDate,1):Az(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||jh(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}cz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new Mn);this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();this._firstWeekOffset=(7+Bz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1).getDay()-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._previewChanged=function(a){var b=a.event;a=a.value;if(this._rangeStrategy){a=a?a.rawValue:null;var c=this._rangeStrategy.createPreview(a,this.selected,b);this._previewStart=this._getCellCompareValue(c.start);this._previewEnd=this._getCellCompareValue(c.end);if(this.activeDrag&&a){var d,e;if(c=null==(e=(d=this._rangeStrategy).createDrag)?void 0:e.call(d,this.activeDrag.value,this.selected,a,b))this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end)}this._changeDetectorRef.detectChanges()}};
g._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=null==(b=this._rangeStrategy)?void 0:null==(c=b.createDrag)?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:null!=d?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};g._getDateFromDayOfMonth=function(a){return Bz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=mXb(this._dateAdapter,"narrow"),c=mXb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=lXb(this.activeDate),b=nXb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=Bz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new gXb(c+1,b[c],h,f,l,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=cz(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=cz(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);a=this._dateAdapter.getDate(a);return(new Date(b,c,a)).getTime()}return null};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
Ac.Object.defineProperties(xz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=az(this._dateAdapter,bz(this._dateAdapter,a))||new Mn;this._activeDate=DWb(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=az(this._dateAdapter,bz(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=az(this._dateAdapter,bz(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=az(this._dateAdapter,bz(this._dateAdapter,a))}}});xz.\u0275fac=function(a){return new (a||xz)(C(Pg),C(dz,8),C($y,8),C(ty,8),C(kXb,8))};
xz.\u0275cmp=r({type:xz,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&lg(wz,5);if(a&2){var c;pg(c=qg())&&(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"],standalone:!0,features:[xd,yg],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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),Wf(3,jpa,5,2,"th",2,Vf),I(),G(5,"tr",3),K(6,"th",4),I()(),G(7,"tbody",5),N("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)}),I()());a&2&&(A(3),Xf(b._weekdays),A(4),F("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:[wz],encapsulation:2,changeDetection:0});var Cz=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=X.Subscription.EMPTY;this.selectedChange=new Uv;this.yearSelected=new Uv;this.activeDateChange=new Uv;this._activeDate=new Mn};g=Cz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Mn);var b=this._dateAdapter.getYear(this._activeDate)-th(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var c=0,d=[];24>c;c++)d.push(b+c),4==d.length&&(this._years.push(d.map(function(e){return a._createCellForYear(e)})),d=[]);this._changeDetectorRef.markForCheck()};g._yearSelected=function(a){var b=a.value;a=Bz(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);cz(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=zz(this._activeDate,c?1:-1);break;case 39:this.activeDate=zz(this._activeDate,c?-1:1);break;case 38:this.activeDate=zz(this._activeDate,-4);break;case 40:this.activeDate=zz(this._activeDate,4);break;case 36:this.activeDate=zz(this._activeDate,-th(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=zz(this._activeDate,24-th(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=zz(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=zz(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}cz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};g._getActiveCell=function(){return th(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=Bz(a,b,1);c=lXb(c);return Bz(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=Bz(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new gXb(a,c,c,this._shouldEnableYear(a),b)};
g._shouldEnableYear=function(a){if(void 0===a||null===a||this.maxDate&&a>this._dateAdapter.getYear(this.maxDate)||this.minDate&&a<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var b=Bz(a,0,1);this._dateAdapter.getYear(b)==a;b=yz(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
Ac.Object.defineProperties(Cz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=az(this._dateAdapter,bz(this._dateAdapter,a))||new Mn;this._activeDate=DWb(this._dateAdapter,a,this.minDate,this.maxDate);lpa(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=az(this._dateAdapter,bz(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=az(this._dateAdapter,bz(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=az(this._dateAdapter,bz(this._dateAdapter,a))}}});Cz.\u0275fac=function(a){return new (a||Cz)(C(Pg),C($y,8),C(ty,8))};
Cz.\u0275cmp=r({type:Cz,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&lg(wz,5);if(a&2){var c;pg(c=qg())&&(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"],standalone:!0,features:[yg],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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),I()(),G(4,"tbody",3),N("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)}),I()());a&2&&(A(4),F("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[wz],encapsulation:2,changeDetection:0});var Dz=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=X.Subscription.EMPTY;this.selectedChange=new Uv;this.monthSelected=new Uv;this.activeDateChange=new Uv;this._activeDate=new Mn};g=Dz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=Bz(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);cz(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=Az(this._activeDate,c?1:-1);break;case 39:this.activeDate=Az(this._activeDate,c?-1:1);break;case 38:this.activeDate=Az(this._activeDate,-4);break;case 40:this.activeDate=Az(this._activeDate,4);break;case 36:this.activeDate=Az(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=Az(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=zz(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=zz(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}cz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new Mn);this._yearLabel=""+this.activeDate.getFullYear();var b=this._dateAdapter.locale.SHORTMONTHS;this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(c){return c.map(function(d){return a._createCellForMonth(d,b[d])})});this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};g._getDateFromMonth=function(a){var b=Bz(this._dateAdapter.getYear(this.activeDate),a,1);b=lXb(b);return Bz(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=Bz(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 gXb(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
g._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(void 0===a||null===a||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=Bz(b,a,1);this._dateAdapter.getMonth(b)==a;b=yz(b,1))if(this.dateFilter(b))return!0;return!1};g._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
g._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
Ac.Object.defineProperties(Dz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=az(this._dateAdapter,bz(this._dateAdapter,a))||new Mn;this._activeDate=DWb(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=az(this._dateAdapter,
bz(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=az(this._dateAdapter,bz(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=az(this._dateAdapter,bz(this._dateAdapter,a))}}});Dz.\u0275fac=function(a){return new (a||Dz)(C(Pg),C(dz,8),C($y,8),C(ty,8))};
Dz.\u0275cmp=r({type:Dz,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&lg(wz,5);if(a&2){var c;pg(c=qg())&&(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"],standalone:!0,features:[yg],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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),I()(),G(4,"tbody",3),N("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)}),I()());a&2&&(A(4),F("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:[wz],encapsulation:2,changeDetection:0});var oXb=1,Ez=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+oXb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
Ez.prototype._isSameView=function(a,b){return"month"==this.calendar.currentView?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b)&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(b):"year"==this.calendar.currentView?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b):lpa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
Ez.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-th(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+Bz(a,0,1).getFullYear();b=""+Bz(b,0,1).getFullYear();return[a,b]};
Ac.Object.defineProperties(Ez.prototype,{periodButtonText:{configurable:!0,enumerable:!0,get:function(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRange.apply(this._intl,u(this._formatMinAndMaxYearLabels()))}},periodButtonDescription:{configurable:!0,enumerable:!0,get:function(){return"month"==
this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRangeLabel.apply(this._intl,u(this._formatMinAndMaxYearLabels()))}},periodButtonLabel:{configurable:!0,enumerable:!0,get:function(){return"month"==this.calendar.currentView?"Choose month and year":"Choose date"}},prevButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Previous month",
year:"Previous year","multi-year":"Previous 24 years"}[this.calendar.currentView]}},nextButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Next month",year:"Next year","multi-year":"Next 24 years"}[this.calendar.currentView]}}});Ez.\u0275fac=function(a){return new (a||Ez)(C(uz),C(Yc(function(){return Fz})),C($y,8),C(dz,8),C(Pg))};
Ez.\u0275cmp=r({type:Ez,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[yg],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],
["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(a,b){a&1&&(cg(),G(0,"div",0)(1,"div",1)(2,"label",2),S(3),I(),G(4,"button",3),N("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),G(5,"span",4),S(6),I(),Kd(),G(7,"svg",5),K(8,"polygon",6),I()(),Ed.currentNamespace=null,K(9,"div",7),dg(10),G(11,"button",
8),N("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?Az(b.calendar.activeDate,-1):zz(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),I(),G(12,"button",9),N("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?Az(b.calendar.activeDate,1):zz(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),I()()());a&2&&(A(2),F("id",b._periodButtonLabelId),A(),rg(b.periodButtonDescription),A(),Hf("aria-label",b.periodButtonLabel)("aria-describedby",
b._periodButtonLabelId),A(2),rg(b.periodButtonText),A(),Qf("mat-calendar-invert","month"!==b.calendar.currentView),A(4),F("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),Hf("aria-label",b.prevButtonLabel),A(),F("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),Hf("aria-label",b.nextButtonLabel))},dependencies:[pz,qz],encapsulation:2,changeDetection:0});
var Fz=function(a,b,c,d){var e=this;this._dateAdapter=b;this._dateFormats=c;this._changeDetectorRef=d;this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new Uv;this.yearSelected=new Uv;this.monthSelected=new Uv;this.viewChanged=new Uv(!0);this._userSelection=new Uv;this._userDragDrop=new Uv;this._activeDrag=null;this.stateChanges=new X.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=Fz.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new my(this.headerComponent||Ez);this.activeDate=this.startAt||new Mn;this._currentView=this.startView};g.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};g.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
g.ngOnChanges=function(a){var b=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,c=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0;(a=b||c||a.dateFilter)&&!a.firstChange&&(a=this._getCurrentViewComponent())&&(this._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
g._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};g._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};g._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};g._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};g._dragStarted=function(a){this._activeDrag=a};g._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
g._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
Ac.Object.defineProperties(Fz.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=az(this._dateAdapter,bz(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=az(this._dateAdapter,bz(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=az(this._dateAdapter,bz(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=az(this._dateAdapter,bz(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=DWb(this._dateAdapter,a,this.minDate,this.maxDate);this.stateChanges.next();this._changeDetectorRef.markForCheck()}},currentView:{configurable:!0,enumerable:!0,get:function(){return this._currentView},set:function(a){var b=
this._currentView!==a?a:null;this._currentView=a;this._moveFocusOnNextTick=!0;this._changeDetectorRef.markForCheck();b&&this.viewChanged.emit(b)}}});Fz.\u0275fac=function(a){return new (a||Fz)(C(uz),C($y,8),C(dz,8),C(Pg))};
Fz.\u0275cmp=r({type:Fz,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(lg(xz,5),lg(Dz,5),lg(Cz,5));if(a&2){var c;pg(c=qg())&&(b.monthView=c.first);pg(c=qg())&&(b.yearView=c.first);pg(c=qg())&&(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"],standalone:!0,features:[wg([fXb]),xd,yg],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&&(E(0,mpa,0,0,"ng-template",0),G(1,"div",1),E(2,npa,1,11,"mat-month-view",2)(3,opa,1,6,"mat-year-view",3)(4,ppa,1,6,"mat-multi-year-view",3),I());if(a&2){var c;F("cdkPortalOutlet",b._calendarHeaderPortal);A(2);Uf("month"===(c=b.currentView)?2:"year"===c?3:"multi-year"===c?4:-1)}},dependencies:[ry,
Lx,xz,Dz,Cz],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-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);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.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)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-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)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-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)}.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 pXb={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},Gz=pXb;Gz=pXb;var qXb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),rXb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,sXb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,tXb=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31},uXb=function(a,b,c,d,e){a=new Date(a,b,c);d=void 0!==d?d:3;e=e||0;b=((a.getDay()+6)%7-e+7)%7;return a.valueOf()+864E5*((d-e+7)%7-b)},Hz=function(a,b,c,d,e,f){"string"===
typeof a?(this.years="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.years=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};g=Hz.prototype;
g.toIsoString=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.years||a)&&c.push(Math.abs(this.years)+"Y");(this.months||a)&&c.push(Math.abs(this.months)+"M");(this.days||a)&&c.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a)c.push("T"),(this.hours||
a)&&c.push(Math.abs(this.hours)+"H"),(this.minutes||a)&&c.push(Math.abs(this.minutes)+"M"),(this.seconds||a)&&c.push(Math.abs(this.seconds)+"S");return c.join("")};g.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};g.clone=function(){return new Hz(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
g.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};g.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var pi=function(a,b,c){"number"===typeof a?(this.date=vXb(a,b||0,c||1),wXb(this,c||1)):Ba(a)?(this.date=vXb(a.getFullYear(),a.getMonth(),a.getDate()),wXb(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),wXb(this,a))},vXb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=pi.prototype;g.firstDayOfWeek_=Gz.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=Gz.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new pi(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 lXb=function(a){return tXb(a.getFullYear(),a.getMonth())};g=pi.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+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(tXb(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,c=new Date(c,this.getMonth(),this.getDate(),12),a=new Date(c.getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),wXb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+jv(Math.abs(b),c?6:4),jv(this.getMonth()+1,2),jv(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 wXb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};pi.prototype.valueOf=function(){return this.date.valueOf()};
var Mn=function(a,b,c,d,e,f,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};hu(Mn,pi);g=Mn.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){pi.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=pi.prototype.toIsoString.call(this,a);return a?b+"T"+jv(this.getHours(),2)+":"+jv(this.getMinutes(),2)+":"+jv(this.getSeconds(),2):b+"T"+jv(this.getHours(),2)+jv(this.getMinutes(),2)+jv(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Mn(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var xXb=function(){},ji=function(a){if("number"==typeof a){var b=new xXb;b.standardOffset_=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",jv(c,2));c=d.join("")}b.timeZoneId_=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=yXb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new xXb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},yXb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(jv(Math.floor(a/60)%100,2),":",jv(a%60,2));return b.join("")},zXb=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.transitions_.length&&b>=a.transitions_[c];)c+=2;return 0==c?0:a.transitions_[c-1]},AXb=function(a,
b){a=a.standardOffset_-zXb(a,b);return-1440===a?0:a};var Iz=function(a){this.patternParts_=[];this.dateTimeSymbols_=Gz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},BXb=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEabBhKHcLQdmsvVwzZ]+/],Jz=function(a){return a.getHours?a.getHours():0};
Iz.prototype.applyPattern_=function(a){for(CXb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<BXb.length;++c){var d=a.match(BXb[c]);if(d){var e=d[0];a=a.substring(e.length);0==c&&("''"==e?e="'":(e=e.substring(1,"'"==d[1]?e.length-1:e.length),e=e.replace(/''/g,"'")));this.patternParts_.push({text:e,type:c});break}}if(b===a)throw Error("db`"+a);}};
Iz.prototype.format=function(a,b){if(!a)throw Error("eb");var c=b?6E4*(a.getTimezoneOffset()-AXb(b,a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(DXb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
Iz.prototype.applyStandardPattern_=function(a){if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(8>a)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(12>a)b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]);else if(12===a)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else if(13===a)b=this.dateTimeSymbols_.DATEFORMATS[2].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);
return}this.applyPattern_(b)};
var Kz=function(a,b){return EXb(b,a.dateTimeSymbols_)},CXb=!1,EXb=function(a,b){a=String(a);b=b||Gz;if(void 0===b.ZERODIGIT)return a;for(var c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(b.ZERODIGIT+e-48):a.charAt(d))}return c.join("")},Lz=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("fb");},FXb=function(a,b){Lz(b);b=Jz(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},DXb=function(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=
0<d.getFullYear()?1:0,4<=h?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),Kz(a,jv(c,h));case "Y":return c=d.getFullYear(),e=d.getMonth(),d=d.getDate(),c=uXb(c,e,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),Kz(a,jv(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.dateTimeSymbols_.NARROWMONTHS[c];break a;case 4:h=a.dateTimeSymbols_.MONTHS[c];
break a;case 3:h=a.dateTimeSymbols_.SHORTMONTHS[c];break a;default:h=Kz(a,jv(c+1,h))}return h;case "k":return Lz(e),c=Jz(e)||24,Kz(a,jv(c,h));case "S":return Kz(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?jv(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return FXb(a,e);case "b":return FXb(a,e);case "B":return FXb(a,e);case "h":return Lz(e),c=Jz(e)%12||12,Kz(a,jv(c,h));case "K":return Lz(e),c=Jz(e)%12,
Kz(a,jv(c,h));case "H":return Lz(e),c=Jz(e),Kz(a,jv(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=Kz(a,jv(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=Kz(a,jv(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.dateTimeSymbols_.SHORTQUARTERS[c]:a.dateTimeSymbols_.QUARTERS[c];case "d":return Kz(a,jv(d.getDate(),h));case "m":return Lz(e),Kz(a,jv(e.getMinutes?e.getMinutes():0,h));case "s":return Lz(e),Kz(a,jv(e.getSeconds(),h));case "v":return(f||ji(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||ji(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<zXb(a,c)?void 0!==a.tzNamesExt_.DST_GENERIC_LOCATION?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:void 0!==a.tzNamesExt_.STD_GENERIC_LOCATION?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getFullYear(),d=e.getMonth(),e=e.getDate(),c=uXb(c,d,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),Kz(a,jv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||ji(c.getTimezoneOffset()),4>h?a.tzNames_[0<zXb(a,c)?2:0]:a.tzNames_[0<zXb(a,c)?
3:1];case "Z":return d=f||ji(c.getTimezoneOffset()),4>h?(h=-AXb(d,c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(jv(Math.floor(h/60)%100,2),jv(h%60,2)),h=a.join("")):h=Kz(a,yXb(AXb(d,c))),h;default:return""}};var GXb=function(){};Y(GXb,gVb);var Mz=function(){};Y(Mz,GXb);var HXb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};Mz.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};Mz.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};Mz.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var iVb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
Mz.prototype.getBaseHref=function(){var a=(IXb=IXb||document.querySelector("base"))?IXb.getAttribute("href"):null;return null==a?null:(new URL(a,document.baseURI)).pathname};var IXb=null;var JXb=function(){},iUb=function(a){Fe.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new Uc(5103,!1);return b};Fe.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Fe.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]);Fe.frameworkStabilizers.push(function(b){var c=Fe.getAllAngularTestabilities(),d=c.length,e=function(){d--;0==d&&b()};
c.forEach(function(f){f.whenStable(e)})})};JXb.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a._applications.get(b)||null;if(null!=d)a=d;else{var e;c?e=b instanceof DocumentFragment?this.findTestabilityInTree(a,b.host,!0):this.findTestabilityInTree(a,b.parentElement,!0):e=null;a=e}return a};var Nz=function(){};Nz.prototype.build=function(){return new XMLHttpRequest};Nz.\u0275fac=function(a){return new (a||Nz)};Nz.\u0275prov=Pc({token:Nz,factory:Nz.\u0275fac});var KXb=new rd(""),Oz=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()};Oz.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};Oz.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 Uc(5101,!1);this._eventNameToPlugin.set(a,b);return b};
Oz.\u0275fac=function(a){return new (a||Oz)(p(KXb),p(He))};Oz.\u0275prov=Pc({token:Oz,factory:Oz.\u0275fac});var LXb=function(a){this._doc=a};var Pz=function(a,b,c,d){d=void 0===d?{}:d;this.doc=a;this.appId=b;this.nonce=c;this.styleRef=new Map;this.hostNodes=new Set;this.styleNodesInDOM=MXb(this);this.platformIsServer="server"===d;NXb(this)},QXb=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===OXb(a,c,1))for(var d=a,e=k(d.hostNodes),f=e.next();!f.done;f=e.next())PXb(d,f.value,c)};
Pz.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=k(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())RXb(this,b.value);NXb(this)};
var RXb=function(a,b){a=a.styleRef;var c,d;null==(c=a.get(b))||null==(d=c.elements)||d.forEach(function(e){return e.remove()});a.delete(b)},MXb=function(a){var b,c=null==(b=a.doc.head)?void 0:b.querySelectorAll('style[ng-app-id="'+a.appId+'"]');if(null==c?0:c.length){var d=new Map;c.forEach(function(e){null!=e.textContent&&d.set(e.textContent,e)});return d}return null},OXb=function(a,b,c){a=a.styleRef;if(a.has(b))return b=a.get(b),b.usage+=c,b.usage;a.set(b,{usage:c,elements:[]});return c},PXb=function(a,
b,c){var d=a.styleNodesInDOM,e=null==d?void 0:d.get(c);(null==e?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),b=e):(d=a.doc.createElement("style"),a.nonce&&d.setAttribute("nonce",a.nonce),d.textContent=c,a.platformIsServer&&d.setAttribute("ng-app-id",a.appId),b.appendChild(d),b=d);a=a.styleRef;var f;(d=null==(f=a.get(c))?void 0:f.elements)?d.push(b):a.set(c,{elements:[b],usage:1})},NXb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
Pz.\u0275fac=function(a){return new (a||Pz)(p(qh),p(RSb),p(SSb,8),p(Je))};Pz.\u0275prov=Pc({token:Pz,factory:Pz.\u0275fac});var SXb={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qpa=/%COMP%/g,TXb=new rd("",{providedIn:"root",factory:function(){return!0}}),Rz=function(a,b,c,d,e,f,h,l){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=void 0===l?null:l;this.rendererByCompId=
new Map;this.platformIsServer="server"===f;this.defaultRenderer=new Qz(a,e,h,this.platformIsServer)};
Rz.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(b=Object.assign({},b,{encapsulation:0}));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,l=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new UXb(f,h,b,this.appId,l,d,e,q);break;case 3:b=new VXb(f,h,a,b,d,e,this.nonce,q);break a;default:d=new Sz(f,h,b,l,d,e,
q)}c.set(b.id,d)}b=d}b instanceof UXb?(QXb(b.sharedStylesHost,b.styles),b.setAttribute(a,b.hostAttr,"")):b instanceof Sz&&QXb(b.sharedStylesHost,b.styles);return b};Rz.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};Rz.\u0275fac=function(a){return new (a||Rz)(p(Oz),p(Pz),p(RSb),p(TXb),p(qh),p(Je),p(He),p(SSb))};Rz.\u0275prov=Pc({token:Rz,factory:Rz.\u0275fac});
var Qz=function(a,b,c,d){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.data=Object.create(null);this.destroyNode=null};g=Qz.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(SXb[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){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};
g.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){a&&a.removeChild(b)};g.selectRootElement=function(a,b){a="string"===typeof a?this.doc.querySelector(a):a;if(!a)throw new Uc(-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=SXb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=SXb[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){null!=a&&(a[b]=c)};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c){if("string"===typeof a&&(a=iVb(this.doc,a),!a))throw Error("gb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,WXb(this,c))};
var WXb=function(a,b){return function(c){if("__ngUnwrap__"===c)return b;!1===(a.platformIsServer?a.ngZone.runGuarded(function(){return b(c)}):b(c))&&c.preventDefault()}},VXb=function(a,b,c,d,e,f,h,l){Qz.call(this,a,e,f,l);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=k(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())PXb(a,b,e.value);d=rpa(d.id,d.styles);d=k(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};Y(VXb,Qz);var Tz=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=VXb.prototype;g.appendChild=function(a,b){return Qz.prototype.appendChild.call(this,Tz(this,a),b)};g.insertBefore=function(a,b,c){return Qz.prototype.insertBefore.call(this,Tz(this,a),b,c)};g.removeChild=function(a,b){return Qz.prototype.removeChild.call(this,Tz(this,a),b)};
g.parentNode=function(a){return Tz(this,Qz.prototype.parentNode.call(this,Tz(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var Sz=function(a,b,c,d,e,f,h,l){Qz.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=l?rpa(l,c.styles):c.styles};Y(Sz,Qz);
Sz.prototype.destroy=function(){if(this.removeStylesOnCompDestroy)for(var a=this.sharedStylesHost,b=k(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=OXb(a,c,-1)&&RXb(a,c)};var UXb=function(a,b,c,d,e,f,h,l){d=d+"-"+c.id;Sz.call(this,a,b,c,e,f,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(qpa,d);this.hostAttr="_nghost-%COMP%".replace(qpa,d)};Y(UXb,Sz);
UXb.prototype.createElement=function(a,b){a=Sz.prototype.createElement.call(this,a,b);Sz.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var Uz=function(a){this._doc=a};Y(Uz,LXb);Uz.prototype.supports=function(){return!0};Uz.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};Uz.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};Uz.\u0275fac=function(a){return new (a||Uz)(p(qh))};Uz.\u0275prov=Pc({token:Uz,factory:Uz.\u0275fac});var XXb=["alt","control","meta","shift"],YXb={"\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"},ZXb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},Vz=function(a){this._doc=a};Y(Vz,LXb);Vz.prototype.supports=function(a){return null!=$Xb(a)};
Vz.prototype.addEventListener=function(a,b,c){var d=$Xb(b),e=aYb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return HXb(a,d.domEventName,e)})};
var $Xb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=bYb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");XXb.forEach(function(f){var h=b.indexOf(f);-1<h&&(b.splice(h,1),d+=f+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},cYb=function(a,b){var c=YXb[a.key]||a.key,d="";-1<b.indexOf("code.")&&(c=a.code,d="code.");if(null==c||!c)return!1;c=c.toLowerCase();" "===c?
c="space":"."===c&&(c="dot");XXb.forEach(function(e){e!==c&&(0,ZXb[e])(a)&&(d+=e+".")});d+=c;return d===b},aYb=function(a,b,c){return function(d){cYb(d,a)&&c.runGuarded(function(){return b(d)})}},bYb=function(a){return"esc"===a?"escape":a};Vz.\u0275fac=function(a){return new (a||Vz)(p(qh))};Vz.\u0275prov=Pc({token:Vz,factory:Vz.\u0275fac});var MUb=Hma(SUb,"browser",[{provide:Je,useValue:"browser"},{provide:Kma,useValue:function(){var a=new Mz;null!=fVb||(fVb=a)},multi:!0},{provide:qh,useFactory:function(){return Vga=document},deps:[]}]),dYb=new rd(""),eYb=[{provide:gUb,useClass:JXb,deps:[]},{provide:fUb,useClass:Zv,deps:[He,$v,gUb]},{provide:Zv,useClass:Zv,deps:[He,$v,gUb]}],fYb=[{provide:Ima,useValue:"root"},{provide:bf,useFactory:function(){return new bf},deps:[]},{provide:KXb,useClass:Uz,multi:!0,deps:[qh,He,Je]},{provide:KXb,useClass:Vz,
multi:!0,deps:[qh]},Rz,Pz,Oz,{provide:WSb,useExisting:Rz},{provide:oVb,useClass:Nz,deps:[]},[]],Wz=function(){};Wz.\u0275fac=function(a){return new (a||Wz)(p(dYb,12))};Wz.\u0275mod=hd({type:Wz});Wz.\u0275inj=Rc({providers:[].concat(u(fYb),u(eYb)),imports:[Qw,tw]});var Xz=function(a){this._doc=a};Xz.prototype.getTitle=function(){return this._doc.title};Xz.prototype.setTitle=function(a){this._doc.title=a||""};Xz.\u0275fac=function(a){return new (a||Xz)(p(qh))};Xz.\u0275prov=Pc({token:Xz,factory:Xz.\u0275fac,providedIn:"root"});new rd("HammerGestureConfig");new rd("HammerLoader");var gYb=function(){},hYb=function(){};var Yz=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?"string"===typeof a?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),f=e.toLowerCase();c=c.slice(d+1).trim();iYb(b,e,f);b.headers.has(f)?b.headers.get(f).push(c):b.headers.set(f,[c])}})}:"undefined"!==typeof Headers&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){jYb(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
k(c);c=d.next().value;d=d.next().value;jYb(b,c,d)})}:this.headers=new Map};g=Yz.prototype;g.has=function(a){this.init();return this.headers.has(a.toLowerCase())};g.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};g.keys=function(){this.init();return Array.from(this.normalizedNames.values())};g.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};g.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};
g.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};g.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var iYb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};Yz.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof Yz?kYb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return lYb(a,b)}),this.lazyUpdate=null))};
var kYb=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))})};Yz.prototype.clone=function(a){var b=new Yz;b.lazyInit=this.lazyInit&&this.lazyInit instanceof Yz?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var lYb=function(a,b){var c=b.name.toLowerCase();switch(b.op){case "a":case "s":var d=b.value;"string"===typeof d&&(d=[d]);if(0===d.length)break;iYb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,u(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(f){return-1===e.indexOf(f)}),0===d.length?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}},jYb=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);iYb(a,b,d)};Yz.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 mYb=function(){},tpa=/%(\d[a-f0-9])/gi,upa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},Zz=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new mYb;if(a.fromString){if(a.fromObject)throw Error("hb");this.map=spa(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(wpa):[""+d];b.map.set(c,d)})):this.map=null};g=Zz.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=vpa(b);return a.map.get(b).map(function(d){return c+"="+vpa(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};g.clone=function(a){var b=new Zz({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
g.init=function(){var a=this;null===this.map&&(this.map=new Map);null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(b){return a.map.set(b,a.cloneFrom.map.get(b))}),this.updates.forEach(function(b){switch(b.op){case "a":case "s":var c=("a"===b.op?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(void 0!==b.value){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);-1!==d&&c.splice(d,1);0<c.length?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var nYb=function(){this.map=new Map};g=nYb.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 $z=function(a,b,c,d){this.url=b;this.body=null;this.withCredentials=this.reportProgress=!1;this.responseType="json";this.method=a.toUpperCase();a:switch(this.method){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":a=!1;break a;default:a=!0}if(a||d)this.body=void 0!==c?c:null,c=d;c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),
c.params&&(this.params=c.params),this.transferCache=c.transferCache);null!=this.headers||(this.headers=new Yz);null!=this.context||(this.context=new nYb);this.params?(c=this.params.toString(),0===c.length?this.urlWithParams=b:(d=b.indexOf("?"),this.urlWithParams=b+(-1===d?"?":d<b.length-1?"&":"")+c)):(this.params=new Zz,this.urlWithParams=b)},oYb=function(a){return null===a.body?null:"string"===typeof a.body||xpa(a.body)||ypa(a.body)||zpa(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof
URLSearchParams?a.body:a.body instanceof Zz?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
$z.prototype.clone=function(a){a=void 0===a?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e,f=null!=(e=a.transferCache)?e:this.transferCache;e=void 0!==a.body?a.body:this.body;var h,l=null!=(h=a.withCredentials)?h:this.withCredentials,q;h=null!=(q=a.reportProgress)?q:this.reportProgress;q=a.headers||this.headers;var t=a.params||this.params,w,B=null!=(w=a.context)?w:this.context;void 0!==a.setHeaders&&(q=Object.keys(a.setHeaders).reduce(function(D,J){return D.set(J,
a.setHeaders[J])},q));a.setParams&&(t=Object.keys(a.setParams).reduce(function(D,J){return D.set(J,a.setParams[J])},t));return new $z(b,c,e,{params:t,headers:q,context:B,reportProgress:h,responseType:d,withCredentials:l,transferCache:f})};var aA=function(a,b,c){b=void 0===b?200:b;c=void 0===c?"OK":c;this.headers=a.headers||new Yz;this.status=void 0!==a.status?a.status:b;this.statusText=a.statusText||c;this.url=a.url||null;this.ok=200<=this.status&&300>this.status},pYb=function(a){a=void 0===a?{}:a;aA.call(this,a);this.type=2};Y(pYb,aA);
pYb.prototype.clone=function(a){a=void 0===a?{}:a;return new pYb({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};var bA=function(a){a=void 0===a?{}:a;aA.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};Y(bA,aA);
bA.prototype.clone=function(a){a=void 0===a?{}:a;return new bA({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};
var qYb=function(a){aA.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=200<=this.status&&300>this.status?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};Y(qYb,aA);var cA=function(a){this.handler=a};g=cA.prototype;
g.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof $z)b=a;else{var e=void 0;e=c.headers instanceof Yz?c.headers:new Yz(c.headers);var f=void 0;c.params&&(f=c.params instanceof Zz?c.params:new Zz({fromObject:c.params}));b=new $z(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:f,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials,transferCache:c.transferCache})}e=(0,X.of)(b).pipe(we(function(h){return d.handler.handle(h)},
1));if(a instanceof $z||"events"===c.observe)return e;a=e.pipe(Ce(function(h){return h instanceof bA}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(z(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("ib");return h.body}));case "blob":return a.pipe(z(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("jb");return h.body}));case "text":return a.pipe(z(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("kb");
return h.body}));default:return a.pipe(z(function(h){return h.body}))}case "response":return a;default:throw Error("lb`"+c.observe);}};g.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};g.jsonp=function(a,b){return this.request("JSONP",a,{params:(new Zz).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
g.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};g.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,Apa(c,b))};g.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,Apa(c,b))};g.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,Apa(c,b))};cA.\u0275fac=function(a){return new (a||cA)(p(gYb))};cA.\u0275prov=Pc({token:cA,factory:cA.\u0275fac});var dA=new rd(""),rYb=new rd(""),sYb=new rd(""),tYb=new rd(""),eA=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=bd(Yv);var c;this.backend=null!=(c=bd(tYb,{optional:!0}))?c:a};Y(eA,gYb);eA.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(u(this.injector.get(rYb)),u(this.injector.get(sYb,[]))))).reduceRight(function(d,e){return Dpa(d,e,b.injector)},Bpa));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(of(function(){return b.pendingTasks.remove(c)}))};
eA.\u0275fac=function(a){return new (a||eA)(p(hYb),p(nv))};eA.\u0275prov=Pc({token:eA,factory:eA.\u0275fac});var uYb=/^\)\]\}',?\n/,fA=function(a){this.xhrFactory=a};
fA.prototype.handle=function(a){if("JSONP"===a.method)throw new Uc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,X.from)(b.\u0275loadImpl()):(0,X.of)(null)).pipe(wf(function(){return new X.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(J,H){return d.setRequestHeader(J,H.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||zpa(a.body)?null:ypa(a.body)?a.body.type||null:xpa(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof Zz?"application/x-www-form-urlencoded;charset=UTF-8":"object"===typeof a.body||"number"===typeof a.body||"boolean"===typeof a.body?"application/json":null;null!==e&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType="json"!==e?e:"text");var f=oYb(a),h=null,l=function(){if(null!==h)return h;var J=d.statusText||"OK",H=
new Yz(d.getAllResponseHeaders()),O=("responseURL"in d&&d.responseURL?d.responseURL:/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null)||a.url;return h=new pYb({headers:H,status:d.status,statusText:J,url:O})},q=function(){var J=l(),H=J.headers,O=J.status,P=J.statusText;J=J.url;var U=null;204!==O&&(U="undefined"===typeof d.response?d.responseText:d.response);0===O&&(O=U?200:0);var aa=200<=O&&300>O;if("json"===a.responseType&&"string"===typeof U){var pa=U;U=
U.replace(uYb,"");try{U=""!==U?JSON.parse(U):null}catch(ka){U=pa,aa&&(aa=!1,U={error:ka,text:U})}}aa?(c.next(new bA({body:U,headers:H,status:O,statusText:P,url:J||void 0})),c.complete()):c.error(new qYb({error:U,headers:H,status:O,statusText:P,url:J||void 0}))},t=function(J){var H=l().url;J=new qYb({error:J,status:d.status||0,statusText:d.statusText||"Unknown Error",url:H||void 0});c.error(J)},w=!1,B=function(J){w||(c.next(l()),w=!0);var H={type:3,loaded:J.loaded};J.lengthComputable&&(H.total=J.total);
"text"===a.responseType&&d.responseText&&(H.partialText=d.responseText);c.next(H)},D=function(J){var H={type:1,loaded:J.loaded};J.lengthComputable&&(H.total=J.total);c.next(H)};d.addEventListener("load",q);d.addEventListener("error",t);d.addEventListener("timeout",t);d.addEventListener("abort",t);a.reportProgress&&(d.addEventListener("progress",B),null!==f&&d.upload&&d.upload.addEventListener("progress",D));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",t);d.removeEventListener("abort",
t);d.removeEventListener("load",q);d.removeEventListener("timeout",t);a.reportProgress&&(d.removeEventListener("progress",B),null!==f&&d.upload&&d.upload.removeEventListener("progress",D));d.readyState!==d.DONE&&d.abort()}})}))};fA.\u0275fac=function(a){return new (a||fA)(p(oVb))};fA.\u0275prov=Pc({token:fA,factory:fA.\u0275fac});var Epa=new rd(""),vYb=new rd("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Gpa=new rd("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),Fpa=function(){},gA=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
gA.prototype.getToken=function(){if("server"===this.platform)return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=k(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=k(-1==e?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
gA.\u0275fac=function(a){return new (a||gA)(p(qh),p(Je),p(vYb))};gA.\u0275prov=Pc({token:gA,factory:gA.\u0275fac});var wYb=new rd("");var hA=function(){};hA.\u0275fac=function(a){return new (a||hA)};hA.\u0275mod=hd({type:hA});
hA.\u0275inj=Rc({providers:[function(){for(var a=[cA,fA,eA,{provide:gYb,useExisting:eA},{provide:hYb,useExisting:fA},{provide:rYb,useValue:Hpa,multi:!0},{provide:Epa,useValue:!0},{provide:Fpa,useClass:gA}],b=k(pd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,u(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:wYb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=bd(dA,{optional:!0}))?d:[]).reduceRight(Cpa,
Bpa)}var e=bd(Yv),f=e.add();return a(b,c).pipe(of(function(){return e.remove(f)}))}}},{provide:rYb,useExisting:wYb,multi:!0}]})]});new rd("");var iA=function(){};iA.\u0275fac=function(a){return new (a||iA)};iA.\u0275prov=Pc({token:iA,factory:function(a){return a?new (a||iA):p(jA)},providedIn:"root"});var jA=function(a){this._doc=a};Y(jA,iA);
jA.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Ue(b,"HTML")?Te(b):Yia(this._doc,String(b)).toString();case 2:return Ue(b,"Style")?Te(b):b;case 3:if(Ue(b,"Script"))return Te(b);throw new Uc(5200,!1);case 4:return Ue(b,"URL")?Te(b):Lia(String(b));case 5:if(Ue(b,"ResourceURL"))return Te(b);throw new Uc(5201,!1);default:throw new Uc(5202,!1);}};jA.prototype.bypassSecurityTrustHtml=function(a){return new NTb(a)};jA.prototype.bypassSecurityTrustUrl=function(a){return new OTb(a)};
jA.prototype.bypassSecurityTrustResourceUrl=function(a){return new PTb(a)};jA.\u0275fac=function(a){return new (a||jA)(p(qh))};jA.\u0275prov=Pc({token:jA,factory:jA.\u0275fac,providedIn:"root"});var Ipa=/^[a-z][a-z\d-]*$/i,Jpa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Mpa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Npa=["action","formaction","href"];"ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" ").concat(["BUTTON",
"INPUT"]);var kA=function(a){this.decorated=new jA(a)};Y(kA,iA);kA.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof hv||b instanceof oc||b instanceof tc){if(xYb(b,a))return this.decorated.sanitize(a,yYb(this,b));throw Error("mb`"+YTb[a]+"`"+b);}return this.decorated.sanitize(a,b)};kA.prototype.bypassSecurityTrustHtml=function(){throw Error("nb");};kA.prototype.bypassSecurityTrustUrl=function(){throw Error("nb");};
kA.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("nb");};var yYb=function(a,b){if(null!=b){if(b instanceof tc)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof oc)return a.decorated.bypassSecurityTrustUrl(rc(b));if(b instanceof hv)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},xYb=function(a,b){switch(b){case 1:return a instanceof tc;case 4:return a instanceof oc||a instanceof hv;case 5:return a instanceof hv;case 3:return!1;default:return!1}};
kA.\u0275fac=function(a){return new (a||kA)(p(qh))};kA.\u0275prov=Pc({token:kA,factory:kA.\u0275fac});var zYb=[{provide:ZTb,useExisting:iA},{provide:iA,useClass:kA}],lA=function(){};lA.\u0275fac=function(a){return new (a||lA)};lA.\u0275mod=hd({type:lA});lA.\u0275inj=Rc({providers:zYb,imports:[Wz]});var AYb=function(){};var Ph=function(a,b){this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._originalOnDoneFns=[];this._originalOnStartFns=[];this._finished=this._destroyed=this._started=!1;this._position=0;this.parentPlayer=null;this.totalTime=(void 0===a?0:a)+(void 0===b?0:b)};g=Ph.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(),BYb(this));this._started=!0};var BYb=function(a){queueMicrotask(function(){return a._onFinish()})};g=Ph.prototype;g._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};g.pause=function(){};g.restart=function(){};
g.finish=function(){this._onFinish()};g.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
g.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var Zpa=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;0==f?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,
l){return Math.max(h,l.totalTime)},0)};g=Zpa.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this.players.forEach(function(a){return a.init()})};g.onStart=function(a){this._onStartFns.push(a)};g._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};g.onDone=function(a){this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.hasStarted=function(){return this._started};g.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};g.pause=function(){this.players.forEach(function(a){return a.pause()})};g.restart=function(){this.players.forEach(function(a){return a.restart()})};g.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};g.destroy=function(){this._onDestroy()};
g._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(a){return a.destroy()}),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};g.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
g.getPosition=function(){var a=this.players.reduce(function(b,c){return null===b||c.totalTime>b.totalTime?c:b},null);return null!=a?a.getPosition():0};g.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var Vpa=RegExp("{{\\s*(.+?)\\s*}}","g"),Wpa=/-+([a-z0-9])/g;var CYb=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(" ")),DYb=function(){};Y(DYb,AYb);
var $pa=function(a,b,c){var d="",e=b.toString().trim();CYb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new Uc(3005,!1)));return e+d};var fqa="undefined"===typeof document?null:document.documentElement;var mA=function(){};g=mA.prototype;g.containsElement=function(a,b){return hqa(a,b)};g.getParentElement=function(a){return gqa(a)};g.query=function(a,b,c){return iqa(a,b,c)};g.computeStyle=function(a,b,c){return c||""};g.animate=function(a,b,c,d){return new Ph(c,d)};mA.\u0275fac=function(a){return new (a||mA)};mA.\u0275prov=Pc({token:mA,factory:mA.\u0275fac});var EYb=function(){};var mqa=new Set(["true","1"]),nqa=new Set(["false","0"]);var oqa=RegExp("s*:selfs*,?","g"),FYb=function(a){this._driver=a};g=FYb.prototype;g.build=function(a,b){b=new GYb(b);this._resetContextStyleTimingState(b);return Oh(this,Mh(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 Uc(3006,!1));a.definitions.forEach(function(l){c._resetContextStyleTimingState(b);if(0==l.type){var q=l.name;q.toString().split(/\s*,\s*/).forEach(function(t){l.name=t;f.push(c.visitState(l,b))});l.name=q}else 1==l.type?(q=c.visitTransition(l,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Uc(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){Tpa(l).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push(Opa([].concat(u(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=Oh(this,Mh(a.animation),b);return{type:1,matchers:lqa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Sh(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return Oh(c,d,b)}),options:Sh(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=Oh(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:Sh(a.options)}};
g.visitAnimate=function(a,b){var c=rqa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Eh({});if(5==d.type)a=this.visitKeyframes(d,b);else{d=a.styles;a=!1;d||(a=!0,d={},c.easing&&(d.easing=c.easing),d=Eh(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=k(d);for(var e=d.next();!e.done;e=d.next())e=e.value,"string"===typeof e?"*"===e?c.push(e):b.errors.push(new Uc(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!f)){l=k(l.values());for(var q=l.next();!q.done;q=l.next())if(0<=q.value.toString().indexOf("{{")){f=!0;break}}});return{type:6,styles:c,easing:h,
offset:a.offset,containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&0<e&&(e-=c.duration+c.delay);a.styles.forEach(function(f){"string"!==typeof f&&f.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),t=q.get(l),w=!0;t&&(e!=d&&e>=t.startTime&&d<=t.endTime&&(b.errors.push(new Uc(3010,!1)),w=!1),e=t.startTime);w&&q.set(l,{startTime:e,endTime:d});b.options&&Upa(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 Uc(3011,!1)),d;var e=0,f=[],h=!1,l=!1,q=0,t=a.steps.map(function(O){O=c._makeStyleAst(O,b);var P=null!=O.offset?O.offset:qqa(O.styles),U=0;null!=P&&(e++,U=O.offset=P);l=l||0>U||1<U;h=h||U<q;q=U;f.push(U);return O});l&&b.errors.push(new Uc(3012,!1));h&&b.errors.push(new Uc(3200,!1));a=a.steps.length;var w=0;0<e&&e<a?b.errors.push(new Uc(3202,!1)):0==e&&(w=1/(a-1));var B=
a-1,D=b.currentTime,J=b.currentAnimateTimings,H=J.duration;t.forEach(function(O,P){P=0<w?P==B?1:w*P:f[P];var U=P*H;b.currentTime=D+J.delay+U;J.duration=U;c._validateStyleAst(O,b);O.offset=P;d.styles.push(O)});return d};g.visitReference=function(a,b){return{type:8,animation:Oh(this,Mh(a.animation),b),options:Sh(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Sh(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Sh(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(pqa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;Rh(b.collectedStyles,b.currentQuerySelector,new Map);var h=Oh(this,Mh(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:Sh(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Uc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Qpa(a.timings,b.errors,!0);return{type:12,animation:Oh(this,Mh(a.animation),b),timings:c,options:null}};var GYb=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 nA=function(){this._map=new Map};nA.prototype.get=function(a){return this._map.get(a)||[]};nA.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,u(b))};nA.prototype.has=function(a){return this._map.has(a)};nA.prototype.clear=function(){this._map.clear()};var HYb=RegExp(":enter","g"),IYb=RegExp(":leave","g"),tqa=function(){};g=tqa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,l,q,t){t=void 0===t?[]:t;q=q||new nA;a=new oA(a,b,q,d,e,t,[]);a.options=l;d=l.delay?Jh(l.delay):0;a.currentTimeline.delayNextStep(d);JYb(a.currentTimeline,[f],null,a.errors,l);Oh(this,c,a);c=a.timelines.filter(function(B){return B.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;0<=f;f--)if(e=c[f],e.element===b){var w=e;break}w&&w._currentEmptyStepKeyframe===w._currentKeyframe&&JYb(w,[h],null,a.errors,l)}return c.length?c.map(function(B){return B.buildKeyframes()}):
[sqa(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=pA(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&qA(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=pA(b,a.options);qA(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);qA(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=null==(e=d)?void 0:e.delay;if(f){var h=e=void 0;d="number"===typeof f?f:Jh(Nh(f,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
g._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?Jh(c.duration):null,f=null!=c.delay?Jh(c.delay):null;0!==e&&a.forEach(function(h){var l={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=f?f:0)+h.delay,easing:""};h=new KYb(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,l,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,l.duration+l.delay)});return d};
g.visitReference=function(a,b){LYb(b,a.options,!0);Oh(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=pA(b,f),qA(e),null!=f.delay&&(6==e.previousNode.type&&(rA(e.currentTimeline),e.previousNode=MYb),e.delayNextStep(Jh(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return Oh(c,h,e)}),sA(e.currentTimeline),e.subContextCount>d&&qA(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Jh(a.options.delay):0;a.steps.forEach(function(h){var l=pA(b,a.options);f&&l.delayNextStep(f);Oh(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return NYb(b.currentTimeline,h)});qA(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Nh(a,b.params,b.errors):a,Qpa(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&&(OYb(b.currentTimeline,b.currentTimeline.duration+c.delay),rA(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(OYb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),sA(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&0<c._currentKeyframe.size&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=k(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else JYb(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=pA(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){OYb(f,(h.offset||0)*e);JYb(f,h.styles,h.easing,b.errors,b.options);sA(f)});NYb(b.currentTimeline,f);qA(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Jh(e.delay):0;f&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(rA(b.currentTimeline),b.previousNode=MYb);var h=d;d=PYb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,t){b.currentQueryIndex=t;t=pA(b,a.options,q);f&&t.delayNextStep(f);q===b.element&&(l=t.currentTimeline);Oh(c,a.animation,t);sA(t.currentTimeline);
h=Math.max(h,t.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;qA(b,h);l&&(NYb(b.currentTimeline,l),rA(b.currentTimeline));b.previousNode=a};
g.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,f=Math.abs(e.duration),h=f*(b.currentQueryTotal-1);f*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":f=h-f;break;case "full":f=c.currentStaggerTime}e=b.currentTimeline;f&&e.delayNextStep(f);e=e.currentTime;Oh(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var MYb={},oA=function(a,b,c,d,e,f,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=MYb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new tA(this._driver,b,0);h.push(this.currentTimeline)},LYb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
Jh(b.duration));null!=b.delay&&(d.delay=Jh(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]=Nh(e[h],f,a.errors))})}}};oA.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 pA=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new oA(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();LYb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},qA=function(a,b){a.previousNode=MYb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};oA.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var PYb=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(HYb,"."+a._enterClassName),b=b.replace(IYb,"."+a._leaveClassName),a=a._driver.query(a.element,b,1!=c),0!==c&&(a=0>c?a.slice(a.length+c,a.length):a.slice(0,c)),h.push.apply(h,u(a)));e||0!=h.length||f.push(new Uc(3014,!1));return h};
Ac.Object.defineProperties(oA.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var tA=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()};tA.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};tA.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(OYb(this,this.currentTime+a),b&&rA(this)):this.startTime+=a};
tA.prototype.fork=function(a,b){sA(this);return new tA(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};tA.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 OYb=function(a,b){sA(a);a.duration=b;a._loadKeyframe()};
tA.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 JYb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=wqa(b,a._globalTimelineStyles);b=k(b);for(e=b.next();!e.done;e=b.next()){var f=k(e.value);e=f.next().value;f=f.next().value;f=Nh(f,c,d);a._pendingStyles.set(e,f);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,f)}},sA=function(a){0!=a._pendingStyles.size&&(a._pendingStyles.forEach(function(b,c){a._currentKeyframe.set(c,b)}),a._pendingStyles.clear(),
a._localTimelineStyles.forEach(function(b,c){a._currentKeyframe.has(c)||a._currentKeyframe.set(c,b)}))},rA=function(a){for(var b=k(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},NYb=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)})};
tA.prototype.buildKeyframes=function(){var a=this;sA(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(t,w){t=new Map([].concat(u(a._backFill),u(t)));t.forEach(function(B,D){"!"===B?b.add(D):"*"===B&&c.add(D)});d||t.set("offset",w/a.duration);e.push(t)});var f=[].concat(u(b.values())),h=[].concat(u(c.values()));if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return sqa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};Ac.Object.defineProperties(tA.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 KYb=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;tA.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(KYb,tA);KYb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
KYb.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",vqa(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var l=new Map(a[h]),q=l.get("offset");l.set("offset",vqa((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return sqa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var QYb={},Th=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Th.prototype.match=function(a,b,c,d){return yqa(this.ast.matchers,a,b,c,d)};Th.prototype.buildStyles=function(a,b,c){var d=this._stateStyles.get("*");void 0!==a&&(d=this._stateStyles.get(null==a?void 0:a.toString())||d);return d?d.buildStyles(b,c):new Map};
Th.prototype.build=function(a,b,c,d,e,f,h,l,q,t){var w=[],B=this.ast.options&&this.ast.options.params||QYb;h=this.buildStyles(c,h&&h.params||QYb,w);var D=l&&l.params||QYb;l=this.buildStyles(d,D,w);var J=new Set,H=new Map,O=new Map,P="void"===d,U;B={params:zqa(D,B),delay:null==(U=this.ast.options)?void 0:U.delay};a=t?[]:uqa(a,b,this.ast.animation,e,f,h,l,B,q,w);var aa=0;a.forEach(function(pa){aa=Math.max(pa.duration+pa.delay,aa)});if(w.length)return xqa(b,this._triggerName,c,d,P,h,l,[],[],H,O,aa,w);
a.forEach(function(pa){var ka=pa.element,Aa=Rh(H,ka,new Set);pa.preStyleProps.forEach(function(ea){return Aa.add(ea)});var Ya=Rh(O,ka,new Set);pa.postStyleProps.forEach(function(ea){return Ya.add(ea)});ka!==b&&J.add(ka)});return xqa(b,this._triggerName,c,d,P,h,l,a,[].concat(u(J.values())),H,O,aa)};var RYb=function(a,b){this.styles=a;this.defaultParams=b};
RYb.prototype.buildStyles=function(a,b){var c=new Map,d=zqa(a,this.defaultParams);this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(f,h){f&&(f=Nh(f,d,b));var l=Spa(h);f=$pa(l,f,b);c.set(h,f)})});return c};var SYb=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 RYb(e.style,e.options&&e.options.params||{}))});Bqa(this.states,"true","1");Bqa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Th(a,e,d.states))});this.fallbackTransition=Aqa(a,this.states)},TYb=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var UYb=new nA,VYb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=VYb.prototype;g.register=function(a,b){var c=[];b=(new FYb(this._driver)).build(b,c,[]);if(c.length)throw new Uc(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=aqa(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
g.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],f=this._animations.get(a),h=new Map;f?(b=uqa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,UYb,e),b.forEach(function(l){var q=Rh(h,l.element,new Map);l.postStyleProps.forEach(function(t){return q.set(t,null)})})):(e.push(new Uc(3300,!1)),b=[]);if(e.length)throw new Uc(3504,!1);h.forEach(function(l,q){l.forEach(function(t,w){l.set(w,d._driver.computeStyle(q,w,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=Qh(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};g.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);0<=a&&this.players.splice(a,1)};g._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new Uc(3301,!1);return a};g.listen=function(a,b,c,d){b=dqa(b,"","","");cqa(this._getPlayer(a),c,b,d);return function(){}};
g.command=function(a,b,c,d){if("register"==c)this.register(a,d[0]);else if("create"==c)this.create(a,b,d[0]||{});else switch(b=this._getPlayer(a),c){case "play":b.play();break;case "pause":b.pause();break;case "reset":b.reset();break;case "restart":b.restart();break;case "finish":b.finish();break;case "init":b.init();break;case "setPosition":b.setPosition(parseFloat(d[0]));break;case "destroy":this.destroy(a)}};var WYb=[],XYb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Eqa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},YYb=function(a,b){this.namespaceId=void 0===b?"":b;var c=(b=a&&a.hasOwnProperty("value"))?a.value:a;this.value=null!=c?c:null;b?(a=Object.assign({},a),this.options=(delete a.value,a)):this.options={};this.options.params||(this.options.params={})},ZYb=function(a,b){var c=b.params;if(c){var d=a.options.params;
Object.keys(c).forEach(function(e){null==d[e]&&(d[e]=c[e])})}};Ac.Object.defineProperties(YYb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var $Yb=new YYb("void"),uA=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;Uh(b,this._hostClassName)};g=uA.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Uc(3302,!1);if(null==c||0==c.length)throw new Uc(3303,!1);if("start"!=c&&"done"!=c)throw new Uc(3400,!1);var f=Rh(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var l=Rh(this._engine.statesByElement,a,new Map);l.has(b)||(Uh(a,"ng-trigger"),Uh(a,"ng-trigger-"+b),l.set(b,$Yb));return function(){vA(e._engine,function(){var q=f.indexOf(h);0<=q&&f.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Uc(3401,!1);return a};
g.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var f=this._getTrigger(b),h=new aZb(this.id,b,a),l=this._engine.statesByElement.get(a);l||(Uh(a,"ng-trigger"),Uh(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),t=new YYb(c,this.id);c&&c.hasOwnProperty("value")||!q||ZYb(t,q.options);l.set(b,t);q||(q=$Yb);if("void"!==t.value&&q.value===t.value){if(!Kqa(q.params,t.params)){d=[];var w=f.fallbackTransition.buildStyles(q.value,q.params,d),B=f.fallbackTransition.buildStyles(t.value,
t.params,d);d.length?this._engine.reportError(d):vA(this._engine,function(){Lh(a,w);Kh(a,B)})}}else{c=Rh(this._engine.playersByElement,a,[]);c.forEach(function(J){J.namespaceId==e.id&&J.triggerName==b&&J.queued&&J.destroy()});l=TYb(f,q.value,t.value,a,t.params);var D=!1;if(!l){if(!d)return;l=f.fallbackTransition;D=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:t,player:h,isFallbackTransition:D});D||(Uh(a,"ng-animate-queued"),h.onStart(function(){Vh(a,
"ng-animate-queued")}));h.onDone(function(){var J=e.players.indexOf(h);0<=J&&e.players.splice(J,1);if(J=e._engine.playersByElement.get(a)){var H=J.indexOf(h);0<=H&&J.splice(H,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 bZb=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))};
uA.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=cZb(c._engine,e);f.size?f.forEach(function(h){return dZb(h,e,b,!1,!0)}):bZb(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return bZb(c,e)})})};
var dZb=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var l=[];f.forEach(function(q,t){h.set(t,q.value);a._triggers.has(t)&&(q=a.trigger(b,t,"void",e))&&l.push(q)});if(l.length){eZb(a._engine,a.id,b,!0,c,h);if(d)Qh(l).onDone(function(){return Wh(a._engine,b)});return!0}}return!1},fZb=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
l=d.get(f)||$Yb,q=new YYb("void"),t=new aZb(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:l,toState:q,player:t,isFallbackTransition:!0})}})}};
uA.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!dZb(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}}fZb(this,a);e?eZb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==XYb||(vA(d,function(){return bZb(c,a)}),gZb(d,a),d._onRemovalComplete(a,b)))}};
uA.prototype.insertNode=function(a){Uh(a,this._hostClassName)};
var hZb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=dqa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;cqa(d.player,l.phase,q,l.callback)}});e.markedForDestroy?vA(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var f=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==f||0==h?f-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};uA.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var wA=function(a,b,c,d){this.bodyNode=a;this.driver=b;this._normalizer=c;this.scheduler=d;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=wA.prototype;g._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};g._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,f=this.driver.getParentElement(b);f;){var h=d.get(f);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}f=this.driver.getParentElement(f)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
g.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new uA(a,b,this),this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};g.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
g.destroy=function(a,b){var c=this;a&&(vA(this,function(){}),this.afterFlushAnimationsDone(function(){var d=c._fetchNamespace(a);c.namespacesByHostElement.delete(d.hostElement);var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1);d.destroy(b);delete c._namespaceLookup[a]}))};g._fetchNamespace=function(a){return this._namespaceLookup[a]};
var cZb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=k(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};wA.prototype.trigger=function(a,b,c,d){return Cqa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
wA.prototype.insertNode=function(a,b,c,d){if(Cqa(b)){var e=b.__ng_removed;e&&e.setForRemoval&&(e.setForRemoval=!1,e.setForMove=!0,e=this.collectedLeaveElements.indexOf(b),0<=e&&this.collectedLeaveElements.splice(e,1));a&&(a=this._fetchNamespace(a))&&a.insertNode(b,c);d&&this.collectedEnterElements.push(b)}};var iZb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),Uh(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Vh(b,"ng-animate-disabled"))};
wA.prototype.removeNode=function(a,b,c){if(Cqa(b)){var d;null==(d=this.scheduler)||d.notify();(d=a?this._fetchNamespace(a):null)?d.removeNode(b,c):eZb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var eZb=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};
wA.prototype.listen=function(a,b,c,d,e){return Cqa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};wA.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 gZb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return jZb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return kZb(a,d)}))},jZb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},kZb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Wh=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
XYb;if(c.namespaceId){gZb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&bZb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&iZb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){iZb(a,f,!1)})};
wA.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(f,h){return b._balanceNamespaceList(f,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)Uh(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++)Wh(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)Qh(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
wA.prototype.reportError=function(){throw new Uc(3402,!1);};
wA.prototype._flushAnimations=function(a,b){var c=this,d=new nA,e=[],f=new Map,h=[],l=new Map,q=new Map,t=new Map,w=new Set;this.disabledNodes.forEach(function(Ra){w.add(Ra);Ra=c.driver.query(Ra,".ng-animate-queued",!0);for(var nb=0;nb<Ra.length;nb++)w.add(Ra[nb])});var B=this.bodyNode,D=Array.from(this.statesByElement.keys()),J=Gqa(D,this.collectedEnterElements),H=new Map,O=0;J.forEach(function(Ra,nb){var Nb="ng-enter"+O++;H.set(nb,Nb);Ra.forEach(function(tb){return Uh(tb,Nb)})});for(var P=[],U=
new Set,aa=new Set,pa=0;pa<this.collectedLeaveElements.length;pa++){var ka=this.collectedLeaveElements[pa],Aa=ka.__ng_removed;Aa&&Aa.setForRemoval&&(P.push(ka),U.add(ka),Aa.hasAnimation?this.driver.query(ka,".ng-star-inserted",!0).forEach(function(Ra){return U.add(Ra)}):aa.add(ka))}var Ya=new Map,ea=Gqa(D,Array.from(U));ea.forEach(function(Ra,nb){var Nb="ng-leave"+O++;Ya.set(nb,Nb);Ra.forEach(function(tb){return Uh(tb,Nb)})});a.push(function(){J.forEach(function(Ra,nb){var Nb=H.get(nb);Ra.forEach(function(tb){return Vh(tb,
Nb)})});ea.forEach(function(Ra,nb){var Nb=Ya.get(nb);Ra.forEach(function(tb){return Vh(tb,Nb)})});P.forEach(function(Ra){Wh(c,Ra)})});var na=[],Da=[];for(a=this._namespaceList.length-1;0<=a;a--)hZb(this._namespaceList[a],b).forEach(function(Ra){var nb=Ra.player,Nb=Ra.element;na.push(nb);if(c.collectedEnterElements.length){var tb=Nb.__ng_removed;if(tb&&tb.setForMove){if(tb.previousTriggersValues&&tb.previousTriggersValues.has(Ra.triggerName)){tb=tb.previousTriggersValues.get(Ra.triggerName);var cc=
c.statesByElement.get(Ra.element);if(cc&&cc.has(Ra.triggerName)){var pc=cc.get(Ra.triggerName);pc.value=tb;cc.set(Ra.triggerName,pc)}}nb.destroy();return}}tb=!B||!c.driver.containsElement(B,Nb);cc=Ya.get(Nb);pc=H.get(Nb);var mc=c._buildInstruction(Ra,d,pc,cc,tb);if(mc.errors&&mc.errors.length)Da.push(mc);else if(tb)nb.onStart(function(){return Lh(Nb,mc.fromStyles)}),nb.onDestroy(function(){return Kh(Nb,mc.toStyles)}),e.push(nb);else if(Ra.isFallbackTransition)nb.onStart(function(){return Lh(Nb,mc.fromStyles)}),
nb.onDestroy(function(){return Kh(Nb,mc.toStyles)}),e.push(nb);else{var Bc=[];mc.timelines.forEach(function(Qc){Qc.stretchStartingKeyframe=!0;c.disabledNodes.has(Qc.element)||Bc.push(Qc)});mc.timelines=Bc;d.append(Nb,mc.timelines);h.push({instruction:mc,player:nb,element:Nb});mc.queriedElements.forEach(function(Qc){return Rh(l,Qc,[]).push(nb)});mc.preStyleProps.forEach(function(Qc,Xd){if(Qc.size){var Ld=q.get(Xd);Ld||q.set(Xd,Ld=new Set);Qc.forEach(function(Qt,vS){return Ld.add(vS)})}});mc.postStyleProps.forEach(function(Qc,
Xd){var Ld=t.get(Xd);Ld||t.set(Xd,Ld=new Set);Qc.forEach(function(Qt,vS){return Ld.add(vS)})})}});if(Da.length){var Ia=[];Da.forEach(function(){Ia.push(new Uc(3505,!1))});na.forEach(function(Ra){return Ra.destroy()});this.reportError(Ia)}var Xa=new Map,yb=new Map;h.forEach(function(Ra){var nb=Ra.element;d.has(nb)&&(yb.set(nb,nb),c._beforeAnimationBuild(Ra.player.namespaceId,Ra.instruction,Xa))});e.forEach(function(Ra){var nb=Ra.element;c._getPreviousPlayers(nb,!1,Ra.namespaceId,Ra.triggerName,null).forEach(function(Nb){Rh(Xa,
nb,[]).push(Nb);Nb.destroy()})});var Rb=P.filter(function(Ra){return Lqa(Ra,q,t)}),Sb=new Map;Fqa(Sb,this.driver,aa,t,"*").forEach(function(Ra){Lqa(Ra,q,t)&&Rb.push(Ra)});var Wa=new Map;J.forEach(function(Ra){Fqa(Wa,c.driver,new Set(Ra),q,"!")});Rb.forEach(function(Ra){var nb=Sb.get(Ra),Nb=Wa.get(Ra),tb,cc;Sb.set(Ra,new Map([].concat(u(null!=(tb=null==nb?void 0:nb.entries())?tb:[]),u(null!=(cc=null==Nb?void 0:Nb.entries())?cc:[]))))});var Hb=[],od=[],db={};h.forEach(function(Ra){var nb=Ra.element,
Nb=Ra.player,tb=Ra.instruction;if(d.has(nb))if(w.has(nb))Nb.onDestroy(function(){return Kh(nb,tb.toStyles)}),Nb.disabled=!0,Nb.totalTime=tb.totalTime,e.push(Nb);else{var cc=db;if(1<yb.size){Ra=nb;for(var pc=[];Ra=Ra.parentNode;){var mc=yb.get(Ra);if(mc){cc=mc;break}pc.push(Ra)}pc.forEach(function(Bc){return yb.set(Bc,cc)})}Ra=c._buildAnimation(Nb.namespaceId,tb,Xa,f,Wa,Sb);lZb(Nb,Ra);cc===db?Hb.push(Nb):((Ra=c.playersByElement.get(cc))&&Ra.length&&(Nb.parentPlayer=Qh(Ra)),e.push(Nb))}else Lh(nb,tb.fromStyles),
Nb.onDestroy(function(){return Kh(nb,tb.toStyles)}),od.push(Nb),w.has(nb)&&e.push(Nb)});od.forEach(function(Ra){var nb=f.get(Ra.element);nb&&nb.length&&(nb=Qh(nb),lZb(Ra,nb))});e.forEach(function(Ra){Ra.parentPlayer?mZb(Ra,Ra.parentPlayer):Ra.destroy()});for(b=0;b<P.length;b++)if(aa=P[b],a=aa.__ng_removed,Vh(aa,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((D=l.get(aa))&&D.length&&a.push.apply(a,u(D)),D=this.driver.query(aa,".ng-animating",!0),pa=0;pa<D.length;pa++)(ka=l.get(D[pa]))&&ka.length&&
a.push.apply(a,u(ka));a=a.filter(function(Ra){return!Ra.destroyed});a.length?Hqa(this,aa,a):Wh(this,aa)}P.length=0;Hb.forEach(function(Ra){c.players.push(Ra);Ra.onDone(function(){Ra.destroy();var nb=c.players.indexOf(Ra);c.players.splice(nb,1)});Ra.play()});return Hb};var vA=function(a,b){a._flushFns.push(b)};g=wA.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||"void"==e;a.forEach(function(l){l.queued||(h||l.triggerName==d)&&f.push(l)})}if(c||d)f=f.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return f};
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=k(b.timelines),h=f.next(),l={};!h.done;l={players$jscomp$9:void 0},h=f.next()){h=h.value.element;var q=h!==e;l.players$jscomp$9=Rh(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(t){return function(w){var B=w._player;B.beforeDestroy&&B.beforeDestroy();w.destroy();t.players$jscomp$9.push(w)}}(l))}Lh(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,l=b.triggerName,q=b.element,t=[],w=new Set,B=new Set,D=b.timelines.map(function(H){var O=H.element;w.add(O);var P=O.__ng_removed;if(P&&P.removedBeforeQueried)return new Ph(H.duration,H.delay);P=O!==q;var U=Jqa((c.get(O)||WYb).map(function(ka){return ka._player})).filter(function(ka){return ka.element?ka.element===O:!1}),aa=e.get(O),pa=f.get(O);aa=aqa(H.keyframes,aa,pa);U=h._buildPlayer(H,aa,U);H.subTimeline&&d&&B.add(O);P&&(H=new aZb(a,l,O),lZb(H,
U),t.push(H));return U});t.forEach(function(H){Rh(h.playersByQueriedElement,H.element,[]).push(H);H.onDone(function(){var O=h.playersByQueriedElement,P=H.element,U=O.get(P);if(U){if(U.length){var aa=U.indexOf(H);U.splice(aa,1)}0==U.length&&O.delete(P)}return U})});w.forEach(function(H){return Uh(H,"ng-animating")});var J=Qh(D);J.onDestroy(function(){w.forEach(function(H){return Vh(H,"ng-animating")});Kh(q,b.toStyles)});B.forEach(function(H){Rh(d,H,[]).push(J)});return J};
g._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new Ph(a.duration,a.delay)};
var aZb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new Ph;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},lZb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return cqa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
mZb=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=aZb.prototype;g._queueEvent=function(a,b){Rh(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 xA=function(a,b,c,d){var e=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new wA(a.body,b,c,d);this._timelineEngine=new VYb(a.body,b,c);this._transitionEngine.onRemovalComplete=function(f,h){return e.onRemovalComplete(f,h)}};g=xA.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new FYb(this._driver)).build(e,c,[]);if(c.length)throw new Uc(3404,!1);c=new SYb(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){iZb(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){"@"==c.charAt(0)?(c=k(eqa(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=k(eqa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};g.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};g.afterFlushAnimationsDone=function(a){this._transitionEngine.afterFlushAnimationsDone(a)};
Ac.Object.defineProperties(xA.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(u(this._transitionEngine.players),u(this._timelineEngine.players))}}});var Nqa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=nZb.get(a);d||nZb.set(a,d=new Map);this._initialStyles=d};Nqa.prototype.start=function(){1>this._state&&(this._startStyles&&Kh(this._element,this._startStyles,this._initialStyles),this._state=1)};Nqa.prototype.finish=function(){this.start();2>this._state&&(Kh(this._element,this._initialStyles),this._endStyles&&(Kh(this._element,this._endStyles),this._endStyles=null),this._state=1)};
Nqa.prototype.destroy=function(){this.finish();3>this._state&&(nZb.delete(this._element),this._startStyles&&(Lh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Lh(this._element,this._endStyles),this._endStyles=null),Kh(this._element,this._initialStyles),this._state=3)};var nZb=new WeakMap;var oZb=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=oZb.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){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};g.getPosition=function(){var a;return+(null!=(a=this.domPlayer.currentTime)?a:0)/this.time};
g.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){"offset"!==d&&b.set(d,a._finished?c:Xpa(a.element,d))});this.currentSnapshot=b};g.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};Ac.Object.defineProperties(oZb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var pZb=function(){};g=pZb.prototype;g.containsElement=function(a,b){return hqa(a,b)};g.getParentElement=function(a){return gqa(a)};g.query=function(a,b,c){return iqa(a,b,c)};g.computeStyle=function(a,b){return Xpa(a,b)};
g.animate=function(a,b,c,d,e,f){f=void 0===f?[]:f;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=f.filter(function(t){return t instanceof oZb});0!==c&&0!==d||e.forEach(function(t){t.currentSnapshot.forEach(function(w,B){return l.set(B,w)})});var q=Rpa(b).map(function(t){return new Map(t)});q=Ypa(a,q,l);b=Oqa(a,q);return new oZb(a,q,h,b)};var yA=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=yA.prototype;g.destroyNode=function(a){var b,c;null==(c=(b=this.delegate).destroyNode)||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;null==(b=this._onDestroy)||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=void 0===d?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};g.removeChild=function(a,b){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)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c){return this.delegate.listen(a,b,c)};g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};
Ac.Object.defineProperties(yA.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var qZb=function(a,b,c,d,e){yA.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};Y(qZb,yA);qZb.prototype.setProperty=function(a,b,c){"@"==b.charAt(0)?"."==b.charAt(1)&&"@.disabled"==b?this.disableAnimations(a,void 0===c?!0:!!c):this.engine.process(this.namespaceId,a,b.slice(1),c):this.delegate.setProperty(a,b,c)};
qZb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=Pqa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=k(Qqa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){rZb(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var zA=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){var f=null==e?void 0:e.parentNode(d);f&&e.removeChild(f,d)}};
zA.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b),e;if(!a||!(null==b?0:null==(e=b.data)?0:e.animation)){var f=this._rendererCache;b=f.get(d);b||(b=new yA("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,l=b.id+"-"+this._currentId;this._currentId++;this.engine.register(l,a);var q=function(t){Array.isArray(t)?t.forEach(q):c.engine.registerTrigger(h,l,a,t.name,t)};b.data.animation.forEach(q);return new qZb(this,l,d,this.engine)};
zA.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};zA.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var rZb=function(a,b,c,d){if(0<=b&&b<a._microtaskId)a._zone.run(function(){return c(d)});else{var e=a._animationCallbacksBuffer;0==e.length&&queueMicrotask(function(){a._zone.run(function(){e.forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
zA.prototype.end=function(){var a=this;this._cdRecurDepth--;0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){a._scheduleCountTask();a.engine.flush(a._microtaskId)});this.delegate.end&&this.delegate.end()};var AA=function(a,b,c){xA.call(this,a,b,c,bd(Ig,{optional:!0}))};Y(AA,xA);AA.prototype.ngOnDestroy=function(){this.flush()};AA.\u0275fac=function(a){return new (a||AA)(p(qh),p(EYb),p(AYb))};AA.\u0275prov=Pc({token:AA,factory:AA.\u0275fac});var sZb=[{provide:AYb,useFactory:function(){return new DYb}},{provide:xA,useClass:AA},{provide:WSb,useFactory:function(a,b,c){return new zA(a,b,c)},deps:[Rz,xA,He]}],tZb=[{provide:EYb,useFactory:function(){return new pZb}},{provide:sv,useValue:"BrowserAnimations"}].concat(u(sZb));
[{provide:EYb,useClass:mA},{provide:sv,useValue:"NoopAnimations"}].concat(u(sZb));var BA=function(){};BA.\u0275fac=function(a){return new (a||BA)};BA.\u0275mod=hd({type:BA});BA.\u0275inj=Rc({providers:tZb,imports:[lA]});var uZb=["mat-button",""],vZb=["*"],wZb=function(){return".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"},
xZb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),yZb=Poa(Roa(Qoa(function(a){this._elementRef=a}))),CA=function(a,b,c){var d=yZb.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=k(xZb),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(CA,yZb);g=CA.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?Kx(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 pd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};CA.\u0275fac=function(a){return new (a||CA)(C(Wd),C(Jx),C(sv,8))};
CA.\u0275cmp=r({type:CA,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&&lg(hz,5);if(a&2){var c;pg(c=qg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(Hf("disabled",b.disabled||null)("mat-id-collision",null),Qf("_mat-animation-noopable","NoopAnimations"===
b._animationMode)("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ff],attrs:uZb,ngContentSelectors:vZb,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&&(cg(),G(0,"span",0),dg(1),I(),K(2,"span",1)(3,"span",2));a&2&&(A(2),Qf("mat-button-ripple-round",
b.isRoundButton||b.isIconButton),F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[hz],styles:[wZb()],encapsulation:2,changeDetection:0});var DA=function(a,b,c,d){var e=CA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};Y(DA,CA);
DA.prototype.ngAfterViewInit=function(){var a=this;CA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};DA.prototype.ngOnDestroy=function(){CA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
DA.\u0275fac=function(a){return new (a||DA)(C(Jx),C(Wd),C(sv,8),C(He,8))};
DA.\u0275cmp=r({type:DA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&2&&(Hf("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString())("mat-id-collision",null),Qf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Ff],attrs:uZb,ngContentSelectors:vZb,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&&(cg(),G(0,"span",0),dg(1),I(),K(2,"span",1)(3,"span",2));a&2&&(A(2),Qf("mat-button-ripple-round",b.isRoundButton||
b.isIconButton),F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[hz],styles:[wZb()],encapsulation:2,changeDetection:0});Roa(function(){});fh({passive:!0,capture:!0});fh({passive:!0,capture:!0});var zZb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},AZb=Bh("dialogContainer",[Fh("void, exit",Eh({opacity:0,transform:"scale(0.7)"})),Fh("enter",Eh({transform:"none"})),Hh("* => enter",Dh([Ch("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Eh({transform:"none",opacity:1})),Ih()]),zZb),Hh("* => void, * => exit",Dh([Ch("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Eh({opacity:0})),Ih()]),zZb)]);var EA=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.maxWidth="80vw";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var FA=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnOverlayDetachments=this.closeOnDestroy=this.closeOnNavigation=this.restoreFocus=!0};var GA=function(a,b,c,d,e,f,h,l){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=l;this._platform=bd(Ax);this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._changeDetectorRef=bd(Pg);this._document=c;this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};Y(GA,oy);g=GA.prototype;
g._addAriaLabelledBy=function(a){this._ariaLabelledByQueue.push(a);this._changeDetectorRef.markForCheck()};g._removeAriaLabelledBy=function(a){a=this._ariaLabelledByQueue.indexOf(a);-1<a&&(this._ariaLabelledByQueue.splice(a,1),this._changeDetectorRef.markForCheck())};g._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};g._captureInitialFocus=function(){this._trapFocus()};g.ngOnDestroy=function(){this._restoreFocus()};
g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};g._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(){var a=this,b=this._elementRef.nativeElement;switch(this._config.autoFocus){case !1:case "dialog":this._containsFocus()||b.focus();break;case !0:case "first-tabbable":var c;null==(c=this._focusTrap)||NVb(c).then(function(d){d||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
g._restoreFocus=function(){var a=this._config.restoreFocus,b=null;"string"===typeof a?b=this._document.querySelector(a):"boolean"===typeof a?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&"function"===typeof b.focus){a=hh();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(Kx(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
g._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=hh();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=hh()))};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};GA.\u0275fac=function(a){return new (a||GA)(C(Wd),C(Fx),C(qh,8),C(FA),C(Bx),C(He),C(My),C(Jx))};
GA.\u0275cmp=r({type:GA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&lg(ry,7);if(a&2){var c;pg(c=qg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&Hf("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)},standalone:!0,
features:[Ff,yg],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&E(0,Rqa,0,0,"ng-template",0)},dependencies:[ry],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var BZb=new rd("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.block()}}}),CZb=new rd("DialogData"),DZb=new rd("DefaultDialogConfig");var EZb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new X.Subject;this.disableClose=b.disableClose;this.backdropClick=a.backdropClick();this.keydownEvents=a.keydownEvents();this.outsidePointerEvents=a.outsidePointerEvents();this.id=b.id;this.keydownEvents.subscribe(function(d){27!==d.keyCode||c.disableClose||jh(d)||(d.preventDefault(),c.close(void 0,{focusOrigin:"keyboard"}))});this.backdropClick.subscribe(function(){c.disableClose||c.close(void 0,{focusOrigin:"mouse"})});
this._detachSubscription=a._detachments.subscribe(function(){!1!==b.closeOnOverlayDetachments&&c.close()})};g=EZb.prototype;g.close=function(a,b){if(this.containerInstance){var c=this.closed;this.containerInstance._closeInteractionType=(null==b?void 0:b.focusOrigin)||"program";this._detachSubscription.unsubscribe();this.overlayRef.dispose();c.next(a);c.complete();this.componentInstance=this.containerInstance=null}};g.updatePosition=function(){this.overlayRef.updatePosition()};
g.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};g.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};g.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var FZb=0,HA=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new X.Subject;this._afterOpenedAtThisLevel=new X.Subject;this._ariaHiddenElements=new Map;(0,X.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(vf(void 0))});this._scrollStrategy=f};g=HA.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new FA,b);b.id=b.id||"cdk-dialog-"+FZb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new EZb(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;this._attachDialogContent(a,e,d,b);this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology();this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);
return e};g.closeAll=function(){Sqa(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;Sqa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});Sqa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new Ly({positionStrategy:a.positionStrategy||Sy(Ry(this._overlay.position().global())),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
g._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:FA,useValue:c},{provide:EZb,useValue:b},{provide:My,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,u(c.container.providers(c)))):d=GA;c=new my(d,c.viewContainerRef,Mg({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof ig){var e=this._createInjector(d,b,c,void 0);b={$implicit:d.data,dialogRef:b};d.templateContext&&(b=Object.assign({},b,"function"===typeof d.templateContext?d.templateContext():d.templateContext));c.attachTemplatePortal(new ny(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new my(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentRef=a,b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:CZb,useValue:a.data},{provide:EZb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,u(a.providers(b,a,c))):e.push.apply(e,u(a.providers)));!a.direction||f&&f.get(ty,null,{optional:!0})||e.push({provide:ty,useValue:{value:a.direction,change:(0,X.of)()}});return Mg({parent:f||d,providers:e})};
g._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);-1<a&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(c,d){c?d.setAttribute("aria-hidden",c):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),b&&this._getAfterAllClosed().next()))};
g._hideNonDialogContentFromAssistiveTechnology=function(){var a=gWb(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;-1<c;c--){var d=b[c];d===a||"SCRIPT"===d.nodeName||"STYLE"===d.nodeName||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
Ac.Object.defineProperties(HA.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}}});HA.\u0275fac=function(a){return new (a||HA)(p(Vy),p(Ie),p(DZb,8),p(HA,12),p(yy),p(BZb))};HA.\u0275prov=Pc({token:HA,factory:HA.\u0275fac,providedIn:"root"});var IA=function(){};IA.\u0275fac=function(a){return new (a||IA)};IA.\u0275mod=hd({type:IA});IA.\u0275inj=Rc({providers:[HA],imports:[Yy,sy,Vx,sy]});var JA=function(a,b,c,d,e,f,h,l){GA.call(this,a,b,c,d,e,f,h,l);this._animationStateChanged=new Uv};Y(JA,GA);JA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};JA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};JA.\u0275fac=function(a){return new (a||JA)(C(Wd),C(Fx),C(qh,8),C(EA),C(Bx),C(He),C(My),C(Jx))};
JA.\u0275cmp=r({type:JA,selectors:[["ng-component"]],features:[Ff],decls:0,vars:0,template:function(){},encapsulation:2});var GZb=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new X.Subject;this._beforeClosed=new X.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(Ce(function(e){return"opened"===e.state}),mf()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ce(function(e){return"closed"===e.state}),mf()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,X.merge)(this.backdropClick(),this.keydownEvents().pipe(Ce(function(e){return 27===e.keyCode&&!d.disableClose&&!jh(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};g=GZb.prototype;
g.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ce(function(c){return"closing"===c.state}),mf()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();mWb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};g.afterOpened=function(){return this._afterOpened};g.afterClosed=function(){return this._ref.closed};
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):Ry(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):Sy(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};var HZb=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var KA=function(a,b,c,d,e,f,h,l,q){GA.call(this,a,b,c,d,e,f,h,q);var t=this;this._animationMode=l;this._animationStateChanged=new Uv;this._animationsEnabled="NoopAnimations"!==this._animationMode;this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var w;this._enterAnimationDuration=this._animationsEnabled?null!=(w=Uqa(this._config.enterAnimationDuration))?w:150:0;var B;this._exitAnimationDuration=this._animationsEnabled?null!=(B=Uqa(this._config.exitAnimationDuration))?B:75:
0;this._animationTimer=null;this._finishDialogOpen=function(){t._clearAnimationClasses();t._openAnimationDone(t._enterAnimationDuration)};this._finishDialogClose=function(){t._clearAnimationClasses();t._animationStateChanged.emit({state:"closed",totalTime:t._exitAnimationDuration})}};Y(KA,GA);g=KA.prototype;g._contentAttached=function(){GA.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){null!==this._animationTimer&&clearTimeout(this._animationTimer);this._animationTimer=setTimeout(b,a)};
g._requestAnimationFrame=function(a){this._ngZone.runOutsideAngular(function(){"function"===typeof requestAnimationFrame?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(){GA.prototype.ngOnDestroy.call(this);null!==this._animationTimer&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=GA.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};KA.\u0275fac=function(a){return new (a||KA)(C(Wd),C(Fx),C(qh,8),C(HZb),C(Bx),C(He),C(My),C(sv,8),C(Jx))};
KA.\u0275cmp=r({type:KA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(Zf("id",b._config.id),Hf("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),Qf("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
0<b._actionSectionCount))},standalone:!0,features:[Ff,yg],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(G(0,"div",0)(1,"div",1),E(2,Tqa,0,0,"ng-template",2),I()())},dependencies:[ry],styles:['.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.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}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--chaining .mdc-dialog__scrim{transition:none;opacity:1}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.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)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.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}\n'],
encapsulation:2});var IZb=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new X.Subject;this._beforeClosed=new X.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;a.addPanelClass("mat-mdc-dialog-panel");c._animationStateChanged.pipe(Ce(function(e){return"opened"===e.state}),mf()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ce(function(e){return"closed"===e.state}),mf()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,X.merge)(this.backdropClick(),this.keydownEvents().pipe(Ce(function(e){return 27===e.keyCode&&!d.disableClose&&!jh(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};g=IZb.prototype;
g.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ce(function(c){return"closing"===c.state}),mf()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();mWb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};g.afterOpened=function(){return this._afterOpened};g.afterClosed=function(){return this._ref.closed};
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):Ry(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):Sy(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};var JZb=new rd("MatMdcDialogData"),KZb=new rd("mat-mdc-dialog-default-options"),LZb=new rd("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.block()}}}),MZb=0,LA=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._defaultOptions=d;this._scrollStrategy=e;this._parentDialog=f;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new X.Subject;this._afterOpenedAtThisLevel=new X.Subject;this.dialogConfigClass=HZb;
(0,X.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(vf(void 0))});this._dialog=b.get(HA);this._dialogRefConstructor=IZb;this._dialogContainerType=KA;this._dialogDataToken=JZb};g=LA.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 HZb,b);b.id=b.id||"mat-mdc-dialog-"+MZb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:Sy(Ry(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:FA,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition(null==(l=b)?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);d.afterClosed().subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,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()};
Ac.Object.defineProperties(LA.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}}});LA.\u0275fac=function(a){return new (a||LA)(p(Vy),p(Ie),p(Ww,8),p(KZb,8),p(LZb),p(LA,12),p(yy),p(sv,8))};LA.\u0275prov=Pc({token:LA,factory:LA.\u0275fac,providedIn:"root"});var NZb=0,MA=function(a,b,c,d,e,f,h,l,q){var t=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new X.Subject;this._afterOpenedAtThisLevel=new X.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=EA;(0,X.defer)(function(){return t.openDialogs.length?t._getAfterAllClosed():t._getAfterAllClosed().pipe(vf(void 0))});this._scrollStrategy=
f;this._dialog=b.get(HA)};g=MA.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 EA,b);b.id=b.id||"mat-dialog-"+NZb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:Sy(Ry(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:FA,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition(null==(l=b)?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);d.afterClosed().subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,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()};
Ac.Object.defineProperties(MA.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}}});MA.\u0275fac=function(){Oe()};MA.\u0275prov=Pc({token:MA,factory:MA.\u0275fac});var NA=function(){GZb.apply(this,arguments)};Y(NA,GZb);var OZb=function(){EA.apply(this,arguments);this.enterAnimationDuration=zZb.params.enterAnimationDuration;this.exitAnimationDuration=zZb.params.exitAnimationDuration};Y(OZb,EA);var OA=function(a,b,c,d,e,f,h,l){JA.call(this,a,b,c,d,e,f,h,l);this._state="enter"};Y(OA,JA);OA.prototype._onAnimationDone=function(a){var b=a.toState;a=a.totalTime;"enter"===b?this._openAnimationDone(a):"exit"===b&&this._animationStateChanged.next({state:"closed",totalTime:a})};
OA.prototype._onAnimationStart=function(a){var b=a.toState;a=a.totalTime;"enter"===b?this._animationStateChanged.next({state:"opening",totalTime:a}):("exit"===b||"void"===b)&&this._animationStateChanged.next({state:"closing",totalTime:a})};OA.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
OA.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};OA.\u0275fac=function(a){return new (a||OA)(C(Wd),C(Fx),C(qh,8),C(OZb),C(Bx),C(He),C(My),C(Jx))};
OA.\u0275cmp=r({type:OA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:8,hostBindings:function(a,b){a&1&&bg("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Zf("id",b._config.id),$f("@dialogContainer",b._getAnimationState()),Hf("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)("mat-id-collision",null))},features:[Ff],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&E(0,Vqa,0,0,"ng-template",0)},dependencies:[ry],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],
encapsulation:2,data:{animation:[AZb]}});var PA=new rd("MatDialogData"),PZb=new rd("mat-dialog-default-options"),QZb=new rd("mat-dialog-scroll-strategy"),RZb={provide:QZb,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},QA=function(a,b,c,d,e,f,h,l){MA.call(this,a,b,d,f,h,e,NA,OA,PA,l);this.dialogConfigClass=OZb};Y(QA,MA);QA.\u0275fac=function(a){return new (a||QA)(p(Vy),p(Ie),p(Ww,8),p(PZb,8),p(QZb),p(QA,12),p(yy),p(sv,8))};QA.\u0275prov=Pc({token:QA,factory:QA.\u0275fac});var SZb=0,RA=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};RA.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Wqa(this._elementRef,this._dialog.openDialogs))};RA.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};RA.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
RA.\u0275fac=function(a){return new (a||RA)(C(NA,8),C(Wd),C(QA))};RA.\u0275dir=jd({type:RA,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&N("click",function(c){return b._onButtonClick(c)});a&2&&Hf("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:[xd]});
var SA=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+SZb++};SA.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=Wqa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b,c;null==(b=a._dialogRef._containerInstance)||null==(c=b._ariaLabelledByQueue)||c.push(a.id)})};
SA.prototype.ngOnDestroy=function(){var a=this,b,c,d=null==(b=this._dialogRef)?void 0:null==(c=b._containerInstance)?void 0:c._ariaLabelledByQueue;d&&Promise.resolve().then(function(){var e=d.indexOf(a.id);-1<e&&d.splice(e,1)})};SA.\u0275fac=function(a){return new (a||SA)(C(NA,8),C(Wd),C(QA))};SA.\u0275dir=jd({type:SA,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Zf("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});
var TA=function(){};TA.\u0275fac=function(a){return new (a||TA)};TA.\u0275dir=jd({type:TA,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var UA=function(){this.align="start"};UA.\u0275fac=function(a){return new (a||UA)};
UA.\u0275dir=jd({type:UA,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&Qf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var VA=function(){};VA.\u0275fac=function(a){return new (a||VA)};VA.\u0275mod=hd({type:VA});VA.\u0275inj=Rc({providers:[QA,RZb],imports:[IA,Yy,sy,Zy,Zy]});var TZb=0,UZb=new rd("MatError"),WA=function(a,b){this.id="mat-mdc-error-"+TZb++;a||b.nativeElement.setAttribute("aria-live","polite")};WA.\u0275fac=function(a){return new (a||WA)(Od("aria-live"),C(Wd))};WA.\u0275dir=jd({type:WA,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(a,b){a&2&&Zf("id",b.id)},inputs:{id:"id"},standalone:!0,features:[wg([{provide:UZb,useExisting:WA}])]});var VZb=0,XA=function(){this.align="start";this.id="mat-mdc-hint-"+VZb++};XA.\u0275fac=function(a){return new (a||XA)};XA.\u0275dir=jd({type:XA,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(Zf("id",b.id),Hf("align",null),Qf("mat-mdc-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},standalone:!0});var YA=function(){};YA.\u0275fac=function(a){return new (a||YA)};YA.\u0275dir=jd({type:YA,selectors:[["mat-label"]],standalone:!0});var WZb=new rd("MatPrefix");var XZb=new rd("MatSuffix");var YZb=Bh("transitionMessages",[Fh("enter",Eh({opacity:1,transform:"translateY(0%)"})),Hh("void => enter",[Eh({opacity:0,transform:"translateY(-5px)"}),Ch("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var ZA=function(){};ZA.\u0275fac=function(a){return new (a||ZA)};ZA.\u0275dir=jd({type:ZA});var ZZb=function(a){var b=this;this._box=a;this._destroyed=new X.Subject;this._resizeSubject=new X.Subject;this._elementObservables=new Map;"undefined"!==typeof ResizeObserver&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
ZZb.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new X.Observable(function(c){var d=b._resizeSubject.subscribe(c),e;null==(e=b._resizeObserver)||e.observe(a,{box:b._box});return function(){var f;null==(f=b._resizeObserver)||f.unobserve(a);d.unsubscribe();b._elementObservables.delete(a)}})).pipe(Ce(function(c){return c.some(function(d){return d.target===a})}),tf({bufferSize:1,refCount:!0}),xf(this._destroyed)));return this._elementObservables.get(a)};
ZZb.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var $A=function(){this._observers=new Map;this._ngZone=bd(He)};$A.prototype.ngOnDestroy=function(){for(var a=k(this._observers),b=a.next();!b.done;b=a.next())b=k(b.value),b.next(),b.next().value.destroy();this._observers.clear()};
$A.prototype.observe=function(a,b){b=(null==b?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new ZZb(b));return this._observers.get(b).observe(a)};$A.\u0275fac=function(a){return new (a||$A)};$A.\u0275prov=Pc({token:$A,factory:$A.\u0275fac,providedIn:"root"});var $Zb=new rd("FloatingLabelParent"),aB=function(a){this._elementRef=a;this._monitorResize=this._floating=!1;this._resizeObserver=bd($A);this._ngZone=bd(He);this._parent=bd($Zb);this._resizeSubscription=new X.Subscription};aB.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
aB.prototype.getWidth=function(){var a=this._elementRef.nativeElement;if(null!==a.offsetParent)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};aB.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
aB.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()})})};
Ac.Object.defineProperties(aB.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}}});
aB.\u0275fac=function(a){return new (a||aB)(C(Wd))};aB.\u0275dir=jd({type:aB,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});var bB=function(a,b){var c=this;this._elementRef=a;this._handleTransitionEnd=function(d){var e=c._elementRef.nativeElement.classList,f=e.contains("mdc-line-ripple--deactivating");"opacity"===d.propertyName&&f&&e.remove("mdc-line-ripple--active","mdc-line-ripple--deactivating")};b.runOutsideAngular(function(){a.nativeElement.addEventListener("transitionend",c._handleTransitionEnd)})};
bB.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};bB.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};bB.prototype.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)};bB.\u0275fac=function(a){return new (a||bB)(C(Wd),C(He))};
bB.\u0275dir=jd({type:bB,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});var a_b=["notch"],cB=function(a,b){this._elementRef=a;this._ngZone=b;this.open=!1};cB.prototype.ngAfterViewInit=function(){var a=this._elementRef.nativeElement.querySelector(".mdc-floating-label");a?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"===typeof requestAnimationFrame&&(a.style.transitionDuration="0s",this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a.style.transitionDuration=""})}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")};
cB.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)":""};cB.\u0275fac=function(a){return new (a||cB)(C(Wd),C(He))};
cB.\u0275cmp=r({type:cB,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&lg(a_b,5);if(a&2){var c;pg(c=qg())&&(b._notch=c.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[yg],attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],
[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(a){a&1&&(cg(),K(0,"div",1),G(1,"div",2,0),dg(3),I(),K(4,"div",3))},encapsulation:2,changeDetection:0});var b_b=["textField"],c_b=["iconPrefixContainer"],d_b=["textPrefixContainer"],e_b=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],f_b=new rd("MatFormField"),g_b=new rd("MAT_FORM_FIELD_DEFAULT_OPTIONS"),h_b=0,dB=function(a,b,c,d,e,f,h){this._elementRef=a;this._changeDetectorRef=b;this._dir=
d;this._platform=e;this._defaults=f;this._animationMode=h;this._hideRequiredMarker=!1;this.color="primary";this._appearance="fill";this._subscriptSizing=null;this._hintLabel="";this._hasTextSuffix=this._hasIconSuffix=this._hasTextPrefix=this._hasIconPrefix=!1;this._labelId="mat-mdc-form-field-label-"+h_b++;this._hintLabelId="mat-mdc-hint-"+h_b++;this._subscriptAnimationState="";this._destroyed=new X.Subject;this._isFocused=null;this._needsOutlineLabelOffsetUpdate=!1;this._injector=bd(Ie);f&&(f.appearance&&
(this.appearance=f.appearance),this._hideRequiredMarker=!(null==f||!f.hideRequiredMarker),f.color&&(this.color=f.color))};g=dB.prototype;g.ngAfterViewInit=function(){this._updateFocusState();this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};g.ngAfterContentInit=function(){this._initializeControl();this._initializeSubscript();this._initializePrefixAndSuffix();this._initializeOutlineLabelOffsetSubscriptions()};g.ngAfterContentChecked=function(){};
g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};g.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};var i_b=function(a){return a._textField||a._elementRef};g=dB.prototype;g._animateAndLockLabel=function(){this._hasFloatingLabel()&&(this.floatLabel="always")};
g._initializeControl=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-"+b.controlType);b.stateChanges.subscribe(function(){a._updateFocusState();a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(xf(this._destroyed)).subscribe(function(){return a._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();(0,X.merge)(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(){if(this._control.focused&&!this._isFocused){this._isFocused=!0;var a;null==(a=this._lineRipple)||a.activate()}else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){this._isFocused=!1;var b;null==(b=this._lineRipple)||b.deactivate()}var c;null==(c=this._textField)||c.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)};
g._initializeOutlineLabelOffsetSubscriptions=function(){var a=this;this._prefixChildren.changes.subscribe(function(){return a._needsOutlineLabelOffsetUpdate=!0});pia(function(){a._needsOutlineLabelOffsetUpdate&&(a._needsOutlineLabelOffsetUpdate=!1,a._updateOutlineLabelOffset())},{injector:this._injector});this._dir.change.pipe(xf(this._destroyed)).subscribe(function(){return a._needsOutlineLabelOffsetUpdate=!0})};g._shouldAlwaysFloat=function(){return"always"===this.floatLabel};
g._hasOutline=function(){return"outline"===this.appearance};g._forceDisplayInfixLabel=function(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()};g._hasFloatingLabel=function(){return!!this._labelChildNonStatic||!!this._labelChildStatic};g._shouldLabelFloat=function(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};g._handleLabelResized=function(){this._refreshOutlineNotchWidth()};g._refreshOutlineNotchWidth=function(){if(this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()){var a;null==(a=this._notchedOutline)||a._setNotchWidth(this._floatingLabel.getWidth())}else{var b;null==(b=this._notchedOutline)||b._setNotchWidth(0)}};g._processHints=function(){this._syncDescribedByIds()};
g._validateHints=function(){};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,u(this._control.userAriaDescribedBy.split(" ")));if("hint"===this._getDisplayedMessages()){var b=this._hintChildren?this._hintChildren.find(function(d){return"start"===d.align}):null,c=this._hintChildren?this._hintChildren.find(function(d){return"end"===d.align}):null;b?a.push(b.id):this._hintLabel&&a.push(this._hintLabelId);c&&a.push(c.id)}else this._errorChildren&&
a.push.apply(a,u(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};
g._updateOutlineLabelOffset=function(){if(this._hasOutline()&&this._floatingLabel){var a=this._floatingLabel.element;if(this._iconPrefixContainer||this._textPrefixContainer)if(this._isAttachedToDom()){var b,c=null==(b=this._iconPrefixContainer)?void 0:b.nativeElement,d;b=null==(d=this._textPrefixContainer)?void 0:d.nativeElement;var e;c=null!=(e=null==c?void 0:c.getBoundingClientRect().width)?e:0;var f;e=null!=(f=null==b?void 0:b.getBoundingClientRect().width)?f:0;a.style.transform="var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc("+
(("rtl"===this._dir.value?"-1":"1")+" * ("+(c+e+"px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )"))}else this._needsOutlineLabelOffsetUpdate=!0;else a.style.transform=""}};g._isAttachedToDom=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
Ac.Object.defineProperties(dB.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=lh(a)}},floatLabel:{configurable:!0,enumerable:!0,get:function(){var a;return this._floatLabel||(null==(a=this._defaults)?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._appearance},
set:function(a){var b=this._appearance,c;this._appearance=a||(null==(c=this._defaults)?void 0:c.appearance)||"fill";"outline"===this._appearance&&this._appearance!==b&&(this._needsOutlineLabelOffsetUpdate=!0)}},subscriptSizing:{configurable:!0,enumerable:!0,get:function(){var a;return this._subscriptSizing||(null==(a=this._defaults)?void 0:a.subscriptSizing)||"fixed"},set:function(a){var b;this._subscriptSizing=a||(null==(b=this._defaults)?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}}});dB.\u0275fac=function(a){return new (a||dB)(C(Wd),C(Pg),C(He),C(ty),C(Ax),C(g_b,8),C(sv,8),C(qh))};
dB.\u0275cmp=r({type:dB,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(mg(c,YA,5),mg(c,YA,7),mg(c,ZA,5),mg(c,WZb,5),mg(c,XZb,5),mg(c,UZb,5),mg(c,XA,5));if(a&2){var d;pg(d=qg())&&(b._labelChildNonStatic=d.first);pg(d=qg())&&(b._labelChildStatic=d.first);pg(d=qg())&&(b._formFieldControl=d.first);pg(d=qg())&&(b._prefixChildren=d);pg(d=qg())&&(b._suffixChildren=d);pg(d=qg())&&(b._errorChildren=d);pg(d=qg())&&(b._hintChildren=d)}},viewQuery:function(a,b){a&1&&(lg(b_b,5),lg(c_b,5),
lg(d_b,5),lg(aB,5),lg(cB,5),lg(bB,5));if(a&2){var c;pg(c=qg())&&(b._textField=c.first);pg(c=qg())&&(b._iconPrefixContainer=c.first);pg(c=qg())&&(b._textPrefixContainer=c.first);pg(c=qg())&&(b._floatingLabel=c.first);pg(c=qg())&&(b._notchedOutline=c.first);pg(c=qg())&&(b._lineRipple=c.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(a,b){a&2&&Qf("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-no-animations","NoopAnimations"===b._animationMode)("mat-form-field-appearance-fill","fill"==b.appearance)("mat-form-field-appearance-outline","outline"==b.appearance)("mat-form-field-hide-placeholder",b._hasFloatingLabel()&&!b._shouldLabelFloat())("mat-focused",b._control.focused)("mat-primary","accent"!==b.color&&"warn"!==
b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===b.color)("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"],standalone:!0,features:[wg([{provide:f_b,useExisting:dB},{provide:$Zb,useExisting:dB}]),yg],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",""],[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",""],[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=v();cg(e_b);E(0,Zqa,1,1,"ng-template",null,0,Eg);G(2,"div",4,1);N("click",function(){x(c);return y(b._control.onContainerClick())});E(4,$qa,1,0,"div",5);G(5,"div",6);E(6,cra,2,2,"div",7)(7,dra,3,0,"div",8)(8,era,3,0,"div",9);G(9,"div",10);E(10,gra,1,1,null,
11);dg(11);I();E(12,hra,2,0,"div",12)(13,ira,2,0,"div",13);I();E(14,jra,1,0,"div",14);I();G(15,"div",15);E(16,kra,2,1,"div",16)(17,mra,5,2,"div",17);I()}if(a&2){var d;A(2);Qf("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);A(2);Uf(b._hasOutline()||b._control.disabled?-1:4);A(2);Uf(b._hasOutline()?6:-1);A();Uf(b._hasIconPrefix?
7:-1);A();Uf(b._hasTextPrefix?8:-1);A(2);Uf(!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1);A(2);Uf(b._hasTextSuffix?12:-1);A();Uf(b._hasIconSuffix?13:-1);A();Uf(b._hasOutline()?-1:14);A();Qf("mat-mdc-form-field-subscript-dynamic-size","dynamic"===b.subscriptSizing);A();Uf("error"===(d=b._getDisplayedMessages())?16:"hint"===d?17:-1)}},dependencies:[aB,cB,Hw,bB,XA],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.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__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.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-floating-label--float-above{font-size:.75rem}.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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;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,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::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,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.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-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,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{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}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.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-text-field-wrapper::before{content:none}.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);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.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);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/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) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.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}.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)}.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);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-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)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-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)}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)}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)}.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)}[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)}.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)}.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}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-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);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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)}.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)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.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)}.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)}.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 .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:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .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)}.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,data:{animation:[YZb]},changeDetection:0});var eB=function(){};eB.\u0275fac=function(a){return new (a||eB)};eB.\u0275mod=hd({type:eB});eB.\u0275inj=Rc({imports:[Zy,Qw,Tx,Zy]});var j_b=new rd("MAT_INPUT_VALUE_ACCESSOR");var k_b=fh({passive:!0}),fB=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
fB.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return X.EMPTY;var c=nh(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new X.Subject,e=function(f){"cdk-text-field-autofill-start"!==f.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===f.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,k_b);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,k_b)}});return d};
fB.prototype.stopMonitoring=function(a){a=nh(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))};fB.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};fB.\u0275fac=function(a){return new (a||fB)(p(Ax),p(He))};fB.\u0275prov=Pc({token:fB,factory:fB.\u0275fac,providedIn:"root"});var gB=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new X.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(f){e._hasFocus="focus"===f.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};g=gB.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,hB(this),this._ngZone.runOutsideAngular(function(){(0,X.fromEvent)(a._getWindow(),"resize").pipe(ef(16),xf(a._destroyed)).subscribe(function(){return hB(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,hB(this,!0))};
g.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
g._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
g._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&void 0==this._cachedPlaceholderHeight)if(this.placeholder){var a=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder;this._cachedPlaceholderHeight=this._measureScrollHeight();this._textareaElement.value=a}else this._cachedPlaceholderHeight=0};g.ngDoCheck=function(){this._platform.isBrowser&&hB(this)};
var hB=function(a,b){b=void 0===b?!1:b;if(a._enabled&&(a._cacheTextareaLineHeight(),a._cacheTextareaPlaceholderHeight(),a._cachedLineHeight)){var c=a._elementRef.nativeElement,d=c.value;if(b||a._minRows!==a._previousMinRows||d!==a._previousValue)b=a._measureScrollHeight(),c.style.height=Math.max(b,a._cachedPlaceholderHeight||0)+"px",a._ngZone.runOutsideAngular(function(){"undefined"!==typeof requestAnimationFrame?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};g=gB.prototype;g.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};g._noopInputHandler=function(){};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};g._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
Ac.Object.defineProperties(gB.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=oh(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=oh(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?hB(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()}}});gB.\u0275fac=function(a){return new (a||gB)(C(Wd),C(Ax),C(He),C(qh,8))};
gB.\u0275dir=jd({type:gB,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&N("input",function(){})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",Ng],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[Gf]});var iB=function(){};iB.\u0275fac=function(a){return new (a||iB)};iB.\u0275mod=hd({type:iB});iB.\u0275inj=Rc({});var l_b="button checkbox file hidden image radio range reset submit".split(" "),m_b=0,jB=function(a,b,c,d,e,f,h,l,q,t){var w=this;this._elementRef=a;this._platform=b;this.ngControl=c;this._autofillMonitor=l;this._formField=t;this._uid="mat-input-"+m_b++;this.focused=!1;this.stateChanges=new X.Subject;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(J){return noa().has(J)});
this._iOSKeyupListener=function(J){J=J.target;J.value||0!==J.selectionStart||0!==J.selectionEnd||(J.setSelectionRange(1,1),J.setSelectionRange(0,0))};var B=this._elementRef.nativeElement,D=B.nodeName.toLowerCase();this._inputValueAccessor=h||B;this._previousNativeValue=this.value;this.id=this.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",w._iOSKeyupListener)});this._errorStateTracker=new CWb(f,c,e,d,this.stateChanges);this._isServer=!this._platform.isBrowser;this._isNativeSelect=
"select"===D;this._isTextarea="textarea"===D;this._isInFormField=!!t;this._isNativeSelect&&(this.controlType=B.multiple?"mat-native-select-multiple":"mat-native-select")};g=jB.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
g.focus=function(a){this._elementRef.nativeElement.focus(a)};g.updateErrorState=function(){this._errorStateTracker.updateErrorState()};g._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){l_b.indexOf(this._type)};g._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
Ac.Object.defineProperties(jB.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=lh(a);this.focused&&(this.focused=!1,this.stateChanges.next())}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid}},required:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:sVb(b))?d:!1},
set:function(a){this._required=lh(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&noa().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._inputValueAccessor.value},
set:function(a){a!==this.value&&(this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},set:function(a){this._readonly=lh(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||!!(-1<a.selectedIndex&&b&&b.label)}return this.focused||!this.empty}}});jB.\u0275fac=function(a){return new (a||jB)(C(Wd),C(Ax),C(ax,10),C(hx,8),C(qx,8),C(ez),C(j_b,10),C(fB),C(He),C(f_b,8))};
jB.\u0275dir=jd({type:jB,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&N("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){});a&2&&(Zf("id",b.id)("disabled",b.disabled)("required",b.required),Hf("name",b.name||null)("readonly",b.readonly&&
!b._isNativeSelect||null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),Qf("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",
userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[wg([{provide:ZA,useExisting:jB}]),xd]});var kB=function(){};kB.\u0275fac=function(a){return new (a||kB)};kB.\u0275mod=hd({type:kB});kB.\u0275inj=Rc({imports:[Zy,eB,eB,iB,Zy]});new rd("FloatingLabelParent");(function(a){var b=function(){return a.apply(this,[].concat(u(pd.apply(0,arguments))))||this};Y(b,a);b.prototype.updateErrorState=function(){this._getTracker().updateErrorState()};b.prototype._getTracker=function(){this._tracker||(this._tracker=new CWb(this._defaultErrorStateMatcher,this.ngControl,this._parentFormGroup,this._parentForm,this.stateChanges));return this._tracker};Ac.Object.defineProperties(b.prototype,{errorState:{configurable:!0,enumerable:!0,get:function(){return this._getTracker().errorState},
set:function(c){this._getTracker().errorState=c}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._getTracker().matcher},set:function(c){this._getTracker().matcher=c}}});return b})(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new X.Subject});new rd("MatHint");Poa(function(a){this._elementRef=a},"primary");new rd("MAT_FORM_FIELD_DEFAULT_OPTIONS");var lB=function(){};lB.\u0275fac=function(a){return new (a||lB)};lB.\u0275mod=hd({type:lB});lB.\u0275inj=Rc({imports:[Qw,Zy,Tx,Zy]});var n_b={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 nra;var o_b=function(a,b){this.url=a;this.svgText=null;this.options=b},mB=function(a,b,c,d){this._httpClient=a;this._sanitizer=b;this._errorHandler=d;this._svgIconConfigs=new Map;this._iconSetConfigs=new Map;this._cachedIconsByUrl=new Map;this._inProgressUrlFetches=new Map;this._fontCssClassesByAlias=new Map;this._resolvers=[];this._defaultFontSetClass=["material-icons","mat-ligature-font"];this._document=c},p_b=function(a,b){return a._fontCssClassesByAlias.get(b)||b},q_b=function(a,b,c){c=void 0===c?
"":c;var d=c+":"+b,e=a._svgIconConfigs.get(d);return e?a._getSvgFromConfig(e):(e=a._getIconConfigFromResolvers(c,b))?(a._svgIconConfigs.set(d,e),a._getSvgFromConfig(e)):(c=a._iconSetConfigs.get(c))?a._getSvgFromIconSetConfigs(b,c):(0,X.throwError)(Error("ob`"+d))};g=mB.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};
g._getSvgFromConfig=function(a){return a.svgText?(0,X.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(z(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,X.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(gf(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return(0,X.of)(null)}))});return(0,X.forkJoin)(d).pipe(z(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("ob`"+a);return e}))};
g._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;0<=c;c--){var d=b[c];if(d.svgText&&-1<d.svgText.toString().indexOf(a)){var e=this._svgElementFromConfig(d);if(d=this._extractSvgIconFromSet(e,a,d.options))return d}}return null};g._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(yf(function(c){return a.svgText=c}),z(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,X.of)(null):this._fetchIcon(a).pipe(yf(function(b){return a.svgText=b}))};
g._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if("svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,c);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(pra("<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("rb");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(pra("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],f=e.name;e=e.value;"id"!==f&&b.setAttribute(f,e)}for(c=0;c<a.childNodes.length;c++)a.childNodes[c].nodeType===this._document.ELEMENT_NODE&&b.appendChild(a.childNodes[c].cloneNode(!0));return b};
g._setSvgAttributes=function(a,b){a.setAttribute("fit","");a.setAttribute("height","100%");a.setAttribute("width","100%");a.setAttribute("preserveAspectRatio","xMidYMid meet");a.setAttribute("focusable","false");b&&b.viewBox&&a.setAttribute("viewBox",b.viewBox);return a};
g._fetchIcon=function(a){var b=this,c=a.url,d,e;a=null!=(e=null==(d=a.options)?void 0:d.withCredentials)?e:!1;if(!this._httpClient)throw Error("pb");if(null==c)throw Error("sb`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("qb`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(z(function(h){return pra(h)}),of(function(){return b._inProgressUrlFetches.delete(f)}),Bka());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 o_b(d.url,d.options):new o_b(d)}};mB.\u0275fac=function(a){return new (a||mB)(p(cA,8),p(iA),p(qh,8),p(bf))};mB.\u0275prov=Pc({token:mB,factory:mB.\u0275fac,providedIn:"root"});new ov;new pv;new ov;new ov;var r_b=new rd("MAT_ICON_DEFAULT_OPTIONS"),s_b=new rd("mat-icon-location",{providedIn:"root",factory:qra}),t_b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),u_b=t_b.map(function(a){return"["+a+"]"}).join(", "),v_b=/^url\(['"]?#(.*?)['"]?\)$/,nB=function(a,b,c,d,e,f){this._elementRef=a;this._iconRegistry=b;this._location=d;this._errorHandler=e;this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=X.Subscription.EMPTY;
f&&(f.color&&(this.color=this._defaultColor=f.color),f.fontSet&&(this.fontSet=f.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true")};g=nB.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("tb`"+a);}};g.ngOnInit=function(){this._updateFontIconClasses()};
g.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};g.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};g._usingFontIcon=function(){return!this.svgIcon};
g._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};g._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];1===c.nodeType&&"svg"!==c.nodeName.toLowerCase()||c.remove()}};
g._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?p_b(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return 0<c.length});this._previousFontSetClass.forEach(function(c){return a.classList.remove(c)});b.forEach(function(c){return a.classList.add(c)});this._previousFontSetClass=b;this.fontIcon===this._previousFontIconClass||b.includes("mat-ligature-font")||(this._previousFontIconClass&&
a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}};g._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};g._prependPathToReferences=function(a){var b=this._elementsWithExternalReferences;b&&b.forEach(function(c,d){c.forEach(function(e){d.setAttribute(e.name,"url('"+a+"#"+e.value+"')")})})};
g._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(u_b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$571:0};a.i$jscomp$571<b.length;a={i$jscomp$571:a.i$jscomp$571},a.i$jscomp$571++)t_b.forEach(function(d){return function(e){var f=b[d.i$jscomp$571],h=f.getAttribute(e);if(h=h?h.match(v_b):null){var l=c.get(f);l||(l=[],c.set(f,l));l.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=k(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=q_b(this._iconRegistry,d,c).pipe(mf()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("ub`"+c+"`"+d+"`"+e.message))})}};
Ac.Object.defineProperties(nB.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())}}});nB.\u0275fac=function(a){return new (a||nB)(C(Wd),C(mB),Od("aria-hidden"),C(s_b),C(bf),C(r_b,8))};
nB.\u0275cmp=r({type:nB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(Hf("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),Rf(b.color?"mat-"+b.color:""),Qf("mat-icon-inline",b.inline)("mat-icon-no-color","primary"!==b.color&&"accent"!==b.color&&"warn"!==b.color))},inputs:{color:"color",
inline:[2,"inline","inline",Ng],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Gf,yg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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 oB=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new Uv;this.action=new Uv;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=n_b;this.width=272;this.previouslyFocusedElement=null;this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement,{defer:!0});this.dismissIfEscape=function(e){"Escape"===e.key&&d.dismissTooltip()};this.setPreviouslyFocusedElement=function(){var e=d.document.activeElement;
null!=e&&e.closest("onedev-feature-tooltip-body")||(d.previouslyFocusedElement=d.document.activeElement)};this.document.addEventListener("keydown",this.dismissIfEscape);this.document.addEventListener("focusin",this.setPreviouslyFocusedElement)};oB.prototype.ngAfterContentInit=function(){Dx(this.focusTrap);this.setPreviouslyFocusedElement();NVb(this.focusTrap)};
oB.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
oB.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)};Ac.Object.defineProperties(oB.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+64*a}}});
oB.\u0275fac=function(a){return new (a||oB)(C(qh),C(by),C(Wd))};
oB.\u0275cmp=r({type:oB,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&Qf("pointer-top-left",b.pointerPosition===b.Position.TOP_LEFT)("pointer-top-right",b.pointerPosition===b.Position.TOP_RIGHT)("pointer-bottom-left",b.pointerPosition===b.Position.BOTTOM_LEFT)("pointer-bottom-right",b.pointerPosition===b.Position.BOTTOM_RIGHT)("pointer-left-top",b.pointerPosition===b.Position.LEFT_TOP)("pointer-left-bottom",b.pointerPosition===b.Position.LEFT_BOTTOM)("pointer-right-top",
b.pointerPosition===b.Position.RIGHT_TOP)("pointer-right-bottom",b.pointerPosition===b.Position.RIGHT_BOTTOM)},inputs:{pointerPosition:"pointerPosition",widthOffset:"widthOffset",color:"color",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",action:"action"},features:[wg([{provide:ZVb,useValue:{preventFocus:function(){},allowFocus:function(){}}},by])],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&&(cg(),G(0,"div",0)(1,"div",1),K(2,"div",2),I(),dg(3),G(4,"div",3),E(5,sra,4,
2,"button",4),G(6,"button",5),N("click",function(){return b.dismissTooltip()}),S(7," Got it "),I()()());a&2&&(Pf("width",b.width,"px"),F("ngClass",b.color),A(5),F("ngIf",b.actionBtnText),A(),F("color","white"===b.color?"primary":""))},dependencies:[Gx,Cw,zw,CA,nB],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 pB=function(){};pB.\u0275fac=function(a){return new (a||pB)};pB.\u0275mod=hd({type:pB});pB.\u0275inj=Rc({});var qB=function(){this.anchorMap=new Map},rB=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new X.ReplaySubject(1),destroyed$:new X.Subject,dismissTooltip$:new X.Subject};a.anchorMap.set(b,c);return c},w_b=function(a,b,c){rB(a,b).created$.next(c)},x_b=function(a,b){rB(a,b).destroyed$.next();rB(a,b).created$.next(void 0)};qB.prototype.dismissTooltip=function(){rB(this).dismissTooltip$.next()};qB.\u0275fac=function(a){return new (a||qB)};
qB.\u0275prov=Pc({token:qB,factory:qB.\u0275fac,providedIn:pB});var sB={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}}},y_b=[sB.TOP_CENTER_RIGHT,sB.TOP_CENTER_LEFT,sB.BOTTOM_CENTER_RIGHT,sB.BOTTOM_CENTER_LEFT],z_b=[sB.TOP_LEFT,sB.TOP_RIGHT,sB.BOTTOM_LEFT,sB.BOTTOM_RIGHT],A_b=[sB.LEFT_CENTER_BOTTOM,sB.LEFT_CENTER_TOP,sB.RIGHT_CENTER_BOTTOM,sB.RIGHT_CENTER_TOP],B_b=[sB.LEFT_TOP,sB.LEFT_BOTTOM,sB.RIGHT_TOP,sB.RIGHT_BOTTOM];var tB=function(){};tB.\u0275fac=function(a){return new (a||tB)};tB.\u0275mod=hd({type:tB});tB.\u0275inj=Rc({});var uB=function(){},D_b=function(a,b){return C_b(a,b).map(function(c){return c.connectedPosition})},E_b=function(a,b,c){a=C_b(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("vb`"+JSON.stringify(c));return a.pointerPosition},C_b=function(a,b){b=F_b(b).filter(function(c){return!a.includes(c)});return a.concat(b)},F_b=function(a){var b,c=null==a?void 0:null==(b=a.nativeElement)?void 0:b.clientWidth,d;a=null==a?void 0:null==(d=a.nativeElement)?void 0:d.clientHeight;return(void 0!==
c&&60>c?y_b:z_b).concat(void 0!==a&&60>a?A_b:B_b)};uB.\u0275fac=function(a){return new (a||uB)};uB.\u0275prov=Pc({token:uB,factory:uB.\u0275fac,providedIn:tB});var vB={};vB.AssertionError=aaa;vB.ENABLE_ASSERTS=!1;vB.assert=function(a){return a};vB.assertArray=function(a){return a};vB.assertBoolean=function(a){return a};vB.assertElement=function(a){return a};vB.assertExists=function(a){return a};vB.assertFinite=function(a){return a};vB.assertFunction=function(a){return a};vB.assertInstanceof=function(a){return a};vB.assertNumber=function(a){return a};vB.assertObject=function(a){return a};vB.assertString=function(a){return a};vB.fail=function(){};var G_b=["template"],wB=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 X.Subject;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new Uv;this.beforeShown=new Uv;this.action=new Uv;this.pointerPosition=0;this.destroyed$=new X.ReplaySubject;this.init$=new X.ReplaySubject;this.savedAnchorStyles={zIndex:"",position:""};this.hideFeatureTooltip=
function(){f.overlayRef&&f.hasBackdrop&&f.anchor&&(f.anchor.nativeElement.style.position=f.savedAnchorStyles.position,f.anchor.nativeElement.style.zIndex=f.savedAnchorStyles.zIndex);var h;null==(h=f.overlayRef)||h.dispose();f.overlayRef=void 0}};wB.prototype.ngOnChanges=function(a){if(a.customPositions){var b;null==(b=this.overlayRef)||nWb(b,H_b(this))}};
wB.prototype.ngOnInit=function(){var a=rB(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;I_b(this,a.created$);b.pipe(xf(this.destroyed$)).subscribe(this.hideFeatureTooltip);J_b(this,c)};wB.prototype.ngAfterViewInit=function(){this.init$.next()};wB.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var I_b=function(a,b){a.open$.pipe(Fka(a.init$),yf(function(){a.beforeShown.emit()}),wf(function(){return b.pipe(xf(a.dismiss))}),xf(a.destroyed$),Ce(function(c){return!!c&&!a.isVisible()})).subscribe(function(c){a.anchor=c;c=c.nativeElement;if(a.hasBackdrop){var d=c.style,e=d.position;a.savedAnchorStyles={zIndex:d.zIndex,position:e};if("static"===e||""===e)c.style.position="relative";c.style.zIndex="1001"}a.overlayRef=a.overlay.create({positionStrategy:H_b(a),scrollStrategy:a.getScrollStrategy(),
minWidth:"fit-content",hasBackdrop:a.hasBackdrop});var f;null==(f=a.overlayRef)||f.attach(new ny(a.templateRef,a.containerRef))})},J_b=function(a,b){b.pipe(xf(a.destroyed$),Ce(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};wB.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};
wB.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("wb");return Oy(Uy(this.overlay.position(),this.anchor),D_b(this.customPositions,this.anchor))};var H_b=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=E_b(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};wB.prototype.isVisible=function(){return!!this.overlayRef};
wB.\u0275fac=function(a){return new (a||wB)(C(qB),C(Vy),C(jg),C(He),C(Pg),C(uB))};
wB.\u0275cmp=r({type:wB,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&lg(G_b,5);if(a&2){var c;pg(c=qg())&&(b.templateRef=c.first)}},inputs:{tooltipId:"tooltipId",open$:"open$",customPositions:"customPositions",widthOffset:"widthOffset",color:"color",hasBackdrop:"hasBackdrop",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",beforeShown:"beforeShown",action:"action"},features:[xd],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"action","dismiss","actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset"]],template:function(a){a&1&&(cg(),E(0,tra,2,5,"ng-template",null,0,Eg))},dependencies:[oB],encapsulation:2,changeDetection:0});var xB=function(){};xB.\u0275fac=function(a){return new (a||xB)};xB.\u0275mod=hd({type:xB});xB.\u0275inj=Rc({});var yB=function(){};yB.\u0275fac=function(a){return new (a||yB)};yB.\u0275mod=hd({type:yB});yB.\u0275inj=Rc({imports:[xB]});var zB=function(){};zB.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,X.of)(a?JSON.parse(a):null)};zB.prototype.getValues=function(a){return(0,X.of)(a.reduce(function(b,c){var d=b.set;var e=(e=window.localStorage.getItem(c))?JSON.parse(e):null;return d.call(b,c,e)},new Map))};zB.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,X.of)(void 0)};zB.\u0275fac=function(a){return new (a||zB)};
zB.\u0275prov=Pc({token:zB,factory:zB.\u0275fac,providedIn:xB});var K_b=function(a){this.cellValue=a};var AB=function(a,b,c){this.metricName=a;this.cellType=b;this.fields=c||[];this.cellMap=new Map};g=AB.prototype;g.addCell=function(a){var b=pd.apply(1,arguments),c=this.getCells(b);c?c.push(new K_b(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(pd.apply(1,arguments));this.cellMap.set(b,[new K_b(a)])};g.getCells=function(){var a=this.getKey(pd.apply(0,arguments));return this.cellMap.has(a)?this.cellMap.get(a):void 0};
g.getCell=function(){var a=this.getCells(pd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap.clear()};g.getKey=function(){var a=pd.apply(0,arguments);return a?a.join(","):"key"};var BB=function(a,b){AB.call(this,a,3,b)};Y(BB,AB);BB.prototype.incrementCounter=function(){this.incrementCounterBy(1,pd.apply(0,arguments))};BB.prototype.incrementCounterBy=function(a){var b=pd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var L_b=function(a,b){AB.call(this,a,2,b)};Y(L_b,AB);L_b.prototype.record=function(a){this.addCell(a,pd.apply(1,arguments))};var CB=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};CB.prototype.disposed_=!1;CB.prototype.isDisposed=function(){return this.disposed_};CB.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var fq=function(a,b){b=gu(Xh,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};CB.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var DB=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};DB.prototype.stopPropagation=function(){this.propagationStopped_=!0};DB.prototype.preventDefault=function(){this.defaultPrevented=!0};var M_b=[],N_b=[],O_b=!1,P_b=function(a){M_b[M_b.length]=a;if(O_b)for(var b=0;b<N_b.length;b++)a(fu(N_b[b].wrap,N_b[b]))};var Q_b=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 EB=function(a,b){DB.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)};hu(EB,DB);var R_b={2:"touch",3:"pen",4:"mouse"};
EB.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?ku&&(nQb(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=lu||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=lu||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=hs?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:R_b[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&EB.superClass_.preventDefault.call(this)};EB.prototype.stopPropagation=function(){EB.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
EB.prototype.preventDefault=function(){EB.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var S_b="closure_listenable_"+(1E6*Math.random()|0),FB=function(a){return!(!a||!a[S_b])};var T_b=0;var U_b=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=++T_b;this.removed=this.callOnce=!1},V_b=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var GB=function(a){this.src=a;this.listeners={};this.typeCount_=0};GB.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=W_b(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new U_b(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
GB.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=W_b(e,b,c,d);return-1<b?(V_b(e[b]),va(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var X_b=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=wa(a.listeners[c],b);d&&(V_b(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
GB.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.listeners)if(!a||c==a){for(var d=this.listeners[c],e=0;e<d.length;e++)++b,V_b(d[e]);delete this.listeners[c];this.typeCount_--}return b};GB.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=W_b(a,b,c,d));return-1<e?a[e]:null};
GB.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Hda(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 W_b=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 Y_b="closure_lm_"+(1E6*Math.random()|0),Z_b={},$_b=0,Kp=function(a,b,c,d,e){if(d&&d.once)return HB(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Kp(a,b[f],c,d,e);return null}c=a0b(c);return FB(a)?a.listen(b,c,Ba(d)?!!d.capture:!!d,e):b0b(a,b,c,!1,d,e)},b0b=function(a,b,c,d,e,f){if(!b)throw Error("xb");var h=Ba(e)?!!e.capture:!!e,l=IB(a);l||(a[Y_b]=l=new GB(a));c=l.add(b,c,d,h,f);if(c.proxy)return c;d=c0b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Q_b||(e=h),void 0===e&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(d0b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("yb");$_b++;return c},c0b=function(){var a=e0b,b=function(c){return a.call(b.src,b.listener,c)};return b},HB=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)HB(a,b[f],c,d,e);return null}c=a0b(c);return FB(a)?a.listenOnce(b,c,Ba(d)?!!d.capture:!!d,e):b0b(a,b,c,!0,d,e)},JB=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)JB(a,b[f],c,d,e);else d=Ba(d)?!!d.capture:!!d,c=a0b(c),FB(a)?a.unlisten(b,c,d,e):a&&(a=IB(a))&&(b=a.getListener(b,c,d,e))&&KB(b)},KB=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(FB(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(d0b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);$_b--;(c=IB(b))?(X_b(c,a),0==c.typeCount_&&(c.src=null,b[Y_b]=null)):V_b(a);
return!0},d0b=function(a){return a in Z_b?Z_b[a]:Z_b[a]="on"+a},e0b=function(a,b){if(a.removed)a=!0;else{b=new EB(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&KB(a);a=c.call(d,b)}return a},IB=function(a){a=a[Y_b];return a instanceof GB?a:null},f0b="__closure_events_fn_"+(1E9*Math.random()>>>0),a0b=function(a){if("function"===typeof a)return a;a[f0b]||(a[f0b]=function(b){return a.handleEvent(b)});return a[f0b]};P_b(function(a){e0b=a(e0b)});var Jp=function(){CB.call(this);this.eventTargetListeners_=new GB(this);this.actualEventTarget_=this;this.parentEventTarget_=null};hu(Jp,CB);Jp.prototype[S_b]=!0;g=Jp.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){Kp(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){JB(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new DB(a,c);else if(a instanceof DB)a.target=a.target||c;else{var e=a;a=new DB(d,c);Pda(a,e)}e=!0;if(b)for(var f=b.length-1;!a.propagationStopped_&&0<=f;f--){var h=a.currentTarget=b[f];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(f=0;!a.propagationStopped_&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fireListeners(d,!1,a)&&e;return e};g.disposeInternal=function(){Jp.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 X_b(this.eventTargetListeners_,a)};g.removeAllListeners=function(){this.eventTargetListeners_&&this.eventTargetListeners_.removeAll(void 0)};
g.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var h=f.listener,l=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==h.call(l,c)&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var g0b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};g0b.prototype.get=function(){if(0<this.occupants_){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};g0b.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var h0b=bs||lu;var LB=function(a){return function(){return a}},MB=function(){},i0b=function(a){return a},cRa=function(){var a=bRa;return function(){return!a.apply(this,arguments)}},j0b=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},NB=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)}},k0b=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=da.setTimeout(f,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}};var l0b=j0b(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=wh(Sr);return!b.parentElement}),$Qa=function(a,b){if(l0b())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=wh(b)},n0b=function(a,b){a:{var c=(a.ownerDocument&&a.ownerDocument.defaultView||da).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&m0b.test(c))break a;
c=""}c&&a.setAttribute("nonce",c);a.src=wc(b)},Lta=function(a,b,c,d){a=Kta(a);b=b||da;c=c instanceof fv?gv(c):c||"";return void 0!==d?b.open(a,c,d):b.open(a,c)},m0b=/^[\w+/_-]+[=]{0,2}$/,Kta=function(a){a=sc(a);return void 0===a?Vda.toString():a};var ms=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};ms.prototype.clone=function(){return new ms(this.x,this.y)};ms.prototype.equals=function(a){return a instanceof ms&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var ns=function(a,b){return new ms(a.x-b.x,a.y-b.y)};g=ms.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 ms?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var OB=function(a,b){this.width=a;this.height=b},cKb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=OB.prototype;g.clone=function(){return new OB(this.width,this.height)};g.aspectRatio=function(){return this.width/this.height};g.isEmpty=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Mp=function(a){return a?new PB(QB(a)):UPb||(UPb=new PB)},RB=function(a,b){return"string"===typeof b?a.getElementById(b):b},SB=function(a,b){return(b||document).getElementsByTagName(String(a))},TB=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=
a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,"function"==typeof b.split&&ua(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a},p0b=function(a,b){hc(b,function(c,d){"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:o0b.hasOwnProperty(d)?a.setAttribute(o0b[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},o0b={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"},UB=function(a){a=(a||window).document;a=q0b(a)?a.documentElement:a.body;return new OB(a.clientWidth,a.clientHeight)},WB=function(a){var b=VB(a);a=a.parentWindow||a.defaultView;return bs&&a.pageYOffset!=b.scrollTop?new ms(b.scrollLeft,b.scrollTop):new ms(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},VB=function(a){return a.scrollingElement?a.scrollingElement:
!lu&&q0b(a)?a.documentElement:a.body||a.documentElement},XB=function(a){return a?a.parentWindow||a.defaultView:window},s0b=function(a,b,c){return r0b(document,arguments)},r0b=function(a,b){var c=b[1],d=Mj(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):p0b(d,c));2<b.length&&t0b(a,d,b,2);return d},t0b=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var f=c[d];if(!za(f)||Ba(f)&&0<f.nodeType)e(f);
else{a:{if(f&&"number"==typeof f.length){if(Ba(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}ta(h?ya(f):f,e)}}},Mj=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},q0b=function(a){return"CSS1Compat"==a.compatMode},u0b=function(a,b){t0b(QB(a),a,arguments,1)},v0b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},YB=function(a){return a&&a.parentNode?
a.parentNode.removeChild(a):null},ZB=function(a){return Ba(a)&&1==a.nodeType},BMb=function(a){var b;if(h0b&&(b=a.parentElement))return b;b=a.parentNode;return ZB(b)?b:null},iVa=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},QB=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},w0b=function(a){return a.contentDocument||
a.contentWindow.document},$B=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else v0b(a),a.appendChild(QB(a).createTextNode(String(b)))},x0b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},y0b={IMG:" ",BR:"\n"},z0b=function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},B0b=function(a){var b=[];A0b(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},A0b=function(a,b,c){if(!(a.nodeName in x0b))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in y0b)b.push(y0b[a.nodeName]);else for(a=a.firstChild;a;)A0b(a,b,c),a=a.nextSibling},CKb=function(){var a=XB();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?C0b(3)||C0b(2)||C0b(1.5)||
C0b(1)||.75:1},C0b=function(a){return XB().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},PB=function(a){this.document_=a||da.document||document};g=PB.prototype;g.getDomHelper=Mp;g.getElement=function(a){return RB(this.document_,a)};g.$=PB.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
g.getElementsByTagNameAndClass=function(a,b,c){return TB(this.document_,a,b,c)};g.$$=PB.prototype.getElementsByTagNameAndClass;g.setProperties=p0b;g.getViewportSize=function(a){return UB(a||this.getWindow())};g.createDom=function(a,b,c){return r0b(this.document_,arguments)};g.createElement=function(a){return Mj(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};
g.appendChild=function(a,b){a.appendChild(b)};g.append=u0b;g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};g.removeChildren=v0b;
g.removeNode=YB;g.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};g.isElement=ZB;g.getParentElement=BMb;g.contains=iVa;
g.isFocusable=function(a){var b;"A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?b=!a.disabled&&(!a.hasAttribute("tabindex")||z0b(a)):b=a.hasAttribute("tabindex")&&z0b(a);if(b&&bs){var c;"function"!==typeof a.getBoundingClientRect||bs&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};var D0b,E0b=function(){var a=da.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ma("Presto")&&(a=function(){var e=Mj(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=fu(function(q){if(("*"==l||q.origin==l)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,l)}}});if("undefined"!==typeof a&&!naa()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){da.setTimeout(e,0)}},F0b=i0b;P_b(function(a){F0b=a});var G0b=function(){this.workTail_=this.workHead_=null};G0b.prototype.add=function(a,b){var c=H0b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};G0b.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 H0b=new g0b(function(){return new I0b},function(a){return a.reset()}),I0b=function(){this.next=this.scope=this.fn=null};
I0b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};I0b.prototype.reset=function(){this.next=this.scope=this.fn=null};var J0b,K0b=!1,L0b=new G0b,aC=function(a,b){J0b||M0b();K0b||(J0b(),K0b=!0);L0b.add(a,b)},M0b=function(){if(da.Promise&&da.Promise.resolve){var a=da.Promise.resolve(void 0);J0b=function(){a.then(N0b)}}else J0b=function(){var b=N0b;b=F0b(b);"function"!==typeof da.setImmediate||da.Window&&da.Window.prototype&&(oa()||!ma("Edge"))&&da.Window.prototype.setImmediate==da.setImmediate?(D0b||(D0b=E0b()),D0b(b)):da.setImmediate(b)}},N0b=function(){for(var a;a=L0b.remove();){try{a.fn.call(a.scope)}catch(b){fa(b)}H0b.put(a)}K0b=
!1};var O0b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var cC=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=MB)try{var b=this;a.call(void 0,function(c){bC(b,2,c)},function(c){bC(b,3,c)})}catch(c){bC(this,3,c)}},P0b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};P0b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var Q0b=new g0b(function(){return new P0b},function(a){a.reset()}),R0b=function(a,b,c){var d=Q0b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},dC=function(a){if(a instanceof cC)return a;var b=new cC(MB);bC(b,2,a);return b},S0b=function(a){return new cC(function(b,c){c(a)})},U0b=function(a,b,c){T0b(a,b,c,null)||aC(gu(b,a))},V0b=function(a){return new cC(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],U0b(e,b,c)})},W0b=function(a){return new cC(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(t,w){d--;e[t]=w;0==d&&b(e)},h=function(t){c(t)},l=0,q;l<a.length;l++)q=a[l],U0b(q,gu(f,l),h);else b(e)})},X0b=function(a){return new cC(function(b,c){var d=a.length,e=[];if(d)for(var f=function(t){b(t)},h=function(t,w){d--;e[t]=w;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],U0b(q,f,gu(h,l));else b(void 0)})},Z0b=function(){var a,b,c=new cC(function(d,e){a=d;b=e});return new Y0b(c,a,b)};
cC.prototype.then=function(a,b,c){return $0b(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};cC.prototype.$goog_Thenable=!0;var b1b=function(a,b){b=R0b(b,b);b.always=!0;a1b(a,b);return a};cC.prototype.thenCatch=function(a,b){return $0b(this,null,a,b)};cC.prototype.catch=cC.prototype.thenCatch;cC.prototype.cancel=function(a){if(0==this.state_){var b=new eC(a);aC(function(){c1b(this,b)},this)}};
var c1b=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,f=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.state_&&1==d?c1b(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):d1b(c),e1b(c,e,3,b)))}a.parent_=null}else bC(a,3,b)},a1b=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||f1b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},$0b=function(a,b,c,d){var e=R0b(null,null,null);e.child=new cC(function(f,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);f(q)}catch(t){h(t)}}:f;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof eC?h(l):f(q)}catch(t){h(t)}}:h});e.child.parent_=a;a1b(a,e);return e.child};cC.prototype.unblockAndFulfill_=function(a){this.state_=0;bC(this,2,a)};cC.prototype.unblockAndReject_=function(a){this.state_=0;bC(this,3,a)};
var bC=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("zb")),a.state_=1,T0b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,f1b(a),3!=b||c instanceof eC||g1b(a,c)))},T0b=function(a,b,c,d){if(a instanceof cC)return a1b(a,R0b(b||MB,c||null,d)),!0;if(O0b(a))return a.then(b,c,d),!0;if(Ba(a))try{var e=a.then;if("function"===typeof e)return h1b(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},h1b=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},l=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},f1b=function(a){a.executing_||(a.executing_=!0,aC(a.executeCallbacks_,a))},d1b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};cC.prototype.executeCallbacks_=function(){for(var a;a=d1b(this);)e1b(this,a,this.state_,this.result_);this.executing_=!1};
var e1b=function(a,b,c,d){if(3==c&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,i1b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):i1b(b,c,d)}catch(e){j1b.call(null,e)}Q0b.put(b)},i1b=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},g1b=function(a,b){a.hadUnhandledRejection_=!0;aC(function(){a.hadUnhandledRejection_&&j1b.call(null,b)})},j1b=fa,eC=function(a){ba.call(this,
a);this.reportErrorToServer=!1};hu(eC,ba);eC.prototype.name="cancel";var Y0b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var fC=function(a,b){Jp.call(this);this.interval_=a||1;this.timerObject_=b||da;this.boundTick_=fu(this.tick_,this);this.last_=Date.now()};hu(fC,Jp);g=fC.prototype;g.enabled=!1;g.timer_=null;g.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
g.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;0<a&&a<.8*this.interval_?this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};g.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
g.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};g.disposeInternal=function(){fC.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Mq=function(a,b,c){if("function"===typeof a)c&&(a=fu(a,c));else if(a&&"function"==typeof a.handleEvent)a=fu(a.handleEvent,a);else throw Error("Ab");return 2147483647<Number(b)?-1:da.setTimeout(a,b||0)},Nq=function(a){da.clearTimeout(a)},k1b=function(a,b){var c=null;return(new cC(function(d,e){c=Mq(function(){d(b)},a);-1==c&&e(Error("Bb"))})).thenCatch(function(d){Nq(c);throw d;})};var l1b=function(a){CB.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new fC(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);fq(this,this.flushTimer)};Y(l1b,CB);var m1b=function(a){a.maybeStartFlushTimer();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};g=l1b.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(u(a)).filter(function(b){return b.cellMap.size});a.length&&this.streamzLogger.flush(a,!1);n1b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=pd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new BB(a,b))};g.addNewEventMetric=function(a){var b=pd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new L_b(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,pd.apply(1,arguments))};g.incrementCounterBy=function(a,b){var c=pd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof BB&&(d.incrementCounterBy(b,c),m1b(this))};g.record=function(a,b){var c=pd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof L_b&&(d.record(b,c),m1b(this))};g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};
var n1b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var o1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/usage";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"name"},{field_type:3,field_name:"source"},{field_type:1,field_name:"state"})};o1b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};o1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var p1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/performance";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"name"})};p1b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};p1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var q1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/request_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"})};q1b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};q1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var r1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/error_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"},{field_type:2,field_name:"code"})};r1b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};r1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var s1b={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);0<a;)b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(a%62),a=Math.floor(a/62);return b.join("")}};var v1b=function(a){a=t1b(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,l=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};12<=f;f-=12,h+=12)b+=u1b(a,h),c+=u1b(a,h+4),d+=u1b(a,h+8),l();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]}l();return s1b.toString(d)},w1b=function(a){return a},t1b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},u1b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var x1b=function(a){this.internalArray_=m(a)};Y(x1b,n);x1b.prototype.getValueCase=function(){return tm(this,y1b)};var y1b=[1,2,3];var z1b=function(a){this.internalArray_=m(a)};Y(z1b,n);z1b.prototype.getValueCase=function(){return tm(this,A1b)};var A1b=[1,2,3];var B1b=function(a){this.internalArray_=m(a)};Y(B1b,n);B1b.repeatedFields_=[1];var gC=function(a){this.internalArray_=m(a)};Y(gC,n);gC.prototype.getFieldName=function(){return Gu(this,3)};gC.prototype.setFieldName=function(a){Vb(this,3,sb,a,void 0,gi)};gC.repeatedFields_=[3,6,4];var C1b=function(a){this.internalArray_=m(a)};Y(C1b,n);C1b.repeatedFields_=[1];var D1b=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";0===a.indexOf("blob:")&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("Cb`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==
c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Db`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};var F1b=function(a,b,c){var d=String(da.location.href);return d&&a&&b?[b,E1b(D1b(d),a,c||null)].join(" "):null},E1b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],ta(d,function(l){e.push(l)}),G1b(e.join(" "));var f=[],h=[];ta(c,function(l){h.push(l.key);f.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];ta(d,function(l){e.push(l)});a=G1b(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},G1b=function(a){var b=
vra();b.update(a);return b.digestString().toLowerCase()};var H1b={};var I1b=function(){this.document_=document||{cookie:""}};g=I1b.prototype;g.isEnabled=function(){if(!da.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("Eb`"+a);if(/[;\r\n]/.test(b))throw Error("Fb`"+b);void 0===l&&(l=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.document_.cookie=a+"="+b+c+h+l+d+(null!=e?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=ti(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};g.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};g.getKeys=function(){return J1b(this).keys};g.getValues=function(){return J1b(this).values};g.isEmpty=function(){return!this.document_.cookie};
g.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};g.containsKey=function(a){return void 0!==this.get(a)};g.containsValue=function(a){for(var b=J1b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=J1b(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var J1b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=ti(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var K1b=function(a){return!!H1b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},L1b=function(a,b,c,d){(a=da[a])||"undefined"===typeof document||(a=(new I1b).get(b));return a?F1b(a,c,d):null},Dp=function(a,b){b=void 0===b?!1:b;var c=D1b(String(da.location.href)),d=[];var e=b;e=void 0===e?!1:e;var f=da.__SAPISID||da.__APISID||da.__3PSAPISID||da.__OVERRIDE_SID;K1b(e)&&(f=f||da.__1PSAPISID);if(f)e=!0;else{if("undefined"!==typeof document){var h=new I1b;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");K1b(e)&&(f=f||h.get("__Secure-1PAPISID"))}e=!!f}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?da.__SAPISID:da.__APISID,e||"undefined"===typeof document||(e=new I1b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?F1b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&K1b(b)&&((b=L1b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=L1b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var hC=function(a){this.internalArray_=m(a)};Y(hC,n);hC.repeatedFields_=[2];var iC=function(a){Jp.call(this);this.intervalMs=a;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};Y(iC,Jp);iC.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};iC.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
iC.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};iC.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.nowFn()-this.lastTimeMs,0);b<.8*this.intervalMs?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};var M1b=function(a){this.internalArray_=m(a)};Y(M1b,n);var N1b=function(a){this.internalArray_=m(a)};Y(N1b,n);var O1b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};O1b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};O1b.prototype.getValue=function(){return this.currValue_};var jC=function(a){this.internalArray_=m(a)};Y(jC,n);g=jC.prototype;g.getTransmissionType=function(){return yo(this,1)};g.setTransmissionType=function(a){jj(this,1,a)};g.setRetryCount=function(a){gj(this,3,a)};g.setPersistedLogRecoveredCount=function(a){gj(this,4,a)};g.setPersistedLogExpiredCount=function(a){gj(this,5,a)};var Yh=function(a){this.internalArray_=m(a)};Y(Yh,n);Yh.prototype.getVersion=function(){return wj(this,2)};Yh.prototype.setVersion=function(a){return Zh(this,2,a)};Yh.prototype.getVersionOrUndefined=function(){return Ju(this,2)};var kC=function(a){this.internalArray_=m(a)};Y(kC,n);var yra=function(a,b){mm(a,1,b)};kC.prototype.setPlatform=function(a){Zh(this,3,a)};kC.prototype.setModel=function(a){return Zh(this,6,a)};kC.repeatedFields_=[1];var lC=function(a){this.internalArray_=m(a)};Y(lC,n);lC.prototype.getLocale=function(){return wj(this,5)};lC.prototype.setLocale=function(a){return Zh(this,5,a)};lC.prototype.setBuildLabel=function(a){Zh(this,7,a)};lC.prototype.getMutableFlushInfo=function(){return xu(this,jC,10)};var wra=["platform","platformVersion","architecture","model","uaFullVersion"],zra=new kC,xra=null;var mC=function(a){this.internalArray_=m(a)};Y(mC,n);mC.prototype.getMutableJsClientInfo=function(){return xu(this,lC,11)};var P1b=function(a){this.internalArray_=m(a)};Y(P1b,n);g=P1b.prototype;g.getKey=function(){return wj(this,1)};g.hasKey=function(){return Ni(this,1)};g.getValue=function(){return wj(this,2)};g.getValue_legacyNullable=function(){return wj(this,2)};g.setValue=function(a){return Zh(this,2,a)};g.hasValue=function(){return Ni(this,2)};var nC=function(a){this.internalArray_=m(a,4)};Y(nC,n);var oC=function(a){this.internalArray_=m(a,35)};Y(oC,n);g=oC.prototype;g.getTag=function(){return wj(this,2)};g.getComponentId=function(){return wj(this,26)};g.setComponentId=function(a){return Zh(this,26,a)};g.hasComponentId=function(){return Ni(this,26)};g.addValue=function(){return Wq(this,3,P1b)};g.setValue=function(a,b){return wu(this,3,P1b,a,b)};var Q1b=function(a,b){return Zh(a,8,b)};oC.prototype.getExperimentIds=function(){return Gi(this,hC,16)};
oC.prototype.setExperimentIds=function(a){hj(this,hC,16,a)};oC.prototype.clearExperimentIds=function(){return lp(this,16)};var pC=function(a,b){Zh(a,24,b)};oC.prototype.getComplianceData=function(){return Gi(this,nC,33)};oC.prototype.setComplianceData=function(a){hj(this,nC,33,a)};oC.repeatedFields_=[3,20,27];var R1b=function(a){this.internalArray_=m(a,19)};Y(R1b,n);g=R1b.prototype;g.getClientInfo=function(){return Gi(this,mC,1)};g.getMutableClientInfo=function(){return xu(this,mC,1)};g.setClientInfo=function(a){hj(this,mC,1,a)};g.getLogSource=function(){return Qi(this,2,-1)};g.setLogSource=function(a){return jj(this,2,a)};g.getComplianceData=function(){return Gi(this,nC,18)};g.setComplianceData=function(a){hj(this,nC,18,a)};R1b.repeatedFields_=[3,5];var qC=function(a){this.internalArray_=m(a)};Y(qC,n);qC.prototype.getId=function(a){return Gu(this,1,a)};qC.prototype.setId=function(a){return Vb(this,1,sb,a,void 0,gi)};qC.repeatedFields_=[1];var rC=function(a){this.internalArray_=m(a,8)};Y(rC,n);rC.prototype.getExperiments=function(){return Gi(this,qC,2)};rC.prototype.setExperiments=function(a){return hj(this,qC,2,a)};rC.prototype.hasExperiments=function(){return Ui(this,qC,2)};var S1b=gc(rC);rC.repeatedFields_=[5,6,7];var T1b=function(a){this.internalArray_=m(a)};Y(T1b,n);var U1b=new Nu(175237375,T1b);var tC=function(a){CB.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.gzipCompressor=this.experimentIds=null;this.persistedLogExpiredCount=this.persistedLogRecoveredCount=this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=
0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=!1;this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new sC(a.logSource,a.isServiceWorkerScope);this.network=a.network;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&&!!XB()&&!!XB().navigator&&void 0!==XB().navigator.sendBeacon;this.isBrowserSupported="undefined"!==typeof URLSearchParams&&!!(new URL(V1b())).searchParams&&!!(new URL(V1b())).searchParams.set;var c=jj(new mC,1,1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new O1b(1E4);this.flushTimer=new iC(this.flushBackoff.getValue());a=W1b(this,a.backgroundJobDeferrer);Kp(this.flushTimer,"tick",a,!1,this);this.backupTimer=
new iC(6E5);Kp(this.backupTimer,"tick",a,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(Kp(document,"visibilitychange",function(){"hidden"===document.visibilityState&&b.finalFlush()}),Kp(document,"pagehide",this.finalFlush,!1,this))};Y(tC,CB);var W1b=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};
tC.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();CB.prototype.disposeInternal.call(this)};tC.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};tC.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};tC.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=V1b());try{return(new URL(this.clearcutUrl)).toString()}catch(a){return(new URL(this.clearcutUrl,XB().location.origin)).toString()}};
var uC=function(a,b){a.isBrowserSupported&&(b instanceof oC?a.log(b):(b=Q1b(new oC,b.serialize()),a.log(b)))};g=tC.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 hC);Pb(this.experimentIds,2,a,Vca)};
g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new hC);var b=this.experimentIds;a=a.serialize();Zh(b,4,a)}else this.experimentIds&&lp(this.experimentIds,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;X1b(this,a)};
var X1b=function(a,b){a.flushBackoff=new O1b(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
tC.prototype.log=function(a){if(this.isBrowserSupported){a=a.clone();var b=this.sequencePosition++;a=pj(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!Si(a,1)){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";oj(b,1,c)}Yi(a,15)||pj(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds&&a.setExperimentIds(this.experimentIds.clone());b=this.pendingEvents.length-this.bufferSize+1;0<b&&(this.pendingEvents.splice(0,b),this.numLogsDroppedSinceLastFlush+=
b);this.pendingEvents.push(a);this.maybeStartFlushTimer()}};tC.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
tC.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents.length)a&&a();else if(this.sendBeaconApiEnabled&&this.isSendBeaconSupported)this.logRequestBuilder.setTransmissionType(3),Y1b(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{this.network&&("function"===typeof this.network.getTransmissionType?this.logRequestBuilder.setTransmissionType(this.network.getTransmissionType()):this.logRequestBuilder.setTransmissionType(0));var e=this.logRequestBuilder.build(this.pendingEvents,
this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush,this.productID,this.persistedLogRecoveredCount,this.persistedLogExpiredCount);d={};var f=this.getAuthHeaderValue();f&&(d.Authorization=f);var h=new URL(this.getClearcutUrl());this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h.searchParams.set("authuser",this.sessionIndex));this.pageId&&(Object.defineProperty(d,"X-Goog-PageId",{value:this.pageId}),h.searchParams.set("pageId",this.pageId));if(f&&this.lastFailedAuth===
f)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var l=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&(q=this.gzipCompressor.compress(l));var t={url:h.toString(),body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},w=function(J){c.flushBackoff.reset();
c.flushTimer.setInterval(c.flushBackoff.getValue());if(J){var H=null;try{var O=JSON.stringify(JSON.parse(J.replace(")]}'\n","")));H=S1b(O)}catch(P){}H&&(J=Number(Du(H,1,"-1")),0<J&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+J),H=wRb(H,U1b))&&(H=fi(H,1,-1),-1!==H&&(c.clientSpecifiedFlushInterval||X1b(c,H)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},B=function(J,H){var O=Ii(e,oC,3,hi());var P=Au(e,14),U=c.flushBackoff;U.currBaseValue_=Math.min(3E5,2*U.currBaseValue_);U.currValue_=
Math.min(3E5,U.currBaseValue_+Math.round(.2*(Math.random()-.5)*U.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===J&&f&&(c.lastFailedAuth=f);P&&(c.numLogsDroppedSinceLastFlush+=P);void 0===H&&(H=500<=J&&600>J||401===J||0===J);H&&(c.pendingEvents=O.concat(c.pendingEvents),c.maybeStartFlushTimer());b&&b("net-send-failed",J);++c.numRetriesSinceLastSuccessfulFlush},D=function(){c.network&&c.network.send(t,w,B)};q?q.then(function(J){t.requestHeaders["Content-Encoding"]="gzip";
t.requestHeaders["Content-Type"]="application/binary";t.body=J;t.bodyType=2;D()},function(){D()}):D()}}}};tC.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(Z1b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),Y1b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),$1b(this)),this.flush(),Z1b(this.logRequestBuilder,!1))};
var Y1b=function(a){a2b(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=XB().navigator.sendBeacon(b.toString(),c.serialize())}catch(e){}d||(a.isSendBeaconSupported=!1);return d})},$1b=function(a){a2b(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,l=0;l<c.length;l++){var q=c.charCodeAt(l);255<q&&(f[h++]=q&255,q>>=8);f[h++]=q}c=Laa(f,3);e.call(d,"p",c);b=b.toString();if(15360<
b.length)return!1;(new Image).src=b;return!0})},a2b=function(a,b,c,d){if(0!==a.pendingEvents.length){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),l=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);
if(!d(e.toString(),l)){++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()}},V1b=function(){return"https://play.google.com/log?format=json&hasfast=true"},sC=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new R1b;Number.isInteger(a)&&
this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new mC)};sC.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};sC.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);yo(a,1)||jj(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),Gi(a,kC,9)||hj(a,kC,9,this.uach))};
sC.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};sC.prototype.setTransmissionType=function(a){Ui(this.getMutableClientInfo(),lC,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var Z1b=function(a,b){Ui(a.getMutableClientInfo(),lC,11)&&(a=a.getMutableFlushInfo(),$h(a,2,b))};sC.prototype.setRetryCount=function(a){Ui(this.getMutableClientInfo(),lC,11)&&this.getMutableFlushInfo().setRetryCount(a)};
sC.prototype.setPersistedLogRecoveredCount=function(a){Ui(this.getMutableClientInfo(),lC,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};sC.prototype.setPersistedLogExpiredCount=function(a){Ui(this.getMutableClientInfo(),lC,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};sC.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var b2b=function(a){var b=void 0===b?wra:b;var c=a.isServiceWorkerScope?void 0:XB();c?Ara(c,b).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();hj(d,kC,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};sC.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=Gi(a,lC,11);b||(b=new lC,hj(a,lC,11,b));return b};sC.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=Gi(a,jC,10);b||(b=new jC,$h(b,2,!1),hj(a,jC,10,b));return b};
sC.prototype.getComplianceData=function(a){var b=new M1b;a=gj(b,13,a);b=new N1b;a=hj(b,M1b,2,a);b=new nC;a=hj(b,N1b,1,a);return jj(a,2,9)};sC.prototype.build=function(a,b,c,d,e,f){b=void 0===b?0:b;e=void 0===e?0:e;f=void 0===f?0:f;this.setRetryCount(void 0===c?0:c);this.setPersistedLogRecoveredCount(e);this.setPersistedLogExpiredCount(f);c=this.logRequest.clone();e=Date.now().toString();c=oj(c,4,e);a=mm(c,3,a);d&&a.setComplianceData(this.getComplianceData(d));b&&pj(a,14,b);return a};var c2b=function(){this.abortSupported="undefined"!==typeof AbortController};
c2b.prototype.send=function(a,b,c){var d=this,e,f,h,l,q,t,w,B,D,J,H,O;return me(function(P){switch(P.nextAddress){case 1:return f=(e=d.abortSupported?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,ne(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}),oe(P,fetch(a.url,h),5);case 5:l=P.yieldResult;if(200!==l.status){null==
(q=c)||q(l.status);P.jumpTo(3);break}if(null==(t=b)){P.jumpTo(7);break}B=w=t;return oe(P,l.text(),8);case 8:B(P.yieldResult);case 7:case 3:pe(P);clearTimeout(f);qe(P,0);break;case 2:D=re(P);switch(null==(J=D)?void 0:J.name){case "AbortError":null==(H=c)||H(408);break;default:null==(O=c)||O(400)}P.jumpTo(3)}})};c2b.prototype.getTransmissionType=function(){return 4};var d2b=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("Hb`"+a);},e2b=function(){this.replacer_=void 0};
e2b.prototype.serialize=function(a){var b=[];f2b(this,a,b);return b.join("")};
var f2b=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],f2b(a,a.replacer_?a.replacer_.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),g2b(d,c),c.push(":"),f2b(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":g2b(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("Ib`"+typeof b);}}},h2b={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},i2b=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,g2b=function(a,b){b.push('"',a.replace(i2b,
function(c){var d=h2b[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),h2b[c]=d);return d}),'"')};var j2b=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 k2b=function(){};k2b.prototype.cachedOptions_=null;k2b.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var l2b,m2b=function(){};hu(m2b,k2b);m2b.prototype.createInstance=function(){return new XMLHttpRequest};m2b.prototype.internalGetOptions=function(){return{}};l2b=new m2b;var n2b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),o2b=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},p2b=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+
1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]},q2b=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)q2b(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},r2b=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)q2b(a[b],a[b+1],c);return c.join("&")},s2b=function(a){var b=[],c;for(c in a)q2b(c,a[c],b);return b.join("&")},vC=function(a,b){var c=2==arguments.length?r2b(arguments[1],0):r2b(arguments,
1);return p2b(a,c)},$wa=function(a,b){b=s2b(b);return p2b(a,b)},t2b=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return p2b(a,b+c)},u2b=/#|$/,v2b=function(a,b){var c=a.search(u2b);a:{var d=0;for(var e=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var f=a.charCodeAt(d-1);if(38==f||63==f)if(f=a.charCodeAt(d+e),!f||61==f||38==f||35==f)break a;d+=e+1}d=-1}if(0>d)return null;e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))};var Lq=function(a){Jp.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;this.xhrOptions_=this.xhr_=null;this.lastUri_="";this.lastErrorCode_=0;this.lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.useXhr2Timeout_=this.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};hu(Lq,Jp);
var w2b=/^https?$/i,x2b=["POST","PUT"],y2b=[],uKa=function(a,b,c,d,e,f,h){var l=new Lq;y2b.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);f&&(l.timeoutInterval_=Math.max(0,f));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};Lq.prototype.cleanupSend_=function(){this.dispose();wa(y2b,this)};Lq.prototype.setTrustToken=function(a){this.trustToken_=a};Lq.prototype.setAttributionReporting=function(a){this.attributionReportingOptions_=a};
Lq.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Jb`"+this.lastUri_+"`"+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.lastError_="";this.lastErrorCode_=0;this.errorDispatched_=!1;this.active_=!0;this.xhr_=this.createXhr();this.xhrOptions_=this.xmlHttpFactory_?this.xmlHttpFactory_.getOptions():l2b.getOptions();this.xhr_.onreadystatechange=fu(this.onReadyStateChange_,this);try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=
new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=k(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Kb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=da.FormData&&a instanceof da.FormData;!ua(x2b,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=k(c);for(d=
b.next();!d.done;d=b.next())c=k(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{z2b(this),
0<this.timeoutInterval_&&((this.useXhr2Timeout_=A2b(this.xhr_))?(this.xhr_.timeout=this.timeoutInterval_,this.xhr_.ontimeout=fu(this.timeout_,this)):this.timeoutId_=Mq(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var A2b=function(a){return bs&&"number"===typeof a.timeout&&void 0!==a.ontimeout};Lq.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():l2b.createInstance()};
Lq.prototype.timeout_=function(){"undefined"!=typeof KPb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};Lq.prototype.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);this.lastError_=b;this.lastErrorCode_=a;B2b(this);C2b(this)};var B2b=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Lq.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"),C2b(this))};Lq.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),C2b(this,!0));Lq.superClass_.disposeInternal.call(this)};
Lq.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)D2b(this);else this.onReadyStateChangeEntryPoint_()};Lq.prototype.onReadyStateChangeEntryPoint_=function(){D2b(this)};
var D2b=function(a){if(a.active_&&"undefined"!=typeof KPb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())Mq(a.onReadyStateChange_,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.active_=!1;try{if(a.isSuccess())a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.lastErrorCode_=6;try{var b=2<a.getReadyState()?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";B2b(a)}}finally{C2b(a)}}},C2b=function(a,
b){if(a.xhr_){z2b(a);var c=a.xhr_,d=a.xhrOptions_[0]?function(){}:null;a.xhr_=null;a.xhrOptions_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},z2b=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(Nq(a.timeoutId_),a.timeoutId_=null)};g=Lq.prototype;g.isActive=function(){return!!this.xhr_};g.isComplete=function(){return 4==this.getReadyState()};
g.isSuccess=function(){var a=this.getStatus();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}if(!b){if(a=0===a)a=String(this.lastUri_).match(n2b)[1]||null,!a&&da.self&&da.self.location&&(a=da.self.location.protocol.slice(0,-1)),a=!w2b.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
g.getLastUri=function(){return String(this.lastUri_)};g.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};g.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(da.JSON)try{var c=da.JSON.parse(a);break a}catch(d){}c=d2b(a)}return c}};
g.getResponse=function(){try{if(!this.xhr_)return null;if("response"in this.xhr_)return this.xhr_.response;switch(this.responseType_){case "":case "text":return this.xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.xhr_)return this.xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};g.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
g.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};g.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!Rk(b[c])){var d=rSb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=a[e]||[];a[e]=f;f.push(d)}}return Gda(a,function(h){return h.join(", ")})};var ai=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};Lq.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
Lq.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};P_b(function(a){Lq.prototype.onReadyStateChangeEntryPoint_=a(Lq.prototype.onReadyStateChangeEntryPoint_)});var E2b=function(){};E2b.prototype.send=function(a,b,c){b=void 0===b?function(){}:b;c=void 0===c?function(){}:c;uKa(a.url,function(d){d=d.target;d.isSuccess()?b(d.getResponseText()):c(d.getStatus())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};E2b.prototype.getTransmissionType=function(){return 1};var Hp=function(a,b){CB.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.network=this.gzipCompressor=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};Y(Hp,CB);g=Hp.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setComponentId=function(a){this.componentId=a;return this};g.setProductID=function(a){this.productID=a};g.setClearExperimentIds=function(a){this.clearExperimentIds=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};var HQa=function(a,b){a.getAuthHeaderValue=b};g=Hp.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.build=function(){this.network||(this.network=.5>Math.random()?new c2b:new E2b);var a=new tC({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:Dp,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network?this.network:void 0});fq(this,a);this.clearcutClientInfo&&
a.setClearcutClientInfo(this.clearcutClientInfo);this.buildLabel&&a.setBuildLabel(this.buildLabel);this.gzipCompressor&&a.setGzipCompressor(this.gzipCompressor);this.componentId&&a.setComponentId(this.componentId);this.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);b2b(a.logRequestBuilder);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.network.setLogSource&&this.network.setLogSource(this.logSource);this.network.setTransportReferenceAndAttemptFlush&&
this.network.setTransportReferenceAndAttemptFlush(a);return a};var wC=function(a,b,c,d,e,f,h){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;CB.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new Hp(a,"0")).setComponentId(b),fq(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(wC,CB);wC.prototype.getLogSource=function(){return this.logSource};wC.prototype.getComponentId=function(){return this.componentId};
wC.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new C1b,c=[],d=0;d<a.length;d++){var e=a[d];var f=new gC;f=Zh(f,1,e.metricName);for(var h=[],l=0;l<e.fields.length;l++)h.push(e.fields[l].field_name);f=rj(f,3,h);h=[];l=[];for(var q=k(e.cellMap.keys()),t=q.next();!t.done;t=q.next())l.push(t.value.split(","));for(q=0;q<l.length;q++){t=l[q];var w=e.cellType;for(var B=e.getCells(t)||[],D=[],J=0;J<B.length;J++){var H=B[J],O=H&&H.cellValue;H=new z1b;switch(w){case 3:O=Number(O);Number.isFinite(O)&&
Il(H,1,A1b,qb(O));break;case 2:Il(H,2,A1b,ib(Number(O)))}D.push(H)}w=D;for(B=0;B<w.length;B++){D=w[B];J=new B1b;D=hj(J,z1b,2,D);J=t;H=[];O=[];for(var P=0;P<e.fields.length;P++)O.push(e.fields[P].field_type);for(P=0;P<O.length;P++){var U=O[P],aa=J[P],pa=new x1b;switch(U){case 3:Ql(pa,1,y1b,String(aa));break;case 2:U=Number(aa);Number.isFinite(U)&&Il(pa,2,y1b,null==U?U:mb(U));break;case 1:Il(pa,3,y1b,kb("true"===aa))}H.push(pa)}mm(D,1,H);h.push(D)}}mm(f,4,h);c.push(f);e.clear()}mm(b,1,c);uC(this.transport,
b);this.transport.flush()}};var F2b=new rd("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".split(" ")}}),G2b=new rd("STREAMZ_PRODUCT_IDENTIFIER"),H2b=new rd("STREAMZ_ALLOWLIST_IDENTIFIER"),I2b=new rd("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return bd(He).runOutsideAngular(function(){var a=new wC(1503);a=new l1b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),xC=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new o1b(this.streamzService);new p1b(this.streamzService);new q1b(this.streamzService);new r1b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(w1b);this.allowlistIdentifier=v1b(null!=e?e:this.productIdentifier)},yC=function(a,b,c){a.zone.runOutsideAngular(function(){J2b(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},J2b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};xC.\u0275fac=function(a){return new (a||xC)(p(I2b),p(He),p(F2b),p(G2b,8),p(H2b,8))};xC.\u0275prov=Pc({token:xC,factory:xC.\u0275fac,providedIn:"root"});var K2b=new rd("Feature Tooltip Controller Config"),zC=function(a,b,c){this.config=a;this.keyValueStore=b;this.injector=c;this.clientStreamzService=this.config.enableUsageTracking?this.injector.get(xC):void 0;this.lastTooltipKey="onedev.lastTooltipTime."+this.config.productName;var d;this.config.shownMetricName=null!=(d=this.config.shownMetricName)?d:"tooltipShown";var e;this.config.hiddenMetricName=null!=(e=this.config.hiddenMetricName)?e:"tooltipHidden"},L2b=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(z(function(b){return null===
b?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};zC.prototype.hideTooltip=function(a){var b;null==(b=this.clientStreamzService)||yC(b,this.config.hiddenMetricName,!0);(0,X.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(AC(this,a),"HIDDEN")]).pipe(qf())};
var M2b=function(a,b){a.keyValueStore.getValue(AC(a,b)).pipe(Ce(function(c){return"SHOWING"!==c})).subscribe(function(){a.keyValueStore.setValue(AC(a,b),"HIDDEN")})},O2b=function(a,b,c){var d=c.map(function(e){return AC(a,e)});return a.keyValueStore.getValues(d).pipe(z(function(e){return N2b(a,b,c,e)}))};
zC.prototype.showTooltip=function(a){var b;null==(b=this.clientStreamzService)||yC(b,this.config.shownMetricName,!0);(0,X.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(AC(this,a),"SHOWING")]).pipe(qf())};var N2b=function(a,b,c,d){return c.filter(function(e){e=d.get(AC(a,e));return e===b||"UNSEEN"===b&&null===e})},AC=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
zC.\u0275fac=function(a){return new (a||zC)(p(K2b),p(zB),p(Ie))};zC.\u0275prov=Pc({token:zC,factory:zC.\u0275fac,providedIn:yB});var BC=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=(0,X.of)(void 0);this.destroyed$=new X.ReplaySubject;this.getCurrentlyShowingTooltips=function(){return O2b(b.featureTooltipService,"SHOWING",P2b(b))}};
BC.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(wf(this.getCurrentlyShowingTooltips),wf(function(c){return 0<c.length?(0,X.of)(c[0]):(0,X.of)(void 0).pipe(Q2b(a),R2b(a))}),z(function(c){return S2b(a,c)}),Ce(function(c){return!!c}),z(function(c){return c}),tf({bufferSize:1,refCount:!0}));T2b(this,b);b.pipe(xf(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};BC.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var Q2b=function(a){return(0,X.pipe)(wf(function(){return L2b(a.featureTooltipService)}),Ce(X.identity))},R2b=function(a){return(0,X.pipe)(wf(function(){return O2b(a.featureTooltipService,"UNSEEN",P2b(a))}),Ce(function(b){return 0<b.length}),z(function(b){return b[0]}))},T2b=function(a,b){b.pipe(wf(function(c){return c.dismiss.pipe(qf(c.tooltipId))}),xf(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},P2b=function(a){return a.tooltips.map(function(b){return b.tooltipId})},
S2b=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===b})};BC.\u0275fac=function(a){return new (a||BC)(C(zC))};BC.\u0275cmp=r({type:BC,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&mg(c,wB,4);if(a&2){var d;pg(d=qg())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var CC=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};CC.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){k(b).next().value.isIntersecting?w_b(a.anchorService,a.tooltipId,a.element):x_b(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):w_b(this.anchorService,this.tooltipId,this.element)};
CC.prototype.ngOnDestroy=function(){x_b(this.anchorService,this.tooltipId);var a;null==(a=this.intersectionObserver)||a.disconnect()};CC.\u0275fac=function(a){return new (a||CC)(C(qB),C(Wd))};CC.\u0275dir=jd({type:CC,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:[0,"onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"}});var DC=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){M2b(d.featureTooltipService,d.tooltipId)}};DC.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};DC.prototype.ngOnDestroy=function(){var a;null==(a=this.unsubscribeFromEvent)||a.call(this)};
Ac.Object.defineProperties(DC.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){var b;null==(b=this.unsubscribeFromEvent)||b.call(this);this.unsubscribeFromEvent=this.renderer.listen(this.elementRef.nativeElement,a,this.preventTooltipFromShowing)}}});DC.\u0275fac=function(a){return new (a||DC)(C(zC),C(tv),C(Wd))};DC.\u0275dir=jd({type:DC,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:[0,"onedevTooltipPreventer","tooltipId"],event:[0,"onedevPreventTooltipOn","event"]}});var U2b=new rd("TooltipAnchor"),V2b=new rd("TooltipPeventer"),EC=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)};EC.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
EC.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};Ac.Object.defineProperties(EC.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}}});
EC.\u0275fac=function(a){return new (a||EC)(C(zC),C(qB),C(Wd),C(tv),C(U2b),C(V2b))};EC.\u0275dir=jd({type:EC,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:[0,"onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:[0,"onedevPreventTooltipOn","event"]},features:[wg([{provide:U2b,useValue:CC},{provide:V2b,useValue:DC}])]});var FC=function(){this.className="gmat-subtitle-1 tooltip-title"};FC.\u0275fac=function(a){return new (a||FC)};FC.\u0275dir=jd({type:FC,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&Rf(b.className)}});var W2b=Bh("transformMenu",[Fh("void",Eh({opacity:0,transform:"scale(0.8)"})),Hh("void => enter",Ch("120ms cubic-bezier(0, 0, 0.2, 1)",Eh({opacity:1,transform:"scale(1)"}))),Hh("* => void",Ch("100ms 25ms linear",Eh({opacity:0})))]),X2b=Bh("fadeInItems",[Fh("showing",Eh({opacity:1})),Hh("void => *",[Eh({opacity:0}),Ch("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Y2b=new rd("MatMenuContent"),GC=function(a,b,c,d,e,f,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=f;this._changeDetectorRef=h;this._attached=new X.Subject};
GC.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new ny(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new py(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);var c;null==(c=this._changeDetectorRef)||c.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
GC.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};GC.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};GC.\u0275fac=function(a){return new (a||GC)(C(ig),C(qv),C(sw),C(Ie),C(jg),C(qh),C(Pg))};GC.\u0275dir=jd({type:GC,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[wg([{provide:Y2b,useExisting:GC}])]});var Z2b=new rd("MAT_MENU_PANEL");var $2b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],HC=function(a,b,c,d,e){this._elementRef=a;this._document=b;this._focusMonitor=c;this._parentMenu=d;this._changeDetectorRef=e;this.role="menuitem";this.disableRipple=this.disabled=!1;this._hovered=new X.Subject;this._focused=new X.Subject;this._triggersSubmenu=this._highlighted=!1;var f;null==d||null==(f=d.addItem)||f.call(d,this)};g=HC.prototype;
g.focus=function(a,b){this._focusMonitor&&a?Kx(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return(null==(d=a.textContent)?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};HC.\u0275fac=function(a){return new (a||HC)(C(Wd),C(qh),C(Jx),C(Z2b,8),C(Pg))};
HC.\u0275cmp=r({type:HC,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&1&&N("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(Hf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),Qf("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{role:"role",
disabled:[2,"disabled","disabled",Ng],disableRipple:[2,"disableRipple","disableRipple",Ng]},exportAs:["matMenuItem"],standalone:!0,features:[Gf,yg],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&&(cg($2b),dg(0),G(1,"span",0),dg(2,1),I(),K(3,"div",1),E(4,Bra,2,0,":svg:svg",2));a&2&&(A(3),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),A(),Uf(b._triggersSubmenu?4:-1))},dependencies:[hz],encapsulation:2,changeDetection:0});var a3b=0,b3b=new rd("mat-menu-default-options",{providedIn:"root",factory:Dra}),IC=function(a,b,c,d){this._elementRef=a;this._changeDetectorRef=d;this._elevationPrefix="mat-elevation-z";this._baseElevation=8;this._directDescendantItems=new kg;this._classList={};this._panelAnimationState="void";this._animationDone=new X.Subject;this.close=this.closed=new Uv;this.panelId="mat-menu-panel-"+a3b++;this._injector=bd(Ie);this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=
c.yPosition;this.backdropClass=c.backdropClass;this.overlapTrigger=c.overlapTrigger;this.hasBackdrop=c.hasBackdrop};g=IC.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=hy(aWb(ey(new ky(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(vf(this._directDescendantItems),wf(function(b){return X.merge.apply(null,u(b.map(function(c){return c._focused})))})).subscribe(function(b){return iy(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"enter"===a._panelAnimationState&&(null==(d=c.activeItem)?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusRef)||b.destroy()};
g._hovered=function(){return this._directDescendantItems.changes.pipe(vf(this._directDescendantItems),wf(function(a){return X.merge.apply(null,u(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:jh(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==b&&40!==b||dWb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var c3b=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusRef)||c.destroy();a._firstItemFocusRef=Ne(function(){var d=null;a._directDescendantItems.length&&(d=a._directDescendantItems.first._getHostElement().closest('[role="menu"]'));if(!d||!d.contains(document.activeElement)){var e=a._keyManager;dWb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}},{injector:a._injector})};g=IC.prototype;
g.setElevation=function(a){a="mat-elevation-z"+Math.min(8+a,24);var b=Object.keys(this._classList).find(function(c){return c.startsWith("mat-elevation-z")});b&&b!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)};
g.setPositionClasses=function(a,b){a=void 0===a?this.xPosition:a;b=void 0===b?this.yPosition:b;var c=this._classList;c["mat-menu-before"]="before"===a;c["mat-menu-after"]="after"===a;c["mat-menu-above"]="above"===b;c["mat-menu-below"]="below"===b;var d;null==(d=this._changeDetectorRef)||d.markForCheck()};g._startAnimation=function(){this._panelAnimationState="enter"};g._resetAnimation=function(){this._panelAnimationState="void"};
g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(vf(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));og(a._directDescendantItems)})};
Ac.Object.defineProperties(IC.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,c=this._previousPanelClass;c&&c.length&&c.split(" ").forEach(function(d){b._classList[d]=!1});(this._previousPanelClass=
a)&&a.length&&(a.split(" ").forEach(function(d){b._classList[d]=!0}),this._elementRef.nativeElement.className="")}},classList:{configurable:!0,enumerable:!0,get:function(){return this.panelClass},set:function(a){this.panelClass=a}}});IC.\u0275fac=function(a){return new (a||IC)(C(Wd),C(He),C(b3b),C(Pg))};
IC.\u0275cmp=r({type:IC,selectors:[["mat-menu"]],contentQueries:function(a,b,c){a&1&&(mg(c,Y2b,5),mg(c,HC,5),mg(c,HC,4));if(a&2){var d;pg(d=qg())&&(b.lazyContent=d.first);pg(d=qg())&&(b._allItems=d);pg(d=qg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&lg(ig,5);if(a&2){var c;pg(c=qg())&&(b.templateRef=c.first)}},hostVars:3,hostBindings:function(a){a&2&&Hf("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",Ng],hasBackdrop:[2,"hasBackdrop","hasBackdrop",function(a){return null==a?null:Ng(a)}],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[wg([{provide:Z2b,useExisting:IC}]),Gf,yg],ngContentSelectors:["*"],
decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id","ngClass"],[1,"mat-mdc-menu-content"]],template:function(a){a&1&&(cg(),E(0,Cra,3,6,"ng-template"))},dependencies:[Cw],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.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);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.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 .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[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)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.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)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;padding-right:var(--mat-menu-item-spacing);padding-left:0}.cdk-high-contrast-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,data:{animation:[W2b,X2b]},changeDetection:0});var d3b=new rd("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.reposition()}}}),e3b={provide:d3b,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},f3b=fh({passive:!0}),JC=function(a,b,c,d,e,f,h,l,q){var t=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=l;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=
this._hoverSubscription=this._closingActionsSubscription=X.Subscription.EMPTY;this._changeDetectorRef=bd(Pg);this._handleTouchStart=function(w){yoa(w)||(t._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Uv;this.onMenuClose=this.menuClosed=new Uv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof IC?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,f3b)};JC.prototype.ngAfterContentInit=function(){this._handleHover()};
JC.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,f3b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var KC=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=JC.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=null==b.hasBackdrop?!KC(this):b.hasBackdrop;c.attach(this._getPortal(b));b.lazyContent&&b.lazyContent.attach(this.menuData);this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return a.closeMenu()});this._initMenu(b);b instanceof IC&&(b._startAnimation(),b._directDescendantItems.changes.pipe(xf(b.close)).subscribe(function(){qWb(uWb(e,
!1));uWb(e,!0)}))}};g.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?Kx(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
g._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||"keydown"!==a&&this._openedBy&&KC(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof IC)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(Ce(function(e){return"void"===e.toState}),mf(),xf(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return b._setIsMenuOpen(!1)}}):
this._setIsMenuOpen(!1);else{this._setIsMenuOpen(!1);var d;null==c||null==(d=c.lazyContent)||d.detach()}}};g._initMenu=function(a){a.parentMenu=KC(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);c3b(a,this._openedBy||"program");this._setIsMenuOpen(!0)};g._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),KC(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
g._getOverlayConfig=function(a){return new Ly({positionStrategy:vWb(sWb(uWb(Uy(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",f="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,f)}):a.setPositionClasses(e,f)})};
g._setPosition=function(a,b){var c=k("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=k("above"===a.yPosition?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=k([f,e]),l=h.next().value;h=h.next().value;var q=k([d,c]),t=q.next().value;q=q.next().value;var w=0;KC(this)?(q=d="before"===a.xPosition?"start":"end",c=t="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),w="bottom"===f?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===f?"bottom":"top",h="top"===e?"bottom":"top");Oy(b,[{originX:d,originY:l,overlayX:t,overlayY:f,offsetY:w},{originX:c,originY:l,overlayX:q,overlayY:f,offsetY:w},{originX:d,originY:h,overlayX:t,overlayY:e,offsetY:-w},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-w}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,X.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ce(function(f){return f!==a._menuItemInstance}),Ce(function(){return a._menuOpen})):(0,X.of)();return(0,X.merge)(b,d,e,c)};g._handleMousedown=function(a){xoa(a)||(this._openedBy=0===a.button?"mouse":void 0,KC(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";KC(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){KC(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;KC(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ce(function(b){return b===a._menuItemInstance&&!b.disabled}),kf(0,X.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof IC&&a.menu._isAnimating?a.menu._animationDone.pipe(mf(),kf(0,X.asapScheduler),xf(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new ny(a.templateRef,this._viewContainerRef));return this._portal};
Ac.Object.defineProperties(JC.prototype,{_deprecatedMatMenuTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.menu},set:function(a){this.menu=a}},menu:{configurable:!0,enumerable:!0,get:function(){return this._menu},set:function(a){var b=this;if(a!==this._menu){this._menu=a;this._menuCloseSubscription.unsubscribe();a&&(this._menuCloseSubscription=a.close.subscribe(function(d){b._destroyMenu(d);"click"!==d&&"tab"!==d||!b._parentMaterialMenu||b._parentMaterialMenu.closed.emit(d)}));
var c;null==(c=this._menuItemInstance)||c._setTriggersSubmenu(KC(this))}}},menuOpen:{configurable:!0,enumerable:!0,get:function(){return this._menuOpen}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}});JC.\u0275fac=function(a){return new (a||JC)(C(Vy),C(Wd),C(jg),C(d3b),C(Z2b,8),C(HC,10),C(ty,8),C(Jx),C(He))};
JC.\u0275dir=jd({type:JC,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(a,b){a&1&&N("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&Hf("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?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"],standalone:!0});var LC=function(){};LC.\u0275fac=function(a){return new (a||LC)};LC.\u0275mod=hd({type:LC});LC.\u0275inj=Rc({providers:[e3b],imports:[Qw,kz,Zy,Yy,Iy,Zy]});Qoa(Roa(function(){}));var g3b={provide:d3b,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};fh({passive:!0});var MC=function(){};MC.\u0275fac=function(a){return new (a||MC)};MC.\u0275mod=hd({type:MC});MC.\u0275inj=Rc({providers:[g3b],imports:[Qw,Zy,kz,Yy,Iy,Zy]});var h3b=["tooltip"],i3b=new rd("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),j3b={provide:i3b,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},k3b=new rd("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),l3b=fh({passive:!0}),OC=function(a,b,c,d,e,
f,h,l,q,t,w,B){var D=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=l;this._dir=t;this._defaultOptions=w;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._tooltipComponent=NC;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=
new X.Subject;this._injector=bd(Ie);this._scrollStrategy=q;this._document=B;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(xf(this._destroyed)).subscribe(function(){D._overlayRef&&D._updatePosition(D._overlayRef)});this._viewportMargin=8};g=OC.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(xf(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,l3b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Yx(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=void 0===a?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;null==(d=this._tooltipInstance)||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new my(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(xf(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Wd)return this._overlayRef;this._detach()}c=iWb(this._scrollDispatcher,this._elementRef);a=rWb(Py(Qy(vWb(Uy(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(xf(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(xf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(xf(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(xf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!jh(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;(null==(d=this._defaultOptions)?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Oy(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||"ltr"==this._dir.value;"top"===a.originY?a.offsetY=-8:"bottom"===a.originY?a.offsetY=8:"start"===a.originX?a.offsetX=b?-8:8:"end"===a.originX&&(a.offsetX=b?8:-8);return a};
g._getOrigin=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b||"below"==b)var c={originX:"center",originY:"above"==b?"top":"bottom"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={originX:"start",originY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
g._getOverlayPosition=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b)var c={overlayX:"center",overlayY:"bottom"};else if("below"==b)c={overlayX:"center",overlayY:"top"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={overlayX:"end",overlayY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ne(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){"above"===this.position||"below"===this.position?"top"===b?b="bottom":"bottom"===b&&(b="top"):"end"===a?a="start":"start"===a&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b="center"===b?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===b&&"top"===a?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;void 0!==b.x&&void 0!==b.y&&(c=b);a.show(void 0,c)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=null==(c=b.targetTouches)?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);var e;a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},null!=(e=a._defaultOptions.touchLongPressShowDelay)?e:500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&(null==(e=a._overlayRef)?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,u(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,l3b)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("off"!==a){var b=this._elementRef.nativeElement,c=b.style;if("on"===a||"INPUT"!==b.nodeName&&"TEXTAREA"!==b.nodeName)c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";"on"!==a&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
Ac.Object.defineProperties(OC.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){if(a!==this._position&&(this._position=a,this._overlayRef)){this._updatePosition(this._overlayRef);var b;null==(b=this._tooltipInstance)||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=lh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=lh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=oh(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=oh(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Yx(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=null!=a?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){Xx(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)}}});OC.\u0275fac=function(a){return new (a||OC)(C(Vy),C(Wd),C(Dy),C(jg),C(He),C(Ax),C(Wx),C(Jx),C(i3b),C(ty),C(k3b,8),C(qh))};
OC.\u0275dir=jd({type:OC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("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"],standalone:!0});var NC=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._isVisible=this._closeOnInteraction=this._isMultiline=!1;this._onHide=new X.Subject;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide";this._animationsDisabled="NoopAnimations"===c};g=NC.prototype;
g.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};g.hide=function(a){var b=this;null!=this._showTimeoutId&&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 24<a.height&&200<=a.width};g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};g._cancelPendingAnimations=function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};
g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
NC.\u0275fac=function(a){return new (a||NC)(C(Pg),C(Wd),C(sv,8))};
NC.\u0275cmp=r({type:NC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&lg(h3b,7);if(a&2){var c;pg(c=qg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&N("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&Pf("zoom",b.isVisible()?1:null)},standalone:!0,features:[yg],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],
template:function(a,b){if(a&1){var c=v();G(0,"div",1,0);N("animationend",function(d){x(c);return y(b._handleAnimationEnd(d))});G(2,"div",2);S(3);I()()}a&2&&(Qf("mdc-tooltip--multiline",b._isMultiline),F("ngClass",b.tooltipClass),A(3),rg(b.message))},dependencies:[Cw],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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 PC=function(){};PC.\u0275fac=function(a){return new (a||PC)};PC.\u0275mod=hd({type:PC});PC.\u0275inj=Rc({providers:[j3b],imports:[Vx,Qw,Yy,Zy,Zy,Iy]});var m3b={provide:i3b,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},n3b=fh({passive:!0}),QC=function(a,b,c,d,e,f,h,l,q,t,w,B){var D=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=l;this._dir=t;this._defaultOptions=w;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 X.Subject;this._scrollStrategy=q;this._document=B;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(xf(this._destroyed)).subscribe(function(){D._overlayRef&&D._updatePosition(D._overlayRef)})};
g=QC.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(xf(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,n3b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Yx(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=void 0===a?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;null==(d=this._tooltipInstance)||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new my(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(xf(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Wd)return this._overlayRef;this._detach()}c=iWb(this._scrollDispatcher,this._elementRef);a=rWb(Py(Qy(vWb(Uy(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(xf(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(xf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(xf(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(xf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!jh(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;(null==(d=this._defaultOptions)?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Oy(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};g._addOffset=function(a){return a};
g._getOrigin=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b||"below"==b)var c={originX:"center",originY:"above"==b?"top":"bottom"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={originX:"start",originY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
g._getOverlayPosition=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b)var c={overlayX:"center",overlayY:"bottom"};else if("below"==b)c={overlayX:"center",overlayY:"top"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={overlayX:"end",overlayY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(mf(),xf(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){"above"===this.position||"below"===this.position?"top"===b?b="bottom":"bottom"===b&&(b="top"):"end"===a?a="start":"start"===a&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b="center"===b?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===b&&"top"===a?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;void 0!==b.x&&void 0!==b.y&&(c=b);a.show(void 0,c)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=null==(c=b.targetTouches)?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&(null==(e=a._overlayRef)?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,u(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,n3b)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("off"!==a){var b=this._elementRef.nativeElement,c=b.style;if("on"===a||"INPUT"!==b.nodeName&&"TEXTAREA"!==b.nodeName)c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";"on"!==a&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
Ac.Object.defineProperties(QC.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){if(a!==this._position&&(this._position=a,this._overlayRef)){this._updatePosition(this._overlayRef);var b;null==(b=this._tooltipInstance)||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=lh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=lh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=oh(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=oh(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Yx(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=null!=a?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){Xx(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)}}});QC.\u0275fac=function(){Oe()};
QC.\u0275dir=jd({type:QC,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"]}});
var RC=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new X.Subject;this._animationsDisabled="NoopAnimations"===b};g=RC.prototype;g.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
g.hide=function(a){var b=this;null!=this._showTimeoutId&&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(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
RC.\u0275fac=function(a){return new (a||RC)(C(Pg),C(sv,8))};RC.\u0275dir=jd({type:RC});/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @type {{XSmall: string, Small: string, Medium: string, Large: string, XLarge: string, Handset: string, Tablet: string, Web: string, HandsetPortrait: string, TabletPortrait: string, WebPortrait: string, HandsetLandscape: string, TabletLandscape: string, WebLandscape: string}}
*/
var o3b=["tooltip"],TC=function(a,b,c,d,e,f,h,l,q,t,w,B){QC.call(this,a,b,c,d,e,f,h,l,q,t,w,B);this._tooltipComponent=SC};Y(TC,QC);TC.\u0275fac=function(a){return new (a||TC)(C(Vy),C(Wd),C(Dy),C(jg),C(He),C(Ax),C(Wx),C(Jx),C(i3b),C(ty,8),C(k3b,8),C(qh))};TC.\u0275dir=jd({type:TC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[Ff]});
var SC=function(a,b,c){RC.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(SC,RC);SC.\u0275dir=RC.\u0275dir;SC.\u0275fac=function(a){return new (a||SC)(C(Pg),C(Ox),C(sv,8))};
SC.\u0275cmp=r({type:SC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&lg(o3b,7);if(a&2){var c;pg(c=qg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&1&&N("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(Hf("mat-id-collision",null),Pf("zoom",b.isVisible()?1:null))},features:[Ff],decls:4,vars:6,consts:[["tooltip",""],[1,"mat-tooltip",3,"animationend","ngClass"]],template:function(a,b){if(a&1){var c=v();G(0,"div",
1,0);V(2,"async");N("animationend",function(e){x(c);return y(b._handleAnimationEnd(e))});S(3);I()}if(a&2){var d;Qf("mat-tooltip-handset",null==(d=W(2,4,b._isHandset))?null:d.matches);F("ngClass",b.tooltipClass);A(3);rg(b.message)}},dependencies:[Cw,Iw],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;-webkit-transform:scale(0);transform:scale(0)}.mat-tooltip._mat-animation-noopable{-webkit-animation:none;animation:none;-webkit-transform:scale(1);transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:1px solid}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@-webkit-keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.mat-tooltip-show{-webkit-animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards}.mat-tooltip-hide{-webkit-animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards}"],
encapsulation:2,changeDetection:0});var UC=function(){};UC.\u0275fac=function(a){return new (a||UC)};UC.\u0275mod=hd({type:UC});UC.\u0275inj=Rc({imports:[Zy,Zy]});var p3b=new rd("g3cWidgetTaskManagementServicePromiseClient"),q3b=new rd("g3cWidgetUserPrefsServicePromiseClient"),r3b=new rd("g3cWidgetServiceConfig");var xo=function(a){this.internalArray_=m(a)};Y(xo,n);g=xo.prototype;g.getDescription=function(){return ec(this,1)};g.setDescription=function(a){return yl(this,1,a)};g.getStatus=function(){return Qi(this,3,0)};g.setStatus=function(a){return zl(this,3,a)};g.getVersion=function(){return Zi(this,5)};g.setVersion=function(a){return xl(this,5,a)};g.getOwnedByMe=function(){return Li(this,7)};g.setOwnedByMe=function(a){return Ul(this,7,a)};g.getCreatorEmail=function(){return ec(this,9)};
xo.repeatedFields_=[4,6];var vl=function(a){this.internalArray_=m(a)};Y(vl,n);vl.prototype.getAccessLevel=function(){return Qi(this,1,0)};vl.prototype.setAccessLevel=function(a){return zl(this,1,a)};var VC=function(a){this.internalArray_=m(a)};Y(VC,n);VC.prototype.getAuthorEmail=function(){return ec(this,2)};VC.prototype.getContent=function(){return ec(this,3)};VC.prototype.setContent=function(a){return yl(this,3,a)};VC.prototype.getExternalLink=function(){return ec(this,6)};VC.repeatedFields_=[5];var vo=function(a){this.internalArray_=m(a)};Y(vo,n);g=vo.prototype;g.getDescription=function(){return ec(this,1)};g.setDescription=function(a){return yl(this,1,a)};g.getCategory=function(){return Qi(this,2,0)};g.getStatus=function(){return Qi(this,3,0)};g.setStatus=function(a){return zl(this,3,a)};g.getCommentsList=function(){return Ii(this,VC,7,hi())};g.getAuthorEmail=function(){return ec(this,10)};g.getWorkspaceName=function(){return ec(this,15)};vo.repeatedFields_=[5,6,7,11,17,13,14];var s3b=function(a){this.internalArray_=m(a)};Y(s3b,n);g=s3b.prototype;g.getCommentId=function(){return ec(this,1)};g.setCommentId=function(a){return yl(this,1,a)};g.getAuthorDisplayName=function(){return ec(this,6)};g.getContent=function(){return ec(this,8)};g.setContent=function(a){return yl(this,8,a)};g.getExternalLink=function(){return ec(this,12)};g.getModifiedTimestamp=function(){return Zi(this,13)};s3b.repeatedFields_=[14];var WC=function(a){this.internalArray_=m(a)};Y(WC,n);g=WC.prototype;g.getCreatedTimestamp=function(){return Zi(this,1)};g.getCreatedTimestamp_asLegacyNumberOrString=function(){return Zi(this,1)};g.getOwnedByMe=function(){return Li(this,3)};g.setOwnedByMe=function(a){return Ul(this,3,a)};g.getMimeType=function(){return ec(this,15)};g.setMimeType=function(a){yl(this,15,a)};g.getCommentsList=function(){return Ii(this,s3b,6,hi())};g.getCreatorEmail=function(){return ec(this,11)};
WC.repeatedFields_=[17,6];var t3b=function(a){this.internalArray_=m(a)};Y(t3b,n);g=t3b.prototype;g.getResourceId=function(){return ec(this,17)};g.setResourceId=function(a){yl(this,17,a)};g.getTitle=function(){return ec(this,2)};g.setTitle=function(a){return yl(this,2,a)};g.getLastModifiedTimestamp=function(){return Zi(this,3)};g.getIconName=function(){return ec(this,10)};g.getExternalLink=function(){return ec(this,16)};g.getIsDeleted=function(){return Li(this,19)};g.setIsDeleted=function(a){Ul(this,19,a)};
g.getDriveResource=function(){return Ll(this,WC,5,wo)};g.hasDriveResource=function(){return Zl(this,WC,5,wo)};var wo=[5,6,7,8,9,18,22,23,24];var XC=function(a){this.internalArray_=m(a)};Y(XC,n);XC.prototype.getName=function(){return ec(this,1)};XC.prototype.setName=function(a){return yl(this,1,a)};XC.prototype.getContent=function(){return ec(this,2)};XC.prototype.setContent=function(a){return yl(this,2,a)};var u3b=function(a){this.internalArray_=m(a)};Y(u3b,n);g=u3b.prototype;g.getTaskId=function(){return ec(this,1)};g.getResource=function(){return Gi(this,t3b,6)};g.getNote=function(){return Gi(this,XC,22)};g.getCreatedTimestamp=function(){return Zi(this,7)};g.getCreatedTimestamp_asLegacyNumberOrString=function(){return Zi(this,7)};g.getUpdatedTimestamp_asLegacyNumberOrString=function(){return Zi(this,8)};var v3b=function(a){this.internalArray_=m(a)};Y(v3b,n);var YC=function(a){this.internalArray_=m(a)};Y(YC,n);YC.prototype.getCreatedTimestamp=function(){return Zi(this,3)};YC.prototype.getCreatedTimestamp_asLegacyNumberOrString=function(){return Zi(this,3)};YC.prototype.getUpdatedTimestamp_asLegacyNumberOrString=function(){return Zi(this,4)};var w3b=[2];var ZC=function(a){this.internalArray_=m(a)};Y(ZC,n);ZC.prototype.setTaskIdsList=function(a){return rj(this,1,a)};ZC.repeatedFields_=[1];var Co=function(a){this.internalArray_=m(a)};Y(Co,n);Co.prototype.getId=function(){return ec(this,1)};Co.prototype.setId=function(a){return yl(this,1,a)};Co.prototype.getVersion=function(){return ec(this,2)};Co.prototype.setVersion=function(a){return yl(this,2,a)};var $C=function(a){this.internalArray_=m(a)};Y($C,n);$C.prototype.getName=function(){return ec(this,1)};$C.prototype.setName=function(a){return yl(this,1,a)};var aD=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.taskManagementApiPromiseClient=b;this.config=c;this.sessionIndex="0";(0,X.defer)(function(){var e=(new $C).setName("keys/2");return(0,X.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(z(function(e){return(e=Ll(e.getUserPrefs()||new YC,v3b,2,w3b))?12096E5>=Date.now()-Zi(e,21):!1}),tf(1))};
aD.prototype.getTask=function(){var a=this,b=(new ZC).setTaskIdsList([void 0]);return(0,X.defer)(function(){var c=X.from;var d=a.taskManagementApiPromiseClient;var e=a.getHeaders();d=bD(d.client_,d.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskManagementService/ListTasksForIds",b,e||{},x3b);return c.call(X,d)}).pipe(z(function(c){if((c=c.getTasksList())&&0!==c.length){a:{var d=Qi(c[0],3,0);switch(d){case 0:case 6:case 2:case 3:case 5:case 1:break a;default:vc(d)}d=void 0}c={taskId:void 0,
taskStatus:d,snoozeUntilMs:Number(Zi(c[0],12)||"")}}else c={taskId:void 0,taskStatus:0,snoozeUntilMs:0};return c}))};aD.prototype.getHeaders=function(){return{"X-Goog-Api-Key":this.config?this.config.apikey?this.config.apikey:"nonprod"===this.config.environment?"AIzaSyA_nAdTKd1fntCxJ6UHI2Vf7AZ2idvJrrA":"AIzaSyBIugcexIJggeGpV_dVry6fkIO6bKH_nHk":"AIzaSyA_nAdTKd1fntCxJ6UHI2Vf7AZ2idvJrrA",Authorization:Dp([])||"","X-Goog-AuthUser":this.sessionIndex}};
aD.\u0275fac=function(a){return new (a||aD)(p(q3b),p(p3b),p(r3b,8))};aD.\u0275prov=Pc({token:aD,factory:aD.\u0275fac,providedIn:"root"});var cD=function(){};cD.\u0275fac=function(a){return new (a||cD)};cD.\u0275mod=hd({type:cD});cD.\u0275inj=Rc({imports:[kz,Zy,Zy]});var dD=function(){};dD.\u0275fac=function(a){return new (a||dD)};dD.\u0275mod=hd({type:dD});dD.\u0275inj=Rc({imports:[Vx,pB,Qw,yB,cD,UC,Yy,tB]});var y3b=function(a){this.internalArray_=m(a)};Y(y3b,n);var z3b=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};z3b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};z3b.prototype.getMetadata=function(){return this.metadata_};var A3b=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};A3b.prototype.getMetadata=function(){return this.metadata_};A3b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};A3b.prototype.getStatus=function(){return this.status_};var eD=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},B3b=function(a,b,c){c=void 0===c?{}:c;return new z3b(b,a,c)};eD.prototype.getName=function(){return this.name};eD.prototype.getName=eD.prototype.getName;var fD=function(a){this.internalArray_=m(a)};Y(fD,n);fD.prototype.getTasksList=function(){return Ii(this,u3b,1,hi())};var C3b=gc(fD);fD.repeatedFields_=[1];var x3b=new eD("/google.internal.devopsconsole.v1.TaskManagementService/ListTasksForIds",ZC,fD,function(a){return a.serialize()},C3b);var D3b=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}},E3b=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";
case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}};var gD=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c};Y(gD,Error);gD.prototype.toString=function(){var a="RpcError("+(E3b(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};gD.prototype.name="RpcError";var F3b=Promise;var hD=function(a){this.internalArray_=m(a)};Y(hD,n);hD.prototype.getCode=function(){return fi(this,1)};hD.prototype.setCode=function(a){return kl(this,1,a)};hD.prototype.getMessage=function(){return ec(this,2)};hD.prototype.setMessage=function(a){return yl(this,2,a)};var G3b=gc(hD);hD.repeatedFields_=[3];var iD=function(a,b){this.xhrNodeReadableStream_=a.nodeReadableStream;this.grpcResponseDeserializeFn_=b;this.xhr_=a.xhr;this.onDataCallbacks_=[];this.onMetadataCallbacks_=[];this.onStatusCallbacks_=[];this.onEndCallbacks_=[];this.onErrorCallbacks_=[];this.xhrNodeReadableStream_&&H3b(this)},M3b=function(a,b){Kp(a.xhr_,"complete",function(){if(a.xhr_.isSuccess()){var c=a.xhr_.getResponseText();if(b&&"text/plain"===a.xhr_.getResponseHeader("Content-Type")){if(!atob)throw Error("Lb");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){jD(a,new gD(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=D3b(a.xhr_.getStatus());I3b(a,J3b(a));0==c?K3b(a,d):jD(a,new gD(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=J3b(a);if(c){var e=L3b(a,c);c=e.code;var f=e.details;e=e.metadata}else c=2,f="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError(),e=d;I3b(a,d);jD(a,new gD(c,f,e))}})},
H3b=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){jD(a,new gD(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&K3b(a,d)}if("2"in b)for(b=L3b(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){I3b(a,J3b(a));for(var b=0;b<a.onEndCallbacks_.length;b++)a.onEndCallbacks_[b]()});a.xhrNodeReadableStream_.on("error",function(){if(0!=
a.onErrorCallbacks_.length){var b=a.xhr_.getLastErrorCode();0!==b||a.xhr_.isSuccess()||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.xhr_.getStatus();d=D3b(c);break;default:d=14}I3b(a,J3b(a));b=j2b(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);jD(a,new gD(d,b))}})},J3b=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},L3b=function(a,b){var c=2,d={};try{var e=G3b(b);c=
e.getCode();var f=e.getMessage();Ii(e,Dn,3,hi()).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,f="Not Found: "+a.xhr_.getLastUri()):(c=14,f="Unable to parse RpcStatus: "+h)}return{code:c,details:f,metadata:d}};iD.prototype.on=function(a,b){"data"==a?this.onDataCallbacks_.push(b):"metadata"==a?this.onMetadataCallbacks_.push(b):"status"==a?this.onStatusCallbacks_.push(b):"end"==a?this.onEndCallbacks_.push(b):"error"==a&&this.onErrorCallbacks_.push(b);return this};
var kD=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};iD.prototype.removeListener=function(a,b){"data"==a?kD(this.onDataCallbacks_,b):"metadata"==a?kD(this.onMetadataCallbacks_,b):"status"==a?kD(this.onStatusCallbacks_,b):"end"==a?kD(this.onEndCallbacks_,b):"error"==a&&kD(this.onErrorCallbacks_,b);return this};iD.prototype.cancel=function(){this.xhr_.abort()};
var K3b=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},I3b=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},jD=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};iD.prototype.cancel=iD.prototype.cancel;iD.prototype.removeListener=iD.prototype.removeListener;iD.prototype.on=iD.prototype.on;var lD=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};hu(lD,k2b);lD.prototype.createInstance=function(){var a=new mD(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};lD.prototype.internalGetOptions=LB({});lD.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
lD.prototype.setCacheMode=function(a){this.cacheMode_=a};var mD=function(a,b){Jp.call(this);this.worker_=a;this.streamBinaryChunks_=b;this.cacheMode_=this.credentialsMode_=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=this.responseXML=null;this.requestHeaders_=new Headers;this.responseHeaders_=null;this.method_="GET";this.url_="";this.inProgress_=!1;this.textDecoder_=this.currentReader_=this.fetchResponse_=null};
hu(mD,Jp);mD.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Mb");this.method_=a;this.url_=b;this.readyState=1;nD(this)};mD.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Nb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||da).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
mD.prototype.abort=function(){this.response=this.responseText="";this.requestHeaders_=new Headers;this.status=0;this.currentReader_&&this.currentReader_.cancel("Request was aborted.").catch(function(){return null});1<=this.readyState&&this.inProgress_&&4!=this.readyState&&(this.inProgress_=!1,oD(this));this.readyState=0};
mD.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,nD(this)),this.inProgress_&&(this.readyState=3,nD(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof da.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Ob");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;N3b(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var N3b=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
mD.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?oD(this):nD(this);3==this.readyState&&N3b(this)}};mD.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,oD(this))};
mD.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,oD(this))};mD.prototype.handleSendFailure_=function(){this.inProgress_&&oD(this)};var oD=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;nD(a)};g=mD.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 nD=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(mD.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var O3b=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(za(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},pD=function(a){if(a.getValues&&"function"==typeof a.getValues)return a.getValues();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Ida(a)},P3b=
function(a){if(a.getKeys&&"function"==typeof a.getKeys)return a.getKeys();if(!a.getValues||"function"!=typeof a.getValues){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(za(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},Q3b=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(za(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=P3b(a),e=pD(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},R3b=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(za(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=P3b(a),e=pD(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Op=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Op?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,qD(this,a.scheme_),this.setUserInfo(a.getUserInfo()),rD(this,a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),sD(this,a.queryData_.clone()),tD(this,a.fragment_)):a&&(c=String(a).match(n2b))?(this.ignoreCase_=!!b,qD(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),rD(this,c[3]||"",!0),this.setPort(c[4]),
this.setPath(c[5]||"",!0),sD(this,c[6]||"",!0),tD(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new uD(null,this.ignoreCase_))};
Op.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(vD(b,S3b,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(vD(b,S3b,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.getPort(),null!=c&&a.push(":",String(c));if(c=this.getPath())this.domain_&&"/"!=c.charAt(0)&&a.push("/"),a.push(vD(c,"/"==c.charAt(0)?T3b:U3b,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",vD(c,V3b));
return a.join("")};
Op.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?qD(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?rD(b,a.getDomain()):c=a.hasPort();var d=a.getPath();if(c)b.setPort(a.getPort());else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.domain_&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(la(e,"./")||la(e,"/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=
[],h=0;h<e.length;){var l=e[h++];"."==l?d&&h==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?sD(b,a.queryData_.clone()):c=!!a.fragment_;c&&tD(b,a.fragment_);return b};Op.prototype.clone=function(){return new Op(this)};var qD=function(a,b,c){a.scheme_=c?wD(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};Op.prototype.getUserInfo=function(){return this.userInfo_};
Op.prototype.setUserInfo=function(a,b){this.userInfo_=b?wD(a):a;return this};Op.prototype.hasUserInfo=function(){return!!this.userInfo_};Op.prototype.getDomain=function(){return this.domain_};var rD=function(a,b,c){a.domain_=c?wD(b,!0):b;return a};g=Op.prototype;g.getPort=function(){return this.port_};g.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Pb`"+a);this.port_=a}else this.port_=null;return this};g.hasPort=function(){return null!=this.port_};g.getPath=function(){return this.path_};
g.setPath=function(a,b){this.path_=b?wD(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return""!==this.queryData_.toString()};var sD=function(a,b,c){b instanceof uD?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=vD(b,W3b)),a.queryData_=new uD(b,a.ignoreCase_));return a};Op.prototype.setQuery=function(a){return sD(this,a)};Op.prototype.getQuery=function(){return this.queryData_.toString()};
var xD=function(a,b,c){a.queryData_.set(b,c);return a},yD=function(a,b){return a.queryData_.get(b)},tD=function(a,b,c){a.fragment_=c?wD(b):b;return a},zD=function(a){xD(a,"zx",kv());return a};Op.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Op.prototype.isReadOnly=function(){return!1};Op.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var AD=function(a,b){return a instanceof Op?a.clone():new Op(a,b)},X3b=function(a,b,c,d,e){var f=new Op(null);a&&qD(f,a);b&&f.setUserInfo(b);c&&rD(f,c);d&&f.setPort(d);e&&f.setPath(e);return f},wD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},vD=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Y3b),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Y3b=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
S3b=/[#\/\?@]/g,U3b=/[#\?:]/g,T3b=/[#\?]/g,W3b=/[#\?@]/g,V3b=/#/g,uD=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},BD=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&o2b(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=uD.prototype;g.getCount=function(){BD(this);return this.count_};
g.add=function(a,b){BD(this);this.encodedQuery_=null;a=CD(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){BD(this);a=CD(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(){BD(this);return 0==this.count_};g.containsKey=function(a){BD(this);a=CD(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return ua(b,a)};g.forEach=function(a,b){BD(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){BD(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){BD(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(CD(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){BD(this);this.encodedQuery_=null;a=CD(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};g.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(CD(this,a),ya(b)),this.count_+=b.length)};g.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.encodedQuery_=a.join("&")};
g.clone=function(){var a=new uD;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var CD=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};uD.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(BD(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};
uD.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Q3b(arguments[b],function(c,d){this.add(d,c)},this)};var Z3b=function(a){var b="";hc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},$3b=function(a,b,c){if(jc(c))return a;c=Z3b(c);if("string"===typeof a)return t2b(a,encodeURIComponent(String(b)),c);xD(a,b,c);return a};var es=function(a){CB.call(this);this.handler_=a;this.keys_={}};hu(es,CB);var a4b=[];es.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(a4b[0]=b.toString()),b=a4b);for(var e=0;e<b.length;e++){var f=Kp(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};es.prototype.listenOnce=function(a,b,c,d){return b4b(this,a,b,c,d)};
var b4b=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)b4b(a,b,c[h],d,e,f);else{b=HB(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
es.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=Ba(d)?!!d.capture:!!d,e=e||this.handler_||this,c=a0b(c),d=!!d,b=FB(a)?a.getListener(b,c,d,e):a?(a=IB(a))?a.getListener(b,c,d,e):null:null,b&&(KB(b),delete this.keys_[b.key]);return this};es.prototype.removeAll=function(){hc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&KB(a)},this);this.keys_={}};
es.prototype.disposeInternal=function(){es.superClass_.disposeInternal.call(this);this.removeAll()};es.prototype.handleEvent=function(){throw Error("Rb");};var c4b=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};c4b.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Sb`"+this.streamPos_+"`"+b+"`"+a);};
c4b.prototype.decode=function(a){this.isInputValid_||this.error_(a,"stream already broken");this.leftoverInput_+=a;a=Math.floor(this.leftoverInput_.length/4);if(0==a)return null;try{var b=PQb(this.leftoverInput_.slice(0,4*a))}catch(c){this.error_(this.leftoverInput_,c.message)}this.streamPos_+=4*a;this.leftoverInput_=this.leftoverInput_.slice(4*a);return b};var bi=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};bi.prototype.getErrorMessage=function(){return this.errorMessage_};bi.prototype.error_=function(a,b,c){this.state_=3;this.errorMessage_="The stream is broken @"+this.streamPos_+"/"+b+". Error: "+c+". With input:\n"+a;throw Error(this.errorMessage_);};bi.prototype.acceptsBinaryInput=function(){return!0};
bi.prototype.parse=function(a){function b(q){q&128&&f.error_(h,l,"invalid tag");2!=(q&7)&&f.error_(h,l,"invalid wire type");f.tag_=q>>>3;1!=f.tag_&&2!=f.tag_&&15!=f.tag_&&f.error_(h,l,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;5==f.countLengthBytes_&&q&240&&f.error_(h,l,"message length too long");f.length_|=(q&127)<<7*(f.countLengthBytes_-1);q&128||(f.state_=2,f.countMessageBytes_=0,"undefined"!==typeof Uint8Array?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),0==f.length_&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(15>f.tag_){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(f.state_){case 3:f.error_(h,l,"stream already broken");break;case 0:b(h[l]);break;case 1:c(h[l]);break;case 2:d(h[l]);break;default:throw Error("Tb`"+f.state_);}f.streamPos_++;l++}a=
f.result_;f.result_=[];return 0<a.length?a:null};var ci=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new c4b;this.pbParser_=new bi};ci.prototype.getErrorMessage=function(){return this.errorMessage_};ci.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};ci.prototype.acceptsBinaryInput=function(){return!1};
ci.prototype.parse=function(a){null!==this.errorMessage_&&this.error_(a,"stream already broken");var b=null;try{var c=this.base64Decoder_.decode(a);b=null===c?null:this.pbParser_.parse(c)}catch(d){this.error_(a,d.message)}this.streamPos_+=a.length;return b};var DD=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Fra=function(a){this.errorMessage_=null;this.result_=[];this.buffer_="";this.stack_=[];this.pos_=this.depth_=0;this.slashed_=!1;this.unicodeCount_=0;this.stringInputPattern_=/[\\"]/g;this.state_=this.streamState_=0;this.deliverMessageAsRawString_=!(!a||!a.deliverMessageAsRawString)},d4b={INIT:0,VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,
NUM_DIGIT:20};g=Fra.prototype;g.getErrorMessage=function(){return this.errorMessage_};g.done=function(){return 2===this.streamState_};g.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){function b(){for(;D<a.length;)if(DD(a[D]))D++,f.pos_++;else break;return D<t}function c(){for(var H;;){H=a[D++];if(!H)break;f.pos_++;switch(f.state_){case q.INIT:"{"===H?f.state_=q.OBJECT_OPEN:"["===H?f.state_=q.ARRAY_OPEN:DD(H)||f.error_(a,D);continue;case q.KEY_START:case q.OBJECT_OPEN:if(DD(H))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===H){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);'"'===H?f.state_=q.STRING:f.error_(a,D);continue;case q.KEY_END:case q.OBJECT_END:if(DD(H))continue;
":"===H?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):"}"===H?(f.depth_--,e(),f.state_=d()):","===H?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,D);continue;case q.ARRAY_OPEN:case q.VALUE:if(DD(H))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,"]"===H){f.depth_--;if(0===f.depth_){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);'"'===H?f.state_=q.STRING:"{"===H?f.state_=q.OBJECT_OPEN:
"["===H?f.state_=q.ARRAY_OPEN:"t"===H?f.state_=q.TRUE1:"f"===H?f.state_=q.FALSE1:"n"===H?f.state_=q.NULL1:"-"!==H&&(-1!=="0123456789".indexOf(H)?f.state_=q.NUM_DIGIT:f.error_(a,D));continue;case q.ARRAY_END:if(","===H)h.push(q.ARRAY_END),f.state_=q.VALUE,1===f.depth_&&(B=D);else if("]"===H){f.depth_--;if(0===f.depth_)return;e();f.state_=d()}else if(DD(H))continue;else f.error_(a,D);continue;case q.STRING:var O=D;a:for(;;){for(;0<f.unicodeCount_;)if(H=a[D++],4===f.unicodeCount_?f.unicodeCount_=0:f.unicodeCount_++,
!H)break a;if('"'===H&&!f.slashed_){f.state_=d();break}if("\\"===H&&!f.slashed_&&(f.slashed_=!0,H=a[D++],!H))break;if(f.slashed_)if(f.slashed_=!1,"u"===H&&(f.unicodeCount_=1),H=a[D++])continue;else break;l.lastIndex=D;H=l.exec(a);if(!H){D=a.length+1;break}D=H.index+1;H=a[H.index];if(!H)break}f.pos_+=D-O;continue;case q.TRUE1:if(!H)continue;"r"===H?f.state_=q.TRUE2:f.error_(a,D);continue;case q.TRUE2:if(!H)continue;"u"===H?f.state_=q.TRUE3:f.error_(a,D);continue;case q.TRUE3:if(!H)continue;"e"===H?
f.state_=d():f.error_(a,D);continue;case q.FALSE1:if(!H)continue;"a"===H?f.state_=q.FALSE2:f.error_(a,D);continue;case q.FALSE2:if(!H)continue;"l"===H?f.state_=q.FALSE3:f.error_(a,D);continue;case q.FALSE3:if(!H)continue;"s"===H?f.state_=q.FALSE4:f.error_(a,D);continue;case q.FALSE4:if(!H)continue;"e"===H?f.state_=d():f.error_(a,D);continue;case q.NULL1:if(!H)continue;"u"===H?f.state_=q.NULL2:f.error_(a,D);continue;case q.NULL2:if(!H)continue;"l"===H?f.state_=q.NULL3:f.error_(a,D);continue;case q.NULL3:if(!H)continue;
"l"===H?f.state_=d():f.error_(a,D);continue;case q.NUM_DECIMAL_POINT:"."===H?f.state_=q.NUM_DIGIT:f.error_(a,D);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(H))continue;else D--,f.pos_--,f.state_=d();continue;default:f.error_(a,D)}}}function d(){var H=h.pop();return null!=H?H:q.VALUE}function e(H){1<f.depth_||(H||(H=-1===B?f.buffer_+a.substring(w,D):a.substring(B,D)),f.deliverMessageAsRawString_?f.result_.push(H):f.result_.push(JSON.parse(H)),B=D)}for(var f=this,h=f.stack_,l=f.stringInputPattern_,
q=d4b,t=a.length,w=0,B=-1,D=0;D<t;)switch(f.streamState_){case 3:return f.error_(a,D),null;case 2:return b()&&f.error_(a,D),null;case 0:if(b()){var J=a[D++];f.pos_++;if("["===J){f.streamState_=1;w=D;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,D)}return null;case 1:return c(),0===f.depth_&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(D)):f.buffer_=-1===B?f.buffer_+a.substring(w):a.substring(B),0<f.result_.length?(J=f.result_,f.result_=[],J):null}return null};var Era=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Era.prototype.getErrorMessage=function(){return this.errorMessage_};Era.prototype.acceptsBinaryInput=function(){return!1};
Era.prototype.parse=function(a){function b(q){f.state_=6;f.errorMessage_="The stream is broken @"+f.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(f.errorMessage_);}function c(){f.jsonStreamParser_=new Fra({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var t=0;t<q.length;t++){var w={};w[1]=q[t];f.result_.push(w)}}function e(q){if(q){(f.statusParsed_||1<q.length)&&b("extra status: "+q);f.statusParsed_=!0;var t={};t[2]=q[0];f.result_.push(t)}}for(var f=
this,h=0;h<a.length;){var l;if(l=2!==f.state_){a:{for(;h<a.length;){if(!DD(a[h])){l=!0;break a}h++;f.streamPos_++}l=!1}l=!l}if(l)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(f.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?f.state_=3:"]"===a[h]?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:l=f.jsonStreamParser_.parse(a.substring(h));d(l);f.jsonStreamParser_.done()?
(f.state_=3,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,f.streamPos_++):"]"===a[h]&&(f.state_=5,h++,f.streamPos_++);break;case 4:l=f.jsonStreamParser_.parse(a.substring(h));e(l);f.jsonStreamParser_.done()?(f.state_=5,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<f.result_.length?(a=f.result_,f.result_=[],a):null};var e4b=function(a){this.xhr_=a;this.parser_=null;this.status_=this.pos_=0;this.hasStreamingResponseData_=!1;this.dataHandler_=this.statusHandler_=this.textDecoder_=null;this.eventHandler_=new es(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};e4b.prototype.getXhr=function(){return this.xhr_};
var ED=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},FD=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};e4b.prototype.getStatus=function(){return this.status_};
e4b.prototype.readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.xhr_)a:{var b=this.xhr_.getReadyState(),c=this.xhr_.getLastErrorCode(),d=this.xhr_.getStatus(),e=this.xhr_.getResponseText();a=[];if(this.xhr_.getResponse()instanceof Array){var f=this.xhr_.getResponse();0<f.length&&f[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=f)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?ED(this,7):7==c?ED(this,8):d||ED(this,3)),this.parser_||(this.parser_=Gra(this.xhr_),
null==this.parser_&&ED(this,5)),2<this.status_)FD(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var l=0;l<h;l++){var q=this.parser_.parse(Array.from(a[l]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Ub");this.textDecoder_=new TextDecoder}for(l=0;l<h;l++)q+=this.textDecoder_.decode(a[l],{stream:4==b&&l==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(w){ED(this,5);
FD(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var t=this.parser_.parse(l);null!=t&&this.dataHandler_&&this.dataHandler_(t)}catch(w){ED(this,5);FD(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?ED(this,2):ED(this,4),FD(this)):ED(this,1)}}}catch(w){ED(this,6),FD(this)}};var f4b=function(a){a=this.xhrReader_=a;var b=fu(this.onData_,this);a.dataHandler_=b;a=this.xhrReader_;b=fu(this.onStatusChange_,this);a.statusHandler_=b;this.callbackMap_={};this.callbackOnceMap_={}};g=f4b.prototype;g.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};g.addListener=function(a,b){this.on(a,b);return this};g.removeListener=function(a,b){var c=this.callbackMap_[a];c&&wa(c,b);(a=this.callbackOnceMap_[a])&&wa(a,b);return this};
g.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};g.onData_=function(a){var b=this.callbackMap_.data;b&&g4b(this,a,b);(b=this.callbackOnceMap_.data)&&g4b(this,a,b);this.callbackOnceMap_.data=[]};
var g4b=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$680:void 0},e++)d.message$jscomp$680=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$680)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};f4b.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:h4b(this,"readable");break;case 5:case 6:case 4:case 7:case 3:h4b(this,"error");break;case 8:h4b(this,"close");break;case 2:h4b(this,"end")}};
var h4b=function(a,b){var c=a.callbackMap_[b];c&&c.forEach(function(d){try{d()}catch(e){a.handleError_("status-callback exception (ignored) "+e)}});(c=a.callbackOnceMap_[b])&&c.forEach(function(d){d()});a.callbackOnceMap_[b]=[]};f4b.prototype.handleError_=function(){};var GD=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||Cp("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||Cp("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},k4b=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return i4b(function(h){return new F3b(function(l,q){var t=
{},w=j4b(a,h,f);w.on("error",function(B){return q(B)});w.on("metadata",function(B){t=B});w.on("data",function(B){var D=h.getMethodDescriptor(),J=t;J=void 0===J?{}:J;l(new A3b(B,D,J))})})},a.unaryInterceptors_).call(a,B3b(e,c,d)).then(function(h){return h.responseMessage_})},bD=function(a,b,c,d,e){return k4b(a,b,c,d,e)};
GD.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return i4b(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),t=l4b(e,!1);q=m4b(e,q,t,f+l.getName());var w=n4b(t,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);t.send(q,"POST",h);return w},this.streamInterceptors_).call(this,B3b(d,b,c))};
var j4b=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=l4b(a,!0);a=m4b(a,e,f,c+d.getName());c=n4b(f,d.responseDeserializeFn,!1);M3b(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},l4b=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new Lq(new lD({worker:a.workerScope_,streamBinaryChunks:b})):new Lq},m4b=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";b["X-User-Agent"]=
"grpc-web-javascript/0.1";var e="Authorization"in b?(e=b.Authorization)?!!{SAPISIDHASH:!0,APISIDHASH:!0}[e.split(" ")[0]]:!1:!1;if(e||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=$3b(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},n4b=function(a,b,c){if(c)if(!bs||10<=Number(mu)){c=new e4b(a);var d=new f4b(c)}else d=null;return new iD({xhr:a,nodeReadableStream:d},b)},i4b=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,
e)}});return c};var o4b=function(a){this.client_=new GD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var p4b=function(a){this.internalArray_=m(a)};Y(p4b,n);p4b.prototype.getUserPrefs=function(){return Gi(this,YC,1)};var q4b=new eD("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",$C,p4b,function(a){return a.serialize()},gc(p4b));var r4b=function(a){this.client_=new GD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};r4b.prototype.getUserPrefs=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},q4b)};new rd("MAT_DATE_RANGE_INPUT_PARENT");var s4b=Bh("transformPanel",[Hh("void => enter-dropdown",Ch("120ms cubic-bezier(0, 0, 0.2, 1)",Gh([Eh({opacity:0,transform:"scale(1, 0.8)"}),Eh({opacity:1,transform:"scale(1, 1)"})]))),Hh("void => enter-dialog",Ch("150ms cubic-bezier(0, 0, 0.2, 1)",Gh([Eh({opacity:0,transform:"scale(0.7)"}),Eh({transform:"none",opacity:1})]))),Hh("* => void",Ch("100ms linear",Eh({opacity:0})))]),t4b=Bh("fadeInCalendar",[Fh("void",Eh({opacity:0})),Fh("enter",Eh({opacity:1})),Hh("void => *",Ch("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var u4b={provide:new rd("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.reposition()}}}),deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},HD=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._globalModel=c;this._dateAdapter=d;this._rangeSelectionStrategy=e;this._subscriptions=new X.Subscription;this._animationDone=new X.Subject;this._isAnimating=!1;this._actionsPortal=
null;this._closeButtonText=f.closeCalendarLabel};g=HD.prototype;g.ngOnInit=function(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"};g.ngAfterViewInit=function(){var a=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){a._changeDetectorRef.markForCheck()}));this._calendar._getCurrentViewComponent()._focusActiveCell(!1)};g.ngOnDestroy=function(){this._subscriptions.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(){this._animationState="void";this._changeDetectorRef.markForCheck()};g._handleAnimationEvent=function(a){(this._isAnimating="start"===a.phaseName)||this._animationDone.next()};
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()};HD.\u0275fac=function(a){return new (a||HD)(C(Wd),C(Pg),C(sz),C($y),C(kXb,8),C(uz))};
HD.\u0275cmp=r({type:HD,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&lg(Fz,5);if(a&2){var c;pg(c=qg())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,b){a&1&&bg("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&($f("@transformPanel",b._animationState),Rf(b.color?"mat-"+b.color:""),Qf("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[yg],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button",
"",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"mat-calendar",1),N("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)}),I(),E(2,Hra,0,0,"ng-template",2),G(3,"button",3),
N("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),S(4),I()());if(a&2){var c;Qf("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);Hf("aria-modal",!0)("aria-labelledby",null!==(c=b._dialogLabelId)&&void 0!==c?c:void 0);A();F("id",b.datepicker.id)("ngClass",b.datepicker.panelClass)("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)("@fadeInCalendar","enter")("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName);A();
F("cdkPortalOutlet",b._actionsPortal);A();Qf("cdk-visually-hidden",!b._closeButtonFocused);F("color",b.color||"primary");A();rg(b._closeButtonText)}},dependencies:[Gx,Fz,Cw,ry,pz],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.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}.ng-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);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.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}@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,data:{animation:[s4b,t4b]},changeDetection:0});var v4b=["button"],w4b=[[["","matDatepickerToggleIcon",""]]],ID=function(){};ID.\u0275fac=function(a){return new (a||ID)};ID.\u0275dir=jd({type:ID,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});var JD=function(a,b,c){this._intl=a;this._changeDetectorRef=b;this._stateChanges=X.Subscription.EMPTY;this.tabIndex=(c=Number(c))||0===c?c:null};g=JD.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:(0,X.of)(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,X.of)(),d=this.datepicker?(0,X.merge)(this.datepicker.openedStream,this.datepicker.closedStream):(0,X.of)();this._stateChanges.unsubscribe();this._stateChanges=(0,X.merge)(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
Ac.Object.defineProperties(JD.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(a){this._disabled=a}}});JD.\u0275fac=function(a){return new (a||JD)(C(uz),C(Pg),Od("tabindex"))};
JD.\u0275cmp=r({type:JD,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&mg(c,ID,5);if(a&2){var d;pg(d=qg())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&lg(v4b,5);if(a&2){var c;pg(c=qg())&&(b._button=c.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,b){a&1&&N("click",function(c){return b._open(c)});a&2&&(Hf("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),Qf("mat-datepicker-toggle-active",b.datepicker&&b.datepicker.opened)("mat-accent",
b.datepicker&&"accent"===b.datepicker.color)("mat-warn",b.datepicker&&"warn"===b.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",Ng],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[Gf,xd,yg],ngContentSelectors:["[matDatepickerToggleIcon]"],decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"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&&(cg(w4b),G(0,"button",1,0),E(2,Ira,2,0,":svg:svg",2),dg(3),I());a&2&&(F("disabled",b.disabled)("disableRipple",b.disableRipple),Hf("aria-haspopup",b.datepicker?"dialog":null)("aria-label",
b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),A(2),Uf(b._customIcon?-1:2))},dependencies:[qz],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0});var KD=function(){};KD.\u0275fac=function(a){return new (a||KD)};KD.\u0275mod=hd({type:KD});KD.\u0275inj=Rc({providers:[uz,u4b],imports:[Qw,rz,Yy,Vx,sy,Zy,HD,JD,Ez,Iy]});var LD=function(){};LD.\u0275fac=function(a){return new (a||LD)};LD.\u0275mod=hd({type:LD});LD.\u0275inj=Rc({providers:[ez],imports:[iB,lB,Zy,iB,lB]});var MD=function(){};MD.\u0275fac=function(a){return new (a||MD)};MD.\u0275mod=hd({type:MD});MD.\u0275inj=Rc({providers:[m3b],imports:[Vx,Qw,Yy,Zy,Zy,Iy]});var ND=function(){};ND.\u0275fac=function(a){return new (a||ND)};ND.\u0275mod=hd({type:ND});ND.\u0275inj=Rc({providers:[{provide:q3b,useFactory:function(a){return new r4b(Jra(a))},deps:[r3b]},{provide:p3b,useFactory:function(a){return new o4b(Jra(a))},deps:[r3b]},aD],imports:[Qw,dD,cD,KD,VA,UC,LD,MC,MD]});var x4b=function(a){this.metricName_="/client_streamz/buganizer/load_time";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};x4b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};x4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var y4b=function(a){this.metricName_="/client_streamz/buganizer/user_action_counts";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};y4b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};y4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var z4b=function(a){this.metricName_="/client_streamz/buganizer/user_latency";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};z4b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};z4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var A4b=function(a){this.servicePromise_=a;a.then(fu(function(){},this),function(){},this)},B4b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Vb`"+b);return e.apply(d,c)})},D4b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=C4b(a,b).then(function(f){return f.apply(null,d)});return new A4b(e)},E4b={},C4b=function(a,b){var c=E4b[b];if(c)return c;c=(c=Cp(b))?dC(c):(new cC(function(d,e){var f=(new PB(document)).createElement("SCRIPT");
f.async=!0;xc(f,zh(gv(a)));f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||d()};f.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=Cp(b);if(!d)throw Error("Wb`"+b+"`"+a);return d});return E4b[b]=c};var F4b={GOOGLE:"https://www.google.com",SUPPORT:"https://support.google.com",PLAY:"https://play.google.com"},H4b=function(){var a=this;this.rsaForList=[];this.rsaForPromises=[];this.initialize=Kra(function(){return me(function(b){if(1==b.nextAddress)return"undefined"===typeof document||void 0===document.requestStorageAccessFor||void 0===navigator.permissions||void 0===navigator.permissions.query||location.hostname.match(".+\\.google\\.com$")?b.return(Promise.resolve()):oe(b,G4b(a),2);0<a.rsaForList.length&&
document.addEventListener("click",a.requestAccessForHelpPanel);se(b)})});this.requestAccessForHelpPanel=function(){if(!(0<a.rsaForPromises.length)){for(var b=k(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()})}}};H4b.prototype.reset=function(){document.removeEventListener("click",this.requestAccessForHelpPanel)};
var G4b=function(a){var b,c,d,e;return me(function(f){1==f.nextAddress&&(b=k(Object.values(F4b)),c=b.next());if(5!=f.nextAddress){if(c.done)return f.jumpTo(0);d=c.value;return oe(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),5)}e=f.yieldResult;"granted"!==e.state&&a.rsaForList.push(d);c=b.next();return f.jumpTo(2)})};(new H4b).initialize();var I4b=function(a){this.loader_=a};I4b.prototype.startFeedback=function(a){B4b(this.loader_,"startFeedback",arguments)};I4b.prototype.requestSurvey=function(a){B4b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};I4b.prototype.presentSurvey=function(a){B4b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var J4b=new fv(ev,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");C4b(J4b,"help.service.Lazy.create").thenCatch(function(){});var Nr=function(a){this.internalArray_=m(a)};Y(Nr,n);Nr.prototype.getRevisionNumber=function(){return fi(this,4)};Nr.prototype.setRevisionNumber=function(a){return gj(this,4,a)};var OD=function(a){this.internalArray_=m(a)};Y(OD,n);OD.prototype.getWorkspaceName=function(){return ec(this,1)};OD.prototype.getRevisionNumber=function(){return fi(this,2,-1)};OD.prototype.setRevisionNumber=function(a){return gj(this,2,a)};var K4b=function(a){this.internalArray_=m(a)};Y(K4b,n);g=K4b.prototype;g.getChangeNumber_asLegacyNumberOrString=function(){return Zi(this,1,-1)};g.setChangeNumber=function(a){return pj(this,1,a)};g.getWorkspaceId=function(){return Gi(this,OD,2)};g.getRevisionNumber=function(){return fi(this,3,-1)};g.setRevisionNumber=function(a){return gj(this,3,a)};var L4b=function(a){this.internalArray_=m(a)};Y(L4b,n);g=L4b.prototype;g.getPort=function(){return ec(this,1)};g.setPort=function(a){return Zh(this,1,a)};g.hasPort=function(){return Ni(this,1)};g.getUser=function(){return ec(this,2)};g.setUser=function(a){return Zh(this,2,a)};g.hasUser=function(){return Ni(this,2)};g.getWorkspaceId=function(){return Gi(this,OD,3)};var M4b=function(a){this.internalArray_=m(a)};Y(M4b,n);g=M4b.prototype;g.getKey=function(){return ec(this,1)};g.hasKey=function(){return Ni(this,1)};g.getValue=function(){return ec(this,2)};g.getValue_legacyNullable=function(){return wj(this,2)};g.setValue=function(a){return Zh(this,2,a)};g.hasValue=function(){return Ni(this,2)};var PD=function(a){this.internalArray_=m(a)};Y(PD,n);PD.prototype.getText=function(){return ec(this,1)};PD.prototype.setText=function(a){return Zh(this,1,a)};PD.prototype.getTagsList=function(a){return Ii(this,M4b,2,hi(a))};PD.repeatedFields_=[2];var N4b=function(a){this.internalArray_=m(a)};Y(N4b,n);var Pr=function(a){this.internalArray_=m(a)};Y(Pr,n);g=Pr.prototype;g.getReadonlySourceFileId=function(){return Eq(this,Nr,1)};g.setSourceFileId=function(a){return hj(this,Nr,1,a)};g.getType=function(){return Gi(this,N4b,3)};g.setType=function(a){return hj(this,N4b,3,a)};g.hasType=function(){return Ui(this,N4b,3)};g.getSize=function(){return Zi(this,5)};g.setSize=function(a){return pj(this,5,a)};g.getChangeId=function(){return Gi(this,K4b,11)};Pr.repeatedFields_=[8];var Or=function(a){this.internalArray_=m(a)};Y(Or,n);Or.prototype.getContent=function(){return kp(this,2)};Or.prototype.setContent=function(a){return lp(this,2,ab(a,!1,!0,!1))};Or.prototype.hasContent=function(){return null!=$q(this,2)};var O4b=function(a){this.internalArray_=m(a)};Y(O4b,n);g=O4b.prototype;g.setBase=function(a){return hj(this,L4b,1,a)};g.getDescription=function(){return Gi(this,PD,2)};g.setDescription=function(a){return hj(this,PD,2,a)};g.hasDescription=function(){return Ui(this,PD,2)};g.setMode=function(a){return jj(this,6,a)};O4b.repeatedFields_=[4];var QD=function(a){this.internalArray_=m(a,500)};Y(QD,n);g=QD.prototype;g.getStatus=function(){return Gi(this,cv,1002)};g.setStatus=function(a){return hj(this,cv,1002,a)};g.hasStatus=function(){return Ui(this,cv,1002)};g.getChangeId=function(){return Gi(this,K4b,1)};g.getWorkspaceId=function(){return Gi(this,OD,2)};g.getToken=function(){return ec(this,3)};g.setToken=function(a){return Zh(this,3,a)};var P4b=function(a){this.internalArray_=m(a)};Y(P4b,n);P4b.prototype.setBase=function(a){return hj(this,L4b,1,a)};var oxb=function(){var a=new P4b;return jj(a,2,0)},nxb=function(a,b){return mm(a,3,b)};P4b.repeatedFields_=[3,4];var Q4b=function(a){this.internalArray_=m(a,500)};Y(Q4b,n);g=Q4b.prototype;g.getStatus=function(){return Gi(this,cv,1002)};g.setStatus=function(a){return hj(this,cv,1002,a)};g.hasStatus=function(){return Ui(this,cv,1002)};g.getReadonlySourceFileId=function(){return Eq(this,Nr,2)};g.setSourceFileId=function(a){return hj(this,Nr,2,a)};g.getContent=function(){return kp(this,3)};g.setContent=function(a){return lp(this,3,ab(a,!1,!0,!1))};g.hasContent=function(){return null!=$q(this,3)};var RD=function(){this.roundCorners=this.showDividers=!1};RD.\u0275fac=function(a){return new (a||RD)};
RD.\u0275cmp=r({type:RD,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Qf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:last-of-type), .show-dividers[_nghost-%COMP%]     :not(:last-child) button.gmat-button{border-right:1px solid #dadce0}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:first-of-type), .show-dividers[_nghost-%COMP%]     :not(:first-child) button.gmat-button{border-left:1px solid #dadce0}[_nghost-%COMP%]    >:not(:last-child){margin-right:0}[_nghost-%COMP%]    >:not(:first-child){margin-left:0}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:focus{z-index:3}/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var R4b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},uxa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},wxa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},dAa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},mAa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},aEa={0:"CATEGORY_UNSPECIFIED",1:"OWNER",
2:"COLLABORATOR",3:"FOLLOWING"},eEa={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"},S4b={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},tya={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},vya={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Jya={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},
Qya={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},T4b={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},xsa={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},Rsa={COMFORTABLE:1,COZY:2,COMPACT:3},Rta={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},ZDa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},bEa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",
3:"COMMENTS_REQUIRE_ATTENTION"},Zxa={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},bya={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Pi={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},kj={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},wsa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Qsa={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},vbb={0:"ISSUE_LABEL_FIELD_UNSPECIFIED",1:"ID",
2:"BLOCKING_ID",3:"BLOCKED_BY_ID",4:"CANONICAL_ID",5:"PARENT_ID",6:"INCOMING_DEPENDENCY_ID",7:"LINKED_ID",8:"HOTLIST_ID",9:"SAVED_SEARCH_ID",10:"COMPONENT_ID",11:"TEAM_ID",12:"REPORTER",13:"ASSIGNEE",14:"CC",15:"VERIFIER",16:"MODIFIER",17:"LAST_MODIFIER",18:"COMMENTER",19:"LAST_COMMENTER",20:"PRIORITY",21:"SEVERITY",22:"TYPE",23:"STATUS",24:"DELETION_REASON",25:"TITLE",26:"COMMENT",27:"ATTACHMENT",28:"CL",29:"POSTMORTEM",30:"FOUND_IN",31:"TARGETED_TO",32:"VERIFIED_IN",33:"CREATED",34:"MODIFIED",35:"RESOLVED",
36:"VERIFIED",37:"DELETION_TIME",38:"IN_PROD",39:"STAR",40:"MUTE",41:"IS_DELETED",42:"CUSTOM_FIELD",43:"DUPLICATE_COUNT",44:"VOTE_COUNT",45:"COMMENT_COUNT",46:"CC_COUNT",47:"ARCHIVED",48:"MIN_SLO_TARGET",49:"EFFORT_LABEL",50:"EFFORT_VALUE",51:"MENTION",52:"VOTE",53:"EFFORT_TOTAL_OPEN",54:"EFFORT_TOTAL_COMPLETE",55:"COLLABORATOR",56:"COLLABORATOR_COUNT",57:"TRACKER_ID",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"},
sza={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},U4b={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},V4b={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},gza={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},W4b={FIELD_STATE_UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},X4b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL:1,EXTERNAL:2},SD={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",
MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Fza={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},Y4b={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},mEa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT"},Oza={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},Z4b={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},Isa={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",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",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"},ata={ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,REPORTER:7,ASSIGNEE:8,VERIFIER:9,CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:32,BLOCKING_ISSUE_ID:12,BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,
RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,CANONICAL_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,MIN_SLO:33,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42,ACCESS_LEVEL:45,DESCENDANT_COUNT:46,OPEN_DESCENDANT_COUNT:47,ONE_DAY_VIEW_COUNT:48,
SEVEN_DAY_VIEW_COUNT:49,THIRTY_DAY_VIEW_COUNT:50},uAa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},TD={ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED:0,CHILD:1,DEPENDENCY:2,LINKED:3},jEa={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"},ubb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},$4b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",
UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Zya={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},aza={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},wbb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},JAb=
{0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},Qta={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},a5b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},om={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},Nya={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},Msa={0:"UNKNOWN_KEY",1:"ASSIGNED_TO_ME",2:"OPEN",3:"FIXED",4:"BROAD_IN_PROGRESS",5:"NEWLY_FILED",6:"RECENTLY_ACTIVE",7:"HIGH_PRIORITY",8:"TRENDING"},Xsa={UNKNOWN_KEY:0,ASSIGNED_TO_ME:1,
OPEN:2,FIXED:3,BROAD_IN_PROGRESS:4,NEWLY_FILED:5,RECENTLY_ACTIVE:6,HIGH_PRIORITY:7,TRENDING:8},b5b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},c5b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},d5b={UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},tDa={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},e5b={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},f5b={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",
NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},g5b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Kya={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},h5b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},Ixa={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",
3:"INDEFINITE_RETENTION"},Kxa={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},Hya={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},Oya={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},Jsa={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",8:"MENTIONED_NEEDS_RESPONSE",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},cta={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,MENTIONED_NEEDS_RESPONSE:8,REPLIED_TO_MENTION:6,
NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},pbb={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"},IAb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Gya={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},Rya={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,
RESPONSE_ETA:3,CLOSURE_ETA:4},rza={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},xya={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Sxa={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"},Uxa={STANDARD_FIELD_UNSPECIFIED:0,REPORTER:1,ASSIGNEE:2,VERIFIER:3,CC:4,
TYPE:5,STATUS:6,PRIORITY:7,SEVERITY:8,CHANGELISTS:9,PENDING_CHANGELISTS:10,POSTMORTEMS:11,FOUND_IN:12,TARGETED_TO:13,VERIFIED_IN:14,IN_PRODUCTION:15,SLO_STATUS:16,TEAM:17,COLLABORATORS:18},nCa={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},Tya={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},Uya={STATE_UNSPECIFIED:0,PENDING:1,MERGED:2},i5b={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"},nm={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"},Mya={STATUS_UNSPECIFIED:0,NEW:1,ASSIGNED:2,ACCEPTED:3,FIXED:4,VERIFIED:5,NOT_REPRODUCIBLE:6,INTENDED_BEHAVIOR:7,OBSOLETE:8,INFEASIBLE:9,DUPLICATE:10},j5b={TASK_RESOURCE_TYPE_UNSPECIFIED:"TASK_RESOURCE_TYPE_UNSPECIFIED",CHANGELIST:"CHANGELIST",
DRIVE:"DRIVE",ISSUE:"ISSUE",LAUNCH:"LAUNCH",GERRIT:"GERRIT"},Ksa={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE",7:"GERRIT"},dta={UNKNOWN_SOURCE:0,WTDM:1,NON_WTDM:2,CRITIQUE:3,DRIVE:4,BUGANIZER:5,ARIANE:6,GERRIT:7},nsa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},Abb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},Yxa={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},
aya={TYPE_UNSPECIFIED:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},$za={TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PORTFOLIO:8,PROGRAM:9,PROJECT:10,FEATURE:11,MILESTONE:12,EPIC:13,STORY:14,TASK:15},k5b={USER_ACTIVITY_TYPE_UNDEFINED:0,VIEW:1,RELOAD:2,EDIT:3,MARK_AS_READ_OR_UNREAD:4},Owa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Qwa={UNSPECIFIED:0,ACTIVE:1,
DELETED:2,UNAVAILABLE:3},oCa={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},rbb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"};var El=function(a){this.internalArray_=m(a)};Y(El,n);El.prototype.getStatus=function(){return Qi(this,1,0)};El.prototype.setStatus=function(a){return zl(this,1,a)};El.prototype.getReason=function(){return Qi(this,2,0)};El.prototype.setReason=function(a){return zl(this,2,a)};var rm=function(a){this.internalArray_=m(a)};Y(rm,n);var hm=function(a){this.internalArray_=m(a)};Y(hm,n);g=hm.prototype;g.getStartTime=function(){return Gi(this,aj,1)};g.getObjective=function(){return Gi(this,nl,4)};g.setObjective=function(a){return hj(this,nl,4,a)};g.getBusinessDays=function(){return fi(this,5)};g.setBusinessDays=function(a){return kl(this,5,a)};g.getDayType=function(){return Qi(this,6,0)};g.setDayType=function(a){return zl(this,6,a)};var ym=function(a){this.internalArray_=m(a)};Y(ym,n);var Am=function(a){this.internalArray_=m(a)};Y(Am,n);Am.prototype.getSourceIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,1,hi())};Am.prototype.setSourceIssueIdsList=function(a){return Do(this,1,a)};Am.repeatedFields_=[1];var um=function(a){this.internalArray_=m(a)};Y(um,n);var Pxa=function(a){this.internalArray_=m(a)};Y(Pxa,n);var yxa=function(a){this.internalArray_=m(a)};Y(yxa,n);yxa.prototype.getSeverity=function(){return Qi(this,1,0)};yxa.prototype.setSeverity=function(a){zl(this,1,a)};var l5b=function(a){this.internalArray_=m(a)};Y(l5b,n);var zm=function(a){this.internalArray_=m(a)};Y(zm,n);zm.prototype.getRetentionPeriod=function(){return Gi(this,nl,1)};var Cl=function(a){this.internalArray_=m(a)};Y(Cl,n);g=Cl.prototype;g.getAttachmentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setAttachmentId=function(a){return xl(this,1,a)};g.getFilename=function(){return ec(this,4)};g.setFilename=function(a){yl(this,4,a)};g.getEntityStatus=function(){return Gi(this,El,6)};g.setEntityStatus=function(a){return hj(this,El,6,a)};g.getEtag=function(){return kp(this,7)};g.setEtag=function(a){Dl(this,7,a)};
g.getContentVerdict=function(){return Gi(this,l5b,10)};g.getRestrictedRetentionState=function(){return Gi(this,zm,11)};g.getRestrictedRetention=function(){return Qi(this,12,0)};g.setRestrictedRetention=function(a){return zl(this,12,a)};var Ol=function(a){this.internalArray_=m(a)};Y(Ol,n);Ol.prototype.getValuesList=function(a){return Ii(this,jl,1,hi(a))};Ol.prototype.setValuesList=function(a){return mm(this,1,a)};Ol.prototype.setValues=function(a,b){wu(this,1,jl,a,b)};Ol.repeatedFields_=[1];var Nl=function(a){this.internalArray_=m(a)};Y(Nl,n);Nl.prototype.getValuesList=function(a){return rRb(this,1,hi(a))};Nl.prototype.setValuesList=function(a){return Pb(this,1,a,uba)};Nl.prototype.getValues=function(a){var b=rRb(this,1,3,void 0,!0);eb(b,a);return b[a]};Nl.prototype.setValues=function(a,b){Vb(this,1,uba,a,b,rRb)};Nl.repeatedFields_=[1];var Ml=function(a){this.internalArray_=m(a)};Y(Ml,n);Ml.prototype.getValuesList=function(a){return gi(this,1,hi(a))};Ml.prototype.setValuesList=function(a){return rj(this,1,a)};Ml.prototype.getValues=function(a){return Gu(this,1,a)};Ml.prototype.setValues=function(a,b){Vb(this,1,sb,a,b,gi)};Ml.repeatedFields_=[1];var vj=function(a){this.internalArray_=m(a)};Y(vj,n);var Pl=function(a){this.internalArray_=m(a)};Y(Pl,n);g=Pl.prototype;g.getValueCase=function(){return tm(this,Jl)};g.getCustomFieldId=function(){return Zi(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getCustomFieldId_asString=function(){return Eu(this,1)};g.setCustomFieldId=function(a){return xl(this,1,a)};g.getDateValue=function(){return Ll(this,jl,3,Jl)};g.getDisplayString=function(){return ec(this,10)};Pl.repeatedFields_=[11];var Jl=[2,3,4,5,6,7,8,9];var Tl=function(a){this.internalArray_=m(a)};Y(Tl,n);g=Tl.prototype;g.getCustomFieldId=function(){return Zi(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getCustomFieldId_asString=function(){return Eu(this,1)};g.setCustomFieldId=function(a){return xl(this,1,a)};g.getComponentId=function(){return Zi(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getComponentId_asString=function(){return Eu(this,2)};
g.setComponentId=function(a){return xl(this,2,a)};g.getType=function(){return Qi(this,3,0)};g.setType=function(a){return zl(this,3,a)};g.getName=function(){return ec(this,5)};g.setName=function(a){return yl(this,5,a)};g.getDescription=function(){return ec(this,6)};g.setDescription=function(a){return yl(this,6,a)};g.getEnumValues=function(a){return Gu(this,8,a)};g.setFieldSignificance=function(a){return zl(this,9,a)};g.getShared=function(){return Li(this,11)};g.setShared=function(a){Ul(this,11,a)};
Tl.repeatedFields_=[8];var Hl=function(a){this.internalArray_=m(a)};Y(Hl,n);g=Hl.prototype;g.getCustomFieldId=function(){return Zi(this,Fl(this,Gl,1))};g.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,Fl(this,Gl,1))};g.getCustomFieldId_asString=function(){return Eu(this,Fl(this,Gl,1))};g.setCustomFieldId=function(a){return Il(this,1,Gl,qb(a))};g.hasCustomFieldId=function(){return null!=Au(this,Fl(this,Gl,1))};var Gl=[1,2];var xi=function(a){this.internalArray_=m(a)};Y(xi,n);g=xi.prototype;g.getEmailAddress=function(){return ec(this,1)};g.setEmailAddress=function(a){return yl(this,1,a)};g.getObfuscatedEmailAddress=function(){return ec(this,2)};g.setObfuscatedEmailAddress=function(a){yl(this,2,a)};g.getUserGaiaStatus=function(){return Qi(this,3,0)};g.setUserGaiaStatus=function(a){zl(this,3,a)};g.getAliasesList=function(a){return gi(this,4,hi(a))};g.setAliasesList=function(a){rj(this,4,a)};xi.repeatedFields_=[4];var fm=function(a){this.internalArray_=m(a)};Y(fm,n);fm.prototype.getCount=function(){return Zi(this,2)};fm.prototype.setCount=function(a){return xl(this,2,a)};fm.prototype.getType=function(){return Qi(this,4,0)};fm.prototype.setType=function(a){return zl(this,4,a)};fm.repeatedFields_=[3];var Yl=function(a){this.internalArray_=m(a)};Y(Yl,n);Yl.repeatedFields_=[2];var dm=function(a){this.internalArray_=m(a)};Y(dm,n);dm.prototype.getContent=function(){return Gi(this,vj,1)};dm.prototype.setContent=function(a){return hj(this,vj,1,a)};dm.prototype.hasContent=function(){return Ui(this,vj,1)};var cm=function(a){this.internalArray_=m(a)};Y(cm,n);cm.prototype.getContent=function(){return Gi(this,vj,1)};cm.prototype.setContent=function(a){return hj(this,vj,1,a)};cm.prototype.hasContent=function(){return Ui(this,vj,1)};var bm=function(a){this.internalArray_=m(a)};Y(bm,n);bm.prototype.getContent=function(){return Gi(this,vj,2)};bm.prototype.setContent=function(a){return hj(this,vj,2,a)};bm.prototype.hasContent=function(){return Ui(this,vj,2)};var $l=function(a){this.internalArray_=m(a)};Y($l,n);$l.repeatedFields_=[1];var km=function(a){this.internalArray_=m(a)};Y(km,n);km.prototype.getKindCase=function(){return tm(this,am)};var am=[1,2,3];var UD=function(a){this.internalArray_=m(a)};Y(UD,n);UD.prototype.getState=function(){return Qi(this,2,0)};UD.prototype.setState=function(a){return zl(this,2,a)};UD.repeatedFields_=[3];var fn=function(a){this.internalArray_=m(a)};Y(fn,n);g=fn.prototype;g.getIssueId=function(){return Zi(this,6)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,6)};g.getIssueId_asString=function(){return Eu(this,6)};g.setIssueId=function(a){return xl(this,6,a)};g.getCommentNumber=function(){return fi(this,7)};g.setCommentNumber=function(a){return kl(this,7,a)};g.getComment=function(){return ec(this,1)};g.setComment=function(a){return yl(this,1,a)};
g.getFormattedComment=function(){return Gi(this,km,16)};g.hasFormattedComment=function(){return Ui(this,km,16)};g.getMentionsList=function(a){return Ii(this,UD,14,hi(a))};g.getFormattingMode=function(){return Qi(this,9,0)};g.setFormattingMode=function(a){return zl(this,9,a)};g.getAttachmentsList=function(){return Ii(this,Cl,2,hi())};g.setAttachmentsList=function(a){return mm(this,2,a)};g.addAllAttachments=function(a){yu(this,2,Cl,a)};g.getModifiedTime=function(){return Gi(this,aj,4)};
g.setModifiedTime=function(a){return hj(this,aj,4,a)};g.getEntityStatus=function(){return Gi(this,El,5)};g.setEntityStatus=function(a){return hj(this,El,5,a)};g.getVersion=function(){return fi(this,8)};g.setVersion=function(a){return kl(this,8,a)};g.getContentVerdict=function(){return Gi(this,l5b,10)};g.getRestrictedRetentionState=function(){return Gi(this,zm,11)};g.getRestrictedRetention=function(){return Qi(this,12,0)};g.setRestrictedRetention=function(a){return zl(this,12,a)};
g.getEtag=function(){return kp(this,15)};g.setEtag=function(a){Dl(this,15,a)};fn.repeatedFields_=[14,2];var pm=function(a){this.internalArray_=m(a)};Y(pm,n);pm.prototype.getChangeNumber_asLegacyNumberOrString=function(){return Zi(this,3)};pm.prototype.setChangeNumber=function(a){return xl(this,3,a)};pm.prototype.getState=function(){return Qi(this,4,0)};pm.prototype.setState=function(a){return zl(this,4,a)};var ul=function(a){this.internalArray_=m(a)};Y(ul,n);ul.prototype.getAccessLevel=function(){return Qi(this,1,0)};ul.prototype.setAccessLevel=function(a){return zl(this,1,a)};var qm=function(a){this.internalArray_=m(a)};Y(qm,n);g=qm.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return xl(this,1,a)};g.getType=function(){return Qi(this,2,0)};g.setType=function(a){return zl(this,2,a)};g.getStatus=function(){return Qi(this,3,0)};g.setStatus=function(a){return zl(this,3,a)};
g.getPriority=function(){return Qi(this,4,0)};g.setPriority=function(a){return zl(this,4,a)};g.getSeverity=function(){return Qi(this,5,0)};g.setSeverity=function(a){zl(this,5,a)};g.getTitle=function(){return ec(this,6)};g.setTitle=function(a){return yl(this,6,a)};g.getReporter=function(){return Gi(this,xi,7)};g.setReporter=function(a){hj(this,xi,7,a)};g.getAssignee=function(){return Gi(this,xi,8)};g.setAssignee=function(a){hj(this,xi,8,a)};g.clearAssignee=function(){return lp(this,8)};
g.getVerifier=function(){return Gi(this,xi,9)};g.setVerifier=function(a){hj(this,xi,9,a)};g.clearVerifier=function(){return lp(this,9)};g.getCcsList=function(){return Ii(this,xi,10,hi())};g.setCcsList=function(a){mm(this,10,a)};g.addAllCcs=function(a){yu(this,10,xi,a)};g.getCollaboratorsList=function(){return Ii(this,xi,31,hi())};g.setCollaboratorsList=function(a){mm(this,31,a)};g.addAllCollaborators=function(a){yu(this,31,xi,a)};g.setCollaborators=function(a){wu(this,31,xi,a)};
g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Zi(this,11)};g.setCanonicalIssueId=function(a){xl(this,11,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,12,hi())};g.setBlockedByIssueIdsList=function(a){Do(this,12,a)};g.addAllBlockedByIssueIds=function(a){Tb(this,12,pb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,13,hi())};g.setBlockingIssueIdsList=function(a){Do(this,13,a)};
g.addAllBlockingIssueIds=function(a){Tb(this,13,pb,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return Fi(this,14,hi(a))};g.setHotlistIdsList=function(a){Do(this,14,a)};g.addHotlistIds=function(a,b){return Ub(this,14,pb,a,b)};g.addAllHotlistIds=function(a){Tb(this,14,pb,a)};g.getCustomFieldsList=function(){return Ii(this,Pl,15,hi())};g.setCustomFieldsList=function(a){return mm(this,15,a)};g.addCustomFields=function(a){Wq(this,15,Pl,a)};
g.getCodeChangesList=function(a){return gi(this,16,hi(a))};g.setCodeChangesList=function(a){rj(this,16,a)};g.addAllCodeChanges=function(a){Tb(this,16,sb,a)};g.getInProd=function(){return Li(this,20)};g.setInProd=function(a){Ul(this,20,a)};g.getIsArchived=function(){return Li(this,21)};g.setIsArchived=function(a){return Ul(this,21,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,22,hi())};g.setDuplicateIssueIdsList=function(a){Do(this,22,a)};
g.getIsDeleted=function(){return Li(this,23)};g.setIsDeleted=function(a){Ul(this,23,a)};g.setDeletionReason=function(a){zl(this,24,a)};g.getEntityStatus=function(){return Gi(this,El,25)};g.setEntityStatus=function(a){return hj(this,El,25,a)};g.getSloSnoozeUntil=function(){return Gi(this,aj,26)};g.setSloSnoozeUntil=function(a){hj(this,aj,26,a)};g.getSloEndTime=function(){return Gi(this,aj,34)};g.setSloEndTime=function(a){hj(this,aj,34,a)};g.hasSloEndTime=function(){return Ui(this,aj,34)};
g.setSloSnoozeType=function(a){zl(this,30,a)};g.getRetention=function(){return Qi(this,28,0)};g.setRetention=function(a){return zl(this,28,a)};g.getEffort=function(){return Gi(this,rm,29)};g.setEffort=function(a){hj(this,rm,29,a)};g.hasEffort=function(){return Ui(this,rm,29)};g.getAccessLimit=function(){return Gi(this,ul,32)};g.setAccessLimit=function(a){return hj(this,ul,32,a)};qm.repeatedFields_=[10,31,12,13,14,15,16,35,17,18,19,22,27];var xm=function(a){this.internalArray_=m(a)};Y(xm,n);xm.prototype.setNotificationSubscription=function(a){return zl(this,4,a)};xm.repeatedFields_=[3];var Xya=function(a){this.internalArray_=m(a)};Y(Xya,n);var Wya=function(a){this.internalArray_=m(a)};Y(Wya,n);g=Wya.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return pj(this,1,a)};g.getCommentNumber=function(){return fi(this,2)};g.setCommentNumber=function(a){return gj(this,2,a)};var $ya=function(a){this.internalArray_=m(a)};Y($ya,n);var Vya=[1,2];var lm=function(a){this.internalArray_=m(a)};Y(lm,n);g=lm.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getFormattingMode=function(){return Qi(this,4,0)};g.setFormattingMode=function(a){return zl(this,4,a)};g.getAuthor=function(){return Gi(this,xi,5)};g.setAuthor=function(a){hj(this,xi,5,a)};
g.hasAuthor=function(){return Ui(this,xi,5)};g.getUpdateTime=function(){return Gi(this,aj,6)};g.setUpdateTime=function(a){hj(this,aj,6,a)};g.hasUpdateTime=function(){return Ui(this,aj,6)};g.getVersion=function(){return fi(this,7)};g.setVersion=function(a){return kl(this,7,a)};g.getEntityStatus=function(){return Gi(this,El,8)};g.setEntityStatus=function(a){return hj(this,El,8,a)};var wm=function(a){this.internalArray_=m(a)};Y(wm,n);g=wm.prototype;g.getIssueId=function(){return Zi(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getIssueId_asString=function(){return Eu(this,2)};g.setIssueId=function(a){return xl(this,2,a)};g.getIssueState=function(){return Gi(this,qm,3)};g.setIssueState=function(a){return hj(this,qm,3,a)};g.getIssueComment=function(){return Gi(this,fn,4)};g.setIssueComment=function(a){hj(this,fn,4,a)};
g.hasIssueComment=function(){return Ui(this,fn,4)};g.getAttachmentsList=function(){return Ii(this,Cl,18,hi())};g.setAttachmentsList=function(a){return mm(this,18,a)};g.addAllAttachments=function(a){yu(this,18,Cl,a)};g.getDescription=function(){return Gi(this,fn,44)};g.setDescription=function(a){return hj(this,fn,44,a)};g.hasDescription=function(){return Ui(this,fn,44)};g.getStatusUpdate=function(){return Gi(this,lm,43)};g.setStatusUpdate=function(a){hj(this,lm,43,a)};
g.hasStatusUpdate=function(){return Ui(this,lm,43)};g.getCreatedTime=function(){return Gi(this,aj,5)};g.setCreatedTime=function(a){return hj(this,aj,5,a)};g.getModifiedTime=function(){return Gi(this,aj,6)};g.setModifiedTime=function(a){return hj(this,aj,6,a)};g.getMajorModifiedTime=function(){return Gi(this,aj,35)};g.setMajorModifiedTime=function(a){return hj(this,aj,35,a)};g.getResolvedTime=function(){return Gi(this,aj,7)};g.setResolvedTime=function(a){return hj(this,aj,7,a)};
g.getVerifiedTime=function(){return Gi(this,aj,8)};g.setVerifiedTime=function(a){return hj(this,aj,8,a)};g.getUserData=function(){return Gi(this,xm,9)};g.setUserData=function(a){hj(this,xm,9,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,37,hi())};g.setParentIssueIdsList=function(a){return Do(this,37,a)};g.getAccessLimit=function(){return Gi(this,vl,11)};g.setAccessLimit=function(a){return hj(this,vl,11,a)};g.getVersion=function(){return fi(this,12)};
g.setVersion=function(a){return kl(this,12,a)};g.getEtag=function(){return kp(this,13)};g.setEtag=function(a){Dl(this,13,a)};g.getCustomFieldsList=function(){return Ii(this,Tl,15,hi())};g.setCustomFieldsList=function(a){return mm(this,15,a)};g.addCustomFields=function(a){Wq(this,15,Tl,a)};g.getSloStatus=function(){return Gi(this,ym,16)};g.setSloStatus=function(a){hj(this,ym,16,a)};g.hasSloStatus=function(){return Ui(this,ym,16)};g.getSloId_asLegacyNumberOrString=function(){return Zi(this,17)};
g.setSloId=function(a){return xl(this,17,a)};g.getTeamId_asLegacyNumberOrString=function(){return Zi(this,33)};g.setTeamId=function(a){return xl(this,33,a)};g.getRetentionState=function(){return Gi(this,zm,29)};g.setRetentionState=function(a){hj(this,zm,29,a)};g.getAncestorsMap=function(){return Ob(this,38,Am,Vba)};g.getIsArchived=function(){return Li(this,40)};g.setIsArchived=function(a){return Ul(this,40,a)};g.getTrackerId=function(){return Zi(this,42)};
g.getTrackerId_asLegacyNumberOrString=function(){return Zi(this,42)};g.getTrackerId_asString=function(){return Eu(this,42)};g.setTrackerId=function(a){xl(this,42,a)};wm.repeatedFields_=[18,37,31,15,34,41];var zBa=new Map([[1,"Bug"],[3,"Customer Issue"],[13,"Epic"],[11,"Feature"],[2,"Feature Request"],[4,"Internal Cleanup"],[12,"Milestone"],[7,"Privacy Issue"],[5,"Process"],[10,"Project"],[14,"Story"],[15,"Task"],[0,"Unspecified"],[6,"Vulnerability"]]),On=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress (Accepted)"],[4,"Fixed"],[5,"Fixed (Verified)"],[6,"Won't fix (Not reproducible)"],[7,"Won't fix (Intended behavior)"],[8,"Won't fix (Obsolete)"],[9,"Won't fix (Infeasible)"],[10,"Duplicate"],[0,""]]),
VD=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress"],[4,"Fixed"],[5,"Verified"],[6,"Can't Repro"],[7,"WAI"],[8,"Obsolete"],[9,"Infeasible"],[10,"Duplicate"],[0,""]]);var WD={},m5b=(WD.STATUS_UNSPECIFIED=VD.get(0),WD.NEW=VD.get(1),WD.ASSIGNED=VD.get(2),WD.ACCEPTED=VD.get(3),WD.FIXED=VD.get(4),WD.VERIFIED=VD.get(5),WD.DUPLICATE=VD.get(10),WD.INFEASIBLE=VD.get(9),WD.NOT_REPRODUCIBLE=VD.get(6),WD.OBSOLETE=VD.get(8),WD.INTENDED_BEHAVIOR=VD.get(7),WD),n5b={New:1,Assigned:2,"In Progress (Accepted)":3,Fixed:4,Verified:5},XD={},WCa=(XD.STATUS_UNSPECIFIED=0,XD.NEW=10,XD.ASSIGNED=20,XD.ACCEPTED=30,XD.FIXED=40,XD.VERIFIED=50,XD.DUPLICATE=60,XD.INFEASIBLE=70,XD.NOT_REPRODUCIBLE=
80,XD.OBSOLETE=90,XD.INTENDED_BEHAVIOR=100,XD),YD={},o5b=(YD.ASSIGNED=!0,YD.ACCEPTED=!0,YD.FIXED=!0,YD.VERIFIED=!0,YD.DUPLICATE=!0,YD.INFEASIBLE=!0,YD.NOT_REPRODUCIBLE=!0,YD.OBSOLETE=!0,YD.INTENDED_BEHAVIOR=!0,YD),ZD={},Tk=(ZD.STATUS_UNSPECIFIED=On.get(0),ZD.NEW=On.get(1),ZD.ASSIGNED=On.get(2),ZD.ACCEPTED=On.get(3),ZD.FIXED=On.get(4),ZD.VERIFIED=On.get(5),ZD.DUPLICATE=On.get(10),ZD.INFEASIBLE=On.get(9),ZD.NOT_REPRODUCIBLE=On.get(6),ZD.OBSOLETE=On.get(8),ZD.INTENDED_BEHAVIOR=On.get(7),ZD),$D={},p5b=
($D.P0="P0",$D.P1="P1",$D.P2="P2",$D.P3="P3",$D.P4="P4",$D.PRIORITY_UNSPECIFIED="--",$D),aE={},dDa=(aE.P0=0,aE.P1=10,aE.P2=20,aE.P3=30,aE.P4=40,aE.PRIORITY_UNSPECIFIED=99,aE),bE={},q5b=(bE.S0="S0",bE.S1="S1",bE.S2="S2",bE.S3="S3",bE.S4="S4",bE.SEVERITY_UNSPECIFIED="--",bE),cE={},r5b=(cE.STATUS_UNSPECIFIED="issue-status-wont-fix",cE.NEW="issue-status-new",cE.ASSIGNED="issue-status-assigned",cE.ACCEPTED="issue-status-accepted",cE.FIXED="issue-status-fixed",cE.VERIFIED="issue-status-verified",cE.DUPLICATE=
"issue-status-duplicate",cE.INFEASIBLE="issue-status-wont-fix",cE.NOT_REPRODUCIBLE="issue-status-wont-fix",cE.OBSOLETE="issue-status-wont-fix",cE.INTENDED_BEHAVIOR="issue-status-wont-fix",cE);var Ura=Object.prototype.hasOwnProperty;var s5b={SINGLE_VALUE:"SINGLE_VALUE",COLLECTION:"COLLECTION",USER_COLLECTION:"USER_COLLECTION",LINKED_COLLECTION:"LINKED_COLLECTION",CUSTOM_FIELD:"CUSTOM_FIELD",STATUS_UPDATE:"STATUS_UPDATE"},PAb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),t5b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var Hi=function(a){this.internalArray_=m(a)};Y(Hi,n);Hi.prototype.getLogoUrl=function(){return ec(this,1)};Hi.prototype.getTheme=function(){return Qi(this,2,0)};Hi.prototype.setTheme=function(a){return zl(this,2,a)};var dE=function(a){this.internalArray_=m(a)};Y(dE,n);g=dE.prototype;g.getTrackerId=function(){return Zi(this,1)};g.getTrackerId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getTrackerId_asString=function(){return Eu(this,1)};g.setTrackerId=function(a){xl(this,1,a)};g.getComponentId=function(){return Zi(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getComponentId_asString=function(){return Eu(this,2)};g.setComponentId=function(a){return xl(this,2,a)};
g.getName=function(){return ec(this,3)};g.setName=function(a){return yl(this,3,a)};g.getInternalBaseUrl=function(){return ec(this,8)};g.getExternalBaseUrl=function(){return ec(this,9)};g.getEtag=function(){return kp(this,7)};g.setEtag=function(a){Dl(this,7,a)};dE.repeatedFields_=[4,10,12];var Ij=function(a){this.internalArray_=m(a,0,Ij.messageId)};Y(Ij,n);Ij.prototype.getIt=function(){return Gi(this,dE,9)};Ij.prototype.setIt=function(a){return hj(this,dE,9,a)};Ij.prototype.hasIt=function(){return Ui(this,dE,9)};Ij.messageId="b.Tracker";var rsa={COMMENT_FORMATTING_MODE_UNSPECIFIED:0,PLAIN_FORMATTING_MODE:1,MARKDOWN_FORMATTING_MODE:2,LITERAL_FORMATTING_MODE:3,0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},u5b={},v5b=(u5b[3]="LITERAL_FORMATTING_MODE",u5b[1]="PLAIN_FORMATTING_MODE",u5b[2]="MARKDOWN_FORMATTING_MODE",u5b),w5b=v5b[2],x5b=v5b[1],eE={showFullHistory:void 0,useCodefont:void 0,resultsPerPage:void 0,displayColumns:void 0,sortColumns:void 0,notificationPreferences:{reportedPriority:"IMPORTANT",
assignedPriority:"ALL",verifiedPriority:"IMPORTANT",ccdPriority:"IMPORTANT",collaboratorPriority:"IMPORTANT",starredPriority:"IMPORTANT",excludeChangesByMe:!0,unsubscribeFromAll:!1,enableV2Prefs:!1},listViewPreferences:{showHotlists:!1,wrapTitles:!1,wrapComponents:!1,showStatusIcons:!1,rtlComponentPath:!1},layoutPreferences:{leftSidebarWidth:220,expandIssueSlo:!1},dateTimePreferences:{calendarFormat:"MMM d, yyyy",timeFormat:"hh:mma",timeZone:"",sloEtaViewAs:"DEFAULT"},themePreferences:{density:"COMFORTABLE"},
homepagePreferences:{resourceType:void 0,resourceId:void 0},keyboardPreferences:{enableAllHotkeys:!0},textDisplayPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,commentFilterPreferences:{commentFilter:void 0},showInlineImages:!0,needsAttentionPreferences:{selectedSignals:"NEAR_SLO MENTIONED MENTIONED_NEEDS_RESPONSE UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},
missionControlPreferences:{}};var Wi=function(a){this.internalArray_=m(a)};Y(Wi,n);var bj=function(a){this.internalArray_=m(a)};Y(bj,n);var tj=function(a){this.internalArray_=m(a)};Y(tj,n);g=tj.prototype;g.getType=function(){return Qi(this,1,1)};g.setType=function(a){return jj(this,1,a)};g.hasType=function(){return Oi(this,1)};g.getCustomFieldId=function(){return Zi(this,2)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getCustomFieldId_asString=function(){return Eu(this,2)};g.setCustomFieldId=function(a){return pj(this,2,a)};g.hasCustomFieldId=function(){return Yi(this,2)};var mj=function(a){this.internalArray_=m(a)};Y(mj,n);mj.prototype.getTimeZone=function(){return ec(this,5)};mj.prototype.setTimeZone=function(a){return Zh(this,5,a)};mj.prototype.hasTimeZone=function(){return Ni(this,5)};var sj=function(a){this.internalArray_=m(a)};Y(sj,n);sj.prototype.getColumnList=function(){return Ii(this,tj,1,hi())};sj.prototype.setColumnList=function(a){return mm(this,1,a)};sj.prototype.setColumn=function(a){return wu(this,1,tj,a)};sj.repeatedFields_=[1];var Psa=function(a){this.internalArray_=m(a)};Y(Psa,n);var vsa=function(a){this.internalArray_=m(a)};Y(vsa,n);var uj=function(a){this.internalArray_=m(a)};Y(uj,n);uj.prototype.getColumn=function(){return Gi(this,tj,1)};uj.prototype.setColumn=function(a){return hj(this,tj,1,a)};var ij=function(a){this.internalArray_=m(a)};Y(ij,n);ij.prototype.getColumnList=function(){return Ii(this,uj,1,hi())};ij.prototype.setColumnList=function(a){return mm(this,1,a)};ij.prototype.setColumn=function(a){return wu(this,1,uj,a)};ij.repeatedFields_=[1];var Ri=function(a){this.internalArray_=m(a)};Y(Ri,n);Ri.prototype.getDensity=function(){return Qi(this,1,1)};Ri.prototype.setDensity=function(a){return jj(this,1,a)};var Xi=function(a){this.internalArray_=m(a)};Y(Xi,n);var nj=function(a){this.internalArray_=m(a)};Y(nj,n);g=nj.prototype;g.getResourceType=function(){return Qi(this,1,1)};g.setResourceType=function(a){jj(this,1,a)};g.hasResourceType=function(){return Oi(this,1)};g.getResourceId=function(){return Du(this,2)};g.getResourceId_asString=function(){return Ti(this,2)};g.setResourceId=function(a){oj(this,2,a)};g.hasResourceId=function(){return null!=Si(this,2)};var zsa=function(a){this.internalArray_=m(a)};Y(zsa,n);var dj=function(a){this.internalArray_=m(a)};Y(dj,n);dj.prototype.getCollapsedMap=function(){return Mb(this,2,Tba)};dj.prototype.getMyTasksSources=function(){return vRb(this,8)};dj.repeatedFields_=[1,7,8];var cj=function(a){this.internalArray_=m(a)};Y(cj,n);cj.repeatedFields_=[1];var usa=function(a){this.internalArray_=m(a)};Y(usa,n);var Bsa=function(a){this.internalArray_=m(a)};Y(Bsa,n);g=Bsa.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return pj(this,1,a)};g.hasComponentId=function(){return Yi(this,1)};var $i=function(a){this.internalArray_=m(a)};Y($i,n);var bta=function(a,b){mm(a,1,b)};$i.repeatedFields_=[1];var Vi=function(a){this.internalArray_=m(a)};Y(Vi,n);var fj=function(a){this.internalArray_=m(a,500)};Y(fj,n);g=fj.prototype;g.getDisplayColumns=function(){return Gi(this,sj,4)};g.setDisplayColumns=function(a){hj(this,sj,4,a)};g.getSortColumns=function(){return Gi(this,ij,6)};g.getLayoutPreferences=function(){return Gi(this,Psa,10)};g.getDateTimePreferences=function(){return Gi(this,mj,11)};g.getHomepagePreferences=function(){return Gi(this,nj,13)};g.getCollapsedMap=function(){return Mb(this,27,Tba)};
g.getShowInlineImages=function(){return Li(this,29)};var Cj=function(a){this.internalArray_=m(a)};Y(Cj,n);g=Cj.prototype;g.getAnalyticsId=function(){return ec(this,1)};g.getAppName=function(){return ec(this,2)};g.getDocumentationBaseUrl=function(){return ec(this,3)};g.getEnvironmentType=function(){return ec(this,5)};g.getOnePickUrl=function(){return ec(this,7)};g.getOnePickSecretToken=function(){return ec(this,12)};g.getCommentNumberLimit=function(){return fi(this,8)};g.getCreateComponentRedirectDelay=function(){return Kl(this,9)};
g.getCreateRestrictedSubresourcesComponentIds=function(){return uRb(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return uRb(this,20)};g.getHelpMeFixSidebarComponentAllowlist=function(){return uRb(this,23)};g.getInternalBaseUrl=function(){return ec(this,24)};g.getExternalBaseUrl=function(){return ec(this,25)};Cj.repeatedFields_=[10,13,20,21,22,23];var Ej=function(a){this.internalArray_=m(a)};Y(Ej,n);g=Ej.prototype;g.getEmail=function(){return ec(this,1)};g.setEmail=function(a){return Zh(this,1,a)};g.hasEmail=function(){return Ni(this,1)};g.getSessionIdentifier=function(){return ec(this,3)};g.getUserTypeLabel=function(){return ec(this,5)};var Gj=function(a){this.internalArray_=m(a,0,Gj.messageId)};Y(Gj,n);Gj.prototype.getId=function(){return ec(this,1)};Gj.prototype.setId=function(a){return Zh(this,1,a)};Gj.repeatedFields_=[2,4];Gj.messageId="b.TimeZoneData";var Hj=function(a){this.internalArray_=m(a,0,Hj.messageId)};Y(Hj,n);g=Hj.prototype;g.getMessage=function(){return ec(this,1)};g.setMessage=function(a){return Zh(this,1,a)};g.getMessageId=function(){return ec(this,2)};g.getTagsList=function(a){return gi(this,4,hi(a))};g.getTags=function(a){return Gu(this,4,a)};Hj.repeatedFields_=[4];Hj.messageId="b.Announcement";var Dj=function(a){this.internalArray_=m(a)};Y(Dj,n);Dj.prototype.getAnnouncement=function(){return Gi(this,Hj,2)};Dj.repeatedFields_=[1];var y5b={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},yj=y5b;try{yj=window.localStorage||y5b}catch(a){}
var z5b=function(a){return function(){var b=yj.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},kta=function(a){return function(){var b=yj.getItem(a);if(null!=b)return String(b)}},A5b=function(a){return function(b){null==b?yj.removeItem(a):yj.setItem(a,String(b))}},B5b=function(a){return function(b){null==b?yj.removeItem(a):yj.setItem(a,b)}},C5b=function(a){return function(){var b=zj(a)();gta(a)(!b);return!b}},lta=function(a){return function(){var b=yj.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},Aj=function(a){return function(b){null==b?yj.removeItem(a):yj.setItem(a,JSON.stringify(b))}};var rta=function(a){this.internalArray_=m(a)};Y(rta,n);g=rta.prototype;g.getUser=function(){return Gi(this,Ej,1)};g.setUser=function(a){return hj(this,Ej,1,a)};g.hasUser=function(){return Ui(this,Ej,1)};g.getConfig=function(){return Gi(this,Cj,2)};g.getXsrfToken=function(){return ec(this,3)};g.getCspNonce=function(){return ec(this,8)};g.getFrontendAccessMode=function(){return ec(this,4)};g.getMustAcknowledgeTerms=function(){return Li(this,5)};g.getShowNewFeaturesDialog=function(){return Li(this,6)};
g.getUserPreferences=function(){return Gi(this,fj,7)};g.getAppBaseHref=function(){return ec(this,10)};g.getTracker=function(){return Gi(this,Ij,11)};g.getPassiveLoginIframeUrl=function(){return Gi(this,vta,12)};var sta=window,Bj;var uta;var Zr=function(){this.session=Jj();this.tracker=this.session.tracker||void 0};g=Zr.prototype;g.getAppBaseHref=function(){return this.session.appBaseHref};g.userRequiresCaptcha=function(){return this.session.userRequiresCaptcha};g.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};g.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};g.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var fE=function(a){return"PARTNER"===a.getFrontendAccessMode()},gE=function(a){return"PUBLIC"===a.getFrontendAccessMode()};Zr.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var D5b=function(a){var b=a.getUserEmail().split("@")[1];return b?a.session.config.trustedEmailDomainsAllowlist.includes("@"+b):!1},hE=function(a,b){return!!a.session.config.enabledFlags.get(b)};g=Zr.prototype;g.isAnonymous=function(){return this.session.user.anonymous};
g.getUserEmail=function(){return this.session.user.email||""};g.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};g.getTracker=function(){return this.tracker};g.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};g.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};g.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};g.getEnvironmentType=function(){return wta(this.session)};
g.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?Lj(this.session)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":Lj(this.session)?"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.getAnalyticsId=function(){return this.session.config.analyticsId};g.getUserPreferences=function(){return this.session.userPreferences};g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};
g.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.getHelpMeFixSidebarComponentAllowlist=function(){return new Set(this.session.config.helpMeFixSidebarComponentAllowlist)};
Zr.\u0275fac=function(a){return new (a||Zr)};Zr.\u0275prov=Pc({token:Zr,factory:Zr.\u0275fac,providedIn:"root"});var E5b=function(a,b){return[a,b]},iE=function(){this.size=this.name=""};iE.prototype.ngOnInit=function(){};iE.\u0275fac=function(a){return new (a||iE)};
iE.\u0275cmp=r({type:iE,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&K(0,"mat-icon",0);a&2&&F("svgIcon",b.name)("ngClass",Bg(2,E5b,b.name,b.size))},dependencies:[Cw,nB],styles:['[_nghost-%COMP%]{display:inline-block;line-height:0;vertical-align:middle}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]::before{background:none;border-radius:50%;bottom:-3px;box-sizing:border-box;content:"";display:block;left:-3px;opacity:0;position:absolute;right:-3px;top:-3px;z-index:-1}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:hover::before, .hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:focus::before{background-color:#dadce0;background-color:var(--c300);opacity:1}[_nghost-%COMP%]   .mat-icon[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .small[_ngcontent-%COMP%]{height:18px;width:18px}[_nghost-%COMP%]   .large[_ngcontent-%COMP%]{height:24px;width:24px}'],changeDetection:0});var F5b=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"]]),G5b=["P0","P1","P2","P3","P4"],H5b="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),jE="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),I5b=["S0","S1","S2","S3","S4"],J5b=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],
["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]),K5b=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"]]),L5b=new Set("PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),
M5b=jE.map(function(a){return{value:a,displayText:ei(a),altText:F5b.get(a)}}),kE=function(a){this.activeSession=a;this.priorities=G5b;this.severities=I5b;this.editIssueTypes=hE(this.activeSession,"enableProgramUi")?jE:jE.filter(function(b){return"PROGRAM"!==b});this.editIssueTypeChoices=hE(this.activeSession,"enableProgramUi")?M5b:M5b.filter(function(b){return"PROGRAM"!==b.value});this.issueTypesDisplayNames=K5b;this.issueTypesShortDescriptions=F5b;this.issuePrioritiesDisplayNames=J5b;this.supportedTimeZones=
[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};kE.\u0275fac=function(a){return new (a||kE)(p(Zr))};kE.\u0275prov=Pc({token:kE,factory:kE.\u0275fac,providedIn:"root"});var N5b=new rd("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var lE=function(){Vy.apply(this,arguments);this.gmatPanelClasses=[]};Y(lE,Vy);var O5b=function(a,b){a.gmatPanelClasses.includes(b)||a.gmatPanelClasses.push(b)};lE.prototype.create=function(a){var b=(null==a?0:a.panelClass)?kh(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return Vy.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};lE.\u0275fac=function(){var a;return function(b){return(a||(a=Td(lE)))(b||lE)}}();lE.\u0275prov=Pc({token:lE,factory:lE.\u0275fac});var mE=function(a,b){this.options=a;a.disableGmatStyle||O5b(b,"gmat-mdc-menu")};mE.\u0275fac=function(a){return new (a||mE)(C(N5b),C(Vy))};mE.\u0275dir=jd({type:mE,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[wg([{provide:Vy,useClass:lE}])]});var P5b=new rd("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var nE=function(a,b){a.disableGmatStyle||O5b(b,"gmat-mdc-tooltip")};nE.\u0275fac=function(a){return new (a||nE)(C(P5b),C(Vy))};nE.\u0275dir=jd({type:nE,selectors:[["","matTooltip",""]],features:[wg([{provide:Vy,useClass:lE}])]});var oE=function(){this._inset=this._vertical=!1};Ac.Object.defineProperties(oE.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=lh(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=lh(a)}}});oE.\u0275fac=function(a){return new (a||oE)};
oE.\u0275cmp=r({type:oE,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(Hf("aria-orientation",b.vertical?"vertical":"horizontal"),Qf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[yg],decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.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 pE=function(a,b){this.constants=a;this.activeSession=b;this.ISSUE_TYPES=jE;this.STATUS_JS_FULL_TEXT=Tk;this.STATUSES=H5b;this.SEVERITIES_VALUES=I5b;this.PRIORITIES_VALUES=G5b;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new Uv;this.onQuickBulkEdit=new Uv;this.onBulkEditIssueRelation=new Uv;this.onBulkMarkIssueRead=new Uv;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};pE.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
pE.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};pE.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};pE.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var Q5b=function(a){return a.ISSUE_TYPES.filter(function(b){return"VULNERABILITY"!==b}).filter(function(b){return hE(a.activeSession,"enableProgramUi")||"PROGRAM"!==b})};
pE.\u0275fac=function(a){return new (a||pE)(C(kE),C(Zr))};
pE.\u0275cmp=r({type:pE,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt",enableBulkEstimatedEffortOption:"enableBulkEstimatedEffortOption"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},decls:92,vars:16,consts:[["editMenu","matMenu"],["prioritySubmenu","matMenu"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["ArchiveSubmenu",
"matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","","class","gmat-button medium",3,"disabled","matMenuTriggerFor",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"click","disabled"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-button","",1,"gmat-button","medium",
3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click","matTooltip"]],template:function(a,b){if(a&1){var c=v();G(0,"b-button-group");E(1,xta,4,2,"button",9);G(2,"button",10);N("click",function(){x(c);return y(b.bulkMarkIssueRead())});S(3);I();E(4,yta,4,2,"button",9)(5,zta,4,2,"button",9);I();G(6,"mat-menu",null,0)(8,"button",11);N("click",function(){x(c);return y(b.bulkEdit("ASSIGNEE"))});S(9,"Assignee");I();G(10,"button",11);N("click",function(){x(c);
return y(b.bulkEdit("COMPONENT"))});S(11,"Component");I();G(12,"button",12);S(13,"Priority");I();G(14,"button",12);S(15,"Severity");I();G(16,"button",12);S(17,"Status");I();G(18,"button",12);S(19,"Type");I();G(20,"button",11);N("click",function(){x(c);return y(b.bulkEdit("VERIFIER"))});S(21,"Verifier");I();G(22,"button",11);N("click",function(){x(c);return y(b.bulkEdit("REPORTER"))});S(23,"Reporter");I();G(24,"button",11);N("click",function(){x(c);return y(b.bulkEdit("CHANGELIST"))});S(25,"Changelist");
I();G(26,"button",11);N("click",function(){x(c);return y(b.bulkEdit("CUSTOM_FIELDS"))});S(27,"Custom Fields");I();G(28,"button",12);S(29," Archival state ");I();G(30,"button",11);N("click",function(){x(c);return y(b.bulkEdit("FOUND_IN"))});S(31,"Found In");I();G(32,"button",11);N("click",function(){x(c);return y(b.bulkEdit("SLO_START_TIME"))});S(33,"SLO Start Time");I();E(34,Ata,2,0,"button",13);G(35,"button",11);N("click",function(){x(c);return y(b.bulkEdit("VERIFIED_IN"))});S(36,"Verified In");
I();G(37,"button",11);N("click",function(){x(c);return y(b.bulkEdit("TARGETED_TO"))});S(38,"Targeted To");I();G(39,"button",12);S(40,"In Prod");I();K(41,"mat-divider");G(42,"button",11);N("click",function(){x(c);return y(b.bulkEdit("COMMENT"))});S(43,"Add Comment");I()();G(44,"mat-menu",null,1);E(46,Bta,2,1,"button",14);I();G(47,"mat-menu",null,2);E(49,Cta,2,1,"button",14);I();G(50,"mat-menu",null,3);E(52,Dta,2,1,"button",14);I();G(53,"mat-menu",null,4);E(55,Eta,2,2,"button",15);I();G(56,"mat-menu",
null,5)(58,"button",11);N("click",function(){x(c);return y(b.quickBulkEdit("IS_ARCHIVED",!0))});S(59,"Archive");I();G(60,"button",11);N("click",function(){x(c);return y(b.quickBulkEdit("IS_ARCHIVED",!1))});S(61,"Unarchive");I()();G(62,"mat-menu",null,6)(64,"button",11);N("click",function(){x(c);return y(b.quickBulkEdit("IN_PROD",!0))});S(65,"In Prod");I();G(66,"button",11);N("click",function(){x(c);return y(b.quickBulkEdit("IN_PROD",!1))});S(67,"Not in Prod");I()();G(68,"mat-menu",null,7)(70,"button",
11);N("click",function(){x(c);return y(b.bulkEditIssueRelation("BLOCKED_BY",!0))});S(71,"Mark as Blocked By");I();G(72,"button",11);N("click",function(){x(c);return y(b.bulkEditIssueRelation("BLOCKING",!0))});S(73,"Mark as Blocking");I();G(74,"button",11);N("click",function(){x(c);return y(b.bulkEditIssueRelation("PARENT",!0))});S(75,"Add Parent");I();G(76,"button",11);N("click",function(){x(c);return y(b.bulkEditIssueRelation("DUPLICATE"))});S(77,"Duplicate");I();G(78,"button",11);N("click",function(){x(c);
return y(b.bulkEditIssueRelation("BLOCKED_BY",!1))});S(79,"Unmark as Blocked By");I();G(80,"button",11);N("click",function(){x(c);return y(b.bulkEditIssueRelation("BLOCKING",!1))});S(81,"Unmark as Blocking");I();G(82,"button",11);N("click",function(){x(c);return y(b.bulkEditIssueRelation("PARENT",!1))});S(83,"Remove Parent");I()();G(84,"mat-menu",null,8)(86,"button",11);N("click",function(){x(c);return y(b.quickBulkEdit("CC",!0))});S(87,"CC me");I();G(88,"button",11);N("click",function(){x(c);return y(b.quickBulkEdit("CC",
!1))});S(89,"Un-CC me");I();G(90,"button",11);N("click",function(){x(c);return y(b.bulkEdit("CC"))});S(91,"Edit CC");I()()}if(a&2){a=R(45);var d=R(48),e=R(51),f=R(54),h=R(57),l=R(63);A();F("ngIf",b.enableBulkEditUi);A();F("disabled",b.isAnonymous);A();T(" ",b.readStatePrompt," ");A();F("ngIf",b.enableBulkEditUi);A();F("ngIf",b.enableBulkEditUi);A(7);F("matMenuTriggerFor",a);A(2);F("matMenuTriggerFor",d);A(2);F("matMenuTriggerFor",e);A(2);F("matMenuTriggerFor",f);A(10);F("matMenuTriggerFor",h);A(6);
F("ngIf",b.enableBulkEstimatedEffortOption);A(5);F("matMenuTriggerFor",l);A(7);F("ngForOf",b.PRIORITIES_VALUES);A(3);F("ngForOf",b.SEVERITIES_VALUES);A(3);F("ngForOf",b.STATUSES);A(3);F("ngForOf",Q5b(b))}},dependencies:[mE,IC,HC,JC,Dw,zw,iE,RD,CA,oE,nE,OC],encapsulation:2,changeDetection:0});pE.\u0275prov=Pc({token:pE,factory:pE.\u0275fac,providedIn:"root"});var qE=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new Uv;this.flagAsSpamClicked=new Uv;this.isAnonymous=this.activeSession.isAnonymous()};qE.\u0275fac=function(a){return new (a||qE)(C(Zr))};
qE.\u0275cmp=r({type:qE,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[["moreMenu","matMenu"],[4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&
E(0,Hta,9,4,"ng-container",1);a&2&&F("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[mE,IC,HC,JC,zw,iE,CA],encapsulation:2,changeDetection:0});var rE=function(){};rE.\u0275fac=function(a){return new (a||rE)};rE.\u0275mod=hd({type:rE});rE.\u0275inj=Rc({imports:[Qw,UC]});var sE=function(){};sE.\u0275fac=function(a){return new (a||sE)};sE.\u0275mod=hd({type:sE});sE.\u0275inj=Rc({imports:[rE]});var tE=function(){};tE.\u0275fac=function(a){return new (a||tE)};tE.\u0275mod=hd({type:tE});tE.\u0275inj=Rc({imports:[rE]});var uE=function(){};uE.\u0275fac=function(a){return new (a||uE)};uE.\u0275mod=hd({type:uE});uE.\u0275inj=Rc({providers:[{provide:Vy,useClass:lE}],imports:[LC]});var vE=function(){};vE.\u0275fac=function(a){return new (a||vE)};vE.\u0275mod=hd({type:vE});vE.\u0275inj=Rc({imports:[PC]});var wE=function(){};wE.\u0275fac=function(a){return new (a||wE)};wE.\u0275mod=hd({type:wE});wE.\u0275inj=Rc({imports:[Zy,Zy]});var xE=function(){};xE.\u0275fac=function(a){return new (a||xE)};xE.\u0275mod=hd({type:xE});xE.\u0275inj=Rc({imports:[uE,rE,tE,sE,cD,wE,vE]});var yE=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new X.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var f=d.watchForRestoredConnection$.subscribe(e);d.watchForRestoredConnection$.subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){f.unsubscribe()}});this.watchForRestoredConnection$=(0,X.fromEvent)(window,"focus").pipe(wf(function(){return d.connectionChecker.ok$}),
Ce(function(e){return e}),mf(),z(function(){}),Bka())};yE.prototype.intercept=function(a,b){return hE(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?R5b(this,b,a):b.handle(a)};
var R5b=function(a,b,c){return new X.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){S5b(a,b,c,h).pipe(xf(f)).subscribe(d)}}),f=new X.ReplaySubject(1);return function(){f.next();e.unsubscribe()}})},S5b=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,X.throwError)(function(){return d}):a.connectionChecker.ok$.pipe(wf(function(e){return e?(0,X.throwError)(function(){return d}):a.notifyUserAndWaitForGoodConnection$.pipe(wf(function(){return b.handle(c)}))}))};
yE.\u0275fac=function(a){return new (a||yE)(p(Zr),p(zE),p(AE))};yE.\u0275prov=Pc({token:yE,factory:yE.\u0275fac,providedIn:"root"});var AE=function(){this.showRefreshSso$=new X.BehaviorSubject(!1)};AE.\u0275fac=function(a){return new (a||AE)};AE.\u0275prov=Pc({token:AE,factory:AE.\u0275fac,providedIn:"root"});
var zE=function(a){var b=this;this.ngZone=a;this.ok$=new X.Observable(function(c){var d=uKa("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};zE.\u0275fac=function(a){return new (a||zE)(p(He))};zE.\u0275prov=Pc({token:zE,factory:zE.\u0275fac,providedIn:"root"});var T5b={provide:dA,useClass:yE,multi:!0};var U5b=function(a,b){return[a,b]},V5b=[[["b-callout-body"]],[["b-callout-actions"]]],BE=function(){this.messageType="info";this.format="default"};BE.prototype.getIconName=function(){if(null!=this.iconOverride)return this.iconOverride;switch(this.messageType){case "caution":return"warning";case "success":return"success";case "error":return"alert";default:return"info"}};BE.\u0275fac=function(a){return new (a||BE)};
BE.\u0275cmp=r({type:BE,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&Rf(Bg(2,U5b,b.messageType,b.format).join(" "))},inputs:{messageType:"messageType",format:"format",iconOverride:"iconOverride"},ngContentSelectors:["b-callout-body","b-callout-actions"],decls:6,vars:1,consts:[[1,"callout"],[3,"svgIcon"],["role","alert",1,"content"],[1,"actions"]],template:function(a,b){a&1&&(cg(V5b),G(0,"div",0),K(1,"mat-icon",1),G(2,"div",2),dg(3),I(),G(4,"div",3),dg(5,1),I()());a&2&&(A(),
F("svgIcon",b.getIconName()))},dependencies:[nB],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:4px}[_nghost-%COMP%]     .mat-button{min-height:28px;line-height:28px;padding:0px 8px}.app[_nghost-%COMP%]{border-radius:0;padding-left:24px}.app[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.content[_ngcontent-%COMP%]{flex-grow:1}mat-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:4px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px}.info[_nghost-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50)}.info[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info[_nghost-%COMP%]    .mat-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-raised-button{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.archived[_nghost-%COMP%], .caution[_nghost-%COMP%]{background-color:#feefc3;background-color:var(--warn-c50);border-color:#fbbc04;border-color:var(--warn-gfx-muted)}.archived[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%], .caution[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx)}.archived[_nghost-%COMP%]    .mat-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-raised-button{background-color:#e37400;background-color:var(--warn-gfx);color:#fff;color:var(--text-inverse)}.error[_nghost-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);border-color:#f6aea9;border-color:var(--bad-gfx-muted)}.error[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-gfx)}.error[_nghost-%COMP%]    .mat-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-raised-button{background-color:#a50e0e;background-color:var(--bad-bg-inverse);color:#fff;color:var(--text-inverse)}.success[_nghost-%COMP%]{background-color:#eafaef;background-color:var(--good-bg-pale);border-color:#1e8e3e;border-color:var(--good-gfx)}.success[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx)}.success[_nghost-%COMP%]    .mat-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}/*# sourceMappingURL=callout.css.map */"]});
var CE=function(){};CE.\u0275fac=function(a){return new (a||CE)};CE.\u0275dir=jd({type:CE,selectors:[["b-callout-body"],["b-callout-actions"]]});var DE=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};DE.\u0275fac=function(a){return new (a||DE)(C(Zr),C(AE))};
DE.\u0275cmp=r({type:DE,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["signedInMessage",""],["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(E(0,Nta,7,4,"b-callout",1),V(1,"async"));a&2&&F("ngIf",W(1,1,b.showRefreshSsoMessage$))},dependencies:[zw,BE,CE,CA,Iw],encapsulation:2,changeDetection:0});var Ota=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var W5b=Symbol("Zb"),X5b=Symbol("$b"),EE=Symbol("ac"),FE=function(){};FE.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=Pj(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[EE]=!0;return}c.resolve(e);d[EE]=!0},b);d[W5b]=b;d[X5b]=c.reject;d[EE]=!1;return c.promise};FE.prototype.cancel=function(a){var b=a[W5b];if(null==b||a[EE])return!1;clearTimeout(b);var c;null==(c=a[X5b])||c.call(a,Error("bc"));return a[EE]=!0};FE.\u0275fac=function(a){return new (a||FE)};
FE.\u0275prov=Pc({token:FE,factory:FE.\u0275fac,providedIn:"root"});var GE=function(a){this.timeout=a};GE.prototype.adapt=function(a){return new Y5b(this.timeout,a)};GE.\u0275fac=function(a){return new (a||GE)(p(FE))};GE.\u0275prov=Pc({token:GE,factory:GE.\u0275fac,providedIn:"root"});var Y5b=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
Y5b.prototype.get=function(a){var b=Pj(),c=this.batchedInputs[this.batchedInputs.length-1],d=this.batchedDeferreds[this.batchedDeferreds.length-1];100>c.length?(c.push(a),d.push(b)):(this.batchedInputs.push([a]),this.batchedDeferreds.push([b]));this.isBatchScheduled||Z5b(this);return b.promise};
var Z5b=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=k(e.batchedDeferred),l=h.next();!l.done;l=h.next())l.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var HE=function(){},IE=function(){};var $5b=function(a){return"action/issues/"+a+"/statusUpdate"},Hr={COMPONENT_CREATE:"/components/new",HOTLIST_SEARCH:function(a){return"/issues?q=hotlistid:"+a},HOTLIST_VIEW:function(a){return"/hotlists/"+(void 0===a?"":a)},ISSUE:function(a){return"/issues/"+a},ISSUE_LIST:"/issues",ISSUE_CREATE:"/issues/new"},a6b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var Pta=function(a){this.internalArray_=m(a)};Y(Pta,n);var b6b=function(a){this.internalArray_=m(a,0,b6b.messageId)};Y(b6b,n);b6b.messageId="b.PrincipalTypeInfoBatchResponse";var JE=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(c6b(this,!1));this.principalTypeWithDetailGetter=b.adapt(c6b(this,!0))},c6b=function(a,b){return function(c){return d6b(a.principalResources,c,b).then(function(d){return Tta(c,d)})}};JE.prototype.get=function(a){return KE(this,a,!1)};var KE=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:cua()})};
JE.\u0275fac=function(a){return new (a||JE)(p(LE),p(GE))};JE.\u0275prov=Pc({token:JE,factory:JE.\u0275fac,providedIn:"root"});
var LE=function(a){this.executor=a},d6b=function(a,b,c){if(0===b.length)return Promise.resolve({});var d={};d.email=Rj(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:b6b}).then(Sta).then(function(e){for(var f={},h=k(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;f[l]=null!=(q=e[l])?q:cua()}return f})};LE.\u0275fac=function(a){return new (a||LE)(p(IE))};LE.\u0275prov=Pc({token:LE,factory:LE.\u0275fac,providedIn:"root"});var ME=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};ME.prototype.ngOnDestroy=function(){this.destroyed=!0};ME.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};ME.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};ME.\u0275fac=function(a){return new (a||ME)(p(Pg),p(He))};ME.\u0275prov=Pc({token:ME,factory:ME.\u0275fac});var NE=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;hE(this.session,"weAreHiring")&&KE(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};NE.\u0275fac=function(a){return new (a||NE)(C(Zr),C(JE),C(ME,2))};
NE.\u0275cmp=r({type:NE,selectors:[["b-hiring-banner"]],features:[wg([ME])],decls:1,vars:1,consts:[["class","hiring-banner","title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",4,"ngIf"],["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&E(0,dua,2,0,"a",0);a&2&&F("ngIf",b.showHiringBanner)},dependencies:[zw],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 OE=function(){};OE.\u0275fac=function(a){return new (a||OE)};OE.\u0275mod=hd({type:OE});OE.\u0275inj=Rc({imports:[rE]});var Sj=function(a,b){this.char=a;this.modifiers=b};var e6b={category:"Edit Issue Page",keys:[Tj("r")],displayAs:"Shift+r",description:"Refresh"},f6b={category:"Issue List",keys:["u",Tj("r")],displayAs:"u / Shift+r",description:"Refresh search results"},br={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Tj("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_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:e6b,REFRESH_ISSUE_LIST:f6b,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};/*

 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(H,O,P){H.addEventListener?H.addEventListener(O,P,!1):H.attachEvent("on"+O,P)}function e(H){if("keypress"==H.type){var O=String.fromCharCode(H.which);H.shiftKey||(O=O.toLowerCase());return O}return t[H.which]?t[H.which]:w[H.which]?w[H.which]:String.fromCharCode(H.which).toLowerCase()}function f(H){return"shift"==H||"ctrl"==H||"alt"==H||"meta"==H}function h(H,O){var P,U=[];"+"===H?H=["+"]:(H=H.replace(/\+{2}/g,"+plus"),H=H.split("+"));for(P=0;P<H.length;++P){var aa=H[P];
D[aa]&&(aa=D[aa]);O&&"keypress"!=O&&B[aa]&&(aa=B[aa],U.push("shift"));f(aa)&&U.push(aa)}H=aa;P=O;if(!P){if(!J){J={};for(var pa in t)95<pa&&112>pa||t.hasOwnProperty(pa)&&(J[t[pa]]=pa)}P=J[H]?"keydown":"keypress"}"keypress"==P&&U.length&&(P="keydown");return{key:aa,modifiers:U,action:P}}function l(H,O){return null===H||H===b?!1:H===O?!0:l(H.parentNode,O)}function q(H){function O(Xa){Xa=Xa||{};var yb=!1,Rb;for(Rb in Ya)Xa[Rb]?yb=!0:Ya[Rb]=0;yb||(Ia=!1)}function P(Xa,yb,Rb,Sb,Wa,Hb){var od,db,Ra=[],nb=
Rb.type;if(!Aa._callbacks[Xa])return[];"keyup"==nb&&f(Xa)&&(yb=[Xa]);for(od=0;od<Aa._callbacks[Xa].length;++od)if(db=Aa._callbacks[Xa][od],(Sb||!db.seq||Ya[db.seq]==db.level)&&nb==db.action){var Nb;(Nb="keypress"==nb&&!Rb.metaKey&&!Rb.ctrlKey)||(Nb=db.modifiers,Nb=yb.sort().join(",")===Nb.sort().join(","));Nb&&(Nb=Sb&&db.seq==Sb&&db.level==Hb,(!Sb&&db.combo==Wa||Nb)&&Aa._callbacks[Xa].splice(od,1),Ra.push(db))}return Ra}function U(Xa,yb,Rb,Sb){Aa.stopCallback(yb,yb.target||yb.srcElement,Rb,Sb)||!1!==
Xa(yb,Rb)||(yb.preventDefault?yb.preventDefault():yb.returnValue=!1,yb.stopPropagation?yb.stopPropagation():yb.cancelBubble=!0)}function aa(Xa){"number"!==typeof Xa.which&&(Xa.which=Xa.keyCode);var yb=e(Xa);if(yb)if("keyup"==Xa.type&&na===yb)na=!1;else{var Rb=Aa,Sb=Rb.handleKey,Wa=[];Xa.shiftKey&&Wa.push("shift");Xa.altKey&&Wa.push("alt");Xa.ctrlKey&&Wa.push("ctrl");Xa.metaKey&&Wa.push("meta");Sb.call(Rb,yb,Wa,Xa)}}function pa(Xa,yb,Rb,Sb){function Wa(Ra){return function(){Ia=Ra;++Ya[Xa];clearTimeout(ea);
ea=setTimeout(O,1E3)}}function Hb(Ra){U(Rb,Ra,Xa);"keyup"!==Sb&&(na=e(Ra));setTimeout(O,10)}for(var od=Ya[Xa]=0;od<yb.length;++od){var db=od+1===yb.length?Hb:Wa(Sb||h(yb[od+1]).action);ka(yb[od],db,Sb,Xa,od)}}function ka(Xa,yb,Rb,Sb,Wa){Aa._directMap[Xa+":"+Rb]=yb;Xa=Xa.replace(/\s+/g," ");var Hb=Xa.split(" ");1<Hb.length?pa(Xa,Hb,yb,Rb):(Rb=h(Xa,Rb),Aa._callbacks[Rb.key]=Aa._callbacks[Rb.key]||[],P(Rb.key,Rb.modifiers,{type:Rb.action},Sb,Xa,Wa),Aa._callbacks[Rb.key][Sb?"unshift":"push"]({callback:yb,
modifiers:Rb.modifiers,action:Rb.action,seq:Sb,level:Wa,combo:Xa}))}var Aa=this;H=H||b;if(!(Aa instanceof q))return new q(H);Aa.target=H;Aa._callbacks={};Aa._directMap={};var Ya={},ea,na=!1,Da=!1,Ia=!1;Aa._handleKey=function(Xa,yb,Rb){var Sb=P(Xa,yb,Rb),Wa;yb={};var Hb=0,od=!1;for(Wa=0;Wa<Sb.length;++Wa)Sb[Wa].seq&&(Hb=Math.max(Hb,Sb[Wa].level));for(Wa=0;Wa<Sb.length;++Wa)Sb[Wa].seq?Sb[Wa].level==Hb&&(od=!0,yb[Sb[Wa].seq]=1,U(Sb[Wa].callback,Rb,Sb[Wa].combo,Sb[Wa].seq)):od||U(Sb[Wa].callback,Rb,Sb[Wa].combo);
Sb="keypress"==Rb.type&&Da;Rb.type!=Ia||f(Xa)||Sb||O(yb);Da=od&&"keydown"==Rb.type};Aa._bindMultiple=function(Xa,yb,Rb){for(var Sb=0;Sb<Xa.length;++Sb)ka(Xa[Sb],yb,Rb)};d(H,"keypress",aa);d(H,"keydown",aa);d(H,"keyup",aa)}if(a){var t={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"},w={106:"*",107:"+",109:"-",110:".",
111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},B={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},D={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},J;for(c=1;20>c;++c)t[111+c]="f"+c;for(c=0;9>=c;++c)t[c+96]=c;q.prototype.bind=function(H,O,P){H=H instanceof Array?
H:[H];this._bindMultiple.call(this,H,O,P);return this};q.prototype.unbind=function(H,O){return this.bind.call(this,H,function(){},O)};q.prototype.trigger=function(H,O){if(this._directMap[H+":"+O])this._directMap[H+":"+O]({},H);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(H,O){return-1<(" "+O.className+" ").indexOf(" mousetrap ")||l(O,this.target)?!1:"INPUT"==O.tagName||"SELECT"==O.tagName||"TEXTAREA"==O.tagName||O.isContentEditable};
q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(H){for(var O in H)H.hasOwnProperty(O)&&(t[O]=H[O]);J=null};q.init=function(){var H=q(b),O;for(O in H)"_"!==O.charAt(0)&&(q[O]=function(P){return function(){return H[P].apply(H,arguments)}}(O))};q.init();a.Mousetrap=q;"undefined"!==typeof module&&module.exports&&(module.exports=q);"function"===typeof define&&define.amd&&define(function(){return q})}})("undefined"!==typeof window?window:null,"undefined"!==
typeof window?document:null);var lua=new WeakMap;var Xj={},g6b={logInfo:function(){console.log(nua());console.log("\nDuplicate Requests:");console.table(mua())},getCounts:function(){return Xj},getDupes:mua,getAggregates:nua};var jk=Symbol("dc"),PE=function(a){this.params=a||{}};PE.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};PE.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};PE.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};Ac.Object.defineProperties(PE.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var rua={exact:wua,subset:zua},sua={exact:uua,subset:xua,ignored:function(){return!0}},dk=function(a,b,c){a=void 0===a?new ck([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};dk.prototype.toString=function(){return h6b.serialize(this)};Ac.Object.defineProperties(dk.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){null!=this._queryParamMap||(this._queryParamMap=new PE(this.queryParams));return this._queryParamMap}}});
var ck=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})};ck.prototype.hasChildren=function(){return 0<this.numberOfChildren};ck.prototype.toString=function(){return Eua(this)};Ac.Object.defineProperties(ck.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var hk=function(a,b){this.path=a;this.parameters=b};
hk.prototype.toString=function(){return Cua(this.path)+Dua(this.parameters)};var QE=function(){};QE.\u0275fac=function(a){return new (a||QE)};QE.\u0275prov=Pc({token:QE,factory:function(){return new RE},providedIn:"root"});var RE=function(){};RE.prototype.parse=function(a){a=new i6b(a);SE(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new ck([],{}):new ck([],j6b(a));return new dk(b,a.parseQueryParams(),SE(a,"#")?decodeURIComponent(a.remaining):null)};
RE.prototype.serialize=function(a){var b="/"+bk(a.root,!0),c=Hua(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var h6b=new RE,Iua=/^[^\/()?;#]+/,k6b=/^[^\/()?;=#]+/,l6b=/^[^=?&#]+/,m6b=/^[^&#]+/,i6b=function(a){this.remaining=this.url=a};
i6b.prototype.parseQueryParams=function(){var a={};if(SE(this,"?")){do{var b,c=this.remaining.match(l6b);if(b=c?c[0]:""){this.capture(b);c="";if(SE(this,"=")){var d;if(d=(d=this.remaining.match(m6b))?d[0]:"")c=d,this.capture(c)}b=decodeURIComponent(b.replace(/\+/g,"%20"));c=decodeURIComponent(c.replace(/\+/g,"%20"));a.hasOwnProperty(b)?(d=a[b],Array.isArray(d)||(d=[d],a[b]=d),d.push(c)):a[b]=c}}while(SE(this,"&"))}return a};
var j6b=function(a){if(""===a.remaining)return{};SE(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(n6b(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(n6b(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=o6b(a,!0));var d={};a.remaining.startsWith("(")&&(d=o6b(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new ck(b,c);return d},n6b=function(a){var b=Jua(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new Uc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};SE(a,";");){var d,e=a;if(d=(d=e.remaining.match(k6b))?d[0]:""){e.capture(d);var f="";if(SE(e,"=")){var h=Jua(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new hk(b,c)},o6b=function(a,b){var c={};for(a.capture("(");!SE(a,")")&&0<a.remaining.length;){var d=Jua(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new Uc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=j6b(a);c[e]=1===Object.keys(d).length?d.primary:new ck([],d);SE(a,"//")}return c},SE=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};i6b.prototype.capture=function(a){if(!SE(this,a))throw new Uc(4011,!1);};var Uua=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&Qua(c[0]))throw new Uc(4003,!1);if((a=c.find(gk))&&a!==(0<c.length?c[c.length-1]:null))throw new Uc(4004,!1);},Pua=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var TE=function(a,b){this.id=a;this.url=b},Ak=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;TE.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};Y(Ak,TE);Ak.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var vk=function(a,b,c){TE.call(this,a,b);this.urlAfterRedirects=c;this.type=1};Y(vk,TE);
vk.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var wk=function(a,b,c,d){TE.call(this,a,b);this.reason=c;this.code=d;this.type=2};Y(wk,TE);wk.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var yk=function(a,b,c,d){TE.call(this,a,b);this.reason=c;this.code=d;this.type=16};Y(yk,TE);
var xk=function(a,b,c,d){TE.call(this,a,b);this.error=c;this.target=d;this.type=3};Y(xk,TE);xk.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var UE=function(a,b,c,d){TE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};Y(UE,TE);UE.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var p6b=function(a,b,c,d){TE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};Y(p6b,TE);p6b.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var q6b=function(a,b,c,d,e){TE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};Y(q6b,TE);
q6b.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var r6b=function(a,b,c,d){TE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};Y(r6b,TE);r6b.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var s6b=function(a,b,c,d){TE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};Y(s6b,TE);s6b.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var t6b=function(a){this.route=a;this.type=9};t6b.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var u6b=function(a){this.route=a;this.type=10};
u6b.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var xva=function(a){this.snapshot=a;this.type=11};xva.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var v6b=function(a){this.snapshot=a;this.type=12};v6b.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var yva=function(a){this.snapshot=a;this.type=13};yva.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var w6b=function(a){this.snapshot=a;this.type=14};w6b.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var x6b=function(a,b){this.position=a;this.anchor=b;this.type=15};
x6b.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var y6b=function(){},z6b=function(a,b){this.url=a;this.navigationBehaviorOptions=b};var A6b=function(a){this.injector=a;this.route=this.outlet=null;this.children=new VE(this.injector);this.attachRef=null},VE=function(a){this.parentInjector=a;this.contexts=new Map},B6b=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},C6b=function(a,b){var c=a.getContext(b);c||(c=new A6b(a.parentInjector),a.contexts.set(b,c));return c};VE.prototype.getContext=function(a){return this.contexts.get(a)||null};VE.\u0275fac=function(a){return new (a||VE)(p(nv))};
VE.\u0275prov=Pc({token:VE,factory:VE.\u0275fac,providedIn:"root"});var WE=function(a){this._root=a};WE.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};WE.prototype.children=function(a){return(a=Zua(a,this._root))?a.children.map(function(b){return b.value}):[]};WE.prototype.firstChild=function(a){return(a=Zua(a,this._root))&&0<a.children.length?a.children[0].value:null};WE.prototype.pathFromRoot=function(a){return $ua(a,this._root).map(function(b){return b.value})};
Ac.Object.defineProperties(WE.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var kk=function(a,b){this.value=a;this.children=b};kk.prototype.toString=function(){return"TreeNode("+this.value+")"};var D6b=function(a,b){this._root=a;this.snapshot=b;bva(this,a)};Y(D6b,WE);D6b.prototype.toString=function(){return this.snapshot.toString()};
var lk=function(a,b,c,d,e,f,h,l){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=l;var q,t;this.title=null!=(t=null==(q=this.dataSubject)?void 0:q.pipe(z(function(w){return w[jk]})))?t:(0,X.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};lk.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
Ac.Object.defineProperties(lk.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(){null!=this._paramMap||(this._paramMap=this.params.pipe(z(function(a){return new PE(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){null!=this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(z(function(a){return new PE(a)})));return this._queryParamMap}}});
var XE=function(a,b,c,d,e,f,h,l,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=l;this._resolve=q};XE.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
Ac.Object.defineProperties(XE.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[jk]}},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(){null!=this._paramMap||(this._paramMap=new PE(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){null!=this._queryParamMap||(this._queryParamMap=new PE(this.queryParams));return this._queryParamMap}}});var E6b=function(a,b){this._root=b;this.url=a;bva(this,b)};Y(E6b,WE);E6b.prototype.toString=function(){return cva(this._root)};var YE=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Uv;this.deactivateEvents=new Uv;this.attachEvents=new Uv;this.detachEvents=new Uv;this.parentContexts=bd(VE);this.location=bd(jg);this.changeDetector=bd(Pg);this.inputBinder=bd(F6b,{optional:!0})};YE.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(G6b(this,b)&&(this.deactivate(),B6b(this.parentContexts,b)),H6b(this))}};
YE.prototype.ngOnDestroy=function(){G6b(this,this.name)&&B6b(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||ZE(a,this)};var G6b=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};YE.prototype.ngOnInit=function(){H6b(this)};
var H6b=function(a){var b=a.parentContexts,c=a.name,d=C6b(b,c);d.outlet=a;b.contexts.set(c,d);!a.activated&&(b=a.parentContexts.getContext(a.name),null==b?0:b.route)&&(b.attachRef?a.attach(b.attachRef,b.route):I6b(a,b.route,b.injector))};YE.prototype.detach=function(){if(!this.activated)throw new Uc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
YE.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(ZE(b,this),J6b(b,this));this.attachEvents.emit(a.instance)};YE.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var I6b=function(a,b,c){if(a.isActivated)throw new Uc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=C6b(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new K6b(b,f,d.injector),environmentInjector:c});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(ZE(b,a),J6b(b,a));a.activateEvents.emit(a.activated.instance)};
Ac.Object.defineProperties(YE.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 Uc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Uc(4012,!1);return this._activatedRoute}}});
YE.\u0275fac=function(a){return new (a||YE)};YE.\u0275dir=jd({type:YE,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[xd]});var K6b=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c;this.__ngOutletInjector=!0};K6b.prototype.get=function(a,b){return a===lk?this.route:a===VE?this.childContexts:this.parent.get(a,b)};
var F6b=new rd(""),$E=function(){this.outletDataSubscriptions=new Map},ZE=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},J6b=function(a,b){var c=b.activatedRoute,d=(0,X.combineLatest)([c.queryParams,c.params,c.data]).pipe(wf(function(e,f){var h=k(e);e=h.next().value;var l=h.next().value;h=h.next().value;h=Object.assign({},e,l,h);return 0===f?(0,X.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var f=Qma(c.component);if(f){f=k(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else ZE(a,b)}else ZE(a,b)});a.outletDataSubscriptions.set(b,d)};$E.\u0275fac=function(a){return new (a||$E)};$E.\u0275prov=Pc({token:$E,factory:$E.\u0275fac});var mk=function(){};mk.\u0275fac=function(a){return new (a||mk)};mk.\u0275cmp=r({type:mk,selectors:[["ng-component"]],standalone:!0,features:[yg],decls:1,vars:0,template:function(a){a&1&&K(0,"router-outlet")},dependencies:[YE],encapsulation:2});var M6b=function(a,b,c,d){return z(function(e){(new L6b(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},L6b=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};L6b.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;N6b(this,b,c,a);dva(this.futureState.root);aF(this,b,c,a)};
var N6b=function(a,b,c,d){var e=ik(c);b.children.forEach(function(f){var h=f.value.outlet,l=e[h],q=f.value,t=l?l.value:null;q===t?q.component?(q=d.getContext(q.outlet))&&N6b(a,f,l,q.children):N6b(a,f,l,d):t&&O6b(a,l,d);delete e[h]});Object.values(e).forEach(function(f){O6b(a,f,d)})},O6b=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=ik(b);b=k(Object.values(b));for(var e=b.next();!e.done;e=b.next())O6b(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},aF=function(a,b,c,d){var e=ik(c);b.children.forEach(function(f){var h=e[f.value.outlet],l=f.value,q=h?h.value:null;dva(l);l===q?l.component?(l=C6b(d,l.outlet),aF(a,f,h,l.children)):aF(a,f,h,d):l.component?(h=C6b(d,l.outlet),q=ok(l.snapshot),h.attachRef=null,h.route=l,h.injector=null!=q?q:h.injector,h.outlet&&I6b(h.outlet,l,h.injector),aF(a,f,null,h.children)):aF(a,f,null,d);a.forwardEvent(new w6b(f.value.snapshot))});b.children.length&&a.forwardEvent(new v6b(b.value.snapshot))};var ova=Symbol("fc");var qva=function(a){this.path=a;this.route=this.path[this.path.length-1]},rva=function(a,b){this.component=a;this.route=b};var Eva=function(a){this.segmentGroup=a||null},P6b=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};Y(P6b,Error);
var Q6b=function(a,b){this.urlSerializer=a;this.urlTree=b},R6b=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,X.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,X.throwError)(new Uc(4E3,!1));a=a.children.primary}},T6b=function(a,b,c,d,e,f){if("string"!==typeof c){var h=c,l=e.queryParams,q=e.fragment,t=e.routeConfig,w=e.url,B=e.outlet,D=e.params,J=e.data,H=e.title;c=ud(f,function(){return h({params:D,data:J,queryParams:l,fragment:q,routeConfig:t,
url:w,outlet:B,title:H})});if(c instanceof dk)throw new P6b(c);}a=S6b(a,c,a.urlSerializer.parse(c),b,d);if("/"===c[0])throw new P6b(a);return a},S6b=function(a,b,c,d,e){b=U6b(a,b,c.root,d,e);return new dk(b,V6b(c.queryParams,a.urlTree.queryParams),c.fragment)},V6b=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&":"===e[0]?b[e.substring(1)]:e});return c},U6b=function(a,b,c,d,e){var f=W6b(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=
k(l);l=q.next().value;q=q.next().value;h[l]=U6b(a,b,q,d,e)});return new ck(f,h)},W6b=function(a,b,c){return a.map(function(d){if(":"===d.path[0]){if(d=c[d.path.substring(1)],!d)throw new Uc(4001,!1);}else a:for(var e=0,f=k(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var Gva={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var X6b=function(){},Pva=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.applyRedirects=new Q6b(this.urlSerializer,this.urlTree);this.absoluteRedirectCount=0;this.allowRedirects=!0};
Pva.prototype.recognize=function(){var a=this,b=Lva(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(z(function(c){var d=c.rootSnapshot;c=new E6b("",new kk(d,c.children));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=void 0===e?null:e;f=void 0===f?null:f;d=Mua(d);d=Sua(d,[],e,f);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);return{state:c,tree:d}}))};
Pva.prototype.match=function(a){var b=this,c=new XE([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),"primary",this.rootComponentType,null,{});return Y6b(this,this.injector,this.config,a,"primary",c).pipe(z(function(d){return{children:d,rootSnapshot:c}}),gf(function(d){if(d instanceof P6b)return b.urlTree=d.urlTree,b.match(d.urlTree.root);if(d instanceof Eva)throw new Uc(4002,"'"+d.segmentGroup+"'");throw d;}))};
var Y6b=function(a,b,c,d,e,f){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d,f):Z6b(a,b,c,d,d.segments,e,!0,f).pipe(z(function(h){return h instanceof kk?[h]:[]}))};
Pva.prototype.processChildren=function(a,b,c,d){for(var e=this,f=[],h=k(Object.keys(c.children)),l=h.next();!l.done;l=h.next())l=l.value,"primary"===l?f.unshift(l):f.push(l);return(0,X.from)(f).pipe(we(function(q){var t=c.children[q],w=nva(b,q);return Y6b(e,a,w,t,q,d)},1),vka(function(q,t){q.push.apply(q,u(t));return q}),gka(null),ska(),we(function(q){if(null===q)return uk(c);q=Ova(q);Mva(q);return(0,X.of)(q)}))};
var Z6b=function(a,b,c,d,e,f,h,l){return(0,X.from)(c).pipe(we(function(q){var t;return $6b(a,null!=(t=q._injector)?t:b,c,q,d,e,f,h,l).pipe(gf(function(w){if(w instanceof Eva)return(0,X.of)(null);throw w;}))},1),pf(function(q){return!!q}),gf(function(q){if(sva(q))return 0!==e.length||d.children[f]?uk(d):(0,X.of)(new X6b);throw q;}))},$6b=function(a,b,c,d,e,f,h,l,q){return(nk(d)===h||"primary"!==h&&Kva(e,f,d))&&Fva(e,d,f).matched?void 0===d.redirectTo?a7b(a,b,e,d,f,h,q):a.allowRedirects&&l?b7b(a,b,
e,c,d,f,h,q):uk(e):uk(e)},b7b=function(a,b,c,d,e,f,h,l){var q=Fva(c,e,f),t=q.parameters,w=q.consumedSegments,B=q.positionalParamSegments,D=q.remainingSegments;if(!q.matched)return uk(c);"string"===typeof e.redirectTo&&"/"===e.redirectTo[0]&&(a.absoluteRedirectCount++,31<a.absoluteRedirectCount&&(a.allowRedirects=!1));var J,H;f=new XE(f,t,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,e.data||{},nk(e),null!=(H=null!=(J=e.component)?J:e._loadedComponent)?H:null,e,e.resolve||
{});J=ava(f,l,a.paramsInheritanceStrategy);f.params=Object.freeze(J.params);f.data=Object.freeze(J.data);e=T6b(a.applyRedirects,w,e.redirectTo,B,f,b);return R6b(e).pipe(we(function(O){return Z6b(a,b,d,c,O.concat(D),h,!1,l)}))},a7b=function(a,b,c,d,e,f,h){var l=Hva(c,d,e,b);"**"===d.path&&(c.children={});return l.pipe(wf(function(q){if(!q.matched)return uk(c);var t;b=null!=(t=d._injector)?t:b;return c7b(a,b,d,e).pipe(wf(function(w){w=w.routes;var B,D=null!=(B=d._loadedInjector)?B:b;B=q.consumedSegments;
var J=q.remainingSegments,H,O,P=new XE(B,q.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},nk(d),null!=(O=null!=(H=d.component)?H:d._loadedComponent)?O:null,d,d.resolve||{});H=ava(P,h,a.paramsInheritanceStrategy);P.params=Object.freeze(H.params);P.data=Object.freeze(H.data);O=Lva(c,B,J,w);H=O.segmentGroup;O=O.slicedSegments;return 0===O.length&&H.hasChildren()?a.processChildren(D,w,H,P).pipe(z(function(U){return new kk(P,U)})):0===w.length&&0===O.length?
(0,X.of)(new kk(P,[])):Z6b(a,D,w,H,O,nk(d)===f?"primary":f,!0,P).pipe(z(function(U){return new kk(P,U instanceof kk?[U]:[])}))}))}))},c7b=function(a,b,c,d){return c.children?(0,X.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,X.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):Cva(b,c,d).pipe(we(function(e){return e?a.configLoader.loadChildren(b,c).pipe(yf(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):(0,X.throwError)(iva(3))})):(0,X.of)({routes:[],
injector:b})};var bF=function(){},d7b=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[jk])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};bF.\u0275fac=function(a){return new (a||bF)};bF.\u0275prov=Pc({token:bF,factory:function(){return bd(cF)},providedIn:"root"});var cF=function(a){this.title=a};Y(cF,bF);cF.prototype.updateTitle=function(a){a=d7b(a);void 0!==a&&this.title.setTitle(a)};cF.\u0275fac=function(a){return new (a||cF)(p(Xz))};
cF.\u0275prov=Pc({token:cF,factory:cF.\u0275fac,providedIn:"root"});var dF=new rd("",{providedIn:"root",factory:function(){return{}}});var $va=new rd(""),eF=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;bd(xw)};
eF.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,X.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Zj(a.loadComponent()).pipe(z(Xva),yf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),of(function(){b.componentLoaders.delete(a)}));c=(new X.ConnectableObservable(c,function(){return new X.Subject})).pipe(ke());this.componentLoaders.set(a,
c);return c};eF.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,X.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);a=awa(b,a,this.onLoadEndListener).pipe(of(function(){c.childrenLoaders.delete(b)}));a=(new X.ConnectableObservable(a,function(){return new X.Subject})).pipe(ke());this.childrenLoaders.set(b,a);return a};
eF.\u0275fac=function(a){return new (a||eF)};eF.\u0275prov=Pc({token:eF,factory:eF.\u0275fac,providedIn:"root"});var fF=function(){};fF.\u0275fac=function(a){return new (a||fF)};fF.\u0275prov=Pc({token:fF,factory:function(){return bd(gF)},providedIn:"root"});var gF=function(){};gF.prototype.extract=function(a){return a};gF.prototype.merge=function(a){return a};gF.\u0275fac=function(a){return new (a||gF)};gF.\u0275prov=Pc({token:gF,factory:gF.\u0275fac,providedIn:"root"});var e7b=new rd(""),bwa=new rd("");var f7b=new rd(""),hF=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new X.Subject;this.transitionAbortSubject=new X.Subject;this.configLoader=bd(eF);this.environmentInjector=bd(nv);this.urlSerializer=bd(QE);this.rootContexts=bd(VE);this.location=bd(Ww);this.inputBindingEnabled=null!==bd(F6b,{optional:!0});this.titleStrategy=bd(bF);this.options=bd(dF,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||
"emptyOnly";this.urlHandlingStrategy=bd(fF);this.createViewTransition=bd(e7b,{optional:!0});this.navigationErrorHandler=bd(f7b,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,X.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new u6b(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new t6b(b))}};hF.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var g7b=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},k7b=function(a,b,c,d){a.transitions=new X.BehaviorSubject({id:0,currentUrlTree:c,currentRawUrl:c,extractedUrl:a.urlHandlingStrategy.extract(c),urlAfterRedirects:a.urlHandlingStrategy.extract(c),rawUrl:c,extras:{},resolve:function(){},reject:function(){},promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:d.snapshot,targetSnapshot:null,currentRouterState:d,
targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(Ce(function(e){return 0!==e.id}),z(function(e){return Object.assign({},e,{extractedUrl:a.urlHandlingStrategy.extract(e.rawUrl)})}),wf(function(e){var f=!1,h=!1;return(0,X.of)(e).pipe(wf(function(l){if(a.navigationId>e.id)return h7b(a,e,1),X.EMPTY;a.currentTransition=e;a.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,
previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null};var q=!b.navigated||i7b(a)||j7b(a),t,w=null!=(t=l.extras.onSameUrlNavigation)?t:b.onSameUrlNavigation;return q||"reload"===w?(0,X.of)(l).pipe(wf(function(B){var D,J=null==(D=a.transitions)?void 0:D.getValue();a.events.next(new Ak(B.id,a.urlSerializer.serialize(B.extractedUrl),B.source,B.restoredState));var H;return J!==(null==(H=a.transitions)?void 0:H.getValue())?X.EMPTY:Promise.resolve(B)}),
Qva(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),yf(function(B){e.targetSnapshot=B.targetSnapshot;e.urlAfterRedirects=B.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:B.urlAfterRedirects});B=new UE(B.id,a.urlSerializer.serialize(B.extractedUrl),a.urlSerializer.serialize(B.urlAfterRedirects),B.targetSnapshot);a.events.next(B)})):(a.events.next(new yk(l.id,a.urlSerializer.serialize(l.rawUrl),"",0)),
l.resolve(!1),X.EMPTY)}),yf(function(l){l=new p6b(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);a.events.next(l)}),z(function(l){var q=Object,t=q.assign;var w=l.currentSnapshot;var B=l.targetSnapshot._root;w=rk(B,w?w._root:null,a.rootContexts,[B.value]);return a.currentTransition=e=t.call(q,{},l,{guards:w})}),vva(a.environmentInjector,function(l){return a.events.next(l)}),yf(function(l){if((e.guardsResult=l.guardsResult)&&"boolean"!==
typeof l.guardsResult)throw jva(l.guardsResult);l=new q6b(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);a.events.next(l)}),Ce(function(l){return l.guardsResult?!0:(h7b(a,l,3),!1)}),Wva(function(l){if(l.guards.canActivateChecks.length)return(0,X.of)(l).pipe(yf(function(q){q=new r6b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),wf(function(q){var t=
!1;return(0,X.of)(q).pipe(Tva(a.paramsInheritanceStrategy,a.environmentInjector),yf({next:function(){return t=!0},complete:function(){t||h7b(a,q,2)}}))}),yf(function(q){q=new s6b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),Wva(function(l){var q=function(t){var w=[],B;(null==(B=t.routeConfig)?0:B.loadComponent)&&!t.routeConfig._loadedComponent&&w.push(a.configLoader.loadComponent(t.routeConfig).pipe(yf(function(J){t.component=
J}),z(function(){})));B=k(t.children);for(var D=B.next();!D.done;D=B.next())w.push.apply(w,u(q(D.value)));return w};return(0,X.combineLatest)(q(l.targetSnapshot.root)).pipe(gka(null),mf())}),Wva(function(){return a.afterPreactivation()}),wf(function(){var l=e,q=l.currentSnapshot;l=l.targetSnapshot;var t,w=null==(t=a.createViewTransition)?void 0:t.call(a,a.environmentInjector,q.root,l.root);return w?(0,X.from)(w).pipe(z(function(){return e})):(0,X.of)(e)}),z(function(l){var q=l.targetSnapshot;var t=
l.currentRouterState;t=hva(b.routeReuseStrategy,q._root,t?t._root:void 0);q=new D6b(t,q);a.currentTransition=e=Object.assign({},l,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),yf(function(){a.events.next(new y6b)}),M6b(a.rootContexts,b.routeReuseStrategy,function(l){return a.events.next(l)},a.inputBindingEnabled),mf(),yf({next:function(l){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;a.events.next(new vk(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects)));
var q;null==(q=a.titleStrategy)||q.updateTitle(l.targetRouterState.snapshot);l.resolve(!0)},complete:function(){f=!0}}),xf(a.transitionAbortSubject.pipe(yf(function(l){throw l;}))),of(function(){f||h||h7b(a,e,1);var l;(null==(l=a.currentTransition)?void 0:l.id)===e.id&&(a.currentNavigation=null,a.currentTransition=null)}),gf(function(l){h=!0;if(kva(l))a.events.next(new wk(e.id,a.urlSerializer.serialize(e.extractedUrl),l.message,l.cancellationCode)),kva(l)&&ek(l.url)?a.events.next(new z6b(l.url,l.navigationBehaviorOptions)):
e.resolve(!1);else{var q,t=new xk(e.id,a.urlSerializer.serialize(e.extractedUrl),l,null!=(q=e.targetSnapshot)?q:void 0);a.events.next(t);try{ud(a.environmentInjector,function(){var B;return null==(B=a.navigationErrorHandler)?void 0:B.call(a,t)});var w=b.errorHandler(l);e.resolve(!!w)}catch(B){a.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(B)}}return X.EMPTY}))}))},h7b=function(a,b,c){c=new wk(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},i7b=
function(a){var b,c;return(null==(b=a.currentTransition)?void 0:b.extractedUrl.toString())!==(null==(c=a.currentTransition)?void 0:c.currentUrlTree.toString())},j7b=function(a){var b,c;return a.urlHandlingStrategy.extract(a.urlSerializer.parse(a.location.path(!0))).toString()!==(null==(b=a.currentTransition)?void 0:b.extractedUrl.toString())&&!(null==(c=a.currentTransition)?0:c.extras.skipLocationChange)};
Ac.Object.defineProperties(hF.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});hF.\u0275fac=function(a){return new (a||hF)};hF.\u0275prov=Pc({token:hF,factory:hF.\u0275fac,providedIn:"root"});var iF=function(){};iF.\u0275fac=function(a){return new (a||iF)};iF.\u0275prov=Pc({token:iF,factory:function(){return bd(jF)},providedIn:"root"});var l7b=function(){};l7b.prototype.store=function(){};l7b.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var jF=function(){};Y(jF,l7b);jF.\u0275fac=function(){var a;return function(b){return(a||(a=Td(jF)))(b||jF)}}();jF.\u0275prov=Pc({token:jF,factory:jF.\u0275fac,providedIn:"root"});var kF=function(){};kF.\u0275fac=function(a){return new (a||kF)};kF.\u0275prov=Pc({token:kF,factory:function(){return bd(lF)},providedIn:"root"});
var lF=function(){this.location=bd(Ww);this.urlSerializer=bd(QE);this.options=bd(dF,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=bd(fF);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new dk;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new E6b("",new kk(new XE([],{},{},"",{},"primary",null,null,{}),[])),b=new lk(new X.BehaviorSubject([new hk("",{})]),new X.BehaviorSubject({}),
new X.BehaviorSubject({}),new X.BehaviorSubject(""),new X.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new D6b(new kk(b,[]),a);this.stateMemento=m7b(this)};Y(lF,kF);lF.prototype.restoredState=function(){return this.location.getState()};
var m7b=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},n7b=function(a,b){return a.location.subscribe(function(c){"popstate"===c.type&&b(c.url,c.state)})},p7b=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=void 0===e?"":e;d.path()==d.normalize(b+Zg(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,o7b(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,o7b(a,c.id,a.browserPageId+
1)),a.location.go(b,"",c))},r7b=function(a,b,c){c=void 0===c?!1:c;"computed"===a.canceledNavigationResolution?(c=a.currentPageId-a.browserPageId,0!==c?a.location.historyGo(c):a.currentUrlTree===b.finalUrl&&0===c&&(a.resetState(b),q7b(a))):"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),q7b(a))};
lF.prototype.resetState=function(a){this.routerState=this.stateMemento.routerState;this.currentUrlTree=this.stateMemento.currentUrlTree;var b;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!=(b=a.finalUrl)?b:this.rawUrlTree)};var q7b=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",o7b(a,a.lastSuccessfulId,a.currentPageId))},o7b=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
Ac.Object.defineProperties(lF.prototype,{browserPageId:{configurable:!0,enumerable:!0,get:function(){if("computed"!==this.canceledNavigationResolution)return this.currentPageId;var a,b;return null!=(b=null==(a=this.restoredState())?void 0:a.\u0275routerPageId)?b:this.currentPageId}}});lF.\u0275fac=function(){var a;return function(b){return(a||(a=Td(lF)))(b||lF)}}();lF.\u0275prov=Pc({token:lF,factory:lF.\u0275fac,providedIn:"root"});var s7b={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},t7b={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},mF=function(){var a=this;this.disposed=!1;this.console=bd(Xv);this.stateManager=bd(kF);this.options=bd(dF,{optional:!0})||{};this.pendingTasks=bd(Yv);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=bd(hF);this.urlSerializer=bd(QE);this.location=bd(Ww);this.urlHandlingStrategy=bd(fF);this._events=
new X.Subject;this.errorHandler=this.options.errorHandler||fwa;this.navigated=!1;this.routeReuseStrategy=bd(iF);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=null!=(c=null==(b=bd($va,{optional:!0}))?void 0:b.flat())?c:[];bd(F6b,{optional:!0});this.eventsSubscription=new X.Subscription;bd(He)instanceof He&&ITb();this.config=this.config.map(mva);this.navigated=!1;k7b(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});
u7b(this)},u7b=function(a){var b=a.navigationTransitions.events.subscribe(function(c){try{var d=a.navigationTransitions.currentTransition,e=a.navigationTransitions.currentNavigation;if(null!==d&&null!==e){var f=a.stateManager;if(c instanceof Ak)f.stateMemento=m7b(f);else if(c instanceof yk)f.rawUrlTree=e.initialUrl;else if(c instanceof UE){if("eager"===f.urlUpdateStrategy&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl);p7b(f,h,e)}}else c instanceof y6b?(f.currentUrlTree=
e.finalUrl,f.rawUrlTree=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),f.routerState=e.targetRouterState,"deferred"===f.urlUpdateStrategy&&(e.extras.skipLocationChange||p7b(f,f.rawUrlTree,e))):c instanceof wk&&(3===c.code||2===c.code)?r7b(f,e):c instanceof xk?r7b(f,e,!0):c instanceof vk&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof wk&&0!==c.code&&1!==c.code)a.navigated=!0;else if(c instanceof vk)a.navigated=!0;else if(c instanceof z6b){var l=c.navigationBehaviorOptions,
q=a.urlHandlingStrategy.merge(c.url,d.currentRawUrl),t=Object.assign({},{info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||"eager"===a.urlUpdateStrategy||"imperative"!==d.source},l);v7b(a,q,"imperative",null,t,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof y6b||c instanceof z6b||a._events.next(c)}catch(w){a.navigationTransitions.transitionAbortSubject.next(w)}});a.eventsSubscription.add(b)};
mF.prototype.initialNavigation=function(){w7b(this);this.navigationTransitions.hasRequestedNavigation||x7b(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var w7b=function(a){null!=a.nonRouterCurrentEntryChangeSubscription||(a.nonRouterCurrentEntryChangeSubscription=n7b(a.stateManager,function(b,c){setTimeout(function(){x7b(a,b,"popstate",c)},0)}))},x7b=function(a,b,c,d){var e={replaceUrl:!0},f=(null==d?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(e.state=d));b=y7b(a,b);v7b(a,b,c,f,e)};mF.prototype.ngOnDestroy=function(){this.dispose()};
mF.prototype.dispose=function(){this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var nF=function(a,b,c){var d=c=void 0===c?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}null!==d&&(d=z7b(d));try{var h=Mua(c?c.snapshot:a.routerState.snapshot.root)}catch(l){if("string"!==typeof b[0]||"/"!==b[0][0])b=[];h=a.currentUrlTree.root}return Sua(h,b,d,null!=f?f:null)},
Fr=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=ek(b)?b:y7b(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return v7b(a,b,"imperative",null,c)};mF.prototype.navigate=function(a,b){b=void 0===b?{skipLocationChange:!1}:b;for(var c=0;c<a.length;c++)if(null==a[c])throw new Uc(4008,!1);return Fr(this,nF(this,a,b),b)};var y7b=function(a,b){try{return a.urlSerializer.parse(b)}catch(c){return a.urlSerializer.parse("/")}};
mF.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},s7b):!1===b?c=Object.assign({},t7b):c=b;if(ek(a))return tua(this.currentUrlTree,a,c);a=y7b(this,a);return tua(this.currentUrlTree,a,c)};
var z7b=function(a){return Object.entries(a).reduce(function(b,c){var d=k(c);c=d.next().value;d=d.next().value;null!==d&&void 0!==d&&(b[c]=d);return b},{})},v7b=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var l=f.reject;f=f.promise}else f=new Promise(function(t,w){h=t;l=w});var q=a.pendingTasks.add();ewa(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});g7b(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:l,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(t){return Promise.reject(t)})};
Ac.Object.defineProperties(mF.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}}});mF.\u0275fac=function(a){return new (a||mF)};mF.\u0275prov=Pc({token:mF,factory:mF.\u0275fac,providedIn:"root"});var oF=function(a,b,c,d,e,f){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=f;this.commands=this.href=null;this.onChanges=new X.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var l;b=null==(l=e.nativeElement.tagName)?void 0:l.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof vk&&A7b(h)}):B7b(this,"0")},B7b=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||C7b(a,"tabindex",b)};oF.prototype.ngOnChanges=function(){this.isAnchorElement&&A7b(this);this.onChanges.next(this)};oF.prototype.onClick=function(a,b,c,d,e){var f=this.urlTree;if(null===f||this.isAnchorElement&&(0!==a||b||c||d||e||"string"===typeof this.target&&"_self"!=this.target))return!0;Fr(this.router,f,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info});return!this.isAnchorElement};
oF.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var A7b=function(a){var b=a.urlTree,c;a.href=null!==b&&a.locationStrategy?null==(c=a.locationStrategy)?void 0:c.prepareExternalUrl(a.router.urlSerializer.serialize(b)):null;null===a.href?b=null:(b=a.el.nativeElement.tagName.toLowerCase(),b=("base"===b||"link"===b?eja:Ye)(a.href));C7b(a,"href",b)},C7b=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
Ac.Object.defineProperties(oF.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=a?(this.commands=Array.isArray(a)?a:[a],B7b(this,"0")):(this.commands=null,B7b(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:nF(this.router,this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}});
oF.\u0275fac=function(a){return new (a||oF)(C(mF),C(lk),Od("tabindex"),C(tv),C(Wd),C(Tw))};
oF.\u0275dir=jd({type:oF,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&N("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&Hf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ng],skipLocationChange:[2,"skipLocationChange","skipLocationChange",
Ng],replaceUrl:[2,"replaceUrl","replaceUrl",Ng],routerLink:"routerLink"},standalone:!0,features:[Gf,xd]});var pF=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 Uv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof vk&&f.update()})};pF.prototype.ngAfterContentInit=function(){var a=this;(0,X.of)(this.links.changes,(0,X.of)(null)).pipe(xe()).subscribe(function(){a.update();D7b(a)})};
var D7b=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(u(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,X.from)(b).pipe(xe()).subscribe(function(c){a._isActive!==E7b(a,a.router)(c)&&a.update()})};pF.prototype.ngOnChanges=function(){this.update()};
pF.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
pF.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=F7b(a);a.classes.forEach(function(c){b?a.renderer.addClass(a.element.nativeElement,c):a.renderer.removeClass(a.element.nativeElement,c)});b&&void 0!==a.ariaCurrentWhenActive?a.renderer.setAttribute(a.element.nativeElement,"aria-current",a.ariaCurrentWhenActive.toString()):a.renderer.removeAttribute(a.element.nativeElement,"aria-current");a._isActive!==b&&(a._isActive=b,a.cdr.markForCheck(),
a.isActiveChange.emit(b))})};var E7b=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}},F7b=function(a){var b=E7b(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
Ac.Object.defineProperties(pF.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})}}});pF.\u0275fac=function(a){return new (a||pF)(C(mF),C(Wd),C(tv),C(Pg),C(oF,8))};
pF.\u0275dir=jd({type:pF,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&mg(c,oF,5);if(a&2){var d;pg(d=qg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[xd]});var G7b=function(){},qF=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},H7b=function(a){a.subscription=a.router.events.pipe(Ce(function(b){return b instanceof vk}),we(function(){return a.preload()},1)).subscribe(function(){})};qF.prototype.preload=function(){return I7b(this,this.injector,this.router.config)};qF.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var I7b=function(a,b,c){var d=[];c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Rja(e.providers,b,"Route: "+e.path));var f=void 0,h=null!=(f=e._injector)?f:b,l=void 0;f=null!=(l=e._loadedInjector)?l:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(J7b(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(I7b(a,f,null!=(h=e.children)?h:e._loadedRoutes))}return(0,X.from)(d).pipe(xe())},J7b=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,X.of)(null)).pipe(we(function(f){if(null===f)return(0,X.of)(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return I7b(a,null!=(h=f.injector)?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,X.from)([d,e]).pipe(xe())}return d})};qF.\u0275fac=function(a){return new (a||qF)(p(mF),p(xw),p(nv),p(G7b),p(eF))};
qF.\u0275prov=Pc({token:qF,factory:qF.\u0275fac,providedIn:"root"});var K7b=new rd(""),rF=function(a,b,c,d,e){e=void 0===e?{}:e;this.urlSerializer=a;this.transitions=b;this.viewportScroller=c;this.zone=d;this.options=e;this.lastId=0;this.lastSource="imperative";this.restoredId=0;this.store={};var f;(f=e).scrollPositionRestoration||(f.scrollPositionRestoration="disabled");var h;(h=e).anchorScrolling||(h.anchorScrolling="disabled")};
rF.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual");this.routerEventsSubscription=L7b(this);this.scrollEventsSubscription=M7b(this)};
var L7b=function(a){return a.transitions.events.subscribe(function(b){b instanceof Ak?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof vk?(a.lastId=b.id,N7b(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof yk&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,N7b(a,a.urlSerializer.parse(b.url).fragment))})},M7b=function(a){return a.transitions.events.subscribe(function(b){b instanceof
x6b&&(b.position?"top"===a.options.scrollPositionRestoration?a.viewportScroller.scrollToPosition([0,0]):"enabled"===a.options.scrollPositionRestoration&&a.viewportScroller.scrollToPosition(b.position):b.anchor&&"enabled"===a.options.anchorScrolling?a.viewportScroller.scrollToAnchor(b.anchor):"disabled"!==a.options.scrollPositionRestoration&&a.viewportScroller.scrollToPosition([0,0]))})},N7b=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new x6b("popstate"===
a.lastSource?a.store[a.restoredId]:null,b))})},0)})};rF.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};rF.\u0275fac=function(){Oe()};rF.\u0275prov=Pc({token:rF,factory:rF.\u0275fac});new rd("",{providedIn:"root",factory:function(){return!1}});var O7b=new rd("",{factory:function(){return new X.Subject}}),P7b=new rd("",{providedIn:"root",factory:function(){return 1}}),Q7b=new rd("");var R7b=new rd("ROUTER_FORROOT_GUARD"),S7b=[Ww,{provide:QE,useClass:RE},mF,VE,{provide:lk,useFactory:function(a){return a.routerState.root},deps:[mF]},eF,[]],sF=function(){};sF.\u0275fac=function(a){return new (a||sF)(p(R7b,8))};sF.\u0275mod=hd({type:sF});sF.\u0275inj=Rc({});var T7b=new rd("");var U7b={attributes:!1,childList:!0,subtree:!0},tF=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new X.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new X.Subject;this.render$=(0,X.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(jf(200));this.navigatedTo$=this.router.events.pipe(Ce(hwa),z(function(){return gwa(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(wf(function(e){return d.renderSettled$.pipe(mf(),z(function(){return e}))}),
tf(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},V7b=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,U7b)};tF.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Xj[c]=~~Xj[c]+1;this.xhr$.next(c);return b.handle(a)};tF.\u0275fac=function(a){return new (a||tF)(p(He),p(mF),p(lk))};tF.\u0275prov=Pc({token:tF,factory:tF.\u0275fac,providedIn:"root"});var W7b={provide:dA,useExisting:tF,multi:!0};var Z=function(){this.destroyed$=new X.ReplaySubject(1);this.subscriptions=new X.Subscription};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=jd({type:Z});var uF=function(){};g=uF.prototype;g.debug=function(){Ck.apply(null,u(pd.apply(0,arguments)))};g.error=function(){kwa.apply(null,u(pd.apply(0,arguments)))};g.info=function(){Dk.apply(null,u(pd.apply(0,arguments)))};g.log=function(){jwa.apply(null,u(pd.apply(0,arguments)))};g.warn=function(){Ek.apply(null,u(pd.apply(0,arguments)))};uF.\u0275fac=function(a){return new (a||uF)};uF.\u0275prov=Pc({token:uF,factory:uF.\u0275fac,providedIn:"root"});var vF=function(a){Z.call(this);var b=this;this.ngZone=a;this.activeSubject$=new X.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(lf(),xf(this.destroyed$),lwa(this.ngZone));this.onUserEvent=k0b(function(){b.activeSubject$.next(!0);X7b(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),X7b(b))}};Y(vF,Z);vF.\u0275dir=Z.\u0275dir;
vF.prototype.install=function(){var a=this;if("visible"===document.visibilityState)this.onUserEvent();this.ngZone.runOutsideAngular(function(){window.addEventListener("click",a.onUserEvent);window.addEventListener("keydown",a.onUserEvent);window.addEventListener("mousemove",a.onUserEvent);window.addEventListener("wheel",a.onUserEvent);window.addEventListener("touchstart",a.onUserEvent);window.addEventListener("focus",a.onUserEvent)});document.addEventListener("visibilitychange",this.onVisibilityChange)};
vF.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 X7b=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};vF.\u0275fac=function(a){return new (a||vF)(p(He))};vF.\u0275prov=Pc({token:vF,factory:vF.\u0275fac,providedIn:"root"});var Y7b=[vk,xk,wk],xF=function(a,b){Z.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new X.Subject;this.routeChangeSuccess=new X.Subject;this.locationChangeStart=new X.Subject;this.locationChangeSuccess=new X.Subject;this.routeUpdate=new X.Subject;this.viewContentLoaded=new X.Subject;this.navigationEnd$=this.router.events.pipe(Ce(hwa));this.navigationOver$=this.router.events.pipe(Ce(function(d){return Y7b.some(function(e){return d instanceof e})}));wF(this,yva).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=wF(this,w6b);(0,X.merge)(this.navigationOver$.pipe(qf(X.NEVER)),this.routeChangeStart.pipe(qf(a))).pipe(wf(ee),xf(this.destroyed$),Ce(function(d){return d.snapshot.routeConfig.isRootRoute}),z(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});wF(this,Ak).pipe(z(function(d){return d.url}),lf()).subscribe(function(){c.locationChangeStart.next()});wF(this,vk).pipe(z(function(d){return d.url}),
lf()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(zf(wF(this,UE)));(0,X.merge)(this.routeChangeStart.pipe(qf(X.NEVER)),this.navigationOver$.pipe(qf(a))).pipe(wf(ee),xf(this.destroyed$)).subscribe(function(d){d=k(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});wF(this,vk).subscribe(function(){c.viewContentLoaded.next()})};Y(xF,Z);xF.\u0275dir=Z.\u0275dir;
var wF=function(a,b){return a.router.events.pipe(Ce(function(c){return c instanceof b}),z(function(c){return c}),xf(a.destroyed$))};xF.\u0275fac=function(a){return new (a||xF)(p(mF),p(lk))};xF.\u0275prov=Pc({token:xF,factory:xF.\u0275fac,providedIn:"root"});var yF=function(a){this.executor=a},Z7b=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:fj,body:Zsa(b)}).pipe(z(function(c){return Hsa(c)}))};yF.\u0275fac=function(a){return new (a||yF)(p(HE))};yF.\u0275prov=Pc({token:yF,factory:yF.\u0275fac,providedIn:"root"});var zF=function(a){var b=this;this.userPreferencesManagerBase=a;this.destroyed$=new X.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(z(li));this.textDisplayPreferences$=this.preferences$.pipe(z(function(c){return c.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=Fk(this.textDisplayPreferences$.pipe(xf(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(z(function(c){return c.lastPublishMode}),
lf());this.lastPublishModeProto$=this.lastPublishMode$.pipe(z(Ji));this.themePreferences$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.themePreferences)?d:li(eE.themePreferences)}),Hk());this.listViewPreferences$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.listViewPreferences)?d:li(eE.listViewPreferences)}),Hk());this.layoutPreferences$=this.preferences$.pipe(z(function(c){return b.getLayoutPreferences(c)}),Hk());this.dateTimePreferences$=this.preferences$.pipe(z(function(c){var d;
return null!=(d=c.dateTimePreferences)?d:li(eE.dateTimePreferences)}),Hk());this.homepagePreferences$=this.preferences$.pipe(z(function(c){return b.getHomepagePreferences(c)}),Hk());this.keyboardPrefs$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.keyboardPreferences)?d:li(eE.keyboardPreferences)}),Hk());this.displayColumnsPreferences$=this.preferences$.pipe(z(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}),Hk());this.sortColumnsPreferences$=this.preferences$.pipe(z(function(c){var d,
e;return null!=(e=null==(d=c.sortColumns)?void 0:d.column)?e:[]}),Hk());this.needsAttentionPreferences$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.needsAttentionPreferences)?d:li(eE.needsAttentionPreferences)}),Hk());this.bugScreensaverPreferences$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.bugScreensaverPreferences)?d:li(eE.bugScreensaverPreferences)}),Hk());this.bugScreensaverSubject$=Fk(this.bugScreensaverPreferences$.pipe(xf(this.destroyed$)),eE.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.g3nPreferences)?d:li(eE.g3nPreferences)}),Hk());Fk(this.g3nPreferences$.pipe(xf(this.destroyed$)),eE.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:li(eE.teamWarningPreferences)}),Hk());this.teamWarningPreferencesSubject$=Fk(this.teamWarningPreferences$.pipe(xf(this.destroyed$)),eE.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(z(function(c){var d;return null!=(d=c.commentFilterPreferences)?d:li(eE.commentFilterPreferences)}),Hk());Fk(this.commentFilterPreferences$.pipe(xf(this.destroyed$)),eE.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(z(function(c){return!!c.useCodefont}),lf());this.autoCcOnComment$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.autoCcOnComment)?d:!1}),lf());this.showFullHistory$=this.preferences$.pipe(z(function(c){return!!c.showFullHistory}),lf());
this.showRecentEventsFirst$=this.preferences$.pipe(z(function(c){return!!c.showRecentEventsFirst}),lf());this.showInlineImages$=this.preferences$.pipe(z(function(c){var d;return null!=(d=c.showInlineImages)?d:eE.showInlineImages}),lf())};zF.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};zF.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var $7b=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(z(a.getLayoutPreferences))},a8b=function(a,b){return a.save({homepagePreferences:b}).pipe(z(a.getHomepagePreferences))};zF.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:li(eE.dateTimePreferences)};
var b8b=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},c8b=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]},d8b=function(a,b){return a.save({displayColumns:{column:b}}).pipe(z(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
zF.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(z(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var e8b=function(a,b){return a.save({teamWarningPreferences:b}).pipe(z(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:li(eE.teamWarningPreferences)}))};zF.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:li(eE.layoutPreferences)};
zF.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:li(eE.homepagePreferences)};var AF=function(a){return li(a.preferencesSubject$.getValue())};zF.\u0275fac=function(a){return new (a||zF)(p(BF))};zF.\u0275prov=Pc({token:zF,factory:zF.\u0275fac,providedIn:"root"});
var BF=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new X.BehaviorSubject(li(eE));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),f8b(a);this.preferences$.next(a)};BF.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,X.of)(g8b(this,a)):Z7b(this.userPreferencesResources,a).pipe(z(function(){return g8b(b,a)}))};
var g8b=function(a,b){var c=li(a.preferences$.value);c=Object.assign({},c,b);f8b(c);a.preferences$.next(c);return c},f8b=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=eE.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=eE.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=eE.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=eE.notificationPreferences.collaboratorPriority)};BF.\u0275fac=function(a){return new (a||BF)(p(Zr),p(yF))};BF.\u0275prov=Pc({token:BF,factory:BF.\u0275fac,providedIn:"root"});/*

 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 h8b=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||""};
Ac.Object.defineProperties(h8b.prototype,{formatted:{configurable:!0,enumerable:!0,get:function(){if(!this._formatted){for(var a=this.combo[0].split(/[\s]/),b=0;b<a.length;b++){for(var c=b,d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"},e=a[b].split("+"),f=0;f<e.length;f++)"mod"===e[f]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[f]="command":e[f]="ctrl"),e[f]=d[e[f]]||e[f];a[c]=e.join(" + ")}this._formatted=
a}return this._formatted}}});var i8b=new rd("HotkeyOptions");var CF=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new X.Subject;this.preventIn=["INPUT","SELECT","TEXTAREA"];Mousetrap.prototype.stopCallback=function(b,c){return-1<(" "+c.className+" ").indexOf(" mousetrap ")?!1:c.contentEditable&&"true"===c.contentEditable};this.mousetrap=new Mousetrap;this.options.disableCheatSheet||this.add(new h8b(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new h8b("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=CF.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=k(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var t=h.target,w=t.nodeName.toUpperCase();-1<(" "+t.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(w)&&-1===a.allowIn.map(function(B){return B.toUpperCase()}).indexOf(w)&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
g.remove=function(a){var b=[];if(!a){a=k(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=k(a);for(c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}b=this.hotkeys.indexOf(a);return-1<b?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=k(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=k(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-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};CF.\u0275fac=function(a){return new (a||CF)(p(i8b))};CF.\u0275prov=Pc({token:CF,factory:CF.\u0275fac});var DF=function(){};DF.\u0275fac=function(a){return new (a||DF)};DF.\u0275mod=hd({type:DF});DF.\u0275inj=Rc({imports:[Qw]});var j8b;Qda("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var k8b="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),EF=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},FF=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(j8b||(c={},j8b=(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=j8b,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},l8b=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},GF=function(a,b){var c="";b&&(c=b.id);FF(a,"activedescendant",c)},m8b=function(a,b){FF(a,"label",b)};var HF=function(a,b,c,d){Z.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(f,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(f=h.getAttribute)f=h.getAttribute("role")||null,f=ua(k8b,f);h=f||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||n8b(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(xf(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(xf(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){o8b(e)})};Y(HF,Z);HF.\u0275dir=Z.\u0275dir;HF.prototype.isEnabled=function(){return this.enabled};HF.prototype.isPaused=function(){return this.paused};
var IF=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(u(b),u(d)));p8b(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,l=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!f.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);p8b(a)}},o8b=function(a){var b=[].concat(u(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},p8b=function(a){o8b(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=q8b(a,c.value);c=k(c);for(var d=c.next(),e={};!d.done;e={binding$jscomp$1:void 0},d=c.next())e.binding$jscomp$1=d.value,d=new h8b(iua(e.binding$jscomp$1.key),function(f){return function(h){a.ngZone.run(function(){f.binding$jscomp$1.command()});h.stopPropagation();return!1}}(e),e.binding$jscomp$1.allowIn),a.rawHotkeysService.add(d)}},n8b=function(a){return[].concat(u(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===
b.style.position}).some(function(b){return b.contains(a)})},q8b=function(a,b){var c=[];b=k(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=k(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$2989:void 0},f=d.next()){var l=k(f.value);f=l.next().value;l=l.next().value;h.index$jscomp$2989=f;c.push(new r8b(l,function(q,t){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(t.index$jscomp$2989)})}}(e,h),e.hotkeySpec.allowIn))}}Haa(c,
function(q,t){return q.strokeLength>t.strokeLength?-1:q.strokeLength<t.strokeLength?1:0});return c};HF.prototype.pause=function(){this.paused=!0};HF.prototype.unpause=function(){this.paused=!1};var s8b=function(a){return[].concat(u(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Qj(c,nwa)}})};HF.\u0275fac=function(a){return new (a||HF)(p(xF),p(zF),p(CF),p(He))};HF.\u0275prov=Pc({token:HF,factory:HF.\u0275fac,providedIn:"root"});
var r8b=function(a,b,c){c=void 0===c?[]:c;this.key=a;this.command=b;this.allowIn=c;a instanceof Array&&(this.strokeLength=a.length);this.strokeLength=1};var JF=function(a,b){Z.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new Uv};Y(JF,Z);JF.prototype.ngOnChanges=function(a){if("matTooltip"in a&&this.tooltip&&this.hotkeyEnabled&&this.hotkey){var b;a=null!=(b=this.hotkey.displayAs)?b:this.hotkey.keys.join("+");this.tooltip.message=this.matTooltip+" (Shortcut: "+a+")"}};
JF.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(IF(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};JF.\u0275fac=function(a){return new (a||JF)(C(HF),C(OC,8))};
JF.\u0275dir=jd({type:JF,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[Ff,xd]});var KF=function(){};KF.\u0275fac=function(a){return new (a||KF)};KF.\u0275mod=hd({type:KF});KF.\u0275inj=Rc({});var LF=function(a){this.hotkeys=a};LF.prototype.ngOnInit=function(){this.hotkeys.pause()};LF.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};LF.\u0275fac=function(a){return new (a||LF)(C(HF))};
LF.\u0275cmp=r({type:LF,selectors:[["b-hotkeys-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title",""],[4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",1,"gmat-button","medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Keyboard shortcuts"),I(),G(2,"mat-dialog-content")(3,"table"),E(4,pwa,6,2,"thead",1),I()(),G(5,"mat-dialog-actions")(6,"button",2),S(7,"Close"),I()());
a&2&&(A(4),F("ngForOf",s8b(b.hotkeys)))},dependencies:[Dw,CA,RA,SA,TA,UA],encapsulation:2});var MF=function(){};MF.\u0275fac=function(a){return new (a||MF)};MF.\u0275mod=hd({type:MF});MF.\u0275inj=Rc({imports:[rE,cD,VA]});var qwa=window,Gwa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},t8b=function(a){if(Ik())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var Iwa=zj("debug-logging")(),Jk=window,u8b,Fwa=!1;var Nk=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Nk.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};Nk.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Nk.prototype.toString=function(){return this.toApiUrlParam()};var Sk=function(a,b){this.fieldId=a;this.direction=b};Sk.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Sk.prototype.toString=function(){return this.toApiUrlParam()};var NF={},cl=(NF.NEW=Uk("NEW",!0,"FORBIDDEN",10),NF.ASSIGNED=Uk("ASSIGNED",!0,"REQUIRED",20),NF.ACCEPTED=Uk("ACCEPTED",!0,"REQUIRED",30),NF.FIXED=Uk("FIXED",!1,"REQUIRED",40),NF.VERIFIED=Uk("VERIFIED",!1,"REQUIRED",50),NF.DUPLICATE=Uk("DUPLICATE",!1,"ALLOWED",60),NF.INFEASIBLE=Uk("INFEASIBLE",!1,"ALLOWED",70),NF.NOT_REPRODUCIBLE=Uk("NOT_REPRODUCIBLE",!1,"ALLOWED",80),NF.OBSOLETE=Uk("OBSOLETE",!1,"ALLOWED",90),NF.INTENDED_BEHAVIOR=Uk("INTENDED_BEHAVIOR",!1,"ALLOWED",100),NF),v8b=[cl.NEW,cl.ASSIGNED,
cl.ACCEPTED,cl.FIXED,cl.VERIFIED,cl.NOT_REPRODUCIBLE,cl.INTENDED_BEHAVIOR,cl.OBSOLETE,cl.INFEASIBLE,cl.DUPLICATE],w8b=v8b.map(function(a){return{value:a.status,displayText:a.displayValue}}),x8b=new Set(Object.values(ic(cl,function(a){return"REQUIRED"===a.assigneeRequirement})));var $k=function(a){this.internalArray_=m(a)};Y($k,n);g=$k.prototype;g.getEmailAddress=function(){return ec(this,1)};g.setEmailAddress=function(a){return Zh(this,1,a)};g.getObfuscatedEmailAddress=function(){return ec(this,2)};g.setObfuscatedEmailAddress=function(a){Zh(this,2,a)};g.getUserGaiaStatus=function(){return Qi(this,3,0)};g.setUserGaiaStatus=function(a){jj(this,3,a)};g.getAliasesList=function(a){return gi(this,4,hi(a))};g.setAliasesList=function(a){rj(this,4,a)};$k.repeatedFields_=[4];var Swa=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.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null;this.signals=[];this.issueAccessLevel=null};var OF=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 X.BehaviorSubject(this)},
y8b=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=Uwa(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new OF(d,a,b)},z8b=function(a,b){var c=b.issuesWithSignals.map(function(d){var e=Uwa(d.issue,null);e.signals=d.signals;return e});return new OF(c,a,Object.assign({},{totalSizeAccurate:!0,maySkipResults:!1},b))};OF.prototype.hasPreviousPage=function(){return 1<this.params.page};OF.prototype.hasNextPage=function(){return!!this.responseMetadata.nextPageToken};
var PF=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1},A8b=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=PF(a,c.issueId);-1!==e&&(e-=a.startIndex,Twa(a.issues[e],c,d))}a.changed$.next(a)},B8b=function(a,b,c,d){b=PF(a,b);-1!==b&&(b-=a.startIndex,void 0!==d&&(a.issues[b].lastViewedTime=null!=d?d:null),void 0!==c&&(a.issues[b].isRead=c),void 0===c&&void 0===d&&(a.issues[b].isRead=!!a.issues[b].lastViewedTime&&
a.issues[b].lastViewedTime>=a.issues[b].majorModifiedTime));a.changed$.next(a)};OF.prototype.clone=function(){var a=new OF(this.internalIssues,this.params,this.responseMetadata);a.changed$.next(a);return a};Ac.Object.defineProperties(OF.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var C8b=function(a){this.allowExecution=a;this.queue=[]};C8b.prototype.addTask=function(a){this.queue.push(a);D8b(this)};var D8b=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=Be(b);c();D8b(a)}else setTimeout(function(){D8b(a)},0)};var QF=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new C8b(function(){return!e.router.navigationTransitions.currentNavigation})};QF.prototype.absUrl=function(){return this.platformLocation.href};QF.prototype.hash=function(a,b){"undefined"!==typeof a&&E8b(this,null!=a?a:"",b);var c;return null!=(c=this.activatedRoute.snapshot.fragment)?c:""};
var E8b=function(a,b,c){b=void 0===b?"":b;c=void 0===c?!1:c;a.addTask(function(){a.router.navigate([],{fragment:b,replaceUrl:c})})};QF.prototype.path=function(a,b){"undefined"!==typeof a&&this.setPath(a,b);return this.getPath()};var F8b=function(a,b){a.path(b,!0)};g=QF.prototype;g.getPath=function(){var a=k(this.location.path().split("?")).next().value;return k(a.split("#")).next().value};
g.setPath=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};g.search=function(a,b,c){"undefined"!==typeof a&&this.setSearch(a,b,c);return this.getSearch()};g.getSearch=function(){return exa(this.activatedRoute.snapshot.queryParamMap)};
g.setSearch=function(a,b,c){var d=this;c=void 0===c?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};g.replaceUrl=function(a){return this.setUrl(a,!0)};g.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){Fr(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)};
QF.\u0275fac=function(a){return new (a||QF)(p(Ww),p(Rw),p(lk),p(mF))};QF.\u0275prov=Pc({token:QF,factory:QF.\u0275fac,providedIn:"root"});var RF=function(a){this.bLocation=a};g=RF.prototype;g.createIssue=function(a){return fl("issues/new",{params:a})};g.editIssue=function(a,b){return el(a,b)};g.listIssues=function(a){return gl(a)};g.needsAttention=function(){return"attention"};g.viewSavedSearch=function(a){return dl("savedsearches/:savedSearchId",{id:a,params:void 0})};var G8b=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.getUrl();a=new Op(a);b=new Op(b);return a.getPath()===b.getPath()&&wD(a.queryData_.toString())===wD(b.queryData_.toString())};
g=RF.prototype;g.viewHotlist=function(a){return dl("hotlists/:hotlistId",{id:a})};g.editHotlist=function(a){return fl("hotlists/:hotlistId/edit",{id:a,tab:void 0})};g.createHotlist=function(){return"hotlists/new"};g.createBookmarkGroup=function(){return"bookmark-groups/new"};g.viewBookmarkGroup=function(a){return dl("bookmark-groups/:groupId",{id:a})};g.editBookmarkGroup=function(a){return fl("bookmark-groups/:groupId/edit",{id:a})};
g.editSavedSearch=function(a){return fl("savedsearches/:savedSearchId/edit",{id:a})};g.dashboard=function(a){return fl("dashboard/:groupId",{id:a})};g.issuesCsvAction=function(a,b,c,d,e){c=Wwa(c);d=Xwa(d);return vC("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};g.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=Wwa(c);(d=Xwa(d))&&(d="position,"+d);return vC(a,"trackerIds",b,"s",c,"c",d,"h",e)};g.toApiSortParamValue=function(a){return Wwa(a)};
g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return fl("components",{params:void 0})};g.viewComponent=function(a,b){return dl("components/:componentId",{id:a,tab:b})};g.manageComponent=function(a,b){return Ywa(a,b)};g.createComponent=function(a){return fl("components/new",{params:a})};g.editComponent=function(a,b){return fl("components/:componentId/edit",{id:a,tab:b})};
g.createSlo=function(){return fl("slos/new",{params:void 0})};g.editSlo=function(a){return dxa(a).path};g.listSlos=function(){return fl("slos",{params:void 0})};g.getBaseUrl=function(){var a=this.bLocation.absUrl();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.listHotlists=function(){return"hotlists"};g.home=function(){return fl("home",{params:void 0})};RF.\u0275fac=function(a){return new (a||RF)(p(QF))};
RF.\u0275prov=Pc({token:RF,factory:RF.\u0275fac,providedIn:"root"});var SF=function(){};SF.prototype.adapt=function(a){var b,c=new H8b(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};SF.\u0275fac=function(a){return new (a||SF)};SF.\u0275prov=Pc({token:SF,factory:SF.\u0275fac,providedIn:"root"});
var H8b=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new X.Subject;this.inputs$=this.inputSubject.pipe(Wja(this.inputSubject.pipe(ef(this.bufferTimeMs,X.asapScheduler))));this.removeDuplicates=z(function(f){return[].concat(u(new Set(f)))});this.limitInputSize=z(function(f){for(var h=k(f.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,X.pipe)(we(function(f){try{return e.batchCall(f).pipe(mf(),z(function(h){return{inputs:f,batchResponse:h,error:void 0}}),gf(function(h){return(0,X.of)({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return(0,X.of)({inputs:f,batchResponse:void 0,error:h})}}),Bka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
H8b.prototype.get=function(a){var b=this;return new X.Observable(function(c){c=b.batchResults$.pipe(Ce(function(d){return d.inputs.has(a)}),mf(),z(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 I8b=function(a,b){this.childIterator_=a[da.Symbol.iterator]();this.mapFn_=b};I8b.prototype[Symbol.iterator]=function(){return this};I8b.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 J8b=function(a,b){return new I8b(a,b)};var TF=function(){};TF.prototype.next=function(){return K8b};var K8b={done:!0,value:void 0};TF.prototype.__iterator__=function(){return this};var L8b=function(a){if(a instanceof UF||a instanceof VF||a instanceof WF)return a;if("function"==typeof a.next)return new UF(function(){return a});if("function"==typeof a[Symbol.iterator])return new UF(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new UF(function(){return a.__iterator__()});throw Error("gc");},UF=function(a){this.func_=a};UF.prototype.__iterator__=function(){return new VF(this.func_())};UF.prototype[Symbol.iterator]=function(){return new WF(this.func_())};
UF.prototype.toEs6=function(){return new WF(this.func_())};var VF=function(a){this.iter_=a};Y(VF,TF);VF.prototype.next=function(){return this.iter_.next()};VF.prototype[Symbol.iterator]=function(){return new WF(this.iter_)};VF.prototype.toEs6=function(){return new WF(this.iter_)};var WF=function(a){UF.call(this,function(){return a});this.iter_=a};Y(WF,UF);WF.prototype.next=function(){return this.iter_.next()};var XF=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){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=XF.prototype;g.getCount=function(){return this.size};g.getValues=function(){YF(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){YF(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return ZF(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(ZF(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||M8b;YF(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var M8b=function(a,b){return a===b};XF.prototype.isEmpty=function(){return 0==this.size};
XF.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};XF.prototype.remove=function(a){return this.delete(a)};XF.prototype.delete=function(a){return ZF(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&YF(this),!0):!1};
var YF=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];ZF(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){var e={};for(c=b=0;b<a.keys_.length;)d=a.keys_[b],ZF(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=XF.prototype;g.get=function(a,b){return ZF(this.map_,a)?this.map_[a]:b};g.set=function(a,b){ZF(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
g.addAll=function(a){if(a instanceof XF)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 XF(this)};g.keys=function(){return L8b(this.__iterator__(!0)).toEs6()};g.values=function(){return L8b(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return J8b(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){YF(this);var b=0,c=this.version_,d=this,e=new TF;e.next=function(){if(c!=d.version_)throw Error("hc");if(b>=d.keys_.length)return K8b;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var ZF=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var $F=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new XF;this.head_=new N8b("");this.head_.next=this.head_.prev=this.head_},P8b=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),O8b(a,b));return b};$F.prototype.get=function(a,b){return(a=P8b(this,a))?a.value:b};var Q8b=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=$F.prototype;g.set=function(a,b){var c=P8b(this,a);c?c.value=b:(c=new N8b(a,b),this.map_.set(a,c),O8b(this,c))};g.peek=function(){return this.head_.next.value};
g.shift=function(){return R8b(this,this.head_.next)};g.pop=function(){return R8b(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(){S8b(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 O8b=function(a,b){a.cache_?(b.next=a.head_.next,b.prev=a.head_,a.head_.next=b,b.next.prev=b):(b.prev=a.head_.prev,b.next=a.head_,a.head_.prev=b,b.prev.next=b);null!=a.maxCount_&&S8b(a,a.maxCount_)},S8b=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)}},R8b=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},N8b=function(a,b){this.key=a;this.value=b};
N8b.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var aG=function(){this.caches=new Map};aG.prototype.create=function(a,b){if(this.caches.has(a))throw Error("ic`"+a);b=new bG(null==b?void 0:b.capacity);this.caches.set(a,b);return b};aG.prototype.get=function(a){return this.caches.get(a)};aG.\u0275fac=function(a){return new (a||aG)};aG.\u0275prov=Pc({token:aG,factory:aG.\u0275fac,providedIn:"root"});var bG=function(a){this.lruCache=new $F(a,!0)};bG.prototype.get=function(a){return this.lruCache.get(a)};
bG.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};bG.prototype.remove=function(a){this.lruCache.remove(a)};bG.prototype.removeAll=function(){this.lruCache.clear()};var cG={},jxa=(cG[1]="issue_id",cG[3]="type",cG[4]="status",cG[5]="priority",cG[6]="severity",cG[18]="title",cG[15]="modified_time",cG[14]="created_time",cG[17]="verified_time",cG[16]="resolved_time",cG[38]="deletion_time",cG[13]="blocked_by_issue_ids",cG[12]="blocking_issue_ids",cG[26]="vote_count",cG[28]="cc_count",cG[44]="collaborators_count",cG[2]="component_path",cG[27]="duplicate_count",cG[10]="ccs",cG[43]="collaborators",cG[11]="code_changes",cG[32]="postmortems",cG[8]="assignee",cG[9]="verifier",
cG[7]="reporter",cG[19]="found_in_versions",cG[20]="targeted_to_versions",cG[21]="verified_in_versions",cG[22]="in_prod",cG[30]="last_modifier",cG[25]="position",cG[24]="custom_field",cG[29]="modified_by",cG[31]="archived",cG[23]="canonical_issue_id",cG[33]="min_slo",cG[35]="assignment_slo",cG[36]="response_slo",cG[37]="closure_slo",cG[39]="team",cG[40]="estimate",cG[41]="estimate_total_open",cG[42]="estimate_total_complete",cG[45]="access_level",cG[46]="descendant_count",cG[47]="open_descendant_count",
cG[48]="one_day_view_count",cG[49]="seven_day_view_count",cG[50]="thirty_day_view_count",cG),dG={},lxa=(dG.issue_id=1,dG.type=3,dG.status=4,dG.priority=5,dG.severity=6,dG.title=18,dG.modified_time=15,dG.created_time=14,dG.verified_time=17,dG.resolved_time=16,dG.deletion_time=38,dG.blocked_by_issue_ids=13,dG.blocking_issue_ids=12,dG.vote_count=26,dG.cc_count=28,dG.collaborators_count=44,dG.component_path=2,dG.duplicate_count=27,dG.ccs=10,dG.collaborators=43,dG.code_changes=11,dG.postmortems=32,dG.assignee=
8,dG.verifier=9,dG.reporter=7,dG.found_in_versions=19,dG.targeted_to_versions=20,dG.verified_in_versions=21,dG.in_prod=22,dG.last_modifier=30,dG.position=25,dG.custom_field=24,dG.modified_by=29,dG.archived=31,dG.canonical_issue_id=23,dG.min_slo=33,dG.assignment_slo=35,dG.response_slo=36,dG.closure_slo=37,dG.team=39,dG.estimate=40,dG.estimate_total_open=41,dG.estimate_total_complete=42,dG.access_level=45,dG.descendant_count=46,dG.open_descendant_count=47,dG.one_day_view_count=48,dG.seven_day_view_count=
49,dG.thirty_day_view_count=50,dG);var Em=function(a){this.internalArray_=m(a)};Y(Em,n);Em.prototype.getDisplayColumns=function(){return Gu(this,1)};Em.prototype.setDisplayColumns=function(a){Vb(this,1,sb,a,void 0,gi)};Em.repeatedFields_=[1];var hn=function(a){this.internalArray_=m(a)};Y(hn,n);g=hn.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getIssueAccessLimit=function(){return Gi(this,ul,2)};g.setIssueAccessLimit=function(a){hj(this,ul,2,a)};g.setAddedCollaboratorsList=function(a){mm(this,3,a)};g.setRemovedCollaboratorsList=function(a){mm(this,4,a)};
hn.repeatedFields_=[3,4];var sl=function(a){this.internalArray_=m(a)};Y(sl,n);g=sl.prototype;g.getIdentityCase=function(){return tm(this,eG)};g.getUser=function(){return Ll(this,xi,1,eG)};g.setUser=function(a){return Rl(this,1,eG,a)};g.hasUser=function(){return Zl(this,xi,1,eG)};g.getGroup=function(){return Ll(this,xi,2,eG)};g.setGroup=function(a){Rl(this,2,eG,a)};g.getAlias=function(){return ec(this,Fl(this,eG,3))};g.setAlias=function(a){Ql(this,3,eG,a)};var eG=[1,2,3];var fG=function(a){this.internalArray_=m(a)};Y(fG,n);g=fG.prototype;g.getAdminsList=function(){return Ii(this,sl,2,hi())};g.setAdminsList=function(a){return mm(this,2,a)};g.getInheritedAdminsList=function(){return Ii(this,sl,3,hi())};g.getEditorsList=function(){return Ii(this,sl,4,hi())};g.setEditorsList=function(a){return mm(this,4,a)};g.getImplicitEditorsList=function(){return Ii(this,sl,5,hi())};g.getAppendersList=function(a){return Ii(this,sl,6,hi(a))};
g.setAppendersList=function(a){return mm(this,6,a)};g.getImplicitAppendersList=function(){return Ii(this,sl,7,hi())};g.getReadersList=function(a){return Ii(this,sl,8,hi(a))};g.setReadersList=function(a){return mm(this,8,a)};g.getImplicitReadersList=function(){return Ii(this,sl,9,hi())};g.getImplicitAccess=function(){return Qi(this,10,0)};g.setImplicitAccess=function(a){return zl(this,10,a)};g.getRestrictedReadersList=function(){return Ii(this,sl,11,hi())};
g.setRestrictedReadersList=function(a){return mm(this,11,a)};g.getRestrictedPlusReadersList=function(){return Ii(this,sl,12,hi())};g.setRestrictedPlusReadersList=function(a){return mm(this,12,a)};fG.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];var gG=function(a){this.internalArray_=m(a)};Y(gG,n);g=gG.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getIssueAccessLimit=function(){return Gi(this,ul,2)};g.setIssueAccessLimit=function(a){hj(this,ul,2,a)};g.setAddedCollaboratorsList=function(a){mm(this,3,a)};g.setRemovedCollaboratorsList=function(a){mm(this,4,a)};
gG.repeatedFields_=[3,4];var wl=function(a){this.internalArray_=m(a)};Y(wl,n);wl.prototype.getRestrictionSeverity=function(){return Qi(this,3,0)};var Al=function(a){this.internalArray_=m(a)};Y(Al,n);var Xl=function(a){this.internalArray_=m(a)};Y(Xl,n);Xl.prototype.getLabel=function(){return ec(this,1)};Xl.prototype.setLabel=function(a){return yl(this,1,a)};Xl.prototype.getValue=function(){return Kl(this,2)};Xl.prototype.setValue=function(a){return sm(this,2,a)};var Wl=function(a){this.internalArray_=m(a)};Y(Wl,n);var iya=function(a,b){return mm(a,1,b)};Wl.prototype.setOptions=function(a){wu(this,1,Xl,a)};Wl.repeatedFields_=[1];var gya=function(a){this.internalArray_=m(a)};Y(gya,n);var fya=function(a,b){return sm(a,1,b)};var Vl=function(a){this.internalArray_=m(a)};Y(Vl,n);g=Vl.prototype;g.getInherit=function(){return Li(this,1)};g.setInherit=function(a){return Ul(this,1,a)};g.getId=function(){return Zi(this,2)};g.getId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getId_asString=function(){return Eu(this,2)};g.setId=function(a){return xl(this,2,a)};g.getName=function(){return ec(this,3)};g.setName=function(a){return yl(this,3,a)};var eya=function(a,b){Rl(a,4,Mm,b)},hya=function(a,b){Rl(a,5,Mm,b)};
Vl.prototype.getCustomFieldId=function(){return Zi(this,100)};Vl.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,100)};Vl.prototype.getCustomFieldId_asString=function(){return Eu(this,100)};Vl.prototype.setCustomFieldId=function(a){return xl(this,100,a)};var Mm=[4,5];var im=function(a){this.internalArray_=m(a)};Y(im,n);g=im.prototype;g.getInherit=function(){return Li(this,1)};g.setInherit=function(a){return Ul(this,1,a)};g.getSource=function(){return Qi(this,2,0)};g.setSource=function(a){return zl(this,2,a)};g.getId=function(){return Zi(this,3)};g.getId_asLegacyNumberOrString=function(){return Zi(this,3)};g.getId_asString=function(){return Eu(this,3)};g.setId=function(a){return xl(this,3,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Zi(this,5)};
g.setSourceTeamId=function(a){return xl(this,5,a)};g.getComment=function(){return ec(this,4)};g.setComment=function(a){return yl(this,4,a)};var jm=function(a){this.internalArray_=m(a)};Y(jm,n);g=jm.prototype;g.getMetric=function(){return Qi(this,1,0)};g.getMatcher=function(){return ec(this,2)};g.setMatcher=function(a){return yl(this,2,a)};g.getDayType=function(){return Qi(this,4,0)};g.setDayType=function(a){return zl(this,4,a)};g.getObjective=function(){return Gi(this,nl,3)};g.setObjective=function(a){return hj(this,nl,3,a)};g.getBusinessDays=function(){return fi(this,5)};g.setBusinessDays=function(a){return kl(this,5,a)};var Fo=function(a){this.internalArray_=m(a)};Y(Fo,n);g=Fo.prototype;g.getSloId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setSloId=function(a){return xl(this,1,a)};g.getParentId=function(){return Zi(this,2)};g.setParentId=function(a){return xl(this,2,a)};g.getName=function(){return ec(this,3)};g.setName=function(a){return yl(this,3,a)};g.getDescription=function(){return ec(this,4)};g.setDescription=function(a){return yl(this,4,a)};g.addRules=function(a,b){return Wq(this,5,jm,a,b)};
g.getIsArchived=function(){return Li(this,7)};g.setIsArchived=function(a){return Ul(this,7,a)};Fo.repeatedFields_=[5,6];var vn=function(a){this.internalArray_=m(a)};Y(vn,n);vn.prototype.getTemplateId_asLegacyNumberOrString=function(){return Zi(this,2)};vn.prototype.setTemplateId=function(a){return xl(this,2,a)};var un=function(a){this.internalArray_=m(a)};Y(un,n);g=un.prototype;g.getIssue=function(){return Gi(this,wm,1)};g.setIssue=function(a){return hj(this,wm,1,a)};g.setSignificanceOverride=function(a){return zl(this,4,a)};g.getContentJudgement=function(){return Gi(this,wl,5)};g.setContentJudgement=function(a){return hj(this,wl,5,a)};var Dm=function(a){this.internalArray_=m(a)};Y(Dm,n);g=Dm.prototype;g.getHotlistId=function(){return Zi(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setHotlistId=function(a){return xl(this,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return yl(this,2,a)};g.getDescription=function(){return ec(this,3)};g.setDescription=function(a){return yl(this,3,a)};g.getArchived=function(){return Li(this,4)};g.setArchived=function(a){return Ul(this,4,a)};
g.getDefaultOrderBy=function(){return ec(this,5)};g.setDefaultOrderBy=function(a){return yl(this,5,a)};g.getDisplayPreferences=function(){return Gi(this,Em,6)};g.setDisplayPreferences=function(a){return hj(this,Em,6,a)};g.getCreatedTime=function(){return Gi(this,aj,7)};g.setCreatedTime=function(a){return hj(this,aj,7,a)};g.getModifiedTime=function(){return Gi(this,aj,8)};g.setModifiedTime=function(a){return hj(this,aj,8,a)};g.getOwnersList=function(){return Ii(this,xi,9,hi())};
g.setOwnersList=function(a){return mm(this,9,a)};g.getEtag=function(){return kp(this,10)};g.setEtag=function(a){Dl(this,10,a)};Dm.repeatedFields_=[9];var Cm=function(a){this.internalArray_=m(a,0,Cm.messageId)};Y(Cm,n);Cm.prototype.getIt=function(){return Gi(this,Dm,18)};Cm.prototype.setIt=function(a){return hj(this,Dm,18,a)};Cm.prototype.hasIt=function(){return Ui(this,Dm,18)};Cm.messageId="b.Hotlist";var Km=function(a){this.internalArray_=m(a)};Y(Km,n);Km.prototype.setFieldId=function(a){return hj(this,Hl,1,a)};var Im=function(a){this.internalArray_=m(a)};Y(Im,n);g=Im.prototype;g.getInherit=function(){return Li(this,1)};g.setInherit=function(a){return Ul(this,1,a)};g.getId=function(){return Zi(this,2)};g.getId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getId_asString=function(){return Eu(this,2)};g.setId=function(a){return xl(this,2,a)};var Hm=function(a){this.internalArray_=m(a)};Y(Hm,n);g=Hm.prototype;g.getInherit=function(){return Li(this,1)};g.setInherit=function(a){return Ul(this,1,a)};g.getId=function(){return Zi(this,2)};g.getId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getId_asString=function(){return Eu(this,2)};g.setId=function(a){return xl(this,2,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Zi(this,4)};g.setSourceTeamId=function(a){return xl(this,4,a)};
g.getComment=function(){return ec(this,3)};g.setComment=function(a){return yl(this,3,a)};var Go=function(a){this.internalArray_=m(a)};Y(Go,n);g=Go.prototype;g.getVersion=function(){return fi(this,1)};g.setVersion=function(a){return kl(this,1,a)};g.getSlo=function(){return Gi(this,Hm,2)};g.setSlo=function(a){hj(this,Hm,2,a)};g.hasSlo=function(){return Ui(this,Hm,2)};var Gm=function(a){this.internalArray_=m(a)};Y(Gm,n);Gm.prototype.getUser=function(){return Gi(this,xi,1)};Gm.prototype.setUser=function(a){return hj(this,xi,1,a)};Gm.prototype.hasUser=function(){return Ui(this,xi,1)};var hG=function(a){this.internalArray_=m(a)};Y(hG,n);g=hG.prototype;g.getId=function(){return Zi(this,1)};g.getId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getId_asString=function(){return Eu(this,1)};g.setId=function(a){return xl(this,1,a)};g.getPathIdsList_asLegacyNumberOrString=function(){return Fi(this,2,hi())};g.getPathIdsList_asString=function(){return Fj(this,2)};g.setPathIdsList=function(a){return Do(this,2,a)};g.getName=function(){return ec(this,3)};
g.setName=function(a){return yl(this,3,a)};g.getPathNamesList=function(a){return gi(this,4,hi(a))};g.setPathNamesList=function(a){return rj(this,4,a)};g.getMembersList=function(){return Ii(this,Gm,6,hi())};g.setMembersList=function(a){return mm(this,6,a)};g.getDescription=function(){return ec(this,8)};g.setDescription=function(a){return yl(this,8,a)};g.getDeleted=function(){return Li(this,9)};hG.repeatedFields_=[2,4,5,6];var Jm=function(a){this.internalArray_=m(a)};Y(Jm,n);Jm.prototype.getTeamId_asLegacyNumberOrString=function(){return Zi(this,1)};Jm.prototype.setTeamId=function(a){return xl(this,1,a)};Jm.prototype.getScore=function(){return Kl(this,2)};Jm.prototype.setScore=function(a){return sm(this,2,a)};var Lm=function(a){this.internalArray_=m(a)};Y(Lm,n);Lm.prototype.getComponentPathNames=function(a){return Gu(this,2,a)};Lm.repeatedFields_=[1,2,3,4,5];var Sm=function(a){this.internalArray_=m(a)};Y(Sm,n);g=Sm.prototype;g.getComponentId=function(){return Zi(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getComponentId_asString=function(){return Eu(this,2)};g.setComponentId=function(a){return xl(this,2,a)};g.getName=function(){return ec(this,4)};g.setName=function(a){return yl(this,4,a)};g.getDescription=function(){return ec(this,5)};g.setDescription=function(a){return yl(this,5,a)};
g.getIsArchived=function(){return Li(this,8)};g.setIsArchived=function(a){return Ul(this,8,a)};g.getAccessLimit=function(){return Gi(this,vl,9)};g.setAccessLimit=function(a){return hj(this,vl,9,a)};g.setCommentEditState=function(a){return zl(this,10,a)};g.getSlo=function(){return Gi(this,im,13)};g.setSlo=function(a){hj(this,im,13,a)};g.hasSlo=function(){return Ui(this,im,13)};g.getTeam=function(){return Gi(this,Im,16)};g.getEffortSpec=function(){return Gi(this,Vl,18)};
g.getTeamSuggestionsList=function(){return Ii(this,Jm,19,hi())};g.setTeamSuggestionsList=function(a){mm(this,19,a)};g.getTrackerId=function(){return Zi(this,20)};g.getTrackerId_asLegacyNumberOrString=function(){return Zi(this,20)};g.getTrackerId_asString=function(){return Eu(this,20)};g.setTrackerId=function(a){xl(this,20,a)};Sm.repeatedFields_=[19];var Vm=function(a){this.internalArray_=m(a)};Y(Vm,n);g=Vm.prototype;g.getComponentId=function(){return Zi(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getComponentId_asString=function(){return Eu(this,2)};g.setComponentId=function(a){return xl(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Zi(this,3)};g.setTemplateId=function(a){return xl(this,3,a)};g.getName=function(){return ec(this,4)};g.setName=function(a){return yl(this,4,a)};
g.getDescription=function(){return ec(this,5)};g.setDescription=function(a){return yl(this,5,a)};g.getIssueState=function(){return Gi(this,qm,6)};g.setIssueState=function(a){return hj(this,qm,6,a)};g.getComment=function(){return ec(this,7)};g.setComment=function(a){return yl(this,7,a)};g.getFormattingMode=function(){return Qi(this,8,0)};g.setFormattingMode=function(a){return zl(this,8,a)};var xza=zj("lean-fe-debug-logging");var Tm=function(a){this.internalArray_=m(a,0,Tm.messageId)};Y(Tm,n);Tm.prototype.getIt=function(){return Gi(this,Sm,28)};Tm.prototype.setIt=function(a){return hj(this,Sm,28,a)};Tm.prototype.hasIt=function(){return Ui(this,Sm,28)};Tm.messageId="b.Component";var Um=function(a){this.internalArray_=m(a)};Y(Um,n);Um.prototype.getIt=function(){return Gi(this,Vm,7)};Um.prototype.setIt=function(a){return hj(this,Vm,7,a)};Um.prototype.hasIt=function(){return Ui(this,Vm,7)};var T8b=function(a){this.internalArray_=m(a,0,T8b.messageId)};Y(T8b,n);T8b.messageId="b.UpdateComponentSloRequest";var U8b=function(a){this.internalArray_=m(a,0,U8b.messageId)};Y(U8b,n);U8b.messageId="b.UpdateComponentTeamRequest";var zza=Qm("enableLeanFeA");var Wm=function(a){this.internalArray_=m(a)};Y(Wm,n);g=Wm.prototype;g.getIdentityCase=function(){return tm(this,iG)};g.getUser=function(){return Ll(this,$k,1,iG)};g.setUser=function(a){return Rl(this,1,iG,a)};g.hasUser=function(){return Zl(this,$k,1,iG)};g.getGroup=function(){return Ll(this,$k,2,iG)};g.setGroup=function(a){Rl(this,2,iG,a)};g.getAlias=function(){return ec(this,Fl(this,iG,3))};g.setAlias=function(a){Ql(this,3,iG,a)};var iG=[1,2,3];var jG=function(a){this.internalArray_=m(a,0,jG.messageId)};Y(jG,n);g=jG.prototype;g.getAdminsList=function(){return Ii(this,Wm,2,hi())};g.setAdminsList=function(a){return mm(this,2,a)};g.getInheritedAdminsList=function(){return Ii(this,Wm,3,hi())};g.getEditorsList=function(){return Ii(this,Wm,4,hi())};g.setEditorsList=function(a){return mm(this,4,a)};g.getImplicitEditorsList=function(){return Ii(this,Wm,5,hi())};g.getAppendersList=function(a){return Ii(this,Wm,6,hi(a))};
g.setAppendersList=function(a){return mm(this,6,a)};g.getImplicitAppendersList=function(){return Ii(this,Wm,7,hi())};g.getReadersList=function(a){return Ii(this,Wm,8,hi(a))};g.setReadersList=function(a){return mm(this,8,a)};g.getImplicitReadersList=function(){return Ii(this,Wm,9,hi())};g.getRestrictedReadersList=function(){return Ii(this,Wm,11,hi())};g.setRestrictedReadersList=function(a){return mm(this,11,a)};g.getRestrictedPlusReadersList=function(){return Ii(this,Wm,12,hi())};
g.setRestrictedPlusReadersList=function(a){return mm(this,12,a)};g.getImplicitAccess=function(){return Qi(this,10,0)};g.setImplicitAccess=function(a){return jj(this,10,a)};g.getIt=function(){return Gi(this,fG,13)};g.setIt=function(a){return hj(this,fG,13,a)};g.hasIt=function(){return Ui(this,fG,13)};jG.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];jG.messageId="b.AccessPolicy";var Pza=Qm("enableLeanFeE");var $m=function(a){this.internalArray_=m(a)};Y($m,n);$m.prototype.getIt=function(){return Gi(this,Tl,14)};$m.prototype.setIt=function(a){return hj(this,Tl,14,a)};$m.prototype.hasIt=function(){return Ui(this,Tl,14)};var on=function(a){this.internalArray_=m(a)};Y(on,n);on.prototype.getIt=function(){return Gi(this,Pl,13)};on.prototype.setIt=function(a){return hj(this,Pl,13,a)};on.prototype.hasIt=function(){return Ui(this,Pl,13)};var Zm=function(a){this.internalArray_=m(a,0,Zm.messageId)};Y(Zm,n);Zm.prototype.getIt=function(){return Gi(this,Hl,3)};Zm.prototype.setIt=function(a){return hj(this,Hl,3,a)};Zm.prototype.hasIt=function(){return Ui(this,Hl,3)};Zm.messageId="b.FieldId";var Sza=Qm("enableLeanFeA");var YAa=new Set([].concat(u(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",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 en=function(a){this.internalArray_=m(a)};Y(en,n);g=en.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getAddMask=function(){return Gi(this,cn,2)};g.setAddMask=function(a){return hj(this,cn,2,a)};g.getAdd=function(){return Gi(this,qm,3)};g.setAdd=function(a){return hj(this,qm,3,a)};
g.getRemoveMask=function(){return Gi(this,cn,4)};g.setRemoveMask=function(a){return hj(this,cn,4,a)};g.getRemove=function(){return Gi(this,qm,5)};g.setRemove=function(a){return hj(this,qm,5,a)};g.getIssueComment=function(){return Gi(this,fn,6)};g.setIssueComment=function(a){hj(this,fn,6,a)};g.hasIssueComment=function(){return Ui(this,fn,6)};g.setSignificanceOverride=function(a){return zl(this,7,a)};var xn=function(a){this.internalArray_=m(a)};Y(xn,n);xn.prototype.getQuery=function(){return ec(this,1)};xn.prototype.setQuery=function(a){return yl(this,1,a)};xn.prototype.clearQuery=function(){lp(this,1)};var kG=function(a){this.internalArray_=m(a)};Y(kG,n);g=kG.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setCollaboratorsToAddList=function(a){mm(this,2,a)};kG.repeatedFields_=[2];var nn=function(a){this.internalArray_=m(a)};Y(nn,n);g=nn.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getComponentId=function(){return Zi(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getComponentId_asString=function(){return Eu(this,2)};g.setComponentId=function(a){return xl(this,2,a)};var Bm=function(a){this.internalArray_=m(a)};Y(Bm,n);g=Bm.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getPosition=function(){return fi(this,2)};g.setPosition=function(a){return kl(this,2,a)};g.getIssue=function(){return Gi(this,wm,3)};g.setIssue=function(a){return hj(this,wm,3,a)};var lG=function(a){this.internalArray_=m(a)};Y(lG,n);g=lG.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getReason=function(){return Qi(this,2,0)};g.setReason=function(a){return zl(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};var mG=function(a){this.internalArray_=m(a)};Y(mG,n);g=mG.prototype;g.getQuery=function(){return ec(this,1)};g.setQuery=function(a){return yl(this,1,a)};g.clearQuery=function(){lp(this,1)};g.setOrderBy=function(a){return yl(this,2,a)};g.setPageSize=function(a){return kl(this,3,a)};g.setPageToken=function(a){return yl(this,4,a)};g.setView=function(a){return zl(this,5,a)};g.setIssueDescriptionView=function(a){return zl(this,6,a)};var mn=function(a){this.internalArray_=m(a)};Y(mn,n);g=mn.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getComponentId=function(){return Zi(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getComponentId_asString=function(){return Eu(this,2)};g.setComponentId=function(a){return xl(this,2,a)};
g.setSignificanceOverride=function(a){return zl(this,3,a)};var ln=function(a){this.internalArray_=m(a)};Y(ln,n);ln.prototype.getIssueId=function(){return Zi(this,1)};ln.prototype.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};ln.prototype.getIssueId_asString=function(){return Eu(this,1)};ln.prototype.setIssueId=function(a){return xl(this,1,a)};var nG=function(a){this.internalArray_=m(a)};Y(nG,n);g=nG.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setSignificanceOverride=function(a){return zl(this,2,a)};var sn=function(a){this.internalArray_=m(a)};Y(sn,n);g=sn.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getRetention=function(){return Qi(this,2,0)};g.setRetention=function(a){return zl(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};var oG=function(a){this.internalArray_=m(a,0,oG.messageId)};Y(oG,n);g=oG.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getReason=function(){return Qi(this,2,0)};g.setReason=function(a){return jj(this,2,a)};g.getIt=function(){return Gi(this,lG,3)};g.setIt=function(a){return hj(this,lG,3,a)};
g.hasIt=function(){return Ui(this,lG,3)};oG.messageId="b.DeleteIssueRequest";var lAa=function(a){this.internalArray_=m(a)};Y(lAa,n);g=lAa.prototype;g.getFieldName=function(){return ec(this,1)};g.setFieldName=function(a){Zh(this,1,a)};g.getValue=function(){return ec(this,2)};g.setValue=function(a){return Zh(this,2,a)};g.hasValue=function(){return Ni(this,2)};g.setActionType=function(a){jj(this,3,a)};g.getCustomFieldValue=function(){return Gi(this,on,5)};g.setCustomFieldValue=function(a){return hj(this,on,5,a)};g.clearCustomFieldValue=function(){return lp(this,5)};
g.hasCustomFieldValue=function(){return Ui(this,on,5)};var gn=function(a){this.internalArray_=m(a,0,gn.messageId)};Y(gn,n);g=gn.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getIssueAccessLimit=function(){return Gi(this,ul,2)};g.setIssueAccessLimit=function(a){hj(this,ul,2,a)};g.setAddedCollaboratorsList=function(a){mm(this,3,a)};
g.setRemovedCollaboratorsList=function(a){mm(this,4,a)};g.getIt=function(){return Gi(this,hn,5)};g.setIt=function(a){return hj(this,hn,5,a)};g.hasIt=function(){return Ui(this,hn,5)};gn.repeatedFields_=[3,4];gn.messageId="b.GetRetainedAccessPrincipalsRequest";var rn=function(a){this.internalArray_=m(a)};Y(rn,n);rn.prototype.getIt=function(){return Gi(this,wm,23)};rn.prototype.setIt=function(a){return hj(this,wm,23,a)};rn.prototype.hasIt=function(){return Ui(this,wm,23)};var qn=function(a){this.internalArray_=m(a,0,qn.messageId)};Y(qn,n);g=qn.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getPosition=function(){return fi(this,2)};g.setPosition=function(a){return gj(this,2,a)};g.getIssue=function(){return Gi(this,rn,3)};g.setIssue=function(a){return hj(this,rn,3,a)};
g.getIt=function(){return Gi(this,Bm,4)};g.setIt=function(a){return hj(this,Bm,4,a)};g.hasIt=function(){return Ui(this,Bm,4)};qn.messageId="b.HotlistIssue";var tn=function(a){this.internalArray_=m(a)};Y(tn,n);tn.prototype.getIt=function(){return Gi(this,un,6)};tn.prototype.setIt=function(a){return hj(this,un,6,a)};tn.prototype.hasIt=function(){return Ui(this,un,6)};var pn=function(a){this.internalArray_=m(a)};Y(pn,n);g=pn.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.setActionsList=function(a){mm(this,2,a)};g.getAttachmentsList=function(){return Kb(this,3,Cb(this.internalArray_)&34?Nca:Oca,hi())};g.setAttachmentsList=function(a){return Pb(this,3,a,Vca)};
g.addAllAttachments=function(a){Tb(this,3,Vca,a)};g.getAttachments=function(){var a=Kb(this,3,Cb(this.internalArray_)&34?Nca:Oca,3,void 0,!0);eb(a);return a[void 0]};g.setSignificanceOverride=function(a){return Zh(this,4,a)};g.getIt=function(){return Gi(this,en,7)};g.setIt=function(a){return hj(this,en,7,a)};g.hasIt=function(){return Ui(this,en,7)};pn.repeatedFields_=[2,3,5];var pG=function(a){this.internalArray_=m(a)};Y(pG,n);g=pG.prototype;g.getCount=function(){return fi(this,2)};g.setCount=function(a){return gj(this,2,a)};g.setS=function(a){Zh(this,3,a)};g.setP=function(a){return gj(this,4,a)};g.getNextPageToken=function(){return ec(this,5)};g.setTrackerIdsList=function(a){return Pb(this,6,a,pb)};g.getIt=function(){return Gi(this,mG,7)};g.setIt=function(a){return hj(this,mG,7,a)};g.hasIt=function(){return Ui(this,mG,7)};pG.repeatedFields_=[6];var iAa=function(a){this.internalArray_=m(a)};Y(iAa,n);g=iAa.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getComponentId=function(){return Du(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Du(this,2)};g.getComponentId_asString=function(){return Ti(this,2)};g.setComponentId=function(a){return oj(this,2,a)};
g.hasComponentId=function(){return null!=Si(this,2)};g.getIt=function(){return Gi(this,nn,4)};g.setIt=function(a){return hj(this,nn,4,a)};g.hasIt=function(){return Ui(this,nn,4)};var wn=function(a){this.internalArray_=m(a,0,wn.messageId)};Y(wn,n);wn.prototype.getIt=function(){return Gi(this,xn,4)};wn.prototype.setIt=function(a){return hj(this,xn,4,a)};wn.prototype.hasIt=function(){return Ui(this,xn,4)};wn.messageId="b.ListRecentEventsForIssuesRequest";var yn=function(a){this.internalArray_=m(a)};Y(yn,n);yn.prototype.getContent=function(){return Gi(this,vj,1)};yn.prototype.setContent=function(a){return hj(this,vj,1,a)};yn.prototype.hasContent=function(){return Ui(this,vj,1)};var qG=function(a){this.internalArray_=m(a,0,qG.messageId)};Y(qG,n);qG.prototype.getStatus=function(){return Qi(this,1,0)};qG.prototype.setStatus=function(a){return jj(this,1,a)};qG.prototype.hasStatus=function(){return Oi(this,1)};qG.messageId="b.LlmSummarizeResponse";var rG=function(a){this.internalArray_=m(a,0,rG.messageId)};Y(rG,n);g=rG.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.setCollaboratorsToAddList=function(a){mm(this,2,a)};g.getIt=function(){return Gi(this,kG,3)};g.setIt=function(a){return hj(this,kG,3,a)};g.hasIt=function(){return Ui(this,kG,3)};rG.repeatedFields_=[2];
rG.messageId="b.MarkAsVulnerabilityRequest";var gAa=function(a){this.internalArray_=m(a)};Y(gAa,n);g=gAa.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getComponentId=function(){return Du(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Du(this,2)};g.getComponentId_asString=function(){return Ti(this,2)};g.setComponentId=function(a){return oj(this,2,a)};
g.hasComponentId=function(){return null!=Si(this,2)};g.getIt=function(){return Gi(this,mn,4)};g.setIt=function(a){return hj(this,mn,4,a)};g.hasIt=function(){return Ui(this,mn,4)};var tAa=function(a){this.internalArray_=m(a)};Y(tAa,n);g=tAa.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.setTargetIdsList=function(a){return Pb(this,2,a,pb)};g.getRelation=function(){return Qi(this,3,0)};g.setRelation=function(a){jj(this,3,a)};g.setActionType=function(a){jj(this,4,a)};tAa.repeatedFields_=[2];var sG=function(a){this.internalArray_=m(a,0,sG.messageId)};Y(sG,n);sG.prototype.getIt=function(){return Gi(this,lm,9)};sG.prototype.setIt=function(a){return hj(this,lm,9,a)};sG.prototype.hasIt=function(){return Ui(this,lm,9)};sG.messageId="b.StatusUpdate";var kn=function(a){this.internalArray_=m(a,0,kn.messageId)};Y(kn,n);g=kn.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getIt=function(){return Gi(this,ln,3)};g.setIt=function(a){return hj(this,ln,3,a)};g.hasIt=function(){return Ui(this,ln,3)};kn.messageId="b.UnCcUserActionRequest";var tG=function(a){this.internalArray_=m(a,0,tG.messageId)};Y(tG,n);g=tG.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getIt=function(){return Gi(this,nG,2)};g.setIt=function(a){return hj(this,nG,2,a)};g.hasIt=function(){return Ui(this,nG,2)};tG.messageId="b.UndeleteIssueRequest";var uG=function(a){this.internalArray_=m(a,0,uG.messageId)};Y(uG,n);g=uG.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getIssueAccessLimit=function(){return Gi(this,ul,2)};g.setIssueAccessLimit=function(a){hj(this,ul,2,a)};g.setAddedCollaboratorsList=function(a){mm(this,3,a)};
g.setRemovedCollaboratorsList=function(a){mm(this,4,a)};g.getIt=function(){return Gi(this,gG,5)};g.setIt=function(a){return hj(this,gG,5,a)};g.hasIt=function(){return Ui(this,gG,5)};uG.repeatedFields_=[3,4];uG.messageId="b.UpdateIssueAccessLimitRequest";var pAa=function(a){this.internalArray_=m(a)};Y(pAa,n);pAa.prototype.setSignificanceOverride=function(a){return jj(this,4,a)};pAa.repeatedFields_=[1,2];var wAa=function(a){this.internalArray_=m(a)};Y(wAa,n);g=wAa.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getRetention=function(){return Qi(this,2,0)};g.setRetention=function(a){return jj(this,2,a)};g.setSignificanceOverride=function(a){return jj(this,3,a)};g.getIt=function(){return Gi(this,sn,5)};
g.setIt=function(a){return hj(this,sn,5,a)};g.hasIt=function(){return Ui(this,sn,5)};var jn=Qm("enableLeanFeC"),cAa=Qm("enableLeanFeE");var Bn=function(a){this.internalArray_=m(a)};Y(Bn,n);Bn.prototype.setActionsList=function(a){mm(this,1,a)};Bn.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Cu(this,2,hi())};Bn.prototype.getIssueIdsList_asString=function(){return Fj(this,2)};Bn.prototype.setIssueIdsList=function(a){return Pb(this,2,a,pb)};Bn.repeatedFields_=[1,2];var V8b=function(a){this.internalArray_=m(a)};Y(V8b,n);V8b.prototype.setSignificanceOverride=function(a){return Zh(this,3,a)};V8b.repeatedFields_=[4];var KAa=Qm("enableLeanFeC");var QAa=Qm("enableLeanFeC");var W8b=RegExp("action/issues/([0-9]+)/"),X8b=new rd("ETAG_URL_TRANSFORMERS"),Y8b=["POST","PUT","DELETE"],vG=function(a){this.etagStore=a};vG.prototype.intercept=function(a,b){if(Y8b.includes(a.method)){var c=this.etagStore.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}W8b.exec(a.url);return Z8b(this,a,b)};var Z8b=function(a,b,c){return c.handle(b).pipe(yf(function(d){d instanceof bA&&(d=d.headers,d.has("etag")&&a.etagStore.setEtag(b,d.get("etag")))}))};
vG.\u0275fac=function(a){return new (a||vG)(p(wG))};vG.\u0275prov=Pc({token:vG,factory:vG.\u0275fac,providedIn:"root"});var wG=function(a){this.transformers=a;this.etagStore={}};wG.prototype.setEtag=function(a,b){null!=b&&(a=$8b(this,a.url),this.etagStore[a]=b)};wG.prototype.getEtag=function(a){a=$8b(this,a.url);return this.etagStore[a]};var $8b=function(a,b){var c;a=k(null!=(c=a.transformers)?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};
wG.\u0275fac=function(a){return new (a||wG)(p(X8b,8))};wG.\u0275prov=Pc({token:wG,factory:wG.\u0275fac,providedIn:"root"});var a9b={provide:dA,useClass:vG,multi:!0};var xG=function(a){this.internalArray_=m(a)};Y(xG,n);g=xG.prototype;g.getHotlistId=function(){return Zi(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setHotlistId=function(a){return xl(this,1,a)};g.setOrderBy=function(a){return yl(this,2,a)};g.setPageSize=function(a){return kl(this,3,a)};g.setPageToken=function(a){return yl(this,4,a)};g.getFilter=function(){return ec(this,5)};g.setFilter=function(a){return yl(this,5,a)};g.setView=function(a){return zl(this,6,a)};
g.setIssueDescriptionView=function(a){return zl(this,7,a)};g.getQuery=function(){return ec(this,8)};g.setQuery=function(a){return yl(this,8,a)};g.clearQuery=function(){lp(this,8)};var b9b=function(a){this.internalArray_=m(a)};Y(b9b,n);g=b9b.prototype;g.getHotlistId=function(){return Zi(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setHotlistId=function(a){return xl(this,1,a)};g.getIssueId=function(){return Zi(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getIssueId_asString=function(){return Eu(this,2)};g.setIssueId=function(a){return xl(this,2,a)};var yG=function(a){this.internalArray_=m(a)};Y(yG,n);g=yG.prototype;g.getIssuesList=function(){return Ii(this,wm,1,hi())};g.getNextPageToken=function(){return ec(this,2)};g.getTotalSize=function(){return fi(this,3)};g.getTotalSizeAccurate=function(){return Li(this,4)};g.getMaySkipResults=function(){return Li(this,5)};yG.repeatedFields_=[1];var zG=function(a){this.internalArray_=m(a,0,zG.messageId)};Y(zG,n);g=zG.prototype;g.getIssuesList=function(){return Ii(this,rn,1,hi())};g.getNumTotalResults=function(){return fi(this,2)};g.getNextPageToken=function(){return ec(this,5)};g.getTotalSizeAccurate=function(){return Li(this,7)};g.getMaySkipResults=function(){return Li(this,8)};g.getIt=function(){return Gi(this,yG,6)};g.setIt=function(a){return hj(this,yG,6,a)};g.hasIt=function(){return Ui(this,yG,6)};zG.repeatedFields_=[1];
zG.messageId="b.IssueSearchResponse";var AG=function(a){this.internalArray_=m(a,0,AG.messageId)};Y(AG,n);AG.prototype.getIt=function(){return Gi(this,xG,1)};AG.prototype.setIt=function(a){return hj(this,xG,1,a)};AG.prototype.hasIt=function(){return Ui(this,xG,1)};AG.messageId="b.ListHotlistEntriesRequest";var BG=function(a){this.internalArray_=m(a)};Y(BG,n);BG.prototype.getNextPageToken=function(){return ec(this,2)};BG.prototype.getTotalSize=function(){return fi(this,3)};BG.prototype.getTotalSizeAccurate=function(){return Li(this,4)};BG.prototype.getMaySkipResults=function(){return Li(this,5)};BG.repeatedFields_=[1];var CG=function(a){this.internalArray_=m(a,0,CG.messageId)};Y(CG,n);CG.prototype.getIt=function(){return Gi(this,BG,1)};CG.prototype.setIt=function(a){return hj(this,BG,1,a)};CG.prototype.hasIt=function(){return Ui(this,BG,1)};CG.messageId="b.ListHotlistEntriesResponse";var DG=function(a){this.internalArray_=m(a,0,DG.messageId)};Y(DG,n);DG.prototype.getHotlistsList=function(){return Ii(this,Cm,1,hi())};DG.repeatedFields_=[1];DG.messageId="b.ListHotlistsResponse";var EG=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=EG.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)};EG.\u0275fac=function(a){return new (a||EG)(p(aG),p(FG))};EG.\u0275prov=Pc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var GG=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
GG.prototype.call=function(a){a=Array.from(a).map(String);return 0===a.length?(0,X.of)(new Map):1===a.length?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:Cm}).pipe(z(Fm),z(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:DG,options:{params:{id:a}}}).pipe(z(function(b){var c=new Map;b=k(b.getHotlistsList().map(Fm));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
GG.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;null!=c&&(a=$8b(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};GG.\u0275fac=function(a){return new (a||GG)(p(HE),p(wG))};GG.\u0275prov=Pc({token:GG,factory:GG.\u0275fac,providedIn:"root"});var HG=function(a,b,c,d,e){this.paths=a;this.executor=b;this.batchApiConfig=c;this.batchApiAdapter=d;this.activeSession=e;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=HG.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(wf(function(c){return c?(0,X.of)(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:Cm}).pipe(z(Fm))}))};g.bulkLoad=function(a){var b=this;return 0===a.length?(0,X.of)([]):(0,X.forkJoin)(a.map(function(c){return b.adaptedGet(String(c))})).pipe(z(function(c){return c.filter(Ei)}))};
g.repositionHotlistIssue=function(a,b,c){if(!hE(this.activeSession,"enableLeanFeC")){var d=(new qn).setIssueId(b).setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})}d=(new b9b).setHotlistId(Number(a)).setIssueId(b);b=(new Bm).setIssueId(Number(b)).setPosition(c);d=hj(d,Bm,3,b);return this.executor.put({url:"action/hotlists/"+a+"/entry",body:d,responseConstructor:null})};
g.createHotlist=function(a,b){a=(new Dm).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new Cm).setIt(a),responseConstructor:Cm}).pipe(z(Fm))};g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:DG,options:{params:{q:a}}}).pipe(z(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Fm)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:eza(b),responseConstructor:Cm}).pipe(z(Fm))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:eza(b),options:{headers:c},responseConstructor:Cm}).pipe(z(Fm))};
g.getPagedHotlistContent=function(a,b,c,d,e){if(!hE(this.activeSession,"enableLeanFeC"))return c9b(this,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 xG).setHotlistId(a).setOrderBy(qxa(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 AG).setIt(b),responseConstructor:CG}).pipe(z(function(h){return dza(h.getIt())}))};var c9b=function(a,b,c,d,e,f){c={p:String(c),count:String(d)};if(e=a.paths.toApiSortParamValue(e))c.s=e;f&&(c.trackerIds=f);return a.executor.get({url:"action/hotlists/"+b+"/issues",options:{params:Object.assign({},c)},responseConstructor:zG}).pipe(z(RAa))};HG.\u0275fac=function(a){return new (a||HG)(p(RF),p(HE),p(GG),p(SF),p(Zr))};HG.\u0275prov=Pc({token:HG,factory:HG.\u0275fac,providedIn:"root"});
var FG=function(a){this.observableApi=a};g=FG.prototype;g.get=function(a){return(0,X.firstValueFrom)(this.observableApi.get(a))};g.bulkLoad=function(a){return(0,X.firstValueFrom)(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};g.createHotlist=function(a,b){return(0,X.firstValueFrom)(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return(0,X.firstValueFrom)(this.observableApi.queryHotlists(a))};
g.archiveHotlist=function(a,b){return(0,X.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return(0,X.firstValueFrom)(this.observableApi.updateMetadata(a,b))};g.getPagedHotlistContent=function(a,b,c,d,e){return(0,X.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};FG.\u0275fac=function(a){return new (a||FG)(p(HG))};FG.\u0275prov=Pc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var bBa=function(a){this.internalArray_=m(a)};Y(bBa,n);bBa.repeatedFields_=[1,2];var $Aa=function(a){this.internalArray_=m(a)};Y($Aa,n);var IG=function(a){this.internalArray_=m(a)};Y(IG,n);IG.prototype.getField=function(){return ec(this,1)};IG.prototype.clearField=function(){return lp(this,1)};var ZAa=[3,4];var fBa=new Iz("M/d/yyyy");var hBa=RegExp("^https:\\/\\/([\\w-]+)-review\\.(googlesource|git\\.corp\\.google)\\.com\\/c\\/([\\w-\\/]+)\\/\\+\\/([1-9]+)$");var jBa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var BBa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),ABa=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"),FBa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var RBa=function(){this.updates=[];this.hasInitialUpdate=!1;this.summary=[]},SBa=function(a,b){a.updates.push(b);a.hasInitialUpdate=a.hasInitialUpdate||0===b.version;a.author=a.author||b.author;a.statusUpdate=b.statusUpdate||a.statusUpdate;var c;a.firstUpdateVersion=null!=(c=a.firstUpdateVersion)?c:b.version;b.comment&&(a.comment=b.comment,a.commentTimestamp=b.timestamp);return a},HBa=function(a,b){a.summary.push.apply(a.summary,u(b))},OBa=function(a){var b=d9b(a,a.updates.flatMap(wBa)),c=e9b(a,b),
d=c.preDiffs,e=c.postDiffs;c=a.updates.flatMap(function(l){return l.attachments});var f;d={attachments:c,preDiffs:d,postDiffs:e,modifiedDate:Kn(a.commentTimestamp||(null==(f=a.updates[0])?void 0:f.timestamp)),userPerformingAction:Nn(a.author),userPerformingActionUser:a.author,version:a.firstUpdateVersion,isMajorEvent:!!a.comment||!!c.length||a.hasInitialUpdate||b.some(function(l){return l.important}),statusUpdate:a.statusUpdate,taggedSummary:a.summary,issueId:a.updates[0].issueId};if(a.comment){d.commentContentVerdict=
a.comment.commentContentVerdict;var h;d.commentDeletionStatus=null==(h=a.comment.entityStatus)?void 0:h.status;d.commentEtag=a.comment.etag;d.commentLastModifiedAtDate=a.comment.lastModified?Math.round(Kn(ll(ol(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},e9b=function(a,b){if(!a.comment)return{preDiffs:b,postDiffs:[]};var c=b.filter(function(d){return d.timestamp<Kn(a.commentTimestamp)});b=b.filter(function(d){return d.timestamp>=Kn(a.commentTimestamp)});return{preDiffs:c,postDiffs:b}},d9b=function(a,b){return a.hasInitialUpdate?b.filter(function(c){return"isArchived"===c.name&&
"false"===c.newValue||"inProd"===c.name&&"false"===c.newValue?!1:!0}):b};var LBa=Nm(function(a){return a.modifiedDate},Om),QBa=Nm(function(a){return a.version},Om);var Sn=function(a){this.internalArray_=m(a,0,Sn.messageId)};Y(Sn,n);Sn.prototype.getResource=function(){return ec(this,1)};Sn.prototype.getRelation=function(){return Qi(this,2,0)};Sn.prototype.setRelation=function(a){jj(this,2,a)};Sn.messageId="b.ResourceRelation";var JG=function(a){this.internalArray_=m(a,0,JG.messageId)};Y(JG,n);JG.repeatedFields_=[1];JG.messageId="b.UserAccessBatchResponse";var KG=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+)$")};KG.prototype.validate=function(a){return this.resourceNamePattern.test(a)};KG.\u0275fac=function(a){return new (a||KG)};KG.\u0275prov=Pc({token:KG,factory:KG.\u0275fac,providedIn:"root"});
var LG=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return f9b(d,e)})},f9b=function(a,b){return g9b(a,b).then(function(c){return UBa(b,c)})},NG=function(a,b,c){return a.resourceNameValidator.validate(c)?MG(a,b,c):Promise.reject("invalid resource name: "+c)},h9b=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([MG(a,"admin",b),MG(a,"writer",b),MG(a,"appender",b),MG(a,"reader",b)]).then(function(c){var d=
k(c);c=d.next().value;var e=d.next().value,f=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:f,reader:d}}):Promise.reject("invalid resource name: "+b)},g9b=function(a,b){var c=[],d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return(0,X.firstValueFrom)(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:JG}).pipe(z(TBa)))},MG=function(a,
b,c){var d=b+"/"+c,e=a.accesses[d];if(e)return e;b=a.accessGetter.get({relation:b,resourceName:c}).then(function(f){return null==f?!1:f});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};LG.\u0275fac=function(a){return new (a||LG)(p(OG),p(KG),p(GE))};LG.\u0275prov=Pc({token:LG,factory:LG.\u0275fac,providedIn:"root"});var OG=function(a){this.executor=a};OG.\u0275fac=function(a){return new (a||OG)(p(HE))};OG.\u0275prov=Pc({token:OG,factory:OG.\u0275fac,providedIn:"root"});var PG=function(a){this.internalArray_=m(a)};Y(PG,n);PG.prototype.setMaxResults=function(a){return kl(this,1,a)};PG.prototype.setView=function(a){return zl(this,2,a)};PG.prototype.setIssueDescriptionView=function(a){return zl(this,3,a)};var QG=function(a){this.internalArray_=m(a)};Y(QG,n);g=QG.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,1,hi())};g.getIssueIdsList_asString=function(){return Fj(this,1)};g.setIssueIdsList=function(a){return Do(this,1,a)};g.setView=function(a){return zl(this,2,a)};g.setIssueDescriptionView=function(a){return zl(this,3,a)};QG.repeatedFields_=[1];var i9b=function(a){this.internalArray_=m(a)};Y(i9b,n);g=i9b.prototype;g.getComponentId=function(){return Zi(this,5)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,5)};g.getComponentId_asString=function(){return Eu(this,5)};g.setComponentId=function(a){return xl(this,5,a)};g.getTitle=function(){return ec(this,6)};g.setTitle=function(a){return yl(this,6,a)};g.getComment=function(){return ec(this,7)};g.setComment=function(a){return yl(this,7,a)};
g.getAttachmentsList=function(){return Ii(this,Cl,8,hi())};g.setAttachmentsList=function(a){return mm(this,8,a)};g.addAllAttachments=function(a){yu(this,8,Cl,a)};g.setSignificanceOverride=function(a){return zl(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Zi(this,4)};g.setTemplateId=function(a){return xl(this,4,a)};i9b.repeatedFields_=[8];var j9b=function(a){this.internalArray_=m(a)};Y(j9b,n);g=j9b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setTargetIdsList=function(a){return Do(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};j9b.repeatedFields_=[2];var k9b=function(a){this.internalArray_=m(a)};Y(k9b,n);g=k9b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setTargetIdsList=function(a){return Do(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};k9b.repeatedFields_=[2];var l9b=function(a){this.internalArray_=m(a)};Y(l9b,n);g=l9b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setTargetId=function(a){return xl(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};var m9b=function(a){this.internalArray_=m(a)};Y(m9b,n);g=m9b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setTargetIdsList=function(a){return Do(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};m9b.repeatedFields_=[2];var n9b=function(a){this.internalArray_=m(a)};Y(n9b,n);g=n9b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setTargetIdsList=function(a){return Do(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};n9b.repeatedFields_=[2];var o9b=function(a){this.internalArray_=m(a)};Y(o9b,n);g=o9b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setTargetId=function(a){return xl(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};var RG=function(a){this.internalArray_=m(a,0,RG.messageId)};Y(RG,n);g=RG.prototype;g.setIdsList=function(a){Pb(this,2,a,pb)};g.getIds=function(a){var b=Cu(this,2,3,void 0,!0);eb(b,a);return b[a]};g.setIds=function(a){return Vb(this,2,pb,a,void 0,Cu)};g.getIt=function(){return Gi(this,QG,3)};g.setIt=function(a){return hj(this,QG,3,a)};g.hasIt=function(){return Ui(this,QG,3)};RG.repeatedFields_=[2];RG.messageId="b.BatchGetIssuesRequest";var SG=function(a){this.internalArray_=m(a)};Y(SG,n);SG.prototype.getIssuesList=function(){return Ii(this,wm,1,hi())};SG.repeatedFields_=[1];var TG=function(a){this.internalArray_=m(a,0,TG.messageId)};Y(TG,n);TG.prototype.getIssuesList=function(){return Ii(this,rn,1,hi())};TG.prototype.getIt=function(){return Gi(this,SG,2)};TG.prototype.setIt=function(a){return hj(this,SG,2,a)};TG.prototype.hasIt=function(){return Ui(this,SG,2)};TG.repeatedFields_=[1];TG.messageId="b.BatchGetIssuesResponse";var HAa=function(a){this.internalArray_=m(a)};Y(HAa,n);g=HAa.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getMessage=function(){return ec(this,2)};g.setMessage=function(a){return Zh(this,2,a)};var UG=function(a){this.internalArray_=m(a,0,UG.messageId)};Y(UG,n);UG.prototype.setErrors=function(a,b){wu(this,2,HAa,a,b)};UG.repeatedFields_=[2];UG.messageId="b.BulkEditResponse";var VG=function(a){this.internalArray_=m(a)};Y(VG,n);g=VG.prototype;g.getReadersList=function(a){return Ii(this,sl,1,hi(a))};g.setReadersList=function(a){return mm(this,1,a)};g.getAppendersList=function(a){return Ii(this,sl,2,hi(a))};g.setAppendersList=function(a){return mm(this,2,a)};g.getWritersList=function(a){return Ii(this,sl,3,hi(a))};VG.repeatedFields_=[1,2,3];var WG=function(a){this.internalArray_=m(a,0,WG.messageId)};Y(WG,n);g=WG.prototype;g.getReadersList=function(a){return Ii(this,Wm,1,hi(a))};g.setReadersList=function(a){return mm(this,1,a)};g.getAppendersList=function(a){return Ii(this,Wm,2,hi(a))};g.setAppendersList=function(a){return mm(this,2,a)};g.getWritersList=function(a){return Ii(this,Wm,3,hi(a))};g.getIt=function(){return Gi(this,VG,4)};g.setIt=function(a){return hj(this,VG,4,a)};g.hasIt=function(){return Ui(this,VG,4)};
WG.repeatedFields_=[1,2,3];WG.messageId="b.GetRetainedAccessPrincipalsResponse";var XG=function(a){this.internalArray_=m(a,0,XG.messageId)};Y(XG,n);XG.prototype.getIssueId=function(){return Du(this,1)};XG.prototype.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};XG.prototype.getIssueId_asString=function(){return Ti(this,1)};XG.prototype.setIssueId=function(a){return oj(this,1,a)};XG.messageId="b.IssueCreateResponse";var YG=function(a){this.internalArray_=m(a,0,YG.messageId)};Y(YG,n);YG.prototype.getIssue=function(){return Gi(this,rn,1)};YG.prototype.setIssue=function(a){return hj(this,rn,1,a)};YG.messageId="b.IssueFetchResponse";var p9b=function(a){this.internalArray_=m(a)};Y(p9b,n);g=p9b.prototype;g.getIssueId=function(){return Zi(this,10)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,10)};g.getIssueId_asString=function(){return Eu(this,10)};g.setIssueId=function(a){return xl(this,10,a)};g.getAuthor=function(){return Gi(this,xi,1)};g.setAuthor=function(a){hj(this,xi,1,a)};g.hasAuthor=function(){return Ui(this,xi,1)};g.getTimestamp=function(){return Gi(this,aj,2)};
g.setTimestamp=function(a){return hj(this,aj,2,a)};g.hasTimestamp=function(){return Ui(this,aj,2)};g.getIssueComment=function(){return Gi(this,fn,3)};g.setIssueComment=function(a){hj(this,fn,3,a)};g.hasIssueComment=function(){return Ui(this,fn,3)};g.getCommentNumber=function(){return fi(this,4)};g.setCommentNumber=function(a){return kl(this,4,a)};g.getAttachmentsList=function(){return Ii(this,Cl,8,hi())};g.setAttachmentsList=function(a){return mm(this,8,a)};
g.addAllAttachments=function(a){yu(this,8,Cl,a)};g.getStatusUpdate=function(){return Gi(this,lm,9)};g.setStatusUpdate=function(a){hj(this,lm,9,a)};g.hasStatusUpdate=function(){return Ui(this,lm,9)};g.getFieldUpdatesList=function(){return Ii(this,IG,6,hi())};g.getVersion=function(){return fi(this,7)};g.setVersion=function(a){return kl(this,7,a)};p9b.repeatedFields_=[8,6];var ZG=function(a){this.internalArray_=m(a,0,ZG.messageId)};Y(ZG,n);ZG.repeatedFields_=[2];ZG.messageId="b.ListIssueEventsResponse";var $G=function(a){this.internalArray_=m(a,0,$G.messageId)};Y($G,n);$G.prototype.getIt=function(){return Gi(this,PG,1)};$G.prototype.setIt=function(a){return hj(this,PG,1,a)};$G.prototype.hasIt=function(){return Ui(this,PG,1)};$G.messageId="b.ListRecentIssuesRequest";var aH=function(a){this.internalArray_=m(a)};Y(aH,n);aH.prototype.getIssuesList=function(){return Ii(this,wm,1,hi())};aH.repeatedFields_=[1];var bH=function(a){this.internalArray_=m(a,0,bH.messageId)};Y(bH,n);bH.prototype.getIt=function(){return Gi(this,aH,2)};bH.prototype.setIt=function(a){return hj(this,aH,2,a)};bH.prototype.hasIt=function(){return Ui(this,aH,2)};bH.messageId="b.ListRecentIssuesResponse";var cH=function(a){this.internalArray_=m(a,0,cH.messageId)};Y(cH,n);cH.prototype.getIssueId=function(){return Du(this,1)};cH.prototype.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};cH.prototype.getIssueId_asString=function(){return Ti(this,1)};cH.prototype.setIssueId=function(a){return oj(this,1,a)};cH.messageId="b.LlmSummarizeRequest";var rAa=function(a){this.internalArray_=m(a)};Y(rAa,n);g=rAa.prototype;g.getIssueId=function(){return Du(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};g.getIssueId_asString=function(){return Ti(this,1)};g.setIssueId=function(a){return oj(this,1,a)};g.getStatus=function(){return Qi(this,2,0)};g.setStatus=function(a){return jj(this,2,a)};g.hasStatus=function(){return Oi(this,2)};g.getTitle=function(){return ec(this,3)};g.setTitle=function(a){return Zh(this,3,a)};
g.getVersion=function(){return fi(this,4)};g.setVersion=function(a){return gj(this,4,a)};g.getVersionOrUndefined=function(){return Hu(this,4)};g.getIsArchived=function(){return Li(this,5)};g.setIsArchived=function(a){return $h(this,5,a)};var dH=function(a){this.internalArray_=m(a,0,dH.messageId)};Y(dH,n);dH.prototype.getNumTotalResults=function(){return Zi(this,2)};dH.repeatedFields_=[1];dH.messageId="b.RelatedIssuesResponse";var eH=function(a,b,c){this.executor=a;this.userAccess=b;this.activeSession=c};g=eH.prototype;
g.createIssue=function(a){var b=this;return(0,X.defer)(function(){return NG(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(wf(function(c){if(c){var d=yAa(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:XG}).pipe(z(zAa))}else{c=(new i9b).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=em(a.snapshot.formattingMode);
c=zl(c,9,f).setAttachmentsList(null!=(e=null==(d=a.attachments)?void 0:d.map(Qxa))?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:XG}).pipe(z(zAa))}return d}))};
g.createIssueWithWizard=function(a){var b=yAa(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:XG}).pipe(z(zAa))};g.getIssue=function(a){var b={},c,d=null==(c=this.activeSession.getTracker())?void 0:c.trackerId;d&&(b.currentTrackerId=d);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:YG}).pipe(z(function(e){return An(e)}))};
g.batchGetIssues=function(a){var b=this,c=new RG;hE(this.activeSession,"enableLeanFeC")?c.setIt((new QG).setIssueIdsList(a.map(Bi).filter(Ei)).setView(2).setIssueDescriptionView(2)):c.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:c,responseConstructor:TG}).pipe(z(function(d){return hE(b.activeSession,"enableLeanFeC")&&d.hasIt()?d.getIt().getIssuesList().map(vm):d.getIssuesList().map(function(e){return zn(e)})}))};
g.updateIssue=function(a,b){b=oAa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};g.moveIssueExternal=function(a,b){b=jAa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};g.moveIssue=function(a,b){b=hAa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};
g.unCcUser=function(a){var b=fAa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};
g.updateAccessLimit=function(a,b,c,d){if(cAa){var e=new uG,f=e.setIt,h=(new gG).setIssueId(a);b&&(b=sxa(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(yi));d&&h.setRemovedCollaboratorsList(d.map(yi));c=f.call(e,h)}else{e=(new uG).setIssueId(a);if(b){if(b=dAa[b])b=(new ul).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(al));d&&e.setRemovedCollaboratorsList(d.map(al))}c=e}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:null})};
g.getRetainedAccessPrincipals=function(a,b,c,d){b=eAa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:WG}).pipe(z(function(e){var f,h,l;var q={readers:Ym(null!=(f=e.getReadersList(zi))?f:[]),appenders:Ym(null!=(h=e.getAppendersList(zi))?h:[]),writers:Ym(null!=(l=e.getWritersList(zi))?l:[])};cAa&&e.hasIt()&&(e=e.getIt(),e={readers:e.getReadersList().map(rl),appenders:e.getAppendersList().map(rl),writers:e.getWritersList().map(rl)},Pm(q,
e),q=e);return q}))};g.markAsVulnerability=function(a,b){if(jn){var c=(new kG).setIssueId(Number(a));b&&c.setCollaboratorsToAddList(b.map(yi));b=(new rG).setIt(c)}else c=(new rG).setIssueId(a),b&&c.setCollaboratorsToAddList(b.map(al)),b=c;return this.executor.post({url:"action/issues/"+a+"/markAsVulnerability",body:b,responseConstructor:null})};
g.relateIssue=function(a,b){if(hE(this.activeSession,"enableLeanFeC")){if("BLOCKING"===b.relation&&"ADD"===b.actionType)return this.addBlocking(a,b.targetIds);if("BLOCKING"===b.relation&&"REMOVE"===b.actionType)return this.removeBlocking(a,b.targetIds);if("BLOCKED_BY"===b.relation&&"ADD"===b.actionType)return this.addBlockedBy(a,b.targetIds);if("BLOCKED_BY"===b.relation&&"REMOVE"===b.actionType)return this.removeBlockedBy(a,b.targetIds);if("DUPLICATE"===b.relation&&"ADD"===b.actionType)return q9b(this,
a,b.targetIds[0]);if("DUPLICATE"===b.relation&&"REMOVE"===b.actionType)return r9b(this,a);throw Error("Gc");}b=vAa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};g.addBlocking=function(a,b){b=(new k9b).setIssueId(Number(a)).setTargetIdsList(b.map(Bi).filter(Ei));return this.executor.post({url:"action/issues/"+a+"/add_blocking",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};
g.removeBlocking=function(a,b){b=(new n9b).setIssueId(Number(a)).setTargetIdsList(b.map(Bi).filter(Ei));return this.executor.post({url:"action/issues/"+a+"/remove_blocking",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};g.addBlockedBy=function(a,b){b=(new j9b).setIssueId(Number(a)).setTargetIdsList(b.map(Bi).filter(Ei));return this.executor.post({url:"action/issues/"+a+"/add_blocked_by",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};
g.removeBlockedBy=function(a,b){b=(new m9b).setIssueId(Number(a)).setTargetIdsList(b.map(Bi).filter(Ei));return this.executor.post({url:"action/issues/"+a+"/remove_blocked_by",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};
var q9b=function(a,b,c){c=(new l9b).setIssueId(Number(b)).setTargetId(Number(c));return a.executor.post({url:"action/issues/"+b+"/mark_as_duplicate",body:c,responseConstructor:YG}).pipe(z(function(d){return An(d)}))},r9b=function(a,b){var c=(new o9b).setIssueId(Number(b));return a.executor.post({url:"action/issues/"+b+"/unmark_as_duplicate",body:c,responseConstructor:YG}).pipe(z(function(d){return An(d)}))};
eH.prototype.updateIssueHotlists=function(a,b){b=qAa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};eH.prototype.updateIssueRetention=function(a,b){b=xAa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:YG}).pipe(z(function(c){return An(c)}))};
eH.prototype.listIssues=function(a,b){b=void 0===b?{}:b;if(jn){a=(new mG).setQuery(a);b.s&&a.setOrderBy(rxa(b.s));b.count&&(a.setPageSize(b.count),b.p&&a.setPageToken("start_index:"+b.count*(b.p-1)));var c;a=(new pG).setIt(a).setTrackerIdsList(null!=(c=b.trackerIds)?c:[])}else{c=new pG;Zh(c,1,a);b.count&&c.setCount(b.count);b.s&&c.setS(b.s);b.p&&c.setP(b.p);var d;c.setTrackerIdsList(null!=(d=b.trackerIds)?d:[]);a=c}return this.executor.post({url:"action/issues/list",body:a,responseConstructor:zG}).pipe(z(RAa))};
var s9b=function(a,b){var c=new PG;b&&c.setMaxResults(b);b=(new $G).setIt(c);return a.executor.post({url:"action/issues/recent",body:b,responseConstructor:bH}).pipe(z(function(d){return d.getIt().getIssuesList().map(function(e){return vm(e)})}))};
eH.prototype.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new V8b;var d=a.bulkEditOps.map(FAa);mm(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:UG,options:{headers:c}}).pipe(z(IAa))};
eH.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:dH}).pipe(z(sAa))};
var u9b=function(a,b){var c,d;return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:null!=(d=null==(c=a.activeSession.getTracker())?void 0:c.trackerId)?d:""}},responseConstructor:ZG}).pipe(z(function(e){return t9b(e,!1)}))},v9b=function(a,b){b=BAa(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:ZG}).pipe(z(function(c){return t9b(c,!0)}))},t9b=function(a,b){a=Ii(a,p9b,2,hi()).map(XAa);return b?MBa(a):KBa(a)};
eH.\u0275fac=function(a){return new (a||eH)(p(HE),p(LG),p(Zr))};eH.\u0275prov=Pc({token:eH,factory:eH.\u0275fac,providedIn:"root"});var fH=function(a){this.observableApi=a};g=fH.prototype;g.createIssue=function(a){return(0,X.firstValueFrom)(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return(0,X.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};g.getIssue=function(a){return(0,X.firstValueFrom)(this.observableApi.getIssue(a))};g.batchGetIssues=function(a){return(0,X.firstValueFrom)(this.observableApi.batchGetIssues(a))};
g.updateIssue=function(a,b){return(0,X.firstValueFrom)(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return(0,X.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return(0,X.firstValueFrom)(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return(0,X.firstValueFrom)(this.observableApi.unCcUser(a))};g.updateAccessLimit=function(a,b,c,d){return(0,X.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};
g.getRetainedAccessPrincipals=function(a,b,c,d){return(0,X.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return(0,X.firstValueFrom)(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return(0,X.firstValueFrom)(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return(0,X.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return(0,X.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=void 0===b?{}:b;return(0,X.firstValueFrom)(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return(0,X.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return(0,X.firstValueFrom)(this.observableApi.getRelatedIssues(a))};fH.\u0275fac=function(a){return new (a||fH)(p(eH))};
fH.\u0275prov=Pc({token:fH,factory:fH.\u0275fac,providedIn:"root"});var YBa=Qm("enableLeanFeC");var gH=function(){this.bookmarkGroupModified=new X.Subject;this.commentSubmitted=new X.Subject;this.commentRendered=new X.Subject;this.componentModified=new X.Subject;this.contactChipsRevertChanges=new X.Subject;this.customFieldsModified=new X.Subject;this.dashboardPanels={moveDown:new X.Subject,moveUp:new X.Subject,moveToTop:new X.Subject,moveToBottom:new X.Subject,remove:new X.Subject};this.favoritesModified=new X.Subject;this.hotlistCreated=new X.Subject;this.onClickAppMenuIcon=new X.Subject;this.openEditField=
new X.Subject;this.sidebarWidthChanged=new X.Subject;this.hotlistChanged=new X.Subject;this.savedSearchModified=new X.Subject;this.sidebarUpdated=new X.Subject;this.topBarEvents={browseComponents:new X.Subject,manageHotlists:new X.Subject,manageSlos:new X.Subject,setDensity:new X.Subject,openSettings:new X.Subject};this.templateModified=new X.Subject;this.issueViewed=new X.Subject;this.issueEdited=new X.Subject;this.focusCommentBox=new X.Subject;this.scrollToCommentBox=new X.Subject;this.needsAttentionIssueCount=
new X.Subject;this.recaptchaSubmitted=new X.Subject;this.missionControlTaskCount=new X.BehaviorSubject(void 0);this.openHelpMeFixSidebar=new X.Subject;this.closeHelpMeFixSidebar=new X.Subject;this.didShowIssueHovercard=new X.Subject};gH.\u0275fac=function(a){return new (a||gH)};gH.\u0275prov=Pc({token:gH,factory:gH.\u0275fac,providedIn:"root"});var hH=function(a){this.internalArray_=m(a)};Y(hH,n);hH.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,1,hi())};hH.prototype.getIssueIdsList_asString=function(){return Fj(this,1)};hH.prototype.setIssueIdsList=function(a){return Do(this,1,a)};hH.prototype.setDismiss=function(a){return Ul(this,2,a)};hH.repeatedFields_=[1];var w9b=function(a){this.internalArray_=m(a)};Y(w9b,n);g=w9b.prototype;g.getSignalsList=function(){return ej(this,6,hi())};g.setSignalsList=function(a){qj(this,6,a)};g.getCount=function(){return fi(this,1)};g.setCount=function(a){return gj(this,1,a)};g.setS=function(a){Zh(this,2,a)};g.setP=function(a){return gj(this,3,a)};g.getNextPageToken=function(){return ec(this,4)};g.setTrackerIdsList=function(a){return Pb(this,5,a,pb)};w9b.repeatedFields_=[6,5];var x9b=function(a){this.internalArray_=m(a)};Y(x9b,n);g=x9b.prototype;g.getTimestamp=function(){return Gi(this,aj,2)};g.setTimestamp=function(a){return hj(this,aj,2,a)};g.hasTimestamp=function(){return Ui(this,aj,2)};g.getCommentNumbersList=function(a){return ii(this,3,hi(a))};g.setCommentNumbersList=function(a){return Ip(this,3,a)};g.getCommentNumbers=function(){return Fu(this,3)};x9b.repeatedFields_=[3];var Tn=function(a){this.internalArray_=m(a)};Y(Tn,n);Tn.prototype.getIssue=function(){return Gi(this,rn,1)};Tn.prototype.setIssue=function(a){return hj(this,rn,1,a)};Tn.prototype.getSignalsList=function(){return Ii(this,x9b,2,hi())};Tn.prototype.setSignalsList=function(a){mm(this,2,a)};Tn.repeatedFields_=[2];var iH=function(a){this.internalArray_=m(a,0,iH.messageId)};Y(iH,n);iH.prototype.getNumTotalResults=function(){return fi(this,2)};iH.prototype.getNextPageToken=function(){return ec(this,4)};iH.repeatedFields_=[1];iH.messageId="b.NeedsAttentionSearchResponse";var y9b=function(a){this.internalArray_=m(a)};Y(y9b,n);g=y9b.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,1,hi())};g.getIssueIdsList_asString=function(){return Fj(this,1)};g.setIssueIdsList=function(a){return Do(this,1,a)};g.getIt=function(){return Gi(this,hH,3)};g.setIt=function(a){return hj(this,hH,3,a)};g.hasIt=function(){return Ui(this,hH,3)};y9b.repeatedFields_=[1];var jH=function(a){this.internalArray_=m(a)};Y(jH,n);jH.prototype.getDismissTimestamp=function(){return Gi(this,aj,1)};jH.prototype.hasDismissTimestamp=function(){return Ui(this,aj,1)};var kH=function(a){this.internalArray_=m(a,0,kH.messageId)};Y(kH,n);g=kH.prototype;g.getDismissTimestamp=function(){return Gi(this,aj,1)};g.hasDismissTimestamp=function(){return Ui(this,aj,1)};g.getIt=function(){return Gi(this,jH,2)};g.setIt=function(a){return hj(this,jH,2,a)};g.hasIt=function(){return Ui(this,jH,2)};kH.messageId="b.UpdateIssueDismissTimestampResponse";var lH=function(a,b,c){this.executor=a;this.appEvents=b;this.activeSession=c;this.COUNT=100};lH.prototype.listIssues=function(a,b,c){var d=this,e=(new w9b).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map($Ba));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:iH}).then(WBa).then(function(f){d.appEvents.needsAttentionIssueCount.next(f.numTotalResults||0);return f})};
var z9b=function(a,b){var c=new y9b;hE(a.activeSession,"enableLeanFeC")?c.setIt((new hH).setIssueIdsList(b.map(ql)).setDismiss(!0)):(b=c.setIssueIdsList(b.map(ql)),$h(b,2,!0));return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:kH}).then(ZBa)};lH.\u0275fac=function(a){return new (a||lH)(p(IE),p(gH),p(Zr))};lH.\u0275prov=Pc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var mH=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.needsAttentionApi=c;this.paths=d};mH.prototype.create=function(a){return new A9b(this.issueApi,this.hotlistApi,this.needsAttentionApi,this.paths,a)};mH.\u0275fac=function(a){return new (a||mH)(p(fH),p(EG),p(lH),p(RF))};mH.\u0275prov=Pc({token:mH,factory:mH.\u0275fac,providedIn:"root"});
var A9b=function(a,b,c,d,e){this.issueApi=a;this.hotlistApi=b;this.needsAttentionApi=c;this.paths=d;this.params=e;this.resultPromise=this.searchResultsPage=null};
A9b.prototype.fetchIssues=function(){var a=this;if(1>this.params.page)return Promise.reject("Invalid page requested.");if(!this.resultPromise)if(this.params.fromNeedsAttention)this.resultPromise=this.needsAttentionApi.listIssues(this.params.sortColumns[0],this.params.trackerIds,this.params.selectedSignals);else if(this.params.hotlistId)this.resultPromise=this.hotlistApi.getPagedHotlistContent(this.params.hotlistId,this.params.page,this.params.resultsPerPage,this.params.sortColumns,this.params.trackerIds);
else{var b={p:this.params.page,count:this.params.resultsPerPage,trackerIds:this.params.trackerIds},c=this.paths.toApiSortParamValue(this.params.sortColumns);c&&(b.s=c);var d;this.resultPromise=this.issueApi.listIssues(null!=(d=this.params.query)?d:"",b)}return this.resultPromise.then(function(e){a.searchResultsPage||(a.searchResultsPage=a.params.fromNeedsAttention?z8b(a.params,e):y8b(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var B9b=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var nH=new rd("buganizerWindow",{factory:function(){return window}});var oH=function(a,b){this.$window=a;this.searchResultsPageFetcherFactory=b;this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},E9b=function(a,b){var c=Pj();C9b(b.page)?(D9b(a,b),a.currentResultsFetcher.fetchIssues().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},G9b=function(a){var b=Pj(),c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:
c=F9b(a);c?(D9b(a,c),a.currentResultsFetcher.fetchIssues().then(function(d){b.resolve(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},pH=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},H9b=function(a,b){var c=Pj();a.focusedIssueIndex=-1;if(!a.currentResultsFetcher)return c.reject("No search results available."),c.promise;var d=Math.floor((b-1)/a.currentResultsFetcher.params.resultsPerPage)+
1;if(1<Math.abs(d-a.currentResultsFetcher.params.page))return c.reject("Requested index is out of range."),c.promise;var e=li(a.currentResultsFetcher.params);e.page=d;D9b(a,e);a.currentResultsFetcher.fetchIssues().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};
oH.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var I9b=function(a){a.currentResultsFetcher?a.currentResultsFetcher.fetchIssues().then(function(b){a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1}).catch(function(b){Ek("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},F9b=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 Sk(new Nk(b.fieldId),b.direction)}));return a}return null},
J9b=function(a,b,c){b=li(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},K9b=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=J9b(a,b,b.page),a.currentResultsFetcher.fetchIssues().catch(function(c){Ek("unexpected error fetching:",c)}));!a.previousResultsFetcher&&1<b.page&&(a.previousResultsFetcher=J9b(a,b,b.page-1),a.previousResultsFetcher.fetchIssues().catch(function(c){Ek("unexpected error fetching:",c)}));!a.nextResultsFetcher&&B9b(a.currentResultsFetcher)&&(a.nextResultsFetcher=
J9b(a,b,b.page+1),a.nextResultsFetcher.fetchIssues().catch(function(c){Ek("unexpected error fetching:",c)}))},D9b=function(a,b){b.page=qi(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Hc");a.previousResultsFetcher&&b.page===a.previousResultsFetcher.params.page?(a.nextResultsFetcher=a.currentResultsFetcher,a.currentResultsFetcher=a.previousResultsFetcher,a.previousResultsFetcher=null):a.nextResultsFetcher&&b.page===a.nextResultsFetcher.params.page&&(a.previousResultsFetcher=a.currentResultsFetcher,
a.currentResultsFetcher=a.nextResultsFetcher,a.nextResultsFetcher=null);if(a.currentResultsFetcher){var c=a.currentResultsFetcher.params;b.page===c.page&&b.query===c.query&&ki(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&ki(b.trackerIds,c.trackerIds)?a.currentResultsFetcher.params.returnUrl=b.returnUrl:pH(a)}K9b(a,b);b=JSON.stringify(a.currentResultsFetcher.params);a.$window.sessionStorage.setItem("buganizer.searchParams",b)},C9b=function(a){var b=qi(""+a);return isNaN(b)||b!=
Number(a)||1>b||2147483647<b?!1:!0};oH.\u0275fac=function(a){return new (a||oH)(p(nH),p(mH))};oH.\u0275prov=Pc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var qH=function(a,b){this.$window=a;this.activeSession=b;var c,d;this.trackerName=null!=(d=null==(c=this.activeSession.getTracker())?void 0:c.name)?d:""};qH.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};qH.\u0275fac=function(a){return new (a||qH)(p(nH),p(Zr))};qH.\u0275prov=Pc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var rH=function(a){this.internalArray_=m(a)};Y(rH,n);g=rH.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setPageSize=function(a){return kl(this,2,a)};g.setPageToken=function(a){return yl(this,3,a)};var sH=function(a){this.internalArray_=m(a,0,sH.messageId)};Y(sH,n);sH.prototype.getIt=function(){return Gi(this,rH,4)};sH.prototype.setIt=function(a){return hj(this,rH,4,a)};sH.prototype.hasIt=function(){return Ui(this,rH,4)};sH.messageId="b.AggregateIssueDescendantsRequest";var L9b=function(a){this.internalArray_=m(a)};Y(L9b,n);g=L9b.prototype;g.getPriority=function(){return Qi(this,1,0)};g.setPriority=function(a){return zl(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,2,hi())};g.getIssueIdsList_asString=function(){return Fj(this,2)};g.setIssueIdsList=function(a){return Do(this,2,a)};L9b.repeatedFields_=[2];var M9b=function(a){this.internalArray_=m(a)};Y(M9b,n);g=M9b.prototype;g.getStatus=function(){return Qi(this,1,0)};g.setStatus=function(a){return zl(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,2,hi())};g.getIssueIdsList_asString=function(){return Fj(this,2)};g.setIssueIdsList=function(a){return Do(this,2,a)};M9b.repeatedFields_=[2];var N9b=function(a){this.internalArray_=m(a)};Y(N9b,n);g=N9b.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,3,hi())};g.getIssueIdsList_asString=function(){return Fj(this,3)};g.setIssueIdsList=function(a){return Do(this,3,a)};g.getCollaboratorsList=function(){return Ii(this,xi,8,hi())};g.setCollaboratorsList=function(a){mm(this,8,a)};g.addAllCollaborators=function(a){yu(this,8,xi,a)};g.setCollaborators=function(a){wu(this,8,xi,a)};
g.getCodeChangesList=function(a){return gi(this,9,hi(a))};g.setCodeChangesList=function(a){rj(this,9,a)};g.addAllCodeChanges=function(a){Tb(this,9,sb,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,10,hi())};g.setBlockedByIssueIdsList=function(a){Do(this,10,a)};g.addAllBlockedByIssueIds=function(a){Tb(this,10,pb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,11,hi())};g.setBlockingIssueIdsList=function(a){Do(this,11,a)};
g.addAllBlockingIssueIds=function(a){Tb(this,11,pb,a)};N9b.repeatedFields_=[3,4,12,5,6,7,8,9,10,11];var tH=function(a){this.internalArray_=m(a)};Y(tH,n);tH.prototype.getNextPageToken=function(){return ec(this,4)};var uH=function(a){this.internalArray_=m(a,0,uH.messageId)};Y(uH,n);uH.prototype.getIt=function(){return Gi(this,tH,3)};uH.prototype.setIt=function(a){return hj(this,tH,3,a)};uH.prototype.hasIt=function(){return Ui(this,tH,3)};uH.messageId="b.AggregateIssueDescendantsResponse";var vH=function(a){this.executor=a};
vH.prototype.get=function(a){var b=(new sH).setIt((new rH).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:uH}).pipe(z(function(c){var d=fi(c.getIt(),2),e=fi(c.getIt(),3),f=Gi(c.getIt(),N9b,1);if(f){var h,l,q,t,w,B,D,J,H,O;c={_rootId:a,issueIds:f.getIssueIdsList_asLegacyNumberOrString().map(Ci).filter(Ei),aggregatedStatus:null!=(w=Ii(f,M9b,4,hi()).map(aCa).filter(Ei))?w:[],aggregatedPriority:null!=(B=Ii(f,L9b,12,hi()).map(bCa).filter(Ei))?
B:[],reporters:null!=(D=null==(h=Ii(f,xi,5,hi()))?void 0:h.map(Ai))?D:[],assignees:null!=(J=null==(l=Ii(f,xi,6,hi()))?void 0:l.map(Ai))?J:[],verifiers:null!=(H=null==(q=Ii(f,xi,7,hi()))?void 0:q.map(Ai))?H:[],collaborators:null!=(O=null==(t=f.getCollaboratorsList())?void 0:t.map(Ai))?O:[],changelists:f.getCodeChangesList(zi),blockedByIssueIds:f.getBlockedByIssueIdsList_asLegacyNumberOrString().map(Ci).filter(Ei),blockingIssueIds:f.getBlockingIssueIdsList_asLegacyNumberOrString().map(Ci).filter(Ei),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};vH.\u0275fac=function(a){return new (a||vH)(p(HE))};vH.\u0275prov=Pc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var wH=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()},xH=function(a){return Date.now()-a.lastValidated};wH.prototype.isFresh=function(){return xH(this)<this.cfg.freshUntil};wH.prototype.isAncient=function(){return xH(this)>this.cfg.ancientAfter};wH.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};wH.prototype.toString=function(){var a=String(this.data);return Math.ceil(xH(this)/1E3)+"s old -- "+a};
var O9b=function(a){this.cfg=a;this.cache=new Map},P9b=function(a,b){a=yH(a,b);return null==a?Infinity:a},yH=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:xH(c)};O9b.prototype.isFresh=function(a){return P9b(this,a)<this.cfg.freshUntil};var Q9b=function(a,b){return P9b(a,b)<=a.cfg.ancientAfter};g=O9b.prototype;g.isAncient=function(){var a=yH(this);return a?a>this.cfg.ancientAfter:!1};g.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
g.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};g.get=function(a,b){b=void 0===b?!1:b;var c=this.cache.get(a);if(null!=c)return xH(c)>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};g.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};g.set=function(a,b){this.cache.set(a,new wH(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new wH(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=void 0===d?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=k(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 zH={trustMemory:!0},R9b=function(){},Yra=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],S9b=function(a){this.ids=[];Object.assign(this,a)};Y(S9b,R9b);S9b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var T9b={freshUntil:1E4,ancientAfter:792E5},BH=function(a){var b=this;a=void 0===a?{}:a;this.error$=new X.Subject;this.watchOneError=function(c){if(null==c)return(0,X.of)();"number"===typeof c&&(c=String(c));return b.error$.pipe(Ce(function(d){return d.idOrKey===c}))};this.memoryWasSet$=new X.Subject;this.collectiveMemoryWasSet$=new X.Subject;this.normalizeQueryResponses=!0;this.idKey="id";this.idForRecord=function(c){var d=c[b.idKey];if("string"===typeof d)return d;if("number"===typeof d)return String(d);
c=JSON.stringify(c).slice(0,128);if(null==d)throw Error("Ic`"+b.idKey+"`"+c);throw Error("Jc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new X.BehaviorSubject(Object.freeze({}));this.inFlightSaves$=new X.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(z(dCa));this.saving$=this.inFlightSaves$.pipe(z(dCa));this.thinking$=(0,X.combineLatest)(this.getting$,this.saving$).pipe(z(function(c){var d=k(c);c=d.next().value;d=
d.next().value;return c||d}),lf());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?cCa:AH({label:c,value:yH(b.memory,c)},b.recordType);if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,d);var f=b.valsById.get(c);b.memoryWasSet$.next();e("one-isChanged");f?f.next(d):U9b&&Ck(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=k(d),f=e.next();!f.done;f=e.next()){f=f.value;
var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=V9b(b,c))?e.next(d):Ek("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=AH({label:c,value:yH(b.collectiveMemory,c)},b.recordType);if(b.normalizeQueryResponses)for(var f=k(d.results),h=f.next();!h.done;h=f.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,Xra);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");
(e=b.collectionsById.get(c))?(d=W9b(b,f,d.results),e.next(d)):jwa(c+" gotAll but don't have a behaviorSubject set up to broadcast on. Strange...",d)}};this.dereferenceOne=function(c){return function(d){var e=c.find(function(f){return b.idForRecord(f)===d});null==e&&Ek("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=
k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((void 0===c.message?"":c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.isThinking=function(c){return b.isSaving(c)||
b.isGetting(c)};this.isSaving=function(c){return null==c?dCa(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(z(function(d){return!!d[c]}),lf())};this.isGetting=function(c){return null==c?dCa(b.inFlightGets()):!!b.inFlightGets()[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?zH:d;"number"===typeof d&&(d=zH);if(null==c)return(0,X.of)();"number"===typeof c&&(c=String(c));var e=X9b(b,c);Y9b(b,c,d).catch(function(){});return xr(e)};this.watchSet=
function(c,d){d=void 0===d?zH:d;"number"===typeof d&&(d=zH);if(0===c.length)return(0,X.of)([]);c=c.map(function(f){return"number"===typeof f?String(f):f});var e=V9b(b,c);Z9b(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?zH:d;c=Object.assign({},b.defaultQuery,c);var e=$9b(b,c);b.getAll(c,d);return xr(e)};this.save=function(c){var d=b.idForRecord(c);if(null==d)throw Error("Kc");c=b.doSave(c).pipe(kf(0,X.asapScheduler),yka(),ke());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),
a$b(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};eCa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){fCa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};eCa(b.inFlightGets$,(d[c]=!0,d))};this.peek=function(c){if(null!=c)return b.memory.getData(String(c),!0)};this.peekAllRecords=function(){return Array.from(b.memory.cache.entries()).map(function(c){c=k(c);c.next();return c.next().value.data}).filter(Ei)};this.poke=function(c,d){return null==c?mCa():
Y9b(b,String(c),d)};this.pokeMany=function(c){return null==c?Promise.resolve({results:[]}):b.getAll(Object.assign({},b.defaultQuery,c),void 0)};this.announce=function(c,d){d=void 0===d?{}:d;if(null!=c){var e=b.idForRecord(c);if(null==e)throw Error("Lc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new O9b(Object.assign({},T9b,a));this.collectiveMemory=new O9b(Object.assign({},T9b,a))};g=BH.prototype;g.fetchOne=function(){throw Error("Mc");};
g.fetchAll=function(){throw Error("Nc");};g.fetchSet=function(){throw Error("Oc");};g.doSave=function(){throw Error("Pc");};g.copy=function(){throw Error("Qc");};g.isEqual=function(a,b){return Xra(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var Y9b=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=AH({label:b,value:yH(a.memory,b)},a.recordType);d=d&&a.memory.isFresh(b);e=e&&Q9b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),lCa(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=X9b(a,b),kCa(c).then(lCa);c("one-fetch");var f=a.fetchOne(b).pipe(kf(0,X.asapScheduler));a.setIsGetting(b);return new Promise(function(h,l){f.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,
a.inFlightGets$)(q);l(q)},a$b(b,a.inFlightGets$))})},Z9b=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(u(b)).sort().join("-")+"]",e=AH({label:d},a.recordType);if(c&&b$b(a,b))c$b(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(kf(0,X.asapScheduler));e={};e=(e[d]=!0,e);for(var f=k(b),h=f.next();!h.done;h=f.next())e[h.value]=!0;eCa(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){gCa(a.inFlightGets$,b);a.gotErr(d,
a.inFlightGets$)(l)},function(){gCa(a.inFlightGets$,[d].concat(u(b)))})}},b$b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},c$b=function(a,b){var c=d$b(a,b).filter(Ei);V9b(a,b).next(c)};
BH.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=hCa(a);var d=AH({label:b,value:yH(this.collectiveMemory,b)},this.recordType);if(c&&this.normalizeQueryResponses&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=d$b(this,a.ids).filter(Ei),b=W9b(this,a,b),b.results.length!==a.ids.length&&Ek("Fridge<"+this.recordType+"> getAll thinks the collectiveMemory cache is fresh, but only found "+b.results.length+"/"+a.ids.length+" things in the normalized record cache"),
Promise.resolve(b);if(this.inFlightGets()[b])return d("all-inFlight"),a=$9b(this,a),kCa(a);d("all-fetch");c=this.fetchAll(a).pipe(kf(0,X.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,this.inFlightGets$),a$b(b,this.inFlightGets$));a=$9b(this,a);return kCa(a)};BH.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);kwa(a+" gotErr()",d);fCa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};
var a$b=function(a,b){return function(){fCa(b,a)}};BH.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new S9b(Object.assign({},jCa(a),{ids:b}))};
var W9b=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},jCa(b),{results:a})},d$b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},$9b=function(a,b){b=hCa(b);return iCa(a.collectionsById,b,new X.ReplaySubject(1))},V9b=function(a,b){b="["+[].concat(u(b)).sort().join("-")+"]";return iCa(a.setsByLabel,b,new X.ReplaySubject(1))},X9b=function(a,b){var c=new X.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return iCa(a.valsById,b,c)},
e$b=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(hCa(b))};BH.prototype.invalidate=function(a){null==a?(this.memory.cache.clear(),this.collectiveMemory.cache.clear()):["string","number"].includes(typeof a)?this.memory.cache.delete(String(a)):this.collectiveMemory.cache.delete(hCa(a))};
var CH=function(a,b,c,d){d=void 0===d?{}:d;if(void 0!==d.evenWhenInFlight&&d.evenWhenInFlight||!a.inFlightGets()[b])if(b=a.copy(a.memory.getData(String(b))))c(b),a.announce(b)},AH=function(a,b){for(var c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,null==a[d]&&delete a[d];return function(e){var f=a;f=void 0===f?{}:f;U9b&&Ck("Fridge<"+b+">::trackEvent('"+e+"')",f)}},DH=function(){BH.apply(this,arguments);this.defaultQuery={}};Y(DH,BH);var U9b=!1;var EH=function(a){DH.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=ki};Y(EH,DH);EH.prototype.fetchOne=function(a){return this.api.get(a)};EH.\u0275fac=function(a){return new (a||EH)(p(vH))};EH.\u0275prov=Pc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var f$b=function(a){this.internalArray_=m(a)};Y(f$b,n);g=f$b.prototype;g.getExperimentId=function(){return fi(this,1)};g.getState=function(){return Qi(this,2,0)};g.setState=function(a){return jj(this,2,a)};g.getTitle=function(){return ec(this,4)};g.setTitle=function(a){return Zh(this,4,a)};g.getDescription=function(){return ec(this,5)};g.setDescription=function(a){return Zh(this,5,a)};g.hasDescription=function(){return Ni(this,5)};var FH=function(a){this.internalArray_=m(a,0,FH.messageId)};Y(FH,n);FH.repeatedFields_=[1];FH.messageId="b.ListBeapFeaturesResponse";var GH=function(a){this.executor=a};GH.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:FH}).pipe(z(function(a){a=Ii(a,f$b,1,hi());return(null!=a?a:[]).map(pCa)}))};GH.\u0275fac=function(a){return new (a||GH)(p(HE))};GH.\u0275prov=Pc({token:GH,factory:GH.\u0275fac,providedIn:"root"});var HH=function(a){DH.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};Y(HH,DH);HH.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(z(function(a){return{results:a}}))};HH.\u0275fac=function(a){return new (a||HH)(p(GH))};HH.\u0275prov=Pc({token:HH,factory:HH.\u0275fac,providedIn:"root"});var IH=function(a){this.internalArray_=m(a,0,IH.messageId)};Y(IH,n);g=IH.prototype;g.getAuthor=function(){return ec(this,1)};g.setAuthor=function(a){Zh(this,1,a)};g.hasAuthor=function(){return Ni(this,1)};g.getDescription=function(){return ec(this,2)};g.setDescription=function(a){return Zh(this,2,a)};g.hasDescription=function(){return Ni(this,2)};g.getPending=function(){return Li(this,3)};g.getTimestamp=function(){return Zi(this,4)};
g.getTimestamp_asLegacyNumberOrString=function(){return Zi(this,4)};g.setTimestamp=function(a){return pj(this,4,a)};g.hasTimestamp=function(){return Yi(this,4)};IH.repeatedFields_=[5];IH.messageId="b.ChangelistDetailsResponse";var JH=function(a){this.internalArray_=m(a)};Y(JH,n);JH.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Cu(this,1,hi())};JH.prototype.getIssueIdsList_asString=function(){return Fj(this,1)};JH.prototype.setIssueIdsList=function(a){return Pb(this,1,a,pb)};JH.prototype.getAuthorEmail=function(){return ec(this,3)};JH.repeatedFields_=[1];var KH=function(a){this.internalArray_=m(a,0,KH.messageId)};Y(KH,n);g=KH.prototype;g.getQuery=function(){return Gi(this,JH,1)};g.setQuery=function(a){return hj(this,JH,1,a)};g.clearQuery=function(){lp(this,1)};g.hasQuery=function(){return Ui(this,JH,1)};g.getNextPageToken=function(){return ec(this,2)};KH.messageId="b.ListChangelistsRequest";var rCa=function(a){this.internalArray_=m(a)};Y(rCa,n);g=rCa.prototype;g.getAuthor=function(){return ec(this,1)};g.setAuthor=function(a){Zh(this,1,a)};g.hasAuthor=function(){return Ni(this,1)};g.getChangelistNumber=function(){return fi(this,2)};g.getPending=function(){return Li(this,3)};g.getTimestamp=function(){return Gi(this,aj,4)};g.setTimestamp=function(a){return hj(this,aj,4,a)};g.hasTimestamp=function(){return Ui(this,aj,4)};
g.getIssueIdsList_asLegacyNumberOrString=function(){return Cu(this,5,hi())};g.getIssueIdsList_asString=function(){return Fj(this,5)};g.setIssueIdsList=function(a){return Pb(this,5,a,pb)};rCa.repeatedFields_=[5,6];var LH=function(a){this.internalArray_=m(a,0,LH.messageId)};Y(LH,n);LH.prototype.getNextPageToken=function(){return ec(this,2)};LH.repeatedFields_=[1];LH.messageId="b.ListChangelistsResponse";var MH=function(a){this.internalArray_=m(a,0,MH.messageId)};Y(MH,n);MH.repeatedFields_=[1];MH.messageId="b.PendingChangelistsResponse";var NH=function(a){this.executor=a};NH.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:MH}).pipe(z(qCa))};NH.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:IH}).pipe(z(uCa))};
var g$b=function(a,b){var c=new KH,d=c.setQuery;b=(new JH).setIssueIdsList(b);b=jj(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:LH}).pipe(z(tCa))};NH.\u0275fac=function(a){return new (a||NH)(p(HE))};NH.\u0275prov=Pc({token:NH,factory:NH.\u0275fac,providedIn:"root"});var OH=function(a){this.changelistResources=a};OH.prototype.getPendingChangelistsForIssue=function(a){return(0,X.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
OH.prototype.getChangelistDetails=function(a){return(0,X.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};OH.\u0275fac=function(a){return new (a||OH)(p(NH))};OH.\u0275prov=Pc({token:OH,factory:OH.\u0275fac,providedIn:"root"});var PH=function(a){BH.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};Y(PH,BH);PH.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return 0===a.length?(0,X.of)({results:[]}):g$b(this.api,a).pipe(z(function(b){var c;return{results:null!=(c=b.changelists)?c:[]}}));throw Error("Rc");};PH.\u0275fac=function(a){return new (a||PH)(p(NH))};PH.\u0275prov=Pc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(a){this.internalArray_=m(a,0,QH.messageId)};Y(QH,n);g=QH.prototype;g.getAccessLevel=function(){return Qi(this,1,0)};g.setAccessLevel=function(a){return jj(this,1,a)};g.getIt=function(){return Gi(this,vl,2)};g.setIt=function(a){return hj(this,vl,2,a)};g.hasIt=function(){return Ui(this,vl,2)};QH.messageId="b.AccessLimit";var vCa=Qm("enableLeanFeE");var RH=function(a){this.internalArray_=m(a,0,RH.messageId)};Y(RH,n);RH.repeatedFields_=[1,2];RH.messageId="b.CheckPermissionResponse";var SH=function(a){this.executor=a};g=SH.prototype;g.get=function(a,b){a=Un(Vn(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:jG}).pipe(z(Qza))};
g.update=function(a,b,c){a=Un(Vn(a,b));var d;if(Pza){var e,f=new jG,h=f.setIt;c=Object.assign({},c,{implicitAccess:null!=(e=c.implicitAccess)?e:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var l,q,t,w,B;e=(new fG).setAdminsList((null!=(d=c.admins)?d:[]).map(tl)).setAppendersList((null!=(l=c.appenders)?l:[]).map(tl)).setEditorsList((null!=(q=c.editors)?q:[]).map(tl)).setReadersList((null!=(t=c.readers)?t:[]).map(tl)).setRestrictedReadersList((null!=(w=
c.restrictedReaders)?w:[]).map(tl)).setRestrictedPlusReadersList((null!=(B=c.restrictedPlusReaders)?B:[]).map(tl));if(c.implicitAccess){d=e.setImplicitAccess;b:switch(c.implicitAccess){case "IMPLICIT_ACCESS_UNSPECIFIED":l=0;break b;case "ALLOW":l=1;break b;case "DENY":l=2;break b;default:throw Error("mc");}d.call(e,l)}d=h.call(f,e)}else{d=new jG;d.setAdminsList((null!=(f=c.admins)?f:[]).map(Xm));d.setAppendersList((null!=(h=c.appenders)?h:[]).map(Xm));var D;d.setEditorsList((null!=(D=c.editors)?D:
[]).map(Xm));var J;d.setReadersList((null!=(J=c.readers)?J:[]).map(Xm));var H;d.setRestrictedReadersList((null!=(H=c.restrictedReaders)?H:[]).map(Xm));var O;d.setRestrictedPlusReadersList((null!=(O=c.restrictedPlusReaders)?O:[]).map(Xm));c.implicitAccess&&d.setImplicitAccess(Z4b[c.implicitAccess])}return this.executor.post({url:"action/access_policies/"+a,body:d,responseConstructor:jG}).pipe(z(Qza))};
g.checkPermission=function(a,b,c,d){a=Un(a.join(","));b=Un(b);c=Un(Vn(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:RH}).pipe(z(Mza))};g.setAccessLimit=function(a,b,c){a=Un(Vn(a,b));c=vCa?(new QH).setIt(xxa(c)):(new QH).setAccessLevel(wxa[c.accessLevel]);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:QH}).pipe(z(wCa))};
g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(z(function(b){return"ALLOW"===b.implicitAccess}))};SH.\u0275fac=function(a){return new (a||SH)(p(HE))};SH.\u0275prov=Pc({token:SH,factory:SH.\u0275fac,providedIn:"root"});var TH=function(a){this.observableApi=a};g=TH.prototype;g.get=function(a,b){return(0,X.firstValueFrom)(this.observableApi.get(a,b))};g.update=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.update(a,b,c))};
g.checkPermission=function(a,b,c,d){return(0,X.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};g.checkComponentImplicitAccessEnabled=function(a){return(0,X.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};TH.\u0275fac=function(a){return new (a||TH)(p(SH))};TH.\u0275prov=Pc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var UH=function(a){DH.call(this);this.accessPolicyApi=a;this.recordType="componentAccessPolicy";this.isEqual=ki};Y(UH,DH);UH.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(z(function(b){return Object.assign({},{id:a},b)}),gf(function(){return(0,X.of)(void 0)}))};UH.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(z(function(c){return Object.assign({},{id:b},c)}))};UH.\u0275fac=function(a){return new (a||UH)(p(SH))};
UH.\u0275prov=Pc({token:UH,factory:UH.\u0275fac,providedIn:"root"});var h$b=function(a){this.internalArray_=m(a,0,h$b.messageId)};Y(h$b,n);h$b.messageId="b.CreateComponentResponse";var VH=function(a){this.internalArray_=m(a,0,VH.messageId)};Y(VH,n);VH.repeatedFields_=[1];VH.messageId="b.ListComponentsResponse";var Kza=function(a){this.internalArray_=m(a)};Y(Kza,n);Kza.prototype.getComponentPath=function(){return ec(this,1)};var WH=function(a){this.internalArray_=m(a,0,WH.messageId)};Y(WH,n);WH.repeatedFields_=[2];WH.messageId="b.SubcomponentsResponse";var XH=function(a,b){this.executor=a;this.activeSession=b};g=XH.prototype;g.get=function(a){return this.query({id:[a]}).pipe(z(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};g.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:WH}).pipe(z(Lza))};g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:Tm}).pipe(z(Rm))};
g.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");var c;a=null==(c=this.activeSession.getTracker())?void 0:c.trackerId;Wn(a)&&(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:VH}).pipe(z(Iza))};
g.create=function(a){a=Cza(a);return this.executor.post({url:"action/components",body:a,responseConstructor:h$b}).pipe(z(function(b){return Rm(Gi(b,Tm,1))}))};
g.update=function(a){var b=a.componentId,c=new Tm,d=c.setIt,e=(new Sm).setComponentId(a.componentId);e=xl(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new Lm;f.componentPathId&&Do(h,1,f.componentPathId);if(f.componentPathName){var l=f.componentPathName.map(String);rj(h,2,l)}f.allCustomField&&(f=f.allCustomField.map(cya),mm(h,5,f));hj(e,Lm,7,h)}a.accessLimit&&e.setAccessLimit(xxa(a.accessLimit));
a.commentEditState&&e.setCommentEditState("ENABLED"===a.commentEditState?1:2);xl(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(yya(a.slo));xl(e,14,a.bugscopeSloId);a.retentionSettings&&(h=Lxa(a.retentionSettings),hj(e,Al,15,h));a.fieldOrdering&&zl(e,17,U4b[a.fieldOrdering]);a.effortSpec&&(h=jya(a.effortSpec),hj(e,Vl,18,h));a.team&&(h=lza(a.team),hj(e,Im,16,h));var q;e.setTeamSuggestionsList((null!=(q=a.teamSuggestions)?q:[]).map(nza));"SPAM_PROTECTION_UNSPECIFIED"!==a.spamProtection&&zl(e,21,qza(a.spamProtection));
a=d.call(c,e);return this.executor.post({url:"action/components/"+b,body:a,responseConstructor:Tm}).pipe(z(Rm))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Tm}).pipe(z(Rm))};g.updateSlo=function(a,b){var c=new T8b;b=yya(b);c=hj(c,im,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Tm}).pipe(z(Rm))};
g.updateTeam=function(a,b){var c=new U8b;b=lza(Object.assign({},b));c=hj(c,Im,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Tm}).pipe(z(Rm))};XH.\u0275fac=function(a){return new (a||XH)(p(HE),p(Zr))};XH.\u0275prov=Pc({token:XH,factory:XH.\u0275fac,providedIn:"root"});var YH=function(a){this.observableApi=a};g=YH.prototype;g.get=function(a){return(0,X.firstValueFrom)(this.observableApi.get(a))};
g.getChildren=function(a,b){return(0,X.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};g.getDescendants=function(a){return(0,X.firstValueFrom)(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return(0,X.firstValueFrom)(this.observableApi.fetchComponent(a))};g.query=function(a){return(0,X.firstValueFrom)(this.observableApi.query(a))};g.create=function(a){return(0,X.firstValueFrom)(this.observableApi.create(a))};g.update=function(a){return(0,X.firstValueFrom)(this.observableApi.update(a))};
g.move=function(a,b){return(0,X.firstValueFrom)(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return(0,X.firstValueFrom)(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return(0,X.firstValueFrom)(this.observableApi.updateTeam(a,b))};YH.\u0275fac=function(a){return new (a||YH)(p(XH))};YH.\u0275prov=Pc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var ZH=function(a){DH.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};Y(ZH,DH);ZH.prototype.fetchOne=function(a){return"0"===a?(0,X.of)(void 0):this.batchedComponentApi.get(a).pipe(gf(function(){return(0,X.of)(void 0)}))};ZH.prototype.fetchSet=function(a){var b=this;return(0,X.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Ei)}))};ZH.\u0275fac=function(a){return new (a||ZH)(p($H))};
ZH.\u0275prov=Pc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var $H=function(a,b){var c=this;this.observableComponentApi=a;this.batchApiAdapter=b;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};
$H.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(u(a))[0]).pipe(z(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(u(a))}).pipe(z(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};$H.prototype.splitBatch=function(a,b){return b.get(Number(a))};$H.\u0275fac=function(a){return new (a||$H)(p(XH),p(SF))};$H.\u0275prov=Pc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var aI=function(a){this.internalArray_=m(a,0,aI.messageId)};Y(aI,n);aI.repeatedFields_=[1];aI.messageId="b.ListTemplatesResponse";var bI=function(a){this.internalArray_=m(a,0,bI.messageId)};Y(bI,n);bI.messageId="b.TemplateResponse";var cI=function(a){this.executor=a};g=cI.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:bI}).pipe(z(xCa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:aI}).pipe(z(yCa))};g.create=function(a,b){b=Hza(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:bI,body:b}).pipe(z(xCa))};
g.update=function(a,b,c){c=Hza(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:bI,body:c}).pipe(z(xCa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};cI.\u0275fac=function(a){return new (a||cI)(p(HE))};cI.\u0275prov=Pc({token:cI,factory:cI.\u0275fac,providedIn:"root"});var dI=function(a){this.observableApi=a};g=dI.prototype;
g.get=function(a,b){return(0,X.firstValueFrom)(this.observableApi.get(a,b))};g.query=function(a){return(0,X.firstValueFrom)(this.observableApi.query(a))};g.create=function(a,b){return(0,X.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,X.firstValueFrom)(this.observableApi.delete(a,b))};dI.\u0275fac=function(a){return new (a||dI)(p(cI))};
dI.\u0275prov=Pc({token:dI,factory:dI.\u0275fac,providedIn:"root"});var eI=new rd("MatSnackBarData"),i$b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var fI=function(){};fI.\u0275fac=function(a){return new (a||fI)};fI.\u0275dir=jd({type:fI,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});var gI=function(){};gI.\u0275fac=function(a){return new (a||gI)};gI.\u0275dir=jd({type:gI,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});var hI=function(){};hI.\u0275fac=function(a){return new (a||hI)};
hI.\u0275dir=jd({type:hI,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});var j$b=Math.pow(2,31)-1,iI=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new X.Subject;this._afterOpened=new X.Subject;this._onAction=new X.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=iI.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,j$b))};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 jI=function(a,b){this.snackBarRef=a;this.data=b};jI.prototype.action=function(){this.snackBarRef.dismissWithAction()};Ac.Object.defineProperties(jI.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});jI.\u0275fac=function(a){return new (a||jI)(C(iI),C(eI))};
jI.\u0275cmp=r({type:jI,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[yg],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,b){a&1&&(G(0,"div",0),S(1),I(),E(2,zCa,3,1,"div",1));a&2&&(A(),T(" ",b.data.message,"\n"),A(),Uf(b.hasAction?2:-1))},dependencies:[pz,fI,gI,hI],styles:[".mat-mdc-simple-snack-bar{display:flex}\n"],encapsulation:2,
changeDetection:0});var k$b=Bh("state",[Fh("void, hidden",Eh({transform:"scale(0.8)",opacity:0})),Fh("visible",Eh({transform:"scale(1)",opacity:1})),Hh("* => visible",Ch("150ms cubic-bezier(0, 0, 0.2, 1)")),Hh("* => void, * => hidden",Ch("75ms cubic-bezier(0.4, 0.0, 1, 1)",Eh({opacity:0})))]);var l$b=["label"],m$b=0,kI=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=bd(qh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new X.Subject;this._onExit=new X.Subject;this._onEnter=new X.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+m$b++;this._live="assertive"!==e.politeness||e.announcementMessage?"off"===e.politeness?
"off":"polite":"assertive";this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))};Y(kI,oy);g=kI.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;("void"===a&&"void"!==b||"hidden"===a)&&this._completeExit();if("visible"===a){var c=this._onEnter;this._ngZone.run(function(){c.next();c.complete()})}};g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._changeDetectorRef.markForCheck();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;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?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};kI.\u0275fac=function(a){return new (a||kI)(C(He),C(Wd),C(Pg),C(Ax),C(i$b))};
kI.\u0275cmp=r({type:kI,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,b){a&1&&(lg(ry,7),lg(l$b,7));if(a&2){var c;pg(c=qg())&&(b._portalOutlet=c.first);pg(c=qg())&&(b._label=c.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(a,b){a&1&&bg("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&$f("@state",b._animationState)},standalone:!0,features:[Ff,yg],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],
[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(G(0,"div",1)(1,"div",2,0)(3,"div",3),E(4,ACa,0,0,"ng-template",4),I(),K(5,"div"),I()());a&2&&(A(5),Hf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[ry],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .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)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}\n'],
encapsulation:2,data:{animation:[k$b]}});var n$b=new rd("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new i$b}}),lI=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;this.simpleSnackBarComponent=jI;this.snackBarContainerComponent=kI;this.handsetCssClass="mat-mdc-snack-bar-handset"};g=lI.prototype;g.openFromComponent=function(a,b){return this._attach(a,b)};
g.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this.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=Mg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:i$b,useValue:b}]});a=a.attach(new my(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new i$b,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new iI(b,e);if(a instanceof ig)f.instance=b.attachTemplatePortal(new ny(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new my(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(xf(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new Ly;b.direction=a.direction;var c=this._overlay.position().global(),d="rtl"===a.direction;d="left"===a.horizontalPosition||"start"===a.horizontalPosition&&!d||"end"===a.horizontalPosition&&d;var e=!d&&"center"!==a.horizontalPosition;d?c.left("0"):e?c.right("0"):Ry(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Mg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:iI,useValue:b},{provide:eI,useValue:a.data}]})};Ac.Object.defineProperties(lI.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}}});
lI.\u0275fac=function(a){return new (a||lI)(p(Vy),p(Ux),p(Ie),p(Ox),p(lI,12),p(n$b))};lI.\u0275prov=Pc({token:lI,factory:lI.\u0275fac,providedIn:"root"});var mI=function(){};mI.\u0275fac=function(a){return new (a||mI)};mI.\u0275mod=hd({type:mI});mI.\u0275inj=Rc({providers:[lI],imports:[Yy,sy,rz,Zy,jI,Zy]});var nI=function(a){this.snackBar=a};nI.prototype.open=function(a){var b=a.message,c=a.duration,d=a.snackbarType;a={dismissLabel:a.dismissLabel,actionLabel:a.actionLabel,snackbarType:d};"string"===typeof b?a.message=b:a.htmlMessage=b;switch(d){case "ERROR":b="error";break;default:b=void 0}b={data:a,panelClass:b};c&&(b.duration=c);return this.snackBar.openFromComponent(oI,b)};nI.\u0275fac=function(a){return new (a||nI)(p(lI))};nI.\u0275prov=Pc({token:nI,factory:nI.\u0275fac,providedIn:"root"});
var oI=function(a,b){this.data=a;this.snackBarRef=b};oI.\u0275fac=function(a){return new (a||oI)(C(eI),C(iI))};
oI.\u0275cmp=r({type:oI,selectors:[["ng-component"]],decls:7,vars:5,consts:[[1,"snackbar-content"],["class","message",4,"ngIf"],["class","message",3,"innerHtml",4,"ngIf"],[1,"actions"],["mat-button","",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Dismiss",3,"click",4,"ngIf"],[1,"message"],[1,"message",3,"innerHtml"],["mat-button","",3,"click"],["mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(G(0,"div",0),E(1,BCa,2,1,"span",1)(2,CCa,
1,1,"span",2),G(3,"div",3),E(4,DCa,2,1,"button",4)(5,ECa,2,1,"button",4)(6,FCa,2,0,"button",5),I()());a&2&&(A(),F("ngIf",!b.data.htmlMessage),A(),F("ngIf",b.data.htmlMessage),A(2),F("ngIf",b.data.actionLabel),A(),F("ngIf",b.data.dismissLabel),A(),F("ngIf",!b.data.dismissLabel))},dependencies:[zw,nB,CA],styles:[".snackbar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;word-break:break-word}button[_ngcontent-%COMP%]:not(.mat-icon-button){height:24px;line-height:24px;padding:0 10px}.mat-icon-button[_ngcontent-%COMP%]{line-height:24px}.actions[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;margin-left:5px;align-items:center}/*# sourceMappingURL=snackbar_content.css.map */"]});var pI=function(a){this.snackbar=a};pI.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var wr=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},o$b=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})};pI.prototype.showWarning=function(a,b){this.open({message:a,duration:void 0===b?0:b,snackbarType:"ERROR"})};pI.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};pI.\u0275fac=function(a){return new (a||pI)(p(nI))};
pI.\u0275prov=Pc({token:pI,factory:pI.\u0275fac,providedIn:"root"});var qI=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
qI.prototype.errorHandler=function(a,b){var c=this;this.timeout.schedule(function(){var d=403===b.status?"Access denied for: "+c.activeSession.getUserEmail():429===b.status?"Request throttled for: "+c.activeSession.getUserEmail()+". Please wait a few seconds and try again.":Yn(b)?Yn(b):404===b.status?"Invalid ID.":401===b.status?"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 rI=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},sI=function(a,b){if(Xn(b))a.errorHandler(null,b);else throw b;};qI.\u0275fac=function(a){return new (a||qI)(p(pI),p(Zr),p(uF),p(FE))};qI.\u0275prov=Pc({token:qI,factory:qI.\u0275fac,providedIn:"root"});var tI=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},q$b=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=sa(c.snapshot),h,l=null==(h=c.description)?void 0:h.unlinkifiedComment;f.comment=l?l.trim():"";f.status="NEW";f.changelist=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.trackerId})}).then(function(c){return p$b(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,
c)});return b},p$b=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return NG(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})};tI.\u0275fac=function(a){return new (a||tI)(p(fH),p(dI),p(qI),p(LG))};tI.\u0275prov=Pc({token:tI,factory:tI.\u0275fac,providedIn:"root"});var uI=function(a,b){DH.call(this,{freshUntil:3E5,ancientAfter:6048E5});var c=this;this.template=a;this.appEvents=b;this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(d){return c.watch(d).pipe(Ce(Ei),z(function(e){return e.templates}),z(function(e){var f;return null!=(f=e.find(function(h){return h.default}))?f:e[0]}))};this.appEvents.templateModified.pipe(Ce(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};Y(uI,DH);
uI.prototype.fetchOne=function(a){return(0,X.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};uI.\u0275fac=function(a){return new (a||uI)(p(tI),p(gH))};uI.\u0275prov=Pc({token:uI,factory:uI.\u0275fac,providedIn:"root"});var vI=function(a){this.internalArray_=m(a,0,vI.messageId)};Y(vI,n);vI.prototype.setCustomField=function(a){return hj(this,$m,1,a)};vI.prototype.getIt=function(){return Gi(this,Tl,2)};vI.prototype.setIt=function(a){return hj(this,Tl,2,a)};vI.prototype.hasIt=function(){return Ui(this,Tl,2)};vI.messageId="b.CustomFieldResponse";var wI=function(a){this.internalArray_=m(a)};Y(wI,n);g=wI.prototype;g.getCustomFieldsList=function(){return Ii(this,Tl,1,hi())};g.setCustomFieldsList=function(a){return mm(this,1,a)};g.addCustomFields=function(a){Wq(this,1,Tl,a)};g.getNextPageToken=function(){return ec(this,2)};g.getTotalSize=function(){return fi(this,3)};wI.repeatedFields_=[1];var xI=function(a){this.internalArray_=m(a,0,xI.messageId)};Y(xI,n);xI.prototype.getIt=function(){return Gi(this,wI,4)};xI.prototype.setIt=function(a){return hj(this,wI,4,a)};xI.prototype.hasIt=function(){return Ui(this,wI,4)};xI.messageId="b.ListCustomFieldsResponse";var yI=function(a){this.executor=a};g=yI.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:vI}).pipe(z(Tza))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:vI}).pipe(z(Tza))};g.create=function(a,b){b=Uza(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:vI}).pipe(z(Tza))};
g.update=function(a,b,c){b=Number(b);c=Uza(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:vI}).pipe(z(Tza))};g.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(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:xI}).pipe(z(Vza))};yI.\u0275fac=function(a){return new (a||yI)(p(HE))};yI.\u0275prov=Pc({token:yI,factory:yI.\u0275fac,providedIn:"root"});var zI=function(a){this.observableApi=a};g=zI.prototype;g.get=function(a){return(0,X.firstValueFrom)(this.observableApi.get(a))};g.getResource=function(a){return(0,X.firstValueFrom)(this.observableApi.getResource(a))};
g.create=function(a,b){return(0,X.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,X.firstValueFrom)(this.observableApi.delete(a,b))};g.query=function(a){return(0,X.firstValueFrom)(this.observableApi.query(a))};zI.\u0275fac=function(a){return new (a||zI)(p(yI))};zI.\u0275prov=Pc({token:zI,factory:zI.\u0275fac,providedIn:"root"});var AI=function(a){DH.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};Y(AI,DH);AI.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(gf(function(b){console.error("error fetching custom field "+a,b);return(0,X.of)(void 0)}))};AI.\u0275fac=function(a){return new (a||AI)(p(yI))};AI.\u0275prov=Pc({token:AI,factory:AI.\u0275fac,providedIn:"root"});var iDa=new WeakMap,kDa=new WeakMap;var BI=function(a){DH.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};Y(BI,DH);BI.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:TCa(null==a?void 0:a.events,null==b?void 0:b.events)};BI.prototype.copy=function(a){return a&&li(a)};BI.prototype.fetchOne=function(a){return u9b(this.observableIssueResources,a).pipe(z(function(b){return{id:a,events:b}}))};BI.prototype.fetchSet=function(a){var b=this;return(0,X.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Ei)}))};
BI.\u0275fac=function(a){return new (a||BI)(p(eH))};BI.\u0275prov=Pc({token:BI,factory:BI.\u0275fac,providedIn:"root"});var CI=function(a){this.internalArray_=m(a)};Y(CI,n);g=CI.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getCommentNumbersList=function(a){return ii(this,2,hi(a))};g.setCommentNumbersList=function(a){return Ip(this,2,a)};g.getCommentNumbers=function(){return Fu(this,2)};g.setView=function(a){return zl(this,3,a)};
CI.repeatedFields_=[2];var DI=function(a){this.internalArray_=m(a,0,DI.messageId)};Y(DI,n);DI.prototype.setCurrentTrackerId=function(a){oj(this,3,a)};DI.prototype.getIt=function(){return Gi(this,CI,4)};DI.prototype.setIt=function(a){return hj(this,CI,4,a)};DI.prototype.hasIt=function(){return Ui(this,CI,4)};DI.messageId="b.BatchGetIssueCommentsRequest";var EI=function(a){this.internalArray_=m(a)};Y(EI,n);EI.prototype.getIssueCommentsList=function(){return Ii(this,fn,1,hi())};EI.repeatedFields_=[1];var FI=function(a){this.internalArray_=m(a,0,FI.messageId)};Y(FI,n);FI.prototype.getIt=function(){return Gi(this,EI,2)};FI.prototype.setIt=function(a){return hj(this,EI,2,a)};FI.prototype.hasIt=function(){return Ui(this,EI,2)};FI.messageId="b.BatchGetIssueCommentsResponse";var GI=function(a,b){this.jspbExecutor=a;this.activeSession=b};GI.prototype.batchGet=function(a,b){a=(new DI).setIt((new CI).setIssueId(Number(a)).setCommentNumbersList(b).setView(2));var c;(b=null==(c=this.activeSession.getTracker())?void 0:c.trackerId)&&a.setCurrentTrackerId(b);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:FI,body:a}).pipe(z(JAa))};GI.\u0275fac=function(a){return new (a||GI)(p(HE),p(Zr))};GI.\u0275prov=Pc({token:GI,factory:GI.\u0275fac,providedIn:"root"});var HI=function(a,b){DH.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};Y(HI,DH);
HI.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,X.combineLatest)(a.map(function(d){return b.get(d)})).pipe(z(function(d){var e=[];d=k(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,l={issueId:c,commentId:null!=(h=f.commentNumber)?h:0};e.push({id:l,formattedComment:f})}return e}))};
HI.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(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(z(function(f){var h=b,l=new Map;f=k(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var t=void 0,w=Number(h)+"-"+(null!=(t=q.commentNumber)?t:0);l.set(w,q)}return l}))};HI.prototype.splitBatch=function(a,b){return b.get(a)};
HI.\u0275fac=function(a){return new (a||HI)(p(GI),p(SF))};HI.\u0275prov=Pc({token:HI,factory:HI.\u0275fac,providedIn:"root"});var II=function(a){DH.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=ki};Y(II,DH);II.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(z(function(b){return Object.assign({},{id:a},b)}))};II.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(z(function(c){return Object.assign({},{id:b},c)}))};II.\u0275fac=function(a){return new (a||II)(p(SH))};
II.\u0275prov=Pc({token:II,factory:II.\u0275fac,providedIn:"root"});var r$b=function(a){this.internalArray_=m(a)};Y(r$b,n);g=r$b.prototype;g.getUser=function(){return Gi(this,$k,5)};g.setUser=function(a){return hj(this,$k,5,a)};g.hasUser=function(){return Ui(this,$k,5)};g.getResourceType=function(){return Qi(this,2,0)};g.setResourceType=function(a){jj(this,2,a)};g.hasResourceType=function(){return Oi(this,2)};g.getResourceId=function(){return Du(this,3)};g.getResourceId_asString=function(){return Ti(this,3)};g.setResourceId=function(a){oj(this,3,a)};
g.hasResourceId=function(){return null!=Si(this,3)};g.getName=function(){return ec(this,4)};g.setName=function(a){return Zh(this,4,a)};g.hasName=function(){return Ni(this,4)};g.getNameOrUndefined=function(){return Ju(this,4)};var Qo=function(a){this.internalArray_=m(a)};Y(Qo,n);g=Qo.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setSavedSearchId=function(a){return xl(this,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return yl(this,2,a)};g.getDescription=function(){return ec(this,3)};g.setDescription=function(a){return yl(this,3,a)};g.getQuery=function(){return ec(this,4)};g.setQuery=function(a){return yl(this,4,a)};g.clearQuery=function(){lp(this,4)};
g.getDefaultOrderBy=function(){return ec(this,5)};g.setDefaultOrderBy=function(a){return yl(this,5,a)};g.getDisplayPreferences=function(){return Gi(this,Em,6)};g.setDisplayPreferences=function(a){return hj(this,Em,6,a)};g.getOwnersList=function(){return Ii(this,xi,7,hi())};g.setOwnersList=function(a){return mm(this,7,a)};Qo.repeatedFields_=[7];var ho=function(a){this.internalArray_=m(a)};Y(ho,n);ho.prototype.getIt=function(){return Gi(this,Qo,12)};ho.prototype.setIt=function(a){return hj(this,Qo,12,a)};ho.prototype.hasIt=function(){return Ui(this,Qo,12)};var JI=function(a){this.internalArray_=m(a,0,JI.messageId)};Y(JI,n);JI.prototype.getFavorite=function(){return Gi(this,r$b,1)};JI.messageId="b.Favorite";var KI=function(a){this.internalArray_=m(a,0,KI.messageId)};Y(KI,n);KI.prototype.addHotlist=function(a){Wq(this,1,Cm,a)};KI.prototype.setHotlist=function(a){return wu(this,1,Cm,a)};KI.repeatedFields_=[1];KI.messageId="b.HotlistBatchResponse";var io=function(a){this.internalArray_=m(a)};Y(io,n);g=io.prototype;g.getId=function(){return Du(this,1)};g.getId_asLegacyNumberOrString=function(){return Du(this,1)};g.getId_asString=function(){return Ti(this,1)};g.setId=function(a){return oj(this,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return Zh(this,2,a)};g.hasName=function(){return Ni(this,2)};g.getNameOrUndefined=function(){return Ju(this,2)};g.getDescription=function(){return ec(this,3)};
g.setDescription=function(a){return Zh(this,3,a)};g.hasDescription=function(){return Ni(this,3)};g.getAdminUsersList=function(a){return Ii(this,$k,8,hi(a))};g.getStarred=function(){return Li(this,5)};g.getResourceType=function(){return ec(this,6)};g.setResourceType=function(a){Zh(this,6,a)};g.hasResourceType=function(){return Ni(this,6)};io.repeatedFields_=[8];var jo=function(a){this.internalArray_=m(a)};Y(jo,n);g=jo.prototype;g.getId=function(){return Du(this,1)};g.getId_asLegacyNumberOrString=function(){return Du(this,1)};g.getId_asString=function(){return Ti(this,1)};g.setId=function(a){return oj(this,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return Zh(this,2,a)};g.hasName=function(){return Ni(this,2)};g.getNameOrUndefined=function(){return Ju(this,2)};g.getDescription=function(){return ec(this,3)};
g.setDescription=function(a){return Zh(this,3,a)};g.hasDescription=function(){return Ni(this,3)};g.getAdminUsersList=function(a){return Ii(this,$k,8,hi(a))};g.getStarred=function(){return Li(this,5)};jo.repeatedFields_=[8,6];var LI=function(a){this.internalArray_=m(a,0,LI.messageId)};Y(LI,n);LI.prototype.getHotlistsList=function(){return Ii(this,io,1,hi())};LI.repeatedFields_=[1,2,3,4];LI.messageId="b.SidebarInfo";var NI=function(a){this.internalArray_=m(a,0,NI.messageId)};Y(NI,n);NI.repeatedFields_=[1];NI.messageId="b.UserRecentComponentResponse";var OI=function(a){this.internalArray_=m(a,0,OI.messageId)};Y(OI,n);OI.repeatedFields_=[1];OI.messageId="b.UserSavedSearchesResponse";var PI=function(a){this.executor=a};g=PI.prototype;g.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:KI}).pipe(z(fza))};g.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:LI}).pipe(z(zDa))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:NI}).pipe(z(Dza))};
g.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:OI}).pipe(z(wDa))};g.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:JI}).pipe(z(uDa))};g.saveFavorite=function(a){var b=new r$b;b.setResourceType(e5b[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:JI}).pipe(z(uDa))};
g.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};var s$b=function(a,b,c){var d={};d.id=String(b);null!==c.voted&&(d.vote=String(!!c.voted));null!==c.starred&&(d.star=String(!!c.starred));null!==c.notificationSubscription&&(d.subscription=c.notificationSubscription);return a.executor.post({url:"action/current_user/issue_data",body:null,options:{params:d},responseConstructor:null})};
PI.\u0275fac=function(a){return new (a||PI)(p(HE))};PI.\u0275prov=Pc({token:PI,factory:PI.\u0275fac,providedIn:"root"});var QI=function(a){this.observableApi=a};g=QI.prototype;g.getUserHotlists=function(){return(0,X.firstValueFrom)(this.observableApi.getUserHotlists())};g.getUserSidebar=function(){return(0,X.firstValueFrom)(this.observableApi.getUserSidebar())};g.getRecentComponents=function(){return(0,X.firstValueFrom)(this.observableApi.getRecentComponents())};g.getUserSavedSearches=function(){return(0,X.firstValueFrom)(this.observableApi.getUserSavedSearches())};
g.getFavorite=function(a,b){return(0,X.firstValueFrom)(this.observableApi.getFavorite(a,b))};g.saveFavorite=function(a){return(0,X.firstValueFrom)(this.observableApi.saveFavorite(a))};g.deleteFavorite=function(a){return(0,X.firstValueFrom)(this.observableApi.deleteFavorite(a))};QI.\u0275fac=function(a){return new (a||QI)(p(PI))};QI.\u0275prov=Pc({token:QI,factory:QI.\u0275fac,providedIn:"root"});var t$b={parent:"me"},RI=function(a,b,c){DH.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,X.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(t$b)})};Y(RI,DH);
RI.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(gf(function(b){return 403===b.status?(0,X.of)(void 0):(0,X.throwError)(function(){return b})}))};RI.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(z(function(b){return{results:b}}));Ek("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,X.of)({results:[]})};
RI.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(z(function(b){return(null!=b?b:[]).filter(Ei)}))};RI.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var u$b=function(a){return a.watchMany(t$b).pipe(z(function(b){return b.results}))};RI.\u0275fac=function(a){return new (a||RI)(p(HG),p(PI),p(gH))};RI.\u0275prov=Pc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var ADa=z5b("last-visit"),BDa=z5b("last-visit-count"),DDa=A5b("last-visit"),CDa=A5b("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var sq={ADD_USER_WITHOUT_ACCESS:"addUserWithoutAccess",BANNED_WORDS:"bannedWords",BUG_2_CODE:"bug2Code",COMPONENT_PICKER:"componentPicker",CREATE_ISSUE:"createIssue",EDIT_ISSUE:"editIssue",EDIT_SLO:"editSlo",FIELD_ORDERING:"fieldOrdering",G3C_WIDGET:"g3cWidget",G3N:"g3n",GLOBAL_SEARCH:"global-search",HELP_ME_FIX:"helpMeFix",ISSUE:"issue",ISSUE_ACCESS_LIMITS:"issueAccessLimits",ISSUE_CARD:"issueCard",ISSUE_EVENT_DETAIL:"issueEventDetail",ISSUE_PICKER:"issuePicker",ISSUE_SIDEBAR:"issueSidebar",ISSUE_SLO:"issueSlo",
JOURNEY:"journey",LINK_FIELD:"linkField",LIST_ISSUES:"listIssues",LLM:"llm",LLM_SUMMARIZE:"llmSummarize",MAGIC_BOX:"magicBox",MANAGE_COMPONENT:"component",MENTIONS_CARD:"mentionsCard",MISSION_CONTROL:"missionControl",NEEDS_ATTENTION:"needsAttention",PERSON_CARD:"personCard",PUSH_UPDATE:"pushUpdate",QUICK_ADD_COLLABORATORS:"quickAddCollaborators",RECAPTCHA_TOKEN:"recaptchaToken",RESTRICTED_CONTENT:"restrictedContent",ROLE_BASED_PERMISSIONS:"roleBasedPermissions",SEARCH:"search",SIDEBAR:"sidebar",SIMILAR_ISSUES:"similarIssues",
SLO_REPORTS:"sloReports",TEAM_CARD:"teamCard",TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",WHATS_NEW:"whatsNew"};var SI=function(){var a=new Hp(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new wC(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new l1b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};SI.\u0275fac=function(a){return new (a||SI)};SI.\u0275prov=Pc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var v$b=zj("debug-logging")(),TI=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new x4b(this.streamz.service);this.userLatency=new z4b(this.streamz.service);this.userActionCounter=new y4b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
TI.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);v$b&&console.log("Clearcut stub",{action:b,duration:a})};var UI=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);v$b&&console.log("Clearcut stub",{action:c,duration:b})},w$b=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);v$b&&console.log("Clearcut stub",{action:b})};
TI.\u0275fac=function(a){return new (a||TI)(p(Zr),p(SI))};TI.\u0275prov=Pc({token:TI,factory:TI.\u0275fac,providedIn:"root"});var x$b=sq.GLOBAL_SEARCH,y$b=sq.JOURNEY,z$b=Aj("journey-log"),A$b=lta("journey-log"),VI={},B$b=(VI.ssue__edit="edit",VI.ssue__addComment="comment",VI["ssue__light-ixn"]="ixn",VI.ssue__copyIssueId="ixn",VI[x$b+"__.*__.*text"]="ilp-search",VI[x$b+"__.*__filters"]="ilp-filter",VI),WI={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},XI=function(a){this.clearcut=a},C$b=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=A$b())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));z$b(e);if(WI.successEvents.includes(b)){b=e;c=WI.abortEvents;d=WI.successEvents;e=WI.startEvents;for(var f=WI.successMarker,h,l=b.length-1;0<=l;l--){var q=k(b[l]),t=q.next().value;q=q.next().value;if(c.includes(t))break;if(f===t)break;if(d.includes(t)){if(h&&w)break;var w=q}else w&&e.includes(t)&&(h=q)}w=h&&w?[h,w]:void 0;w&&(w=k(w),h=w.next().value,w=w.next().value-h,UI(a.clearcut,w,FDa(y$b,"global-search-text")),Kk(y$b,
"global-search-text","duration",w),C$b(a,WI.successMarker))}};XI.\u0275fac=function(a){return new (a||XI)(p(TI))};XI.\u0275prov=Pc({token:XI,factory:XI.\u0275fac,providedIn:"root"});var YI=function(a){var b=this;this.clearcut=a;this.onMeasurement=function(c){c.getEntries().forEach(b.sendToClearcut)};this.sendToClearcut=function(c){var d=c.name;d&&d.startsWith("GTM-")||(c=Math.round(c.duration),null!=d&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d)))}},D$b=function(a){Ik()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new qwa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};
YI.\u0275fac=function(a){return new (a||YI)(p(TI))};YI.\u0275prov=Pc({token:YI,factory:YI.\u0275fac,providedIn:"root"});var E$b=zj("onedev-darkmode"),F$b=zj("hasClickedCommentSortBtn"),ZI=function(a,b,c,d){Z.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var D=G$b;return function(J){return function(H,O){Wo(e,D,J,H,O)}}};EDa();Mk("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();var f=d.needsAttentionPreferences,h;f=null==f?"default":null==f?void 0:null==(h=f.selectedSignals)?void 0:h.length;Lk("dimension1",f);Mk("dimension7",E$b()?"dark":"default");var l;Mk("dimension3",null==(l=d.themePreferences)?
void 0:l.density);Mk("dimension6",hE(b,"readUnreadOptOut"));Mk("dimension8",hE(b,"enableEnhancedCommentThread"));Mk("dimension9",F$b());h=d.showFullHistory?"fh":"comments";var q;if(hE(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var t;h=null==(t=d.commentFilterPreferences)?void 0:t.commentFilter}Lk("dimension2",h);Lk("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");Mk("dimension11",hE(b,"enableHomepageVariantA"));var w,B;b=(null!=(B=null==
(w=d.missionControlPreferences)?void 0:w.workAreaUrls)?B:[]).length;Lk("dimension12",0<b);this.subscriptions.add(a.viewContentLoaded.pipe(vf(void 0)).subscribe(function(){var D=gwa(c.snapshot);Hwa("page_location",D);Cwa("page_view",{page_path:D})}))};Y(ZI,Z);ZI.\u0275dir=Z.\u0275dir;
var Wo=function(a,b,c,d,e){Kk(b,c,d,"boolean"===typeof e?e?1:0:e);a=a.journeyTracker;b=FDa(b,c,d);c=k(Object.entries(B$b));for(d=c.next();!d.done;d=c.next())if(e=k(d.value),d=e.next().value,e=e.next().value,b.match(new RegExp(d))){C$b(a,e);break}},H$b=function(a,b,c){Cwa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},void 0!==c?{timing_label:c}:{}))};ZI.\u0275fac=function(a){return new (a||ZI)(p(xF),p(Zr),p(lk),p(XI))};
ZI.\u0275prov=Pc({token:ZI,factory:ZI.\u0275fac,providedIn:"root"});var $I=function(a){this.internalArray_=m(a)};Y($I,n);g=$I.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,1,hi())};g.getIssueIdsList_asString=function(){return Fj(this,1)};g.setIssueIdsList=function(a){return Do(this,1,a)};g.setRead=function(a){return Ul(this,2,a)};g.setUserActivityType=function(a){return zl(this,3,a)};$I.repeatedFields_=[1];var aJ=function(a){this.internalArray_=m(a)};Y(aJ,n);g=aJ.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return xl(this,1,a)};g.getType=function(){return Qi(this,2,0)};g.setType=function(a){return zl(this,2,a)};g.getPriority=function(){return Qi(this,3,0)};g.setPriority=function(a){return zl(this,3,a)};
g.getSeverity=function(){return Qi(this,4,0)};g.setSeverity=function(a){zl(this,4,a)};g.getStatus=function(){return Qi(this,5,0)};g.setStatus=function(a){return zl(this,5,a)};g.getReporter=function(){return Gi(this,xi,6)};g.setReporter=function(a){hj(this,xi,6,a)};g.getAssignee=function(){return Gi(this,xi,7)};g.setAssignee=function(a){hj(this,xi,7,a)};g.clearAssignee=function(){return lp(this,7)};g.getVerifier=function(){return Gi(this,xi,8)};g.setVerifier=function(a){hj(this,xi,8,a)};
g.clearVerifier=function(){return lp(this,8)};g.getCcsList=function(){return Ii(this,xi,9,hi())};g.setCcsList=function(a){mm(this,9,a)};g.addAllCcs=function(a){yu(this,9,xi,a)};g.getCollaboratorsList=function(){return Ii(this,xi,23,hi())};g.setCollaboratorsList=function(a){mm(this,23,a)};g.addAllCollaborators=function(a){yu(this,23,xi,a)};g.setCollaborators=function(a){wu(this,23,xi,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return Fi(this,10,hi(a))};
g.setHotlistIdsList=function(a){Do(this,10,a)};g.addHotlistIds=function(a,b){return Ub(this,10,pb,a,b)};g.addAllHotlistIds=function(a){Tb(this,10,pb,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,11,hi())};g.setBlockedByIssueIdsList=function(a){Do(this,11,a)};g.addAllBlockedByIssueIds=function(a){Tb(this,11,pb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,12,hi())};g.setBlockingIssueIdsList=function(a){Do(this,12,a)};
g.addAllBlockingIssueIds=function(a){Tb(this,12,pb,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Zi(this,13)};g.setCanonicalIssueId=function(a){xl(this,13,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,14,hi())};g.setDuplicateIssueIdsList=function(a){Do(this,14,a)};g.getInProd=function(){return Li(this,15)};g.setInProd=function(a){Ul(this,15,a)};g.getSloSnoozeUntil=function(){return Gi(this,aj,16)};
g.setSloSnoozeUntil=function(a){hj(this,aj,16,a)};g.getSloEndTime=function(){return Gi(this,aj,25)};g.setSloEndTime=function(a){hj(this,aj,25,a)};g.hasSloEndTime=function(){return Ui(this,aj,25)};g.getRetention=function(){return Qi(this,17,0)};g.setRetention=function(a){return zl(this,17,a)};g.getEntityStatus=function(){return Gi(this,El,18)};g.setEntityStatus=function(a){return hj(this,El,18,a)};g.getIsArchived=function(){return Li(this,19)};g.setIsArchived=function(a){return Ul(this,19,a)};
g.getEffort=function(){return Gi(this,rm,24)};g.setEffort=function(a){hj(this,rm,24,a)};g.hasEffort=function(){return Ui(this,rm,24)};g.getAccessLimit=function(){return Gi(this,ul,26)};g.setAccessLimit=function(a){return hj(this,ul,26,a)};aJ.repeatedFields_=[9,23,10,11,12,14];var bJ=function(a){this.internalArray_=m(a)};Y(bJ,n);g=bJ.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getIssueState=function(){return Gi(this,aJ,2)};g.setIssueState=function(a){return hj(this,aJ,2,a)};g.getVersion=function(){return fi(this,3)};g.setVersion=function(a){return kl(this,3,a)};
g.getEtag=function(){return kp(this,16)};g.setEtag=function(a){Dl(this,16,a)};g.getCreatedTime=function(){return Gi(this,aj,4)};g.setCreatedTime=function(a){return hj(this,aj,4,a)};g.getModifiedTime=function(){return Gi(this,aj,5)};g.setModifiedTime=function(a){return hj(this,aj,5,a)};g.getMajorModifiedTime=function(){return Gi(this,aj,14)};g.setMajorModifiedTime=function(a){return hj(this,aj,14,a)};g.getResolvedTime=function(){return Gi(this,aj,6)};
g.setResolvedTime=function(a){return hj(this,aj,6,a)};g.getVerifiedTime=function(){return Gi(this,aj,7)};g.setVerifiedTime=function(a){return hj(this,aj,7,a)};g.getSloId_asLegacyNumberOrString=function(){return Zi(this,9)};g.setSloId=function(a){return xl(this,9,a)};g.getSloStatus=function(){return Gi(this,ym,10)};g.setSloStatus=function(a){hj(this,ym,10,a)};g.hasSloStatus=function(){return Ui(this,ym,10)};g.getTeamId_asLegacyNumberOrString=function(){return Zi(this,13)};
g.setTeamId=function(a){return xl(this,13,a)};g.getRetentionState=function(){return Gi(this,zm,11)};g.setRetentionState=function(a){hj(this,zm,11,a)};g.getAccessLimit=function(){return Gi(this,vl,12)};g.setAccessLimit=function(a){return hj(this,vl,12,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,17,hi())};g.setParentIssueIdsList=function(a){return Do(this,17,a)};g.getAncestorsMap=function(){return Ob(this,19,Am,Vba)};g.getIsArchived=function(){return Li(this,18)};
g.setIsArchived=function(a){return Ul(this,18,a)};bJ.repeatedFields_=[17];var cJ=function(a){this.internalArray_=m(a,0,cJ.messageId)};Y(cJ,n);cJ.prototype.getIt=function(){return Gi(this,bJ,14)};cJ.prototype.setIt=function(a){return hj(this,bJ,14,a)};cJ.prototype.hasIt=function(){return Ui(this,bJ,14)};cJ.messageId="b.IssueMetadata";var I$b=function(a){this.internalArray_=m(a)};Y(I$b,n);g=I$b.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,1,hi())};g.getIssueIdsList_asString=function(){return Fj(this,1)};g.setIssueIdsList=function(a){return Do(this,1,a)};g.setRead=function(a){return $h(this,2,a)};g.setUserActivityType=function(a){return jj(this,3,a)};g.getIt=function(){return Gi(this,$I,4)};g.setIt=function(a){return hj(this,$I,4,a)};g.hasIt=function(){return Ui(this,$I,4)};I$b.repeatedFields_=[1];var dJ=function(a){this.internalArray_=m(a)};Y(dJ,n);dJ.prototype.getReadTimestamp=function(){return Gi(this,aj,3)};dJ.prototype.hasReadTimestamp=function(){return Ui(this,aj,3)};var eJ=function(a){this.internalArray_=m(a,0,eJ.messageId)};Y(eJ,n);g=eJ.prototype;g.getReadTimestamp=function(){return Zi(this,1)};g.hasReadTimestamp=function(){return Yi(this,1)};g.getIt=function(){return Gi(this,dJ,2)};g.setIt=function(a){return hj(this,dJ,2,a)};g.hasIt=function(){return Ui(this,dJ,2)};eJ.messageId="b.UpdateIssueReadTimestampResponse";var fJ=function(a,b){this.executor=a;this.activeSession=b};fJ.prototype.delete=function(a,b){b=jn?(new oG).setIt((new lG).setIssueId(Number(a)).setReason(d5b[Gxa(b)])):(new oG).setIssueId(String(a)).setReason(Qya[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:b,responseConstructor:null})};
fJ.prototype.undelete=function(a){if(jn)var b=(new tG).setIt((new nG).setIssueId(Number(a)));else b=new tG,b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};fJ.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:cJ}).then(MAa)};
fJ.prototype.markRead=function(a,b,c){b=void 0===b?!0:b;c=void 0===c?"USER_ACTIVITY_TYPE_UNDEFINED":c;var d=new I$b;hE(this.activeSession,"enableLeanFeC")?d.setIt((new $I).setIssueIdsList(a.map(Number)).setRead(b).setUserActivityType(k5b[c])):d.setIssueIdsList(a.map(Number)).setRead(b).setUserActivityType(k5b[c]);return this.executor.post({url:"action/issues/read_timestamp",body:d,responseConstructor:eJ}).then(LAa)};fJ.\u0275fac=function(a){return new (a||fJ)(p(IE),p(Zr))};
fJ.\u0275prov=Pc({token:fJ,factory:fJ.\u0275fac,providedIn:"root"});var gJ=function(){this.refreshRequest=new X.Subject};gJ.prototype.getObservable=function(){return this.refreshRequest};var J$b=function(a,b){return a.getObservable().pipe(vf(void 0)).pipe(wf(function(){return b}))};gJ.\u0275fac=function(a){return new (a||gJ)};gJ.\u0275prov=Pc({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var hJ=sq.ISSUE,iJ=function(a,b,c,d,e,f,h,l){DH.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=f;this.hotlistFridge=h;this.analytics=l;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(t){return String(t.issueId)};this.isEqual=ki;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(t){return q.call(t)},split:function(t,w){return q.splitBatch(t,w)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};
Y(iJ,DH);iJ.prototype.fetchOne=function(a){return this.get(a)};iJ.prototype.fetchSet=function(a){var b=this;return(0,X.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Ei)}))};
iJ.prototype.fetchAll=function(a){var b=a.filter,c=a.pageSize,d={s:a.sort,count:c};if("viewed"===a.custom)return s9b(this.issueResources,c).pipe(z(function(e){return{results:e}}));if(b)return this.issueResources.listIssues(b,d).pipe(z(function(e){return{results:e.issues,totalSize:e.numTotalResults}}));throw Error("Tc");};iJ.prototype.copy=function(a){return a&&li(a)};
var K$b=function(a,b,c){Wo(a.analytics,hJ,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};gE(a.activeSession)&&(d.voted=c);return s$b(a.userResources,b,d).pipe(yf(function(){CH(a,b,function(e){e.userData&&(e.userData.starred=c,gE(a.activeSession)&&(e.userData.voted=c))})}))},L$b=function(a,b,c){Wo(a.analytics,hJ,"light-ixn","vote",c);return s$b(a.userResources,b,{voted:c,starred:null,notificationSubscription:null}).pipe(yf(function(){CH(a,b,function(d){d.userData&&(d.userData.voted=
c)})}))};iJ.prototype.setNotificationSubscription=function(a,b){var c=this,d;return me(function(e){if(1==e.nextAddress)return Wo(c.analytics,hJ,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},oe(e,(0,X.firstValueFrom)(s$b(c.userResources,a,d)),2);CH(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});se(e)})};
var M$b=function(a,b,c){Wo(a.analytics,hJ,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};CH(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(yf(function(e){e&&a.announce(e)}))},N$b=function(a,b,c,d){var e,f,h,l,q,t;return me(function(w){if(1==w.nextAddress){Wo(a.analytics,hJ,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=k([].concat(u(c),u(d)));for(h=f.next();!h.done;h=f.next())l=h.value,a.hotlistFridge.setIsSaving(l);
ne(w,2);return oe(w,(0,X.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var B=k([].concat(u(c),u(d))),D=B.next();!D.done;D=B.next())a.hotlistFridge.clearIsSaving(D.value)}),4)}if(2!=w.nextAddress)return(q=w.yieldResult)&&a.announce(q),w.return(q);t=re(w);a.poke(b);throw t;})},O$b=function(a,b,c){return jJ(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};g=iJ.prototype;
g.removeDuplicate=function(a,b){var c=this;return jJ(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};g.addBlocking=function(a,b){return jJ(this,"ADD","BLOCKING",a,b)};g.removeBlocking=function(a,b){return jJ(this,"REMOVE","BLOCKING",a,b)};g.addBlockedBy=function(a,b){return jJ(this,"ADD","BLOCKED_BY",a,b)};g.removeBlockedBy=function(a,b){return jJ(this,"REMOVE","BLOCKED_BY",a,b)};
var jJ=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);Wo(a.analytics,hJ,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};P$b(a,b);var f=[d].concat(u(e));e=k(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,X.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=k(f),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},
kJ=function(a,b,c){c=void 0===c?{}:c;var d=void 0===c.markRead?!0:c.markRead,e=void 0===c.eagerUpdate?!0:c.eagerUpdate,f=void 0===c.userActivityType?"USER_ACTIVITY_TYPE_UNDEFINED":c.userActivityType,h,l,q,t;return me(function(w){if(1==w.nextAddress)return a.activeSession.isAnonymous()?w.return():oe(w,a.issueService.markRead(b,d,f),2);h=w.yieldResult;if(e)for(l=k(b),q=l.next();!q.done;q=l.next())t=q.value,CH(a,String(t),function(B){B.userData&&(B.userData.lastViewedTimeMicros=h.readTimestamp)});return w.return(h.readTimestamp?
Math.round(h.readTimestamp/1E3):void 0)})},P$b=function(a,b){CH(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(u(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),u(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,f;c.snapshot[0].blockedByIssueId=null!=(f=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?f:[]}}})};
iJ.prototype.call=function(a){if(1===a.size){var b=[].concat(u(a))[0];return this.issueResources.getIssue(b).pipe(z(function(c){return new Map([[b,c]])}))}return this.issueResources.batchGetIssues([].concat(u(a))).pipe(z(function(c){return new Map(c.map(function(d){return[d.issueId,d]}))}))};iJ.prototype.splitBatch=function(a,b){return b.get(a)};iJ.\u0275fac=function(a){return new (a||iJ)(p(SF),p(eH),p(PI),p(gJ),p(fJ),p(Zr),p(RI),p(ZI))};iJ.\u0275prov=Pc({token:iJ,factory:iJ.\u0275fac,providedIn:"root"});var lo=function(a){this.internalArray_=m(a)};Y(lo,n);var Q$b=function(a){this.internalArray_=m(a)};Y(Q$b,n);g=Q$b.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setRelationshipType=function(a){return zl(this,2,a)};g.getIssueRelationship=function(){return Gi(this,lo,3)};g.setIssueRelationship=function(a){return hj(this,lo,3,a)};
g.setSignificanceOverride=function(a){return zl(this,4,a)};var lJ=function(a){this.internalArray_=m(a)};Y(lJ,n);g=lJ.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setRelationshipType=function(a){return zl(this,2,a)};g.setRequestsList=function(a){return mm(this,3,a)};g.addAndReturnRequests=function(){return Tca(this,3,Q$b)};g.setSignificanceOverride=function(a){return zl(this,4,a)};
lJ.repeatedFields_=[3];var mJ=function(a){this.internalArray_=m(a)};Y(mJ,n);g=mJ.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setRelationshipType=function(a){return zl(this,2,a)};g.setSignificanceOverride=function(a){return zl(this,4,a)};mJ.repeatedFields_=[3];var nJ=function(a){this.internalArray_=m(a)};Y(nJ,n);g=nJ.prototype;g.setRelationshipType=function(a){return zl(this,1,a)};g.getSourceIssueIdsList_asLegacyNumberOrString=function(){return Fi(this,2,hi())};g.setSourceIssueIdsList=function(a){return Do(this,2,a)};g.getQuery=function(){return ec(this,3)};g.setQuery=function(a){return yl(this,3,a)};g.clearQuery=function(){lp(this,3)};nJ.repeatedFields_=[2];var oJ=function(a){this.internalArray_=m(a)};Y(oJ,n);var R$b=function(a,b){return Do(a,1,b)};oJ.prototype.setRelationshipType=function(a){return zl(this,2,a)};var S$b=function(a,b){return kl(a,3,b)},T$b=function(a,b){return kl(a,4,b)};oJ.prototype.getQuery=function(){return ec(this,5)};oJ.prototype.setQuery=function(a){return yl(this,5,a)};oJ.prototype.clearQuery=function(){lp(this,5)};oJ.repeatedFields_=[1];var pJ=function(a){this.internalArray_=m(a,0,pJ.messageId)};Y(pJ,n);pJ.prototype.getIt=function(){return Gi(this,lJ,5)};pJ.prototype.setIt=function(a){return hj(this,lJ,5,a)};pJ.prototype.hasIt=function(){return Ui(this,lJ,5)};pJ.messageId="b.BatchCreateIssueRelationshipsRequest";var qJ=function(a){this.internalArray_=m(a,0,qJ.messageId)};Y(qJ,n);qJ.prototype.getIssueRelationshipsList=function(){return Ii(this,lo,1,hi())};qJ.repeatedFields_=[1];qJ.messageId="b.BatchCreateIssueRelationshipsResponse";var rJ=function(a){this.internalArray_=m(a,0,rJ.messageId)};Y(rJ,n);rJ.prototype.getIt=function(){return Gi(this,mJ,5)};rJ.prototype.setIt=function(a){return hj(this,mJ,5,a)};rJ.prototype.hasIt=function(){return Ui(this,mJ,5)};rJ.messageId="b.BatchDeleteIssueRelationshipsRequest";var sJ=function(a){this.internalArray_=m(a,0,sJ.messageId)};Y(sJ,n);sJ.prototype.getIt=function(){return Gi(this,nJ,4)};sJ.prototype.setIt=function(a){return hj(this,nJ,4,a)};sJ.prototype.hasIt=function(){return Ui(this,nJ,4)};sJ.messageId="b.BatchGetIssueRelationshipsRequest";var tJ=function(a){this.internalArray_=m(a)};Y(tJ,n);tJ.prototype.getIssueRelationshipsList=function(){return Ii(this,lo,1,hi())};tJ.prototype.getTotalSize=function(){return fi(this,2)};tJ.repeatedFields_=[1];var uJ=function(a){this.internalArray_=m(a,0,uJ.messageId)};Y(uJ,n);uJ.repeatedFields_=[1];uJ.messageId="b.BatchGetIssueRelationshipsResponse";var vJ=function(a){this.internalArray_=m(a,0,vJ.messageId)};Y(vJ,n);vJ.prototype.getIssueRelationship=function(){return Gi(this,lo,1)};vJ.prototype.setIssueRelationship=function(a){return hj(this,lo,1,a)};vJ.messageId="b.CreateIssueRelationshipResponse";var wJ=function(a){this.internalArray_=m(a,0,wJ.messageId)};Y(wJ,n);wJ.prototype.getIt=function(){return Gi(this,oJ,6)};wJ.prototype.setIt=function(a){return hj(this,oJ,6,a)};wJ.prototype.hasIt=function(){return Ui(this,oJ,6)};wJ.messageId="b.GetIssueDescendantsRequest";var U$b=function(a){this.internalArray_=m(a,0,U$b.messageId)};Y(U$b,n);U$b.messageId="b.GetIssueDescendantsResponse";var xJ=function(a){this.internalArray_=m(a,0,xJ.messageId)};Y(xJ,n);xJ.prototype.getIssueRelationshipsList=function(){return Ii(this,lo,1,hi())};xJ.repeatedFields_=[1];xJ.messageId="b.ListIssueRelationshipsResponse";var yJ=function(a){this.internalArray_=m(a,0,yJ.messageId)};Y(yJ,n);yJ.prototype.getIssueRelationship=function(){return Gi(this,lo,1)};yJ.prototype.setIssueRelationship=function(a){return hj(this,lo,1,a)};yJ.messageId="b.UpdateIssueRelationshipResponse";var zJ=function(a){this.executor=a};g=zJ.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+TD[b],responseConstructor:xJ}).pipe(z(function(c){return c.getIssueRelationshipsList().map(mo)}))};g.create=function(a,b,c){b=TD[b];c=HDa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:vJ}).pipe(z(function(d){return mo(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=TD[b];var d=HDa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:yJ}).pipe(z(function(e){return mo(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+TD[b],responseConstructor:null})};
g.batchGet=function(a,b){b=TD[b];a=(new sJ).setIt((new nJ).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:uJ}).pipe(z(function(c){return Ii(c,tJ,1,hi()).map(IDa)}))};
var V$b=function(a,b,c){var d=TD.CHILD;c=c.map(function(e){e=HDa(e);return(new Q$b).setIssueRelationship(e)});b=(new pJ).setIt((new lJ).setIssueId(b).setRelationshipType(d).setSignificanceOverride(1<c.length?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:qJ}).pipe(z(function(e){return e.getIssueRelationshipsList().map(mo)}))},W$b=function(a,b,c){var d=TD.CHILD,e=new rJ,f=e.setIt;b=(new mJ).setIssueId(b).setRelationshipType(d);
c=Do(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
zJ.prototype.getDescendants=function(a){var b=a.issueIds,c=a.includeArchived,d=a.depthLimit,e=a.prefixSizeLimit;a=TD[a.relationshipType];b=(new wJ).setIt(T$b(S$b(R$b(new oJ,b).setRelationshipType(a).setQuery(this.getQuery(c)),d),e));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:U$b}).pipe(z(function(f){var h=new Map;f=Ob(f,1,tJ,Vba);f=k(f.entries());for(var l=f.next();!l.done;l=f.next()){var q=k(l.value);l=q.next().value;q=q.next().value;h.set(String(l),IDa(q))}return h}))};
zJ.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};zJ.\u0275fac=function(a){return new (a||zJ)(p(HE))};zJ.\u0275prov=Pc({token:zJ,factory:zJ.\u0275fac,providedIn:"root"});var AJ={},X$b=(AJ.BUG="BUG",AJ.FEATURE_REQUEST="FEATURE_REQUEST",AJ.CUSTOMER_ISSUE="CUSTOMER_ISSUE",AJ.INTERNAL_CLEANUP="INTERNAL_CLEANUP",AJ.PROCESS="PROCESS",AJ.VULNERABILITY="VULNERABILITY",AJ.PRIVACY_ISSUE="PRIVACY_ISSUE",AJ.EPIC="STORY",AJ.STORY="TASK",AJ.TASK="TASK",AJ.PROJECT="TASK",AJ.FEATURE="TASK",AJ.MILESTONE="TASK",AJ.PROGRAM="PROJECT",AJ);var BJ=function(a,b,c){BH.call(this,{freshUntil:6E4,ancientAfter:792E5});var d=this;this.issueRelationshipService=a;this.issueFridge=b;this.refreshMonitor=c;this.recordType="issueRelationships";this.idForRecord=function(e){return e.issueId};this.isEqual=ki;this.activeMoveOperation$=new X.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=KDa(function(e,f){return Y$b(d,e,f)});this.assignParentToOneIssue=function(e,f){return Y$b(d,String(e),[{issueId:f}])};
this.moveChildrenInAPI=JDa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=KDa(function(e){var f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb;return me(function(Wa){switch(Wa.nextAddress){case 1:h=QDa(e);if(0===h.length)return Wa.return();l=h.map(function(Hb){return Hb.issues.map(function(od){return od.parentId})}).flat();q=h.map(function(Hb){return Hb.newParentId});t=Rj([].concat(u(l),u(q)));w=k(t);for(B=w.next();!B.done;B=w.next())D=B.value,
d.setIsSaving(D);ne(Wa,2);J=k(h);H=J.next();case 4:if(H.done){au(Wa,3);break}O=H.value;P=k(O.newRelations);U=P.next();aa={};case 7:if(U.done){H=J.next();Wa.jumpTo(4);break}aa.newRelation=U.value;pa=O.issues.find(function(Hb){return function(od){return od.issueId===Hb.newRelation.targetIssueId}}(aa)).parentId;return O.newParentId===pa?oe(Wa,(0,X.firstValueFrom)(d.issueRelationshipService.update(O.newParentId,"CHILD",{afterIssueId:aa.newRelation.afterIssueId,targetIssueId:aa.newRelation.targetIssueId})),
8):oe(Wa,(0,X.firstValueFrom)(d.issueRelationshipService.create(O.newParentId,"CHILD",{afterIssueId:aa.newRelation.afterIssueId,targetIssueId:aa.newRelation.targetIssueId})).catch(function(Hb){var od,db;if(!(null==Hb?0:null==(od=Hb.error)?0:null==(db=od.details)?0:db.includes("ALREADY_EXISTS")))throw Hb;}),12);case 12:return oe(Wa,(0,X.firstValueFrom)(d.issueRelationshipService.delete(pa,"CHILD",aa.newRelation.targetIssueId)),8);case 8:aa={newRelation:void 0};U=P.next();Wa.jumpTo(7);break;case 2:f=
ka=re(Wa);case 3:Aa=d.activeMoveOperation$.value;Ya=k(e.map(function(Hb){return Hb.eventTimestamps}).flat());for(ea=Ya.next();!ea.done;ea=Ya.next())na=ea.value,Aa.delete(na);d.activeMoveOperation$.next(Aa);Da=k(t);for(Ia=Da.next();!Ia.done;Ia=Da.next())Xa=Ia.value,d.clearIsSaving(Xa);Promise.all(t.map(function(Hb){return d.poke(Hb)}));yb=k(h);for(Rb=yb.next();!Rb.done;Rb=yb.next())Sb=Rb.value,f&&Sb.done.reject(f),Sb.done.resolve();se(Wa)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};
Y(BJ,BH);BJ.prototype.fetchOne=function(a){var b=this;return Z$b(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(z(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),gf(function(c){return Xn(c)&&403===c.status?(0,X.of)(void 0):(0,X.throwError)(function(){return c})}))})};
BJ.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(u(null!=(c=a.ids)?c:[]));return 0===d.length?(0,X.of)({results:[]}):Z$b(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(z(LDa),z(function(e){return{results:e}}))});default:vc(a.type)}};BJ.prototype.copy=function(a){return a&&li(a)};
var Z$b=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Ce(function(d){return 0===d.size}),wf(function(){return b()}),wf(function(d){return 0===a.activeMoveOperation$.value.size?(0,X.of)(d):c()}),mf())};return c()},$$b=function(a,b){return a.watch(b).pipe(wf(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,X.of)(c):a.watch(b,{trustMemory:!1})}))},aac=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},bac=function(a,
b,c){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})};
BJ.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return me(function(f){switch(f.nextAddress){case 1:CH(d.issueFridge,b,function(h){--h.childIssueCount});CH(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});CH(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=PDa(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return f.return();ne(f,2);return oe(f,(0,X.firstValueFrom)(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:au(f,0);break;case 2:return e=re(f),oe(f,Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var Y$b=function(a,b,c){var d,e,f,h,l,q,t,w,B;return me(function(D){switch(D.nextAddress){case 1:d=[];e=[];f=[];if(0===c.length)return D.return({added:d,notAdded:e});h=cac(a,b);l=c.map(function(J,H){var O="-1"===J.afterIssueId?h:J.afterIssueId;return{targetIssueId:J.issueId,afterIssueId:H?c[H-1].issueId:O}});dac(a,b,l);q=k(l);t=q.next();case 2:if(t.done){D.jumpTo(4);break}w=t.value;ne(D,5);return oe(D,(0,X.firstValueFrom)(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:w.targetIssueId,
afterIssueId:w.afterIssueId})),7);case 7:d.push(w.targetIssueId);au(D,3);break;case 5:B=re(D);if(!Xn(B))throw B;f.push(B);e.push(w.targetIssueId);case 3:t=q.next();D.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),D.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},dac=function(a,b,c){var d=0;CH(a,b,function(e){var f=ODa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});CH(a.issueFridge,
b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},eac=function(a,b,c){var d,e,f,h,l,q,t,w,B,D,J,H;return me(function(O){if(1==O.nextAddress)return d=[],e=[],f=[],0===c.length?O.return({added:d,notAdded:e}):oe(O,Promise.allSettled(c.map(function(P){return(0,X.firstValueFrom)(a.issueRelationshipService.create(P,"CHILD",{targetIssueId:b,afterIssueId:cac(a,P)}))})),2);h=O.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())t=q.value,w=k(t),B=w.next().value,D=w.next().value,J=B,H=
D,"fulfilled"===H.status&&d.push(c[J]),"rejected"===H.status&&(e.push(c[J]),f.push(H.reason));Promise.all(c.map(function(P){return a.poke(P)}));return O.return({added:d,notAdded:e,errors:f})})},fac=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=k(c),h=f.next(),l={};!h.done;l={issue$jscomp$52:void 0},h=f.next())l.issue$jscomp$52=h.value,CH(a,l.issue$jscomp$52.parentId,function(U){return function(aa){aa.relatedChildren=PDa(aa.relatedChildren,
U.issue$jscomp$52.issueId);--aa.totalChildCount}}(l));var q=void 0,t;if(null==(t=b.position)?0:t.issueId){var w;if("after"===(null==(w=b.position)?void 0:w.position))q=b.position.issueId;else{var B;if("before"===(null==(B=b.position)?void 0:B.position)){var D,J;f=null!=(J=null==(D=a.memory.getData(d))?void 0:D.relatedChildren)?J:[];D=k(f.entries());for(J=D.next();!J.done;J=D.next())if(h=k(J.value),J=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=null==(b=f[J-1])?
void 0:b.targetIssueId;break}}}}var H=c.map(function(U,aa){return{targetIssueId:U.issueId,afterIssueId:aa?c[aa-1].issueId:q}});void 0!==e$b(a,d)?CH(a,d,function(U){U.relatedChildren=ODa(U.relatedChildren,H);U.totalChildCount+=H.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:ODa([],H),totalChildCount:H.length});b=new Ota;var O,P;a.moveChildrenInAPI({newParentId:d,newRelations:H,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:null!=(P=null==(O=a.memory.getData(d))?void 0:
O.relatedChildren)?P:[],done:b});return b.promise},cac=function(a,b){var c;a=null==(c=a.memory.getData(b))?void 0:c.relatedChildren;var d;return null==a?void 0:null==(d=a[(null==a?NaN:a.length)-1])?void 0:d.targetIssueId};BJ.\u0275fac=function(a){return new (a||BJ)(p(zJ),p(iJ),p(gJ))};BJ.\u0275prov=Pc({token:BJ,factory:BJ.\u0275fac,providedIn:"root"});var gac=function(a){this.internalArray_=m(a)};Y(gac,n);var hac=function(a){this.internalArray_=m(a)};Y(hac,n);hac.prototype.setMaxTaskAgeDays=function(a){return kl(this,2,a)};hac.repeatedFields_=[1];var kEa=Qm("enableNeedsResponseSignal"),cEa=new Set("READY_TO_SUBMIT NEEDS_ATTENTION THREAD_MENTIONS_ME TAGGED_IN_COMMENT REQUIRES_APPROVAL GERRIT_CHANGE_NEEDS_ATTENTION GERRIT_CHANGE_READY_TO_SUBMIT 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".split(" ")),AEa=new Set(["READY_TO_SUBMIT","NEEDS_ATTENTION","THREAD_MENTIONS_ME","TAGGED_IN_COMMENT","REQUIRES_APPROVAL"]);var CJ=function(a){this.internalArray_=m(a,0,CJ.messageId)};Y(CJ,n);CJ.prototype.setTaskIdsList=function(a){return rj(this,1,a)};CJ.prototype.setDismiss=function(a){return Ul(this,2,a)};CJ.repeatedFields_=[1];CJ.messageId="mc.BatchUpdateTasksDismissStateRequest";var iac=function(a){this.internalArray_=m(a)};Y(iac,n);iac.prototype.getCommentId=function(){return ec(this,2)};iac.prototype.setCommentId=function(a){return yl(this,2,a)};var DJ=function(a){this.internalArray_=m(a)};Y(DJ,n);DJ.prototype.setTaskResourceTypesList=function(a){return qj(this,1,a)};DJ.prototype.setMaxTaskAgeDays=function(a){return kl(this,2,a)};DJ.repeatedFields_=[1];var EJ=function(a){this.internalArray_=m(a)};Y(EJ,n);EJ.prototype.setTaskResourceTypesList=function(a){return qj(this,1,a)};EJ.prototype.setMaxTaskAgeDays=function(a){return kl(this,2,a)};EJ.repeatedFields_=[1];var yEa=function(a){this.internalArray_=m(a)};Y(yEa,n);var zo=[1,2,3,5];var qEa=function(a){this.internalArray_=m(a)};Y(qEa,n);g=qEa.prototype;g.getResourceId=function(){return ec(this,1)};g.setResourceId=function(a){yl(this,1,a)};g.getTimestamp=function(){return Gi(this,aj,3)};g.setTimestamp=function(a){return hj(this,aj,3,a)};g.hasTimestamp=function(){return Ui(this,aj,3)};g.getUrl=function(){return Gi(this,dv,4)};g.setUrl=function(a){return hj(this,dv,4,a)};g.hasUrl=function(){return Ui(this,dv,4)};var jac=function(a){this.internalArray_=m(a)};Y(jac,n);jac.prototype.getTasksList=function(){return Ii(this,u3b,1,hi())};jac.repeatedFields_=[1,2];var FJ=function(a){this.internalArray_=m(a,0,FJ.messageId)};Y(FJ,n);FJ.prototype.getResponsesList=function(){return Ii(this,jac,1,hi())};FJ.repeatedFields_=[1];FJ.messageId="b.GetPriorityTasksResponse";var GJ=function(a){this.internalArray_=m(a)};Y(GJ,n);g=GJ.prototype;g.getCommentId=function(){return ec(this,1)};g.setCommentId=function(a){return yl(this,1,a)};g.getAuthorDisplayName=function(){return ec(this,2)};g.getContent=function(){return ec(this,3)};g.setContent=function(a){return yl(this,3,a)};g.getModifiedTimestamp=function(){return Gi(this,aj,4)};var HJ=function(a){this.internalArray_=m(a,0,HJ.messageId)};Y(HJ,n);HJ.prototype.getResponse=function(){return Gi(this,GJ,1)};HJ.prototype.getReadonlyResponse=function(){return Eq(this,GJ,1)};HJ.prototype.getMutableResponse=function(){return xu(this,GJ,1)};HJ.prototype.setResponse=function(a){return hj(this,GJ,1,a)};HJ.messageId="b.LatestDriveMentionResponse";var kac=function(a){this.internalArray_=m(a)};Y(kac,n);var po=function(a){this.internalArray_=m(a)};Y(po,n);g=po.prototype;g.getPriority=function(){return Qi(this,1,0)};g.setPriority=function(a){return zl(this,1,a)};g.getAccessLevel=function(){return Qi(this,2,0)};g.setAccessLevel=function(a){return zl(this,2,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return Fi(this,3,hi(a))};g.setHotlistIdsList=function(a){Do(this,3,a)};g.addHotlistIds=function(a,b){return Ub(this,3,pb,a,b)};g.addAllHotlistIds=function(a){Tb(this,3,pb,a)};
po.repeatedFields_=[3];var XDa=function(a){this.internalArray_=m(a)};Y(XDa,n);XDa.prototype.getCategory=function(){return Qi(this,1,0)};var IJ=function(a){this.internalArray_=m(a)};Y(IJ,n);g=IJ.prototype;g.getTaskId=function(){return ec(this,1)};g.getTitle=function(){return ec(this,3)};g.setTitle=function(a){return yl(this,3,a)};g.getCreatedTimestamp=function(){return Gi(this,aj,4)};g.getLastModifiedTimestamp=function(){return Gi(this,aj,5)};g.getExternalLink=function(){return ec(this,6)};g.getDriveResource=function(){return Ll(this,kac,8,$Da)};g.hasDriveResource=function(){return Zl(this,kac,8,$Da)};IJ.repeatedFields_=[7];
var $Da=[8,9,10,11,12];var lac=function(a){this.internalArray_=m(a)};Y(lac,n);lac.prototype.getTasksList=function(){return Ii(this,IJ,1,hi())};lac.repeatedFields_=[1];var JJ=function(a){this.internalArray_=m(a,0,JJ.messageId)};Y(JJ,n);JJ.prototype.getResponsesList=function(){return Ii(this,lac,1,hi())};JJ.repeatedFields_=[1];JJ.messageId="b.TasksMyTasksResponse";var KJ=function(a){this.internalArray_=m(a)};Y(KJ,n);KJ.prototype.getCommentNumber=function(){return Fu(this,1)};KJ.prototype.setCommentNumber=function(a){return Ku(this,1,a)};KJ.repeatedFields_=[1];var uo=function(a){this.internalArray_=m(a)};Y(uo,n);uo.prototype.getDataCase=function(){return tm(this,mac)};uo.prototype.getSignal=function(){return Qi(this,1,0)};uo.prototype.getCommentNumbers=function(){return Ll(this,KJ,2,mac)};var mac=[2];var gEa=function(a){this.internalArray_=m(a)};Y(gEa,n);gEa.prototype.getComeBackTimestamp=function(){return Gi(this,aj,1)};var iEa=function(a){this.internalArray_=m(a)};Y(iEa,n);iEa.prototype.getComeBackTimestamp=function(){return Gi(this,aj,2)};var fEa=function(a){this.internalArray_=m(a)};Y(fEa,n);var hEa=[1,2];var to=function(a){this.internalArray_=m(a)};Y(to,n);to.prototype.getDataCase=function(){return tm(this,nac)};to.prototype.getSignal=function(){return Qi(this,1,0)};var nac=[2,3];var qo=function(a){this.internalArray_=m(a)};Y(qo,n);qo.prototype.getDataCase=function(){return tm(this,dEa)};qo.prototype.getSignal=function(){return Qi(this,1,0)};qo.prototype.getCommentId=function(){return ec(this,Fl(this,dEa,2))};qo.prototype.setCommentId=function(a){return Ql(this,2,dEa,a)};var dEa=[2];var lEa=function(a){this.internalArray_=m(a)};Y(lEa,n);lEa.prototype.getSignal=function(){return Qi(this,1,0)};var oac=function(a){this.internalArray_=m(a)};Y(oac,n);g=oac.prototype;g.getTimestamp=function(){return Gi(this,aj,1)};g.setTimestamp=function(a){return hj(this,aj,1,a)};g.hasTimestamp=function(){return Ui(this,aj,1)};g.getUrl=function(){return Gi(this,dv,2)};g.setUrl=function(a){return hj(this,dv,2,a)};g.hasUrl=function(){return Ui(this,dv,2)};var ro=[3,4,5,6,7];var oo=function(a){this.internalArray_=m(a)};Y(oo,n);oo.prototype.getTask=function(){return Gi(this,IJ,1)};oo.prototype.hasTask=function(){return Ui(this,IJ,1)};oo.prototype.getSignalsList=function(){return Ii(this,oac,2,hi())};oo.prototype.setSignalsList=function(a){mm(this,2,a)};oo.repeatedFields_=[2];var pac=function(a){this.internalArray_=m(a)};Y(pac,n);pac.repeatedFields_=[1];var LJ=function(a){this.internalArray_=m(a,0,LJ.messageId)};Y(LJ,n);LJ.prototype.getResponsesList=function(){return Ii(this,pac,1,hi())};LJ.repeatedFields_=[1];LJ.messageId="b.TasksNeedsAttentionResponse";var MJ=function(a){this.executor=a},qac=function(a,b){var c=new hac,d=b.sources.map(BEa);b=qj(c,1,d).setMaxTaskAgeDays(b.maxTaskAgeDays);return a.executor.post({url:"action/tasks/priority_tasks_v1",responseConstructor:FJ,body:b}).pipe(z(xEa))};MJ.prototype.dismiss=function(a){a=(new CJ).setTaskIdsList(a).setDismiss(!0);return this.executor.post({url:"action/tasks/dismiss",body:a,responseConstructor:null})};
var rac=function(a,b,c){b=(new EJ).setTaskResourceTypesList(b.map(nEa)).setMaxTaskAgeDays(c);return a.executor.post({url:"action/tasks/needs_attention",responseConstructor:LJ,body:b}).pipe(z(SDa))},sac=function(a,b,c,d){var e=new gac;d=zl(e,1,oEa(d));b=(new DJ).setTaskResourceTypesList(b.map(nEa)).setMaxTaskAgeDays(c);b=hj(b,gac,3,d);return a.executor.post({url:"action/tasks/my_tasks",responseConstructor:JJ,body:b}).pipe(z(VDa))},tac=function(a,b,c){var d=new iac;b=yl(d,1,b).setCommentId(c);return a.executor.post({url:"action/tasks/latest_drive_mention",
responseConstructor:HJ,body:b}).pipe(z(pEa))};MJ.\u0275fac=function(a){return new (a||MJ)(p(HE))};MJ.\u0275prov=Pc({token:MJ,factory:MJ.\u0275fac,providedIn:"root"});var uac={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30,issueFilter:"ISSUE_TYPE_GROUPS_UNSPECIFIED"},NJ=function(a){BH.call(this);this.api=a;this.recordType="myTasks";this.idForRecord=function(b){return b.taskId};this.defaultQuery=uac};Y(NJ,BH);NJ.prototype.fetchAll=function(a){return sac(this.api,a.sources,a.maxTaskAgeDays,a.issueFilter).pipe(z(function(b){b=void 0===b?[]:b;return{results:b}}))};NJ.\u0275fac=function(a){return new (a||NJ)(p(MJ))};
NJ.\u0275prov=Pc({token:NJ,factory:NJ.\u0275fac,providedIn:"root"});var vac={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30},OJ=function(a){BH.call(this);this.api=a;this.recordType="needsAttentionTask";this.idForRecord=function(b){return b.task.taskId};this.defaultQuery=vac};Y(OJ,BH);OJ.prototype.fetchAll=function(a){return 0===a.sources.length?(0,X.of)({results:[]}):rac(this.api,a.sources,a.maxTaskAgeDays).pipe(z(function(b){b=void 0===b?[]:b;return{results:b}}))};OJ.\u0275fac=function(a){return new (a||OJ)(p(MJ))};
OJ.\u0275prov=Pc({token:OJ,factory:OJ.\u0275fac,providedIn:"root"});var PJ=function(a){DH.call(this);this.userAccess=a;this.recordType="permissions"};Y(PJ,DH);PJ.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(z(function(b){return k(b).next().value}))};PJ.prototype.fetchSet=function(a){var b=this;return(0,X.combineLatest)(a.map(function(c){return(0,X.defer)(function(){return h9b(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};PJ.\u0275fac=function(a){return new (a||PJ)(p(LG))};
PJ.\u0275prov=Pc({token:PJ,factory:PJ.\u0275fac,providedIn:"root"});var QJ=function(a){DH.call(this,{freshUntil:36E5,ancientAfter:864E5});this.principalTypesApi=a;this.recordType="principalTypes";this.idForRecord=function(b){return b.email}};Y(QJ,DH);QJ.prototype.fetchOne=function(a){var b=this;return(0,X.defer)(function(){return b.principalTypesApi.get(a)}).pipe(z(function(c){return Object.assign({},{email:a},c)}),gf(function(){return(0,X.of)(void 0)}))};QJ.prototype.fetchSet=function(a){var b=this;return(0,X.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Ei)}))};
QJ.\u0275fac=function(a){return new (a||QJ)(p(JE))};QJ.\u0275prov=Pc({token:QJ,factory:QJ.\u0275fac,providedIn:"root"});var RJ=function(a){DH.call(this);this.api=a;this.recordType="recentEventsForIssues";this.idForRecord=function(b){return b.id.query+"-"+b.id.pageSize}};Y(RJ,DH);RJ.prototype.isEqual=function(a,b){return(null==a?void 0:a.id.query)!==(null==b?void 0:b.id.query)||(null==a?void 0:a.id.pageSize)!==(null==b?void 0:b.id.pageSize)?!1:TCa(null==a?void 0:a.events,null==b?void 0:b.events)};
RJ.prototype.fetchOne=function(a){var b=k(a.split("___")),c=b.next().value;b=b.next().value;Bi(b)||console.error("RecentEventsForIssuesFridge failed to parse maximumSize from query, using default. input: '"+a+"'");var d,e=null!=(d=Bi(b))?d:50;return v9b(this.api,{query:c,maximumSize:e,minimumSignificance:"MAJOR"}).pipe(z(function(f){return{id:{query:c,pageSize:e},events:f}}))};RJ.\u0275fac=function(a){return new (a||RJ)(p(eH))};RJ.\u0275prov=Pc({token:RJ,factory:RJ.\u0275fac,providedIn:"root"});var SJ=function(a){this.internalArray_=m(a,0,SJ.messageId)};Y(SJ,n);SJ.prototype.setSearch=function(a,b){wu(this,1,ho,a,b)};SJ.repeatedFields_=[1];SJ.messageId="b.BatchGetSearchesResponse";var TJ=function(a){this.internalArray_=m(a,0,TJ.messageId)};Y(TJ,n);TJ.prototype.getSearch=function(){return Gi(this,ho,1)};TJ.prototype.setSearch=function(a){hj(this,ho,1,a)};TJ.messageId="b.SearchResponse";var UJ=function(a){this.jspbExecutor=a};g=UJ.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:TJ}).pipe(z(CEa))};g.batchGet=function(a){if(500<a.length)throw Error("Vc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:SJ}).pipe(z(DEa))};
g.create=function(a,b){a=(new ho).setIt((new Qo).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:TJ}).pipe(z(CEa))};
g.update=function(a,b){var c=new ho;var d=c.setIt,e,f,h=(new Qo).setSavedSearchId(b.searchId).setName(b.name).setDescription(b.description).setQuery(b.query).setDefaultOrderBy(qxa(null!=(e=b.sortOrder)?e:[]));e=h.setDisplayPreferences;var l=null!=(f=b.displayColumn)?f:[];f=new Em;l=l.map(kxa);f=rj(f,1,l);b=e.call(h,f).setOwnersList(b.adminUsers.map(yi));c=d.call(c,b);return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:TJ}).pipe(z(CEa))};
g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};UJ.\u0275fac=function(a){return new (a||UJ)(p(HE))};UJ.\u0275prov=Pc({token:UJ,factory:UJ.\u0275fac,providedIn:"root"});var VJ=function(a){this.observableResources=a};g=VJ.prototype;g.get=function(a){return(0,X.firstValueFrom)(this.observableResources.get(a))};g.batchGet=function(a){return(0,X.firstValueFrom)(this.observableResources.batchGet(a))};
g.create=function(a,b){return(0,X.firstValueFrom)(this.observableResources.create(a,b))};g.update=function(a,b){return(0,X.firstValueFrom)(this.observableResources.update(a,b))};g.delete=function(a){return(0,X.firstValueFrom)(this.observableResources.delete(a))};VJ.\u0275fac=function(a){return new (a||VJ)(p(UJ))};VJ.\u0275prov=Pc({token:VJ,factory:VJ.\u0275fac,providedIn:"root"});var wac={results:[]},WJ=function(a,b){DH.call(this);this.userResourcesApi=a;this.savedSearchApi=b;this.recordType="savedSearch";this.idKey="searchId"};Y(WJ,DH);WJ.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};WJ.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};
WJ.prototype.fetchAll=function(a){if("me"===a.parent)return this.userResourcesApi.getUserSavedSearches().pipe(z(function(b){return{results:b}}));Ek("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,X.of)(wac)};WJ.\u0275fac=function(a){return new (a||WJ)(p(PI),p(UJ))};WJ.\u0275prov=Pc({token:WJ,factory:WJ.\u0275fac,providedIn:"root"});var xac=["ASSIGNMENT","RESPONSE","CLOSURE"],yac=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),zac=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),mab=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Bo=function(a){this.internalArray_=m(a)};Y(Bo,n);g=Bo.prototype;g.getId=function(){return Zi(this,1)};g.getId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getId_asString=function(){return Eu(this,1)};g.setId=function(a){return pj(this,1,a)};g.setFrequency=function(a){return zl(this,3,a)};g.getTimeZone=function(){return Gi(this,Co,5)};g.setTimeZone=function(a){return hj(this,Co,5,a)};g.hasTimeZone=function(){return Ui(this,Co,5)};g.setDaysRemaining=function(a){return sm(this,7,a)};
Bo.repeatedFields_=[8,9];var XJ=function(a){this.internalArray_=m(a)};Y(XJ,n);XJ.prototype.getTeamId_asLegacyNumberOrString=function(){return Zi(this,1)};XJ.prototype.setTeamId=function(a){return xl(this,1,a)};XJ.prototype.getEffectiveSloEditPolicy=function(){return Qi(this,3,0)};var Eo=function(a){this.internalArray_=m(a,0,Eo.messageId)};Y(Eo,n);Eo.prototype.getIt=function(){return Gi(this,Fo,10)};Eo.prototype.setIt=function(a){return hj(this,Fo,10,a)};Eo.prototype.hasIt=function(){return Ui(this,Fo,10)};Eo.messageId="b.SloState";var FEa=function(a){this.internalArray_=m(a)};Y(FEa,n);g=FEa.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return xl(this,1,a)};g.getEffectiveSloEditPolicy=function(){return Qi(this,2,0)};var Aac=function(a){this.internalArray_=m(a,0,Aac.messageId)};Y(Aac,n);Aac.messageId="b.GetComponentSloEditPolicyResponse";var YJ=function(a){this.internalArray_=m(a,0,YJ.messageId)};Y(YJ,n);YJ.prototype.getTeamSloEditPolicy=function(){return Gi(this,XJ,1)};YJ.messageId="b.GetTeamSloEditPolicyResponse";var ZJ=function(a){this.internalArray_=m(a,0,ZJ.messageId)};Y(ZJ,n);ZJ.repeatedFields_=[1];ZJ.messageId="b.SloSearchResponse";var $J=function(a){this.internalArray_=m(a,0,$J.messageId)};Y($J,n);$J.prototype.getTeamSloEditPolicy=function(){return Gi(this,XJ,1)};$J.messageId="b.UpdateTeamSloEditPolicyResponse";var aK=function(a,b){this.activeSession=a;this.executor=b};g=aK.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:Eo}).pipe(z(KEa))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:ZJ}).pipe(z(function(b){b=Ii(b,Eo,1,hi());return(null!=b?b:[]).map(KEa)}))};
g.create=function(a){a=LEa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:Eo}).pipe(z(KEa))};g.update=function(a){var b=a.sloId;a=LEa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:Eo}).pipe(z(KEa))};aK.\u0275fac=function(a){return new (a||aK)(p(Zr),p(HE))};aK.\u0275prov=Pc({token:aK,factory:aK.\u0275fac,providedIn:"root"});
var bK=function(a,b){this.observableSlosService=b;var c;this.slosCache=null!=(c=a.get("slos-second-level-cache"))?c:a.create("slos-second-level-cache",{capacity:25})};g=bK.prototype;g.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,X.firstValueFrom)(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return(0,X.firstValueFrom)(this.observableSlosService.getOwnedSlos())};g.search=function(a){return(0,X.firstValueFrom)(this.observableSlosService.search(a))};
g.create=function(a){return(0,X.firstValueFrom)(this.observableSlosService.create(a))};g.update=function(a){return(0,X.firstValueFrom)(this.observableSlosService.update(a))};bK.\u0275fac=function(a){return new (a||bK)(p(aG),p(aK))};bK.\u0275prov=Pc({token:bK,factory:bK.\u0275fac,providedIn:"root"});var cK=function(a){DH.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};Y(cK,DH);g=cK.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)};
cK.\u0275fac=function(a){return new (a||cK)(p(aK))};cK.\u0275prov=Pc({token:cK,factory:cK.\u0275fac,providedIn:"root"});var Bac={sources:["CRITIQUE","DRIVE"],maxTaskAgeDays:30},dK=function(a){BH.call(this);this.api=a;this.recordType="Task";this.idKey="taskId";this.defaultQuery=Bac};Y(dK,BH);dK.prototype.fetchAll=function(a){a=void 0===a?{}:a;a=Object.assign({},Bac,a);return qac(this.api,a).pipe(z(function(b){b=void 0===b?[]:b;return{results:b}}))};dK.\u0275fac=function(a){return new (a||dK)(p(MJ))};dK.\u0275prov=Pc({token:dK,factory:dK.\u0275fac,providedIn:"root"});var Cac=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new $F(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};Cac.prototype.get=function(a){var b=this;return new X.Observable(function(c){var d=b.lruCache.get(a);d||(d=Dac(b,a));return d.obs$.subscribe(c)})};
var Dac=function(a,b){var c=a.rawGet(b).pipe(tf({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 Eac(c,d);a.lruCache.set(b,c);return c},Eac=function(a,b){this.obs$=a;this.subscription=b};var eK=function(a){this.internalArray_=m(a,0,eK.messageId)};Y(eK,n);eK.prototype.getIt=function(){return Gi(this,hG,14)};eK.prototype.setIt=function(a){return hj(this,hG,14,a)};eK.prototype.hasIt=function(){return Ui(this,hG,14)};eK.messageId="b.TeamState";var Fac=function(a){this.internalArray_=m(a)};Y(Fac,n);g=Fac.prototype;g.getPathIdsList_asLegacyNumberOrString=function(){return Cu(this,1,hi())};g.getPathIdsList_asString=function(){return Fj(this,1)};g.setPathIdsList=function(a){return Pb(this,1,a,pb)};g.getPathNamesList=function(a){return gi(this,2,hi(a))};g.setPathNamesList=function(a){return rj(this,2,a)};g.getId=function(){return Du(this,3)};g.getId_asLegacyNumberOrString=function(){return Du(this,3)};
g.getId_asString=function(){return Ti(this,3)};g.setId=function(a){return oj(this,3,a)};g.getName=function(){return ec(this,4)};g.setName=function(a){return Zh(this,4,a)};g.hasName=function(){return Ni(this,4)};g.getNameOrUndefined=function(){return Ju(this,4)};g.getDescription=function(){return ec(this,5)};g.setDescription=function(a){return Zh(this,5,a)};g.hasDescription=function(){return Ni(this,5)};Fac.repeatedFields_=[1,2];var Gac=function(a){this.internalArray_=m(a)};Y(Gac,n);g=Gac.prototype;g.getId=function(){return Du(this,1)};g.getId_asLegacyNumberOrString=function(){return Du(this,1)};g.getId_asString=function(){return Ti(this,1)};g.setId=function(a){return oj(this,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return Zh(this,2,a)};g.hasName=function(){return Ni(this,2)};g.getNameOrUndefined=function(){return Ju(this,2)};g.getDescription=function(){return ec(this,3)};
g.setDescription=function(a){return Zh(this,3,a)};g.hasDescription=function(){return Ni(this,3)};var fK=function(a){this.internalArray_=m(a,0,fK.messageId)};Y(fK,n);var Hac=function(a,b){return Pb(a,1,b,pb)};fK.repeatedFields_=[1];fK.messageId="b.BatchChildTeamsRequest";var Iac=function(a){this.internalArray_=m(a)};Y(Iac,n);Iac.repeatedFields_=[1];var Jac=function(a){this.internalArray_=m(a,0,Jac.messageId)};Y(Jac,n);Jac.messageId="b.BatchChildTeamsResponse";var gK=function(a){this.internalArray_=m(a,0,gK.messageId)};Y(gK,n);gK.messageId="b.BatchGetTeamsResponse";var hK=function(a){this.internalArray_=m(a,0,hK.messageId)};Y(hK,n);hK.prototype.getTeamSuggestionsList=function(){return Ii(this,Fac,1,hi())};hK.prototype.setTeamSuggestionsList=function(a){mm(this,1,a)};hK.repeatedFields_=[1];hK.messageId="b.TeamSuggestionResult";var iK=function(a){this.internalArray_=m(a,0,iK.messageId)};Y(iK,n);iK.prototype.getIt=function(){return Gi(this,Hm,3)};iK.prototype.setIt=function(a){return hj(this,Hm,3,a)};iK.prototype.hasIt=function(){return Ui(this,Hm,3)};iK.messageId="b.UpdateTeamSloRequest";var jK=function(a,b,c){var d=this;this.executor=a;this.teamsBatchApiConfig=b;this.batchApiAdapter=c;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig);this.memoizingTeamStateMap=new Cac(function(e){return d.batchAdaptedGet(e)},100)};jK.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:eK}).pipe(z(Ho))};jK.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var kK=function(a,b){return a.getTeam(b).pipe(z(function(c){return null!=c?c:PEa(b)}),gf(function(){return(0,X.of)(PEa(b))}))},Kac=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,X.forkJoin)(b).pipe(z(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
jK.prototype.getChildTeams=function(a){a=Hac(new fK,a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:Jac}).pipe(z(function(b){b=[].concat(u(Ob(b,1,Iac,vb).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;d=Ii(d,Gac,1,hi());return[c,d.map(NEa)]}))}))};
var lK=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:hK}).pipe(z(function(c){return c.getTeamSuggestionsList().map(OEa)}))},Lac=function(a,b,c){return"0"===b?(0,X.of)(!1):a.memoizingTeamStateMap.get(b).pipe(z(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&Zk(e.user)===c}))}))},Mac=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:gK}).pipe(gf(function(){return(0,X.of)(new gK)}),
z(function(c){return new Map(Array.from(Ob(c,1,eK,vb).entries()).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;e=Ho(e);return[d,e.estimatedComponentCount]}))}))};
jK.prototype.updateTeam=function(a){var b=new eK,c=new hG,d,e,f=c.setId(Number(a.teamId)).setName(a.name).setDescription(a.description).setPathNamesList(a.pathNames).setPathIdsList(null==(d=a.pathIds)?void 0:d.map(Bi).filter(Ei));d=rj(f,5,a.collapsedPathNames).setMembersList(null==(e=a.members)?void 0:e.map(jza));Ul(d,9,a.deleted);e=new Go;d=e.setVersion(a.version);xl(d,3,a.estimatedComponentCount).setSlo(kza(a.slo));a.sloLead&&(d=yi(a.sloLead),hj(e,xi,4,d));a.defaultSloLead&&(d=yi(a.defaultSloLead),
hj(e,xi,5,d));hj(c,Go,7,e);b.setIt(c);return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:eK}).pipe(z(Ho))};jK.\u0275fac=function(a){return new (a||jK)(p(HE),p(mK),p(SF))};jK.\u0275prov=Pc({token:jK,factory:jK.\u0275fac,providedIn:"root"});var mK=function(a){this.executor=a};mK.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(u(a)).join(",")}},responseConstructor:gK}).pipe(gf(function(){return(0,X.of)(new gK)}))};
mK.prototype.split=function(a,b){return(a=Ob(b,1,eK,vb).get(a))?Ho(a):void 0};mK.\u0275fac=function(a){return new (a||mK)(p(HE))};mK.\u0275prov=Pc({token:mK,factory:mK.\u0275fac,providedIn:"root"});var nK=function(a){BH.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};Y(nK,BH);nK.prototype.fetchAll=function(a){if(a.myTeams)return lK(this.teamsApi,"").pipe(z(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("ad");};nK.\u0275fac=function(a){return new (a||nK)(p(jK))};nK.\u0275prov=Pc({token:nK,factory:nK.\u0275fac,providedIn:"root"});var oK=function(a){DH.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};Y(oK,DH);oK.prototype.fetchOne=function(a){return"0"===a?(0,X.of)(void 0):this.teamsApi.getTeam(a).pipe(gf(function(){return(0,X.of)(void 0)}))};oK.prototype.fetchSet=function(a){var b=this;return(0,X.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Ei)}))};oK.\u0275fac=function(a){return new (a||oK)(p(jK))};
oK.\u0275prov=Pc({token:oK,factory:oK.\u0275fac,providedIn:"root"});var pK=function(a){this.internalArray_=m(a,0,pK.messageId)};Y(pK,n);pK.prototype.getTrackersList=function(){return Ii(this,Ij,1,hi())};pK.repeatedFields_=[1];pK.messageId="b.BatchGetTrackersResponse";var qK=function(a){this.internalArray_=m(a,0,qK.messageId)};Y(qK,n);qK.prototype.getTrackersList=function(){return Ii(this,Ij,1,hi())};qK.prototype.getNextPageToken=function(){return ec(this,2)};qK.prototype.getTotalSize=function(){return fi(this,3)};qK.repeatedFields_=[1];qK.messageId="b.ListTrackersResponse";var rK=function(a){this.jspbExecutor=a};rK.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Ij}).pipe(z(osa))};rK.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:pK,options:{params:{trackerIds:a}}}).pipe(z(psa))};
rK.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:qK,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(z(qsa))};rK.\u0275fac=function(a){return new (a||rK)(p(HE))};rK.\u0275prov=Pc({token:rK,factory:rK.\u0275fac,providedIn:"root"});var sK=function(a,b){DH.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};Y(sK,DH);sK.prototype.fetchOne=function(a){return this.trackerApi.get(a)};sK.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
sK.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query(null!=(b=a.filter)?b:"",null!=(c=a.pageSize)?c:0,a.pageToken).pipe(z(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};sK.\u0275fac=function(a){return new (a||sK)(p(rK),p(Zr))};sK.\u0275prov=Pc({token:sK,factory:sK.\u0275fac,providedIn:"root"});var tK=function(a,b){Z.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new X.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(z(function(c){return c.issueId}),lf())};Y(tK,Z);tK.\u0275dir=Z.\u0275dir;
var Oac=function(a){a.activatedRoute.queryParams.pipe(xf(a.destroyed$)).subscribe(function(b){Nac(a,a.routeParams$.value,b)});a.router.events.pipe(Ce(function(b){return b instanceof yva}),z(function(b){return b}),xf(a.destroyed$)).subscribe(function(b){b=b.snapshot;var c={},d=b;do c=Object.assign({},d.params,c),d=d.parent;while(d&&d!==d.root);Nac(a,c,b.queryParams)})},Pac=function(a,b){return a.routeParams$.pipe(z(function(c){return c[b]}))},Nac=function(a,b,c){for(var d=k(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[QEa(e.value)];a.routeParams$.next(b);c=k(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.params[QEa(d)]=e;b=k(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=k(c.value),c=d.next().value,d=d.next().value,a.params[QEa(c)]=d};tK.\u0275fac=function(a){return new (a||tK)(p(mF),p(lk))};tK.\u0275prov=Pc({token:tK,factory:tK.\u0275fac,providedIn:"root"});var uK={type:"no_indicator",displayText:""},Qac={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."},UEa={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."},Rac={type:"visible_to_partners",
displayText:"Visible to partners",displayTextCompact:"Partners",explanation:"This issue is visible to partner users."},REa={type:"visible_to_public",displayText:"Visible to public",displayTextCompact:"Public",explanation:"This issue is visible to the public."},vK=function(a,b,c){this.issueFridge=a;this.componentAccessPolicyFridge=b;this.activeSession=c},Uac=function(a,b,c){var d=a.issueFridge.watch(b);b=(0,X.defer)(function(){return c?(0,X.of)(c):d.pipe(z(function(e){return null==e?void 0:e.snapshot[0].componentId}))}).pipe(wf(function(e){return a.componentAccessPolicyFridge.watch(e)}));
return(0,X.combineLatest)([d,b]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;var h,l;var q=null!=(l=null==e?void 0:e.snapshot[0].issueAccessLimitLevel)?l:void 0;l=null==e?void 0:null==(h=e.accessLimit)?void 0:h.accessLevel;if(gE(a.activeSession))h=uK;else if(fE(a.activeSession))h=Sac(q,l,f);else if(a.activeSession.isInternalSession())h=Tac(q,l,f);else throw Error("bd");return h}))},Sac=function(a,b,c){switch(b){case "INTERNAL":return uK;case "EXTERNAL_PARTNER":return uK;case "EXTERNAL_PUBLIC":return VEa(a,
c);case "ACCESS_LEVEL_UNSPECIFIED":return uK;default:return uK}},Tac=function(a,b,c){switch(b){case "INTERNAL":return uK;case "EXTERNAL_PARTNER":return a&&TEa(a)?Qac:Rac;case "EXTERNAL_PUBLIC":return VEa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return uK;default:return uK}};vK.\u0275fac=function(a){return new (a||vK)(p(iJ),p(UH),p(Zr))};vK.\u0275prov=Pc({token:vK,factory:vK.\u0275fac,providedIn:"root"});var wK=function(a,b,c,d){Z.call(this);var e=this;this.paramsService=a;this.issueFridge=b;this.pageTitle=c;this.accessIndicatorService=d;this.newTitle$=this.paramsService.routeParams$.pipe(lf(ki),wf(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.newTitle$.subscribe(function(f){e.pageTitle.setTitle(f)}))};this.initOnce=no(this.init)};Y(wK,Z);wK.\u0275dir=Z.\u0275dir;wK.prototype.onRouteParamsChanged=function(a){return a.issueId?Vac(this,a.issueId):(0,X.of)()};
var Vac=function(a,b){return(0,X.combineLatest)([a.issueFridge.watch(b),Uac(a.accessIndicatorService,b).pipe(vf(void 0),gf(function(){return(0,X.of)(void 0)}))]).pipe(vf([void 0,void 0]),z(function(c){c=k(c);var d=c.next().value;c=c.next().value;d=null==d?void 0:d.snapshot[0].title;if(!d)return"View issue";d=d+" ["+b+"]";if(null==c?0:c.displayText)d=d+" - "+c.displayText;return d}))};wK.\u0275fac=function(a){return new (a||wK)(p(tK),p(iJ),p(qH),p(vK))};
wK.\u0275prov=Pc({token:wK,factory:wK.\u0275fac,providedIn:"root"});var mp=function(a){this.internalArray_=m(a,0,mp.messageId)};Y(mp,n);mp.prototype.getIt=function(){return Gi(this,wl,6)};mp.prototype.setIt=function(a){return hj(this,wl,6,a)};mp.prototype.hasIt=function(){return Ui(this,wl,6)};mp.messageId="b.ContentJudgement";var xK=function(a){this.internalArray_=m(a)};Y(xK,n);g=xK.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getComment=function(){return Gi(this,fn,2)};g.setComment=function(a){return hj(this,fn,2,a)};g.setSignificanceOverride=function(a){return zl(this,3,a)};g.getContentJudgement=function(){return Gi(this,wl,4)};
g.setContentJudgement=function(a){return hj(this,wl,4,a)};var yK=function(a){this.internalArray_=m(a)};Y(yK,n);g=yK.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getCommentNumber=function(){return fi(this,2)};g.setCommentNumber=function(a){return kl(this,2,a)};g.getComment=function(){return Gi(this,fn,3)};g.setComment=function(a){return hj(this,fn,3,a)};var zK=function(a){this.internalArray_=m(a)};Y(zK,n);g=zK.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getCommentNumber=function(){return fi(this,2)};g.setCommentNumber=function(a){return kl(this,2,a)};g.getRestrictedRetention=function(){return Qi(this,3,0)};g.setRestrictedRetention=function(a){return zl(this,3,a)};var AK=function(a){this.internalArray_=m(a,0,AK.messageId)};Y(AK,n);AK.prototype.getIt=function(){return Gi(this,Yl,2)};AK.prototype.setIt=function(a){return hj(this,Yl,2,a)};AK.prototype.hasIt=function(){return Ui(this,Yl,2)};AK.messageId="b.CommentReaction";var BK=function(a){this.internalArray_=m(a)};Y(BK,n);BK.prototype.getIt=function(){return Gi(this,xK,5)};BK.prototype.setIt=function(a){return hj(this,xK,5,a)};BK.prototype.hasIt=function(){return Ui(this,xK,5)};var CK=function(a){this.internalArray_=m(a,0,CK.messageId)};Y(CK,n);CK.prototype.getIt=function(){return Gi(this,fn,19)};CK.prototype.setIt=function(a){return hj(this,fn,19,a)};CK.prototype.hasIt=function(){return Ui(this,fn,19)};CK.messageId="b.IssueComment";var DK=function(a){this.internalArray_=m(a,0,DK.messageId)};Y(DK,n);DK.prototype.getIssueCommentsList=function(){return Ii(this,CK,1,hi())};DK.repeatedFields_=[1];DK.messageId="b.ListIssueCommentHistoryResponse";var EK=function(a){this.internalArray_=m(a)};Y(EK,n);EK.prototype.getIt=function(){return Gi(this,yK,5)};EK.prototype.setIt=function(a){return hj(this,yK,5,a)};EK.prototype.hasIt=function(){return Ui(this,yK,5)};var FK=function(a){this.internalArray_=m(a)};Y(FK,n);FK.prototype.getIt=function(){return Gi(this,zK,4)};FK.prototype.setIt=function(a){return hj(this,zK,4,a)};FK.prototype.hasIt=function(){return Ui(this,zK,4)};var GK=function(a){this.executor=a};g=GK.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(WEa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:CK}).pipe(z(NAa))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new xK).setIssueId(a).setComment((new fn).setComment(b).setFormattingMode(em(c)));d&&b.setContentJudgement(Dxa(d));d=(new BK).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 EK).setIt((new yK).setIssueId(a).setCommentNumber(b).setComment((new fn).setComment(c).setFormattingMode(em(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={};void 0!==c&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:CK}).pipe(z(NAa))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:DK}).pipe(z(OAa))};
g.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.hasReacted,f;a=new AK;var h=a.setIt,l=new Yl;d=(new fm).setType(null!=(f=c5b[d])?f:0);f=Ul(d,1,e);f=Wq(l,2,fm,f);a=h.call(a,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:a,responseConstructor:AK}).pipe(z(PAa))};
g.updateRetention=function(a,b,c){c=(new FK).setIt((new zK).setIssueId(a).setCommentNumber(b).setRestrictedRetention(Bl(c)));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:CK}).pipe(z(NAa))};GK.\u0275fac=function(a){return new (a||GK)(p(HE))};GK.\u0275prov=Pc({token:GK,factory:GK.\u0275fac,providedIn:"root"});var HK=function(a){this.observableApi=a};g=HK.prototype;
g.get=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.get(a,b,c))};g.create=function(a,b,c,d,e){return(0,X.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return(0,X.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return(0,X.firstValueFrom)(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.undelete(a,b,c))};
g.listHistory=function(a,b){return(0,X.firstValueFrom)(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return(0,X.firstValueFrom)(this.observableApi.updateCommentReaction(a))};g.updateRetention=function(a,b,c){return(0,X.firstValueFrom)(this.observableApi.updateRetention(a,b,c))};HK.\u0275fac=function(a){return new (a||HK)(p(GK))};HK.\u0275prov=Pc({token:HK,factory:HK.\u0275fac,providedIn:"root"});var IK=function(a){var b=this;this.parentElement=a;this.lastTimestamp=this.state=this.y=this.x=0;this.animate=function(c){3!==b.state&&requestAnimationFrame(b.animate);if(!(30>c-b.lastTimestamp)){b.lastTimestamp=c;if(2===b.state){if(Wac(b),-50>b.x||b.x>document.documentElement.clientWidth+50||-50>b.y||b.y>document.documentElement.clientHeight+50)b.element.remove(),b.state=3}else{b.moveFlipCounter--;0>=b.moveFlipCounter&&(0===b.state?b.state=1:1===b.state&&(b.state=0),b.moveFlipCounter=50+100*Math.random(),
Xac(b));if(1===b.state)return;b.turnCounter--;0>=b.turnCounter&&(b.direction=360*Math.random(),b.turnCounter=40*Math.random());0>b.x&&90<b.direction&&270>b.direction&&(b.direction=(180-b.direction)%360);b.x>document.documentElement.clientWidth&&(90>b.direction||270<b.direction)&&(b.direction=(180-b.direction)%360);0>b.y&&180<b.direction&&(b.direction=360-b.direction);b.y>document.documentElement.clientHeight&&180>b.direction&&(b.direction=360-b.direction);Wac(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();Xac(this);Yac(this)};IK.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
IK.prototype.stop=function(){this.state=2;Xac(this);this.direction=180*Math.atan2(this.y-document.documentElement.clientHeight/2,this.x-document.documentElement.clientWidth/2)/Math.PI+90*(Math.random()-.5);this.speed=15+10*Math.random()};
var Yac=function(a){var b=Math.floor(4*Math.random());switch(b){case 0:a.x=document.documentElement.clientWidth*Math.random();a.y=-50;break;case 1:a.x=document.documentElement.clientWidth*Math.random();a.y=document.documentElement.clientHeight+50;break;case 2:a.x=document.documentElement.clientWidth+50;a.y=document.documentElement.clientHeight*Math.random();break;case 3:a.x=-50;a.y=document.documentElement.clientHeight*Math.random();break;default:console.warn("Illegal mode: "+b)}};
IK.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 Xac=function(a){a.element.src=1===a.state?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"},Wac=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};IK.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var Zac=function(a){this.element=a;this.bugs=[]};Zac.prototype.start=function(){for(var a=this,b=0;3>b;b++)$ac(this);this.intervalSubscription=(0,X.interval)(1E4).subscribe(function(){$ac(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};Zac.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=k(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var $ac=function(a){var b=new IK(a.element);b.start();a.bugs.push(b)};var JK=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new X.ReplaySubject(1);this.active$=new X.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new Zac(d.nativeElement);this.active$.pipe(xf(this.destroyed$),lf()).subscribe(function(f){f?abc(e):bbc(e)})};JK.prototype.ngOnInit=function(){"visible"===document.visibilityState&&cbc(this)};JK.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var cbc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};JK.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),cbc(this))};JK.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var bbc=function(a){a.snackBar.open("Bug screensaver started because of inactivity.","Disable",{duration:5E3}).onAction().subscribe(function(){var b=Object.assign({},a.userPreferencesManager.bugScreensaverSubject$.value,{enableBugScreensaver:!1});a.userPreferencesManager.save({bugScreensaverPreferences:b}).subscribe()});a.ngZone.runOutsideAngular(function(){a.bugAnimation.start()})},abc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
JK.\u0275fac=function(a){return new (a||JK)(C(He),C(zF),C(lI),C(Wd))};
JK.\u0275cmp=r({type:JK,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&N("click",function(){return b.onUserEvent()},!1,$d)("keydown",function(){return b.onUserEvent()},!1,$d)("mousemove",function(){return b.onUserEvent()},!1,$d)("wheel",function(){return b.onUserEvent()},!1,$d)("touchstart",function(){return b.onUserEvent()},!1,$d)("focus",function(){return b.onUserEvent()},!1,$d)("visibilitychange",function(){return b.onVisibilityChange()},!1,aha)},decls:0,vars:0,template:function(){},
encapsulation:2});var KK=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(z(function(d){return(d.enableBugScreensaver||!1)&&c}))};KK.\u0275fac=function(a){return new (a||KK)(C(zF),C(Zr))};KK.\u0275cmp=r({type:KK,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(E(0,ZEa,1,0,"bug-screensaver",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.isEnabled$))},dependencies:[zw,JK,Iw],encapsulation:2});var dbc=["button"],LK=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new Uv};LK.prototype.onClick=function(a){this.onAction.emit(a)};LK.prototype.focus=function(){this.nativeButton.focus()};LK.\u0275fac=function(a){return new (a||LK)};
LK.\u0275cmp=r({type:LK,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&lg(dbc,5);if(a&2){var c;pg(c=qg())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:8,vars:5,consts:[["buttonContent",""],["button",""],[3,"ngSwitch"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass",
"matTooltip","click",4,"ngSwitchCase"],["type","button","mat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-flat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-icon-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled",
"ngClass","matTooltip","click",4,"ngSwitchDefault"],["type","button","mat-stroked-button","",1,"gmat-button",3,"click","color","disabled","ngClass","matTooltip"],[4,"ngTemplateOutlet"],["type","button","mat-button","",1,"gmat-button",3,"click","color","disabled","ngClass","matTooltip"],["type","button","mat-flat-button","",1,"gmat-button",3,"click","color","disabled","ngClass","matTooltip"],["type","button","mat-icon-button","",1,"gmat-button",3,"click","color","disabled","ngClass","matTooltip"]],
template:function(a,b){a&1&&(cg(),E(0,$Ea,1,0,"ng-template",null,0,Eg),L(2,2),E(3,bFa,3,7,"button",3)(4,dFa,3,7,"button",4)(5,fFa,3,7,"button",5)(6,hFa,3,7,"button",6)(7,jFa,3,7,"button",7),M());a&2&&(A(2),F("ngSwitch",b.format),A(),F("ngSwitchCase","hairline"),A(),F("ngSwitchCase","flat"),A(),F("ngSwitchCase","fill"),A(),F("ngSwitchCase","icon"))},dependencies:[CA,nE,OC,Cw,Hw,Ew,Fw,Gw],encapsulation:2,changeDetection:0});var MK=function(){};MK.\u0275fac=function(a){return new (a||MK)};MK.\u0275mod=hd({type:MK});MK.\u0275inj=Rc({imports:[cD,vE,rE]});var NK=function(){};NK.\u0275fac=function(a){return new (a||NK)};NK.\u0275mod=hd({type:NK});NK.\u0275inj=Rc({imports:[rE]});var ebc=new rd("GMAT_SNACK_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var OK=function(a,b,c,d,e,f,h){h.disableGmatStyle||O5b(a,"gmat-mdc-snack-bar");lI.call(this,a,b,c,d,e,f)};Y(OK,lI);OK.\u0275fac=function(a){return new (a||OK)(p(Vy),p(Ux),p(Ie),p(Ox),p(lI,12),p(n$b),p(ebc))};OK.\u0275prov=Pc({token:OK,factory:OK.\u0275fac});var PK=function(){};PK.\u0275fac=function(a){return new (a||PK)};PK.\u0275mod=hd({type:PK});PK.\u0275inj=Rc({providers:[{provide:lI,useClass:OK},{provide:Vy,useClass:lE}],imports:[mI]});var QK=function(){};QK.\u0275fac=function(a){return new (a||QK)};QK.\u0275mod=hd({type:QK});QK.\u0275inj=Rc({imports:[rE,PK,MK,NK]});var RK=function(a){this.activeSession=a;this.currentTracker=this.activeSession.getTracker();var b,c;this.trackerName=null!=(c=null==(b=this.currentTracker)?void 0:b.name)?c:"";var d,e,f;this.trackerLogo=null!=(f=null==(d=this.currentTracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?f:"";var h,l,q;this.trackerCoc=null!=(q=null==(h=this.currentTracker)?void 0:null==(l=h.branding)?void 0:l.cocUrl)?q:""};RK.\u0275fac=function(a){return new (a||RK)(C(Zr))};
RK.\u0275cmp=r({type:RK,selectors:[["b-footer"]],decls:1,vars:1,consts:[[4,"ngIf"],["alt","",1,"logo",3,"src"],[1,"title"],[1,"padded-s-sides"],["href","https://policies.google.com/privacy","target","_blank"],["href","https://policies.google.com/terms","target","_blank"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&E(0,lFa,14,3,"footer",0);a&2&&F("ngIf",b.currentTracker)},dependencies:[zw],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 SK=function(){};SK.\u0275fac=function(a){return new (a||SK)};SK.\u0275mod=hd({type:SK});SK.\u0275inj=Rc({imports:[rE]});var TK=function(a,b,c){Z.call(this);var d=this;this.paramsService=b;this.issueFridge=c;this.componentIdOverride$=new X.BehaviorSubject(null);this.hotlistIdOverride$=new X.BehaviorSubject(null);this.issueIdOverride$=new X.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$.pipe(z(nFa),tf({refCount:!0,bufferSize:1}));this.routeComponentId$=Pac(this.paramsService,"componentId").pipe(lf());this.routeHotlistId$=Pac(this.paramsService,"hotlistId").pipe(lf());this.issueId$=(0,X.combineLatest)([this.issueIdOverride$,
this.routeIssueId$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;return e||f}),z(nFa),lf(),tf({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(wf(function(e){return e?d.issueFridge.watch(e):(0,X.of)(void 0)}),z(function(e){return null==e?void 0:e.snapshot[0].componentId}));this.componentId$=(0,X.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(z(function(e){var f=k(e);e=f.next().value;var h=f.next().value;
f=f.next().value;return e||h||f}),z(mFa),lf(),tf({refCount:!0,bufferSize:1}));this.hotlistId$=(0,X.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;return e||f}),z(mFa),lf(),tf({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){d.componentIdOverride$.next(null);d.hotlistIdOverride$.next(null);d.issueIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(e){Lk("dimension4",
e)}))};Y(TK,Z);TK.\u0275dir=Z.\u0275dir;TK.prototype.getComponentId=function(){return this.componentId$};TK.prototype.getIssueId=function(){return this.issueId$};TK.prototype.getHotlistId=function(){return this.hotlistId$};TK.\u0275fac=function(a){return new (a||TK)(p(xF),p(tK),p(iJ))};TK.\u0275prov=Pc({token:TK,factory:TK.\u0275fac,providedIn:"root"});var UK=function(){this.transform=oFa};UK.\u0275fac=function(a){return new (a||UK)};UK.\u0275pipe=kd({name:"toNewEmailPreference",type:UK,pure:!0});var VK=function(){this.transform=pFa};VK.\u0275fac=function(a){return new (a||VK)};VK.\u0275pipe=kd({name:"enumToHuman",type:VK,pure:!0});var WK=function(){this.transform=qFa};WK.\u0275fac=function(a){return new (a||WK)};WK.\u0275pipe=kd({name:"arrayToHuman",type:WK,pure:!0});var XK=function(){};XK.prototype.transform=function(a,b){return wh(rFa(a,b)).toString()};
XK.\u0275fac=function(a){return new (a||XK)};XK.\u0275pipe=kd({name:"boldPrefixMatches",type:XK,pure:!0});var YK=function(){this.transform=sFa};YK.\u0275fac=function(a){return new (a||YK)};YK.\u0275pipe=kd({name:"yesNo",type:YK,pure:!0});var ZK=function(){this.transform=tFa};ZK.\u0275fac=function(a){return new (a||ZK)};ZK.\u0275pipe=kd({name:"teamPath",type:ZK,pure:!0});var $K=function(){this.transform=uFa};$K.\u0275fac=function(a){return new (a||$K)};
$K.\u0275pipe=kd({name:"humanFileSize",type:$K,pure:!0});var aL=function(){this.transform=wFa};aL.\u0275fac=function(a){return new (a||aL)};aL.\u0275pipe=kd({name:"omitObfuscatedEmail",type:aL,pure:!0});var bL=function(){this.transform=Ko};bL.\u0275fac=function(a){return new (a||bL)};bL.\u0275pipe=kd({name:"toString",type:bL,pure:!0});var cL=function(){this.transform=xFa};cL.\u0275fac=function(a){return new (a||cL)};cL.\u0275pipe=kd({name:"csv",type:cL,pure:!0});
var fbc=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),dL=function(){};dL.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=fbc.get(b))?c:b}).join("")};dL.\u0275fac=function(a){return new (a||dL)};dL.\u0275pipe=kd({name:"reverse",type:dL,pure:!0});var eL=function(){};eL.prototype.transform=function(a,b,c){a=b.indexOf(a);if(0>a)return!0;c=a+c;return!(0<=c&&c<b.length)};
eL.\u0275fac=function(a){return new (a||eL)};eL.\u0275pipe=kd({name:"isOutOfBounds",type:eL,pure:!0});var fL=function(){};fL.\u0275fac=function(a){return new (a||fL)};fL.\u0275mod=hd({type:fL});fL.\u0275inj=Rc({});var gL=function(){this.segments=[];this.clickMain=new Uv;this.clickSegment=new Uv};gL.prototype.ngOnInit=function(){};Ac.Object.defineProperties(gL.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});gL.\u0275fac=function(a){return new (a||gL)};
gL.\u0275cmp=r({type:gL,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},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"],[4,"ngIf"],["mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],["mat-menu-item","",
3,"href","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","href"]],template:function(a,b){a&1&&(G(0,"span",1)(1,"a",2),N("click",function(){return b.clickMain.emit(b.label)}),K(2,"mat-icon",3),S(3),I(),E(4,zFa,6,2,"ng-container",4),I());a&2&&(A(),Qf("square-right",b.showMoreButton),Hf("href",b.href||void 0,Ye),A(),F("svgIcon",b.icon),A(),T(" ",b.label," "),A(),F("ngIf",b.showMoreButton))},dependencies:[Dw,zw,nB,CA,DA,mE,IC,HC,JC],styles:["[mat-button][_ngcontent-%COMP%]{vertical-align:middle;color:#202124;color:var(--text-default);font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.shrink-wrap[_ngcontent-%COMP%]{display:inline-block;border-radius:24px;white-space:nowrap;-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-button[_ngcontent-%COMP%]{border-radius:24px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px}.more[_ngcontent-%COMP%]:focus, .more[_ngcontent-%COMP%]:hover{color:#202124;color:var(--text-default)}.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 hL=function(a,b,c,d){var e=this;this.paths=a;this.context=b;this.activeSession=c;this.componentFridge=d;this.createIssuePath=this.paths.createIssue();this.currentTracker=this.activeSession.getTracker();this.component$=this.context.getComponentId().pipe(wf(function(l){return l?e.componentFridge.watch(l):(0,X.of)(void 0)}),z(function(l){return l&&!l.archived?l:void 0}));this.visibleOptions$=(0,X.combineLatest)([this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(kf(0),z(function(l){var q=
k(l);l=q.next().value;var t=q.next().value;q=q.next().value;return gbc(e,e.currentTracker,l,t,q)}));this.buttonLabel$=this.visibleOptions$.pipe(z(function(l){return l.length?"Create":"Create Issue"}));var f,h;this.buttonIcon="OPEN_SOURCE"===(null==(f=this.currentTracker)?void 0:null==(h=f.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"};hL.prototype.ngOnInit=function(){};hL.prototype.trackClick=function(a){Kk("create","click",a)};
var gbc=function(a,b,c,d,e){var f=new Map;b=b&&c&&!!Wn(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},f.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},f.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},f.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},f.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},f.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(u(f.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:pFa(l),path:q}})};hL.\u0275fac=function(a){return new (a||hL)(C(RF),C(TK),C(Zr),C(ZH))};
hL.\u0275cmp=r({type:hL,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"clickMain","clickSegment","label","icon","href","segments"]],template:function(a,b){a&1&&(E(0,BFa,3,3,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.visibleOptions$))},dependencies:[zw,gL,Iw],encapsulation:2,changeDetection:0});var hHa=["assigned-to-me","recent-stuff-i-follow"],hbc=["BUGANIZER","CRITIQUE","DRIVE"],ibc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],jbc={displayName:"Bugs",filterType:"NON_WTDM",tooltipText:"Issue types including bug, feature request, customer issue, internal cleanup, process, vulnerability, and privacy issue"},kbc={BUGANIZER:jbc,NON_WTDM:jbc,WTDM:{displayName:"Tasks",filterType:"WTDM",tooltipText:"Work tracking 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"}},lbc;
lbc={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 GFa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var mbc=new Map([["ASSIGNED","Newly assigned"],["MENTIONED","Mentioned me"],["MENTIONED_NEEDS_RESPONSE","Needs response"],["NEAR_SLO","Near SLO"],["NEEDS_ATTENTION","In attention set"],["NEEDS_REPORTER_INPUT","Needs reporter input"],["NEWLY_BLOCKING","Newly blocking"],["READY_TO_SUBMIT","Ready to submit"],["REPLIED_TO_MENTION","Replied to me"],["REQUIRES_APPROVAL","Added as approver"],["TAGGED_IN_COMMENT","Mentioned me"],["THREAD_MENTIONS_ME","Mentioned me"],["UNBLOCKED","Blockers closed"],["TAGGED_IN_COMMENT",
"Mentioned me"],["REQUIRES_APPROVAL","Added as approver"],["THREAD_MENTIONS_ME","Mentioned me"],["NEEDS_ATTENTION","In attention set"],["READY_TO_SUBMIT","Ready to submit"],["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"],["GERRIT_CHANGE_NEEDS_ATTENTION","In attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT",
"Ready to submit"],["MENTIONED_NEEDS_RESPONSE","Needs response"]]),dEb=new Map([["ASSIGNED","This issue was recently assigned to you"],["MENTIONED","You were mentioned on this issue"],["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"],["NEAR_SLO","20% of SLO time is remaining for this issue"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["NEEDS_REPORTER_INPUT","Issue was assigned back to reporter (you) recently"],
["NEWLY_BLOCKING","This issue started blocking another issue recently"],["READY_TO_SUBMIT","This CL is ready to submit"],["REPLIED_TO_MENTION","Someone replied to your mention recently"],["REQUIRES_APPROVAL","You were added as an approver"],["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["UNBLOCKED","The last blocking issue was closed recently"],["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],["REQUIRES_APPROVAL",
"You were added as an approver"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["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"],["GERRIT_CHANGE_NEEDS_ATTENTION","This change in the attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT","This change is ready to submit"],["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"]]),nbc=new Map([["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["TAGGED_IN_COMMENT",
"Reply to comment"],["THREAD_MENTIONS_ME","Reply to comment"],["REQUIRES_APPROVAL","Review"],["NEAR_SLO","View issue"],["MENTIONED","Reply to comment"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"],["REPLIED_TO_MENTION","Reply to comment"],["NEWLY_BLOCKING","View blocker issue"],["UNBLOCKED","View issue"],["ASSIGNED","Start work"],["NEEDS_REPORTER_INPUT","Reply to comment"],["TAGGED_IN_COMMENT","Reply to comment"],["REQUIRES_APPROVAL","Review"],["THREAD_MENTIONS_ME","Reply to comment"],["NEEDS_ATTENTION",
"Review CL"],["READY_TO_SUBMIT","Submit CL"],["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"],["GERRIT_CHANGE_NEEDS_ATTENTION","Review change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Submit change"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"]]);var Oo=function(a){this.internalArray_=m(a)};Y(Oo,n);g=Oo.prototype;g.getHotlistId=function(){return Zi(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setHotlistId=function(a){return xl(this,1,a)};g.getHotlist=function(){return Gi(this,Dm,2)};g.setHotlist=function(a){return hj(this,Dm,2,a)};g.hasHotlist=function(){return Ui(this,Dm,2)};var Po=function(a){this.internalArray_=m(a)};Y(Po,n);g=Po.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setSavedSearchId=function(a){return xl(this,1,a)};g.getSavedSearch=function(){return Gi(this,Qo,2)};g.setSavedSearch=function(a){return hj(this,Qo,2,a)};g.hasSavedSearch=function(){return Ui(this,Qo,2)};var No=function(a){this.internalArray_=m(a)};Y(No,n);g=No.prototype;g.getHotlist=function(){return Ll(this,Oo,1,Mo)};g.setHotlist=function(a){return Rl(this,1,Mo,a)};g.hasHotlist=function(){return Zl(this,Oo,1,Mo)};g.getSavedSearch=function(){return Ll(this,Po,2,Mo)};g.setSavedSearch=function(a){return Rl(this,2,Mo,a)};g.hasSavedSearch=function(){return Zl(this,Po,2,Mo)};var Ro=function(a){this.internalArray_=m(a)};Y(Ro,n);g=Ro.prototype;
g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Zi(this,1)};g.setBookmarkGroupId=function(a){return xl(this,1,a)};g.getName=function(){return ec(this,2)};g.setName=function(a){return yl(this,2,a)};g.getDescription=function(){return ec(this,3)};g.setDescription=function(a){return yl(this,3,a)};g.getArchived=function(){return Li(this,4)};g.setArchived=function(a){return Ul(this,4,a)};g.addItems=function(a,b){return Wq(this,5,No,a,b)};g.getOwnersList=function(){return Ii(this,xi,6,hi())};
g.setOwnersList=function(a){return mm(this,6,a)};var Mo=[1,2,3];Ro.repeatedFields_=[5,6];var iL=function(a){this.internalArray_=m(a,0,iL.messageId)};Y(iL,n);iL.prototype.getIt=function(){return Gi(this,Ro,10)};iL.prototype.setIt=function(a){return hj(this,Ro,10,a)};iL.prototype.hasIt=function(){return Ui(this,Ro,10)};iL.messageId="b.BookmarkGroup";var jL=function(a){this.internalArray_=m(a,0,jL.messageId)};Y(jL,n);jL.repeatedFields_=[2];jL.messageId="b.BookmarkGroupListResponse";var kL=function(a){this.executor=a};kL.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:iL}).then(cGa)};kL.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:jL}).then(dGa)};kL.prototype.create=function(a){a=(new iL).setIt((new Ro).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:iL}).then(cGa)};
kL.prototype.update=function(a){var b=new iL;var c=b.setIt,d,e,f=(new Ro).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),h=null!=(e=null==(d=a.item)?void 0:d.map(aGa))?e:[];d=mm(f,5,h).setOwnersList(a.adminUsers.map(yi));b=c.call(b,d);return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:iL}).then(cGa)};kL.\u0275fac=function(a){return new (a||kL)(p(IE))};
kL.\u0275prov=Pc({token:kL,factory:kL.\u0275fac,providedIn:"root"});var lL=function(a,b){this.router=a;this.location=b},Zkb=function(a){var b=a.location.getUrl();Fr(a.router,"/",{skipLocationChange:!0}).then(function(){return Fr(a.router,b,{skipLocationChange:!0})})};lL.\u0275fac=function(a){return new (a||lL)(p(mF),p(QF))};lL.\u0275prov=Pc({token:lL,factory:lL.\u0275fac,providedIn:"root"});var mL=function(a,b){this.dialogRef=a;this.data=b;this.confirmButtonTheme=b.isDestructive?"warn":"primary";var c;this.cancelButtonText=null!=(c=b.cancelButtonText)?c:"Cancel";var d;this.confirmButtonText=null!=(d=b.confirmButtonText)?d:"Confirm";var e;this.showCancelButton=null!=(e=b.showCancelButton)?e:!0};mL.\u0275fac=function(a){return new (a||mL)(C(NA),C(PA))};
mL.\u0275cmp=r({type:mL,selectors:[["b-confirmation-dialog"]],decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","class","gmat-button medium",3,"click",4,"ngIf"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium",3,"click","color"],["mat-button","",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),K(2,"div",1),G(3,"div",2),E(4,eGa,2,1,"button",3),G(5,"button",4),N("click",
function(){return b.dialogRef.close(!0)}),S(6),I()());a&2&&(A(),rg(b.data.title),A(),F("innerHTML",b.data.content,Xe),A(2),F("ngIf",b.showCancelButton),A(),F("color",b.confirmButtonTheme),A(),T(" ",b.confirmButtonText," "))},dependencies:[zw,CA,SA,TA,UA],encapsulation:2});var nL=function(a){this.dialog=a},obc=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
nL.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;this.dialog.open(mL,{data:{title:a.title,content:a.content,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"}).afterClosed().subscribe(function(d){d?null==b||b():null==c||c()})};nL.\u0275fac=function(a){return new (a||nL)(p(QA))};nL.\u0275prov=Pc({token:nL,factory:nL.\u0275fac,providedIn:"root"});var oL=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);var w=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=f;this.issuePagination=h;this.sidebarItemFactory=l;this.appEvents=q;this.analytics=t;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];pbc(this);qbc(this);this.fetchUserHotlists();a=function(){pbc(w)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){qbc(w)}));a=function(){w.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};Y(oL,Z);oL.\u0275dir=Z.\u0275dir;
var pbc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=rbc(a,b.hotlists);a.sidebarData.bookmarkGroups=sbc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=rbc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=sbc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},qbc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=tbc(a,b);a.sidebarData.userSearches=b;Aaa(a.userSavedSearches);
Baa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};oL.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){ubc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var rbc=function(a,b){return(b||[]).map(function(c){return vbc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},sbc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new wbc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},tbc=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 xbc(a.sidebarItemFactory,c)})},ubc=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 vbc(a.sidebarItemFactory,c)});Aaa(a.userHotlists);Baa(a.userHotlists,b)};
oL.prototype.onAnchorClick=function(a,b){var c,d=null==(c=b.target)?void 0:c.innerText;d=(void 0===d?"":d).replace(/\b(\d+)\b/g,"");Wo(this.analytics,"nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||0!==b.button||(pH(this.issuePagination),G8b(this.paths,a)&&Zkb(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};oL.\u0275fac=function(a){return new (a||oL)(p(lL),p(Zr),p(QI),p(qI),p(QF),p(RF),p(oH),p(pL),p(gH),p(ZI))};
oL.\u0275prov=Pc({token:oL,factory:oL.\u0275fac,providedIn:"root"});var qL=function(a,b,c,d,e,f,h,l){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=l;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};
qL.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?wi(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};qL.prototype.isEditable=function(){return ybc(this)};qL.prototype.isSelected=function(){var a=this.paths,b=this.href;b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b};qL.prototype.isUnstarable=function(){return!ybc(this)&&this.starred};
var ybc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},zbc=function(a,b){var c=AF(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},Abc=function(a,b){wr(a.butterBar,"Updating homepage...",0);a8b(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(mf()).subscribe(function(){wr(a.butterBar,"Homepage updated")})},Bbc=function(a,b,c,d,e,f,h,l,q,t,w,B){qL.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
f;this.errorHandler=t;this.confirmationDialogService=w;this.appEvents=B;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};Y(Bbc,qL);g=Bbc.prototype;g.isPreferredHomepage=function(){return zbc(this,"HOTLIST")};g.setAsPreferredHomepage=function(){Abc(this,"HOTLIST")};
g.archive=function(){var a=this;wr(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});wr(a.butterBar,'Archived hotlist "'+a.name+'".');Wo(a.analytics,"sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;wr(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});wr(a.butterBar,'Unarchived hotlist "'+a.name+'".');Wo(a.analytics,"sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:vh("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;wr(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){wr(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var rL=function(a,b,c,d,e,f,h,l){qL.call(this,a,b,c,d,e,f,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};Y(rL,qL);rL.prototype.isUnstarable=function(){return!1};
rL.prototype.unstar=function(){};rL.prototype.isPreferredHomepage=function(){return zbc(this,"SAVED_SEARCH")};rL.prototype.setAsPreferredHomepage=function(){Abc(this,"SAVED_SEARCH")};
var wbc=function(a,b,c,d,e,f,h,l,q,t,w,B){qL.call(this,a,b,c,d,e,f,h,l);this.errorHandler=q;this.sidebarItemFactory=t;this.confirmationDialogService=w;this.appEvents=B;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(vbc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(xbc(this.sidebarItemFactory,b))}this.items.sort(function(D,J){return D.name.localeCompare(J.name)})};Y(wbc,qL);g=wbc.prototype;
g.isPreferredHomepage=function(){return zbc(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){Abc(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;wr(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});wr(a.butterBar,'Archived bookmark group "'+a.name+'".');Wo(a.analytics,"sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;wr(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});wr(a.butterBar,'Unarchived bookmark group "'+a.name+'".');Wo(a.analytics,"sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:vh("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;wr(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){wr(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var pL=function(a,b,c,d,e,f,h,l,q,t,w){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=f;this.analytics=h;this.butterBar=l;this.userPreferencesManager=q;this.confirmationDialogService=t;this.appEvents=w},vbc=function(a,b){return new Bbc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},xbc=function(a,b){return new rL(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};pL.\u0275fac=function(a){return new (a||pL)(p(Zr),p(QI),p(kL),p(EG),p(qI),p(RF),p(ZI),p(pI),p(zF),p(nL),p(gH))};pL.\u0275prov=Pc({token:pL,factory:pL.\u0275fac,providedIn:"root"});var sL=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};sL.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!c8b(this.prefs,this.prefKey))};sL.prototype.onClick=function(){var a=this,b,c;return me(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return oe(d,(0,X.firstValueFrom)(b8b(a.prefs,(c[a.prefKey]=!b,c))),0)})};sL.\u0275fac=function(a){return new (a||sL)(C(zF))};
sL.\u0275cmp=r({type:sL,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"div",0),N("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
E(1,fGa,1,0,"ng-container",1),I(),E(2,hGa,2,1,"ng-container",2));a&2&&(Qf("opened",b.expanded)("closed",!b.expanded),Hf("aria-expanded",b.expanded),A(),F("ngTemplateOutlet",b.header),A(),F("ngIf",b.expanded))},dependencies:[zw,Hw],encapsulation:2});var tL=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=tL.prototype;g.handleBookmarkGroupOpen=function(a){Wo(this.analytics,"sidebarArchived","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){Wo(this.analytics,"sidebarArchived","dashboard");this.location.setUrl(this.paths.dashboard(a))};g.openEditHotlist=function(a){this.location.setUrl(this.paths.editHotlist(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};tL.\u0275fac=function(a){return new (a||tL)(C(QF),C(ZI),C(RF),C(oL))};
tL.\u0275cmp=r({type:tL,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["groupMenu",""],["hotlistMenu",""],[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content"],
[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["matMenuContent",""],["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"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",
3,"click"],["mat-menu-item","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click","href"],["mat-icon-button","","disableRipple","true",
"aria-label","Hotlist actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["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&&E(0,xGa,7,2,"div",6);a&2&&F("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[Dw,zw,nB,CA,mE,IC,HC,GC,JC,sL],encapsulation:2,changeDetection:0});var uL=function(){this.admins=[]};uL.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Wk(this.bookmarkGroup.adminUsers)};uL.\u0275fac=function(a){return new (a||uL)};
uL.\u0275cmp=r({type:uL,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},decls:14,vars:6,consts:[["role","dialog","aria-label","Bookmark group hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bookmark-group-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),S(5),I()(),G(6,"ul")(7,"li"),S(8),I(),G(9,"li"),S(10),I()(),G(11,"div")(12,"p"),S(13),I()()()()());a&2&&(A(4),F("href",b.url,
Ye),A(),rg(b.bookmarkGroup.name),A(3),T("ID: ",b.bookmarkGroup.bookmarkGroupId,""),A(2),sg("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),A(3),rg(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 vL=function(){this.admins=[]};vL.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Wk(this.hotlist.adminUsers)};vL.\u0275fac=function(a){return new (a||vL)};
vL.\u0275cmp=r({type:vL,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},decls:14,vars:6,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hotlist-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),S(5),I()(),G(6,"ul")(7,"li"),S(8),I(),G(9,"li"),S(10),I()(),G(11,"div")(12,"p"),S(13),I()()()()());a&2&&(A(4),F("href",b.url,Ye),A(),rg(b.hotlist.name),A(3),T("ID: ",b.hotlist.hotlistId,""),A(2),sg("",1===b.admins.length?
"Admin":"Admins",": ",b.admins.join(", "),""),A(3),rg(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 wL=function(a){this.buttonRef=a;this.toRefocus=!1};wL.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}))};wL.\u0275fac=function(a){return new (a||wL)(C(Wd))};
wL.\u0275dir=jd({type:wL,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[xd]});var xL=function(a,b){this.activeSession=a;this.cdr=b;this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new Uv;this.isAnonymous=this.activeSession.isAnonymous()};g=xL.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};xL.\u0275fac=function(a){return new (a||xL)(C(Zr),C(Pg))};
xL.\u0275cmp=r({type:xL,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},decls:4,vars:7,consts:[["tooltip","matTooltip"],[1,"inline-block",3,"matTooltip"],["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=v();G(0,"div",1,0)(2,
"button",2);N("keydown.enter",function(d){x(c);return y(b.onEnter(d))})("click",function(d){x(c);return y(b.onClick(d))})("focus",function(){x(c);var d=R(1);return y(d.show())})("blur",function(){x(c);var d=R(1);return y(d.hide())});K(3,"mat-icon",3);I()()}a&2&&(F("matTooltip",b.getLabel()),A(2),Qf("starred",b.starred),F("disabled",b.isDisabled()),Hf("aria-label",b.getAriaLabel())("aria-checked",b.starred),A(),F("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[nB,CA,nE,OC,wL],styles:["[_nghost-%COMP%]{opacity:.9;text-align:center}[_nghost-%COMP%]:hover{opacity:1}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}[_nghost-%COMP%]   button.mat-icon-button.starred[_ngcontent-%COMP%]{color:#e37400;color:var(--favorite-star)}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:initial}"],
changeDetection:0});var Cbc={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"}}},yL=Cbc;yL=Cbc;var Dbc={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 Ebc={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"},zL=Ebc;zL=Ebc;var AL=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_=zL.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
"string"===typeof a?a:"";"number"===typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
AL.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Fbc(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,l=-1,q=a.length,t=!0;b[0]<q&&t;b[0]++)switch(a.charAt(b[0])){case "#":0<f?h++:e++;0<=l&&0>d&&l++;break;case "0":if(0<h)throw Error("md`"+a);f++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("nd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("od`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<q&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<q&&"0"==a.charAt(b[0]+1);)b[0]++,this.minExponentDigits_++;if(1>e+f||1>this.minExponentDigits_)throw Error("pd`"+a);t=!1;break;default:b[0]--,t=!1}0==f&&0<e&&0<=d&&(f=d,0==f&&f++,h=e-f,e=f-1,f=1);if(0>d&&0<h||0<=d&&(d<e||d>e+f)||0==l)throw Error("qd`"+a);h=e+f+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+f-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=Fbc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Fbc(this,a,b),b[0]+=c,
this.negativeSuffix_=Fbc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
AL.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(zL.DECIMAL_PATTERN);break;case 2:this.applyPattern_(zL.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(zL.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=zL.CURRENCY_PATTERN;var c=["0"],d=Dbc[zL.DEF_CURRENCY_CODE];if(d){d=d[0]&7;if(0<d){c.push(".");for(var e=0;e<d;e++)c.push("0")}b=b.replace(/0.00/g,c.join(""))}a.call(this,b);break;case 5:Gbc(this,1);break;case 6:Gbc(this,2);break;default:throw Error("gd");
}};var Gbc=function(a,b){a.compactStyle_=b;a.applyPattern_(zL.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("ed");a.significantDigits_=2};
AL.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("hd");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(zL.INFINITY,b[0])==b[0]){b[0]+=zL.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,l=!1,q=-1,t=1,w=zL.DECIMAL_SEP,B=zL.GROUP_SEP,D=zL.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("id");B=B.replace(/\u202f/g,"\u00a0");for(var J="";b[0]<e.length;b[0]++){var H=e.charAt(b[0]),O=Hbc(H);if(0<=O&&9>=O)J+=O,l=!0;else if(H==w.charAt(0)){if(f||h)break;J+=".";f=!0}else if(H==B.charAt(0)&&("\u00a0"!=B.charAt(0)||b[0]+1<e.length&&0<=Hbc(e.charAt(b[0]+1)))){if(f||h)break}else if(H==D.charAt(0)){if(h)break;J+="E";h=!0;q=b[0]}else if("+"==H||"-"==H){if(l&&q!=b[0]-1)break;J+=
H}else if(1==this.multiplier_&&H==zL.PERCENT.charAt(0)){if(1!=t)break;t=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&H==zL.PERMILL.charAt(0)){if(1!=t)break;t=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(t=this.multiplier_);e=parseFloat(J)/t}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};
AL.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("jd");if(isNaN(a))return zL.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=BL;else{c=Math.abs(c);var d=Ibc(this,1>=c?0:Jbc(c)).divisorBase;c=Ibc(this,d+Jbc(Kbc(this,CL(c,-d)).intValue))}a=CL(a,-c.divisorBase);(d=0>a||0==a&&0>1/a)?c.negative_prefix?b.push(c.negative_prefix):(b.push(c.prefix),b.push(this.negativePrefix_)):(b.push(c.prefix),b.push(this.positivePrefix_));if(isFinite(a))if(a*=d?-1:1,
a*=this.multiplier_,this.useExponentialNotation_){var e=a;if(0==e)Lbc(this,e,this.minimumIntegerDigits_,b),Mbc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=CL(e,-f);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=CL(e,h),f-=h,h=1):1>this.minimumIntegerDigits_?(f++,e=CL(e,-1)):(f-=this.minimumIntegerDigits_-1,e=CL(e,this.minimumIntegerDigits_-
1));Lbc(this,e,h,b);Mbc(this,f,b)}}else Lbc(this,a,this.minimumIntegerDigits_,b);else b.push(zL.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 Kbc=function(a,b){var c=CL(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=Nbc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(CL(c,-a.maximumFractionDigits_)),a=Math.floor(c-CL(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},Lbc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("jd");d||(d=[]);b=Kbc(a,b);var e=b.intValue,f=b.fracValue,h=0<a.minimumFractionDigits_||0<f||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var l="",q=e;1E20<q;)l="0"+l,q=Math.round(CL(q,-1));l=q+l;var t=zL.DECIMAL_SEP;q=zL.ZERO_DIGIT.codePointAt(0);var w=l.length,B=0;if(0<e||0<c){for(e=w;e<c;e++)d.push(String.fromCodePoint(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)B+=a.groupingArray_[c];c=w-B;if(0<c){e=a.groupingArray_;B=w=0;for(var D,J=zL.GROUP_SEP,H=l.length,O=0;O<H;O++)if(d.push(String.fromCodePoint(q+Number(l.charAt(O)))),1<H-O)if(D=e[B],O<c){var P=c-O;(1===D||0<D&&
1===P%D)&&d.push(J)}else B<e.length&&(O===c?B+=1:D===O-c-w+1&&(d.push(J),w+=D,B+=1))}else{c=l;l=a.groupingArray_;e=zL.GROUP_SEP;D=c.length;J=[];for(w=l.length-1;0<=w&&0<D;w--){B=l[w];for(H=0;H<B&&0<=D-H-1;H++)J.push(String.fromCodePoint(q+Number(c.charAt(D-H-1))));D-=B;0<D&&J.push(e)}d.push.apply(d,J.reverse())}}else h||d.push(String.fromCodePoint(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(t);f=String(f);h=f.split("e+");2==h.length&&(f=String(Nbc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=qSb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+qSb("0",a.maximumFractionDigits_-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCodePoint(q+Number(f.charAt(b))))},Mbc=function(a,b,c){c.push(zL.EXP_SYMBOL);0>b?(b=-b,c.push(zL.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(zL.PLUS_SIGN);b=""+b;for(var d=zL.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);a=d.codePointAt(0)-Obc;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+
b.codePointAt(d)))},Hbc=function(a){a=a.codePointAt(0);if(48<=a&&58>a)return a-48;var b=zL.ZERO_DIGIT.codePointAt(0);return b<=a&&a<b+10?a-b:-1},Obc="0".codePointAt(0),Fbc=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<f&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<f&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=zL.DEF_CURRENCY_CODE):(h=zL.DEF_CURRENCY_CODE,
d+=h in Dbc?Dbc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("kd");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("ld");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=zL.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("kd");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("ld");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=zL.PERMILL;break;default:d+=h}}return d},
BL={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},Ibc=function(a,b){a=1==a.compactStyle_?yL.COMPACT_DECIMAL_SHORT_PATTERN:yL.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=yL.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return BL;b=Math.min(14,b);var c=a[CL(1,b)];for(--b;!c&&3<=b;)c=a[CL(1,b)],b--;if(!c)return BL;c=c.other;var d=a="",e=c.indexOf(";");0<=e&&(c=c.substring(0,e),e=c.substring(e+1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],d=d[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?
{divisorBase:b+1-(c[2].length-1),negative_prefix:a,negative_suffix:d,prefix:c[1],suffix:c[3]}:BL:BL},Jbc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},CL=function(a,b){if(!a||!isFinite(a)||0==b)return a;a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))},Pbc=function(a,b){return a&&isFinite(a)?CL(Math.round(CL(a,b)),-b):a},Nbc=function(a,b,c){if(!a)return a;b=b-Jbc(a)-1;return b<-c?Pbc(a,-c):Pbc(a,b)};var Qbc=new AL(3);var Rbc=new rd("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Sbc=["determinateSpinner"],Tbc=new rd("mat-progress-spinner-default-options",{providedIn:"root",factory:AGa}),DL=function(a,b,c){this._elementRef=a;this._defaultColor="primary";this._value=0;this._diameter=100;this._noopAnimations="NoopAnimations"===b&&!!c&&!c._forceAnimations;this.mode="mat-spinner"===a.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate";c&&(c.color&&(this.color=this._defaultColor=c.color),c.diameter&&(this.diameter=c.diameter),c.strokeWidth&&(this.strokeWidth=
c.strokeWidth))};g=DL.prototype;g._circleRadius=function(){return(this.diameter-10)/2};g._viewBox=function(){var a=2*this._circleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};g._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};g._strokeDashOffset=function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null};g._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
Ac.Object.defineProperties(DL.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"determinate"===this.mode?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 null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=a||0}}});DL.\u0275fac=function(a){return new (a||DL)(C(Wd),C(sv,8),C(Tbc))};
DL.\u0275cmp=r({type:DL,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&lg(Sbc,5);if(a&2){var c;pg(c=qg())&&(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&&(Hf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),Rf("mat-"+b.color),Pf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),Qf("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===b.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Og],diameter:[2,"diameter","diameter",Og],strokeWidth:[2,"strokeWidth","strokeWidth",Og]},exportAs:["matProgressSpinner"],standalone:!0,features:[Gf,yg],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&&(E(0,zGa,2,8,"ng-template",null,0,Eg),G(2,"div",2,1),Kd(),G(4,"svg",3),K(5,"circle",4),I()(),Ed.currentNamespace=null,G(6,"div",5)(7,"div",6)(8,"div",7),Yf(9,8),I(),G(10,"div",9),Yf(11,8),I(),G(12,"div",10),Yf(13,8),I()()());a&2&&(a=R(1),A(4),Hf("viewBox",b._viewBox()),A(),Pf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",
b._strokeDashOffset(),"px")("stroke-width",b._circleStrokeWidth(),"%"),Hf("r",b._circleRadius()),A(4),F("ngTemplateOutlet",a),A(2),F("ngTemplateOutlet",a),A(2),F("ngTemplateOutlet",a))},dependencies:[Hw],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}\n"],
encapsulation:2,changeDetection:0});var EL=function(){};EL.\u0275fac=function(a){return new (a||EL)};EL.\u0275mod=hd({type:EL});EL.\u0275inj=Rc({imports:[Qw,Zy]});var FL=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new X.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");yGa(b._elementRef.nativeElement).pipe(xf(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};FL.prototype.ngOnInit=function(){this.initializeLabelSpan()};
FL.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};FL.prototype.initializeLabelSpan=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");this.writeLabelSpan(null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};
FL.prototype.writeLabelSpan=function(a,b){a="indeterminate"===b?a:a+" "+Qbc.format(Number(b)/100);this.labelElement.textContent=a};FL.\u0275fac=function(a){return new (a||FL)(C(Rbc),C(DL,10))};FL.\u0275dir=jd({type:FL,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Hf("tabindex",null),Qf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var GL=function(){this.ariaLabel="loading"};GL.\u0275fac=function(a){return new (a||GL)};
GL.\u0275cmp=r({type:GL,selectors:[["b-spinner"]],inputs:{large:"large",ariaLabel:"ariaLabel"},decls:2,vars:2,consts:[["class","large",3,"diameter",4,"ngIf"],["class","small",3,"diameter","strokeWidth",4,"ngIf"],[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&E(0,BGa,1,2,"mat-spinner",0)(1,CGa,1,3,"mat-spinner",1);a&2&&(F("ngIf",b.large),A(),F("ngIf",!b.large))},dependencies:[zw,FL,DL],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 DGa;var HL=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Uv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};HL.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};HL.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
HL.prototype.getRoot=function(){var a;return null!=(a=EGa(this.elementRef.nativeElement))?a:document};HL.\u0275fac=function(a){return new (a||HL)(C(Wd))};HL.\u0275dir=jd({type:HL,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var IL=function(){};IL.\u0275fac=function(a){return new (a||IL)};IL.\u0275mod=hd({type:IL});IL.\u0275inj=Rc({});var Ubc=Symbol("rd"),Vbc=Symbol("sd"),JL=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Uv;this[Ubc]=new X.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new X.BehaviorSubject(!1);this.closeHovercard$=new X.Subject};JL.prototype.ngOnInit=function(){};var Wbc=function(a){var b=a[Vbc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[Ubc].pipe(kf(0))):(0,X.of)(void 0)};
JL.\u0275fac=function(a){return new (a||JL)(C(jg))};
JL.\u0275cmp=r({type:JL,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&lg(ig,7);if(a&2){var c;pg(c=qg())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"clickOutside","mouseenter","mouseleave","cdkTrapFocusAutoCapture"]],template:function(a){a&1&&(cg(),E(0,FGa,2,3,"ng-template"))},dependencies:[Gx,HL],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 KL=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[Vbc]=this};KL.\u0275fac=function(a){return new (a||KL)(C(ig),C(jg),C(Pg),C(JL))};KL.\u0275dir=jd({type:KL,selectors:[["","onedevHovercardLazyBody",""]]});var LL=function(a){this.hovercard=a;this.destroyed$=new X.ReplaySubject(1)};LL.prototype.ngOnDestroy=function(){this.destroyed$.next()};LL.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(xf(this.destroyed$)).subscribe(this.hovercard[Ubc])};
LL.\u0275fac=function(a){return new (a||LL)(C(JL))};LL.\u0275dir=jd({type:LL,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]}});var Xbc={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},Ybc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},Zbc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},$bc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},Xbc,Zbc,{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 ML=function(){this.delay=600;this.position=$bc;this.triggerKey=[]},NL=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new ML;this.active=!1;this.hovercardShown$=new X.ReplaySubject(1);this.hide$=new X.Subject;this.hovercard$=new X.BehaviorSubject(null);this.isHovered$=new X.BehaviorSubject(!1);this.isKeyboardActivated$=new X.BehaviorSubject(!1);this.destroyed$=new X.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(acc(c),
d.stopPropagation(),d.preventDefault())};bcc(this);this.handleClose()},bcc=function(a){ccc(a).pipe(xf(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};NL.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(wf(function(b){return(null==b?void 0:b.closeHovercard$)||X.NEVER}),xf(this.destroyed$)).subscribe(function(){acc(a)})};NL.prototype.dispose=function(){dcc(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
NL.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};NL.prototype.toggle=function(a){this.isHovered$.next(a)};var acc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
NL.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,Wbc(this.hovercard$.getValue()).pipe(mf(),xf(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};NL.prototype.hide=function(){dcc(this);this.hide$.next()};
var dcc=function(a){if(a.overlayRef&&a.overlayRef.hasAttached()){document.removeEventListener("keydown",a.onDocumentKeyDown);var b;null!=(b=a.hovercard$.getValue())&&b.onHide.emit();a.overlayRef.detach()}};NL.prototype.getPositionStrategy=function(){return Oy(Py(Qy(Uy(this.overlay.position(),this.origin)),8),this.config.position)};
var ccc=function(a){return(0,X.combineLatest)([ecc(a).pipe(vf(!1)),a.isKeyboardActivated$]).pipe(uf(1),z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),wf(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(qf(b)))||(0,X.of)(b)}))},ecc=function(a){return a.hovercard$.pipe(wf(function(b){return(0,X.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,X.of)(!1)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),jf(a.config.delay),
xf(a.destroyed$))}))};var fcc=new rd("onedevHovercardLoggingOn"),OL=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new ML;this.onHovercardShown=new Uv;this.destroyed$=new X.ReplaySubject(1);this.triggerControl=new NL(a,b);this.triggerControl.hovercardShown$.pipe(zf(d||(0,X.of)(!1)),xf(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(xC)),yC(f.clientStreamzService,"hovercardShown",
!0))})};g=OL.prototype;g.ngOnChanges=function(a){if(a.hovercard){var b;a=null==(b=a.hovercard)?void 0:b.currentValue;this.triggerControl.hovercard$.next(a);if(a){b=this.triggerControl;var c=this.viewContainerRef;b.config=this.config;b.overlayRef=b.overlay.create({positionStrategy:b.getPositionStrategy(),scrollStrategy:b.overlay.scrollStrategies.reposition()});b.templatePortal=new ny(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()};
Ac.Object.defineProperties(OL.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});OL.\u0275fac=function(a){return new (a||OL)(C(Vy),C(Wd),C(jg),C(fcc,8),C(Ie))};
OL.\u0275dir=jd({type:OL,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&N("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&&Hf("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"],features:[xd]});var gcc=new rd("GMAT_AUTOCOMPLETE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var PL=function(a,b){a.disableGmatStyle||O5b(b,"gmat-mdc-autocomplete")};PL.\u0275fac=function(a){return new (a||PL)(C(gcc),C(Vy))};PL.\u0275dir=jd({type:PL,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],features:[wg([{provide:Vy,useClass:lE}])]});var hcc=Bh("panelAnimation",[Fh("void, hidden",Eh({opacity:0,transform:"scaleY(0.8)"})),Hh(":enter, hidden => visible",[Dh([Ch("0.03s linear",Eh({opacity:1})),Ch("0.12s cubic-bezier(0, 0, 0.2, 1)",Eh({transform:"scaleY(1)"}))])]),Hh(":leave, visible => hidden",[Ch("0.075s linear",Eh({opacity:0}))])]);var icc=["panel"],jcc=0,kcc=function(a,b){this.source=a;this.option=b},lcc=new rd("mat-autocomplete-default-options",{providedIn:"root",factory:HGa}),QL=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._defaults=c;this._activeOptionChanges=X.Subscription.EMPTY;this._visibleClass="mat-mdc-autocomplete-visible";this._hiddenClass="mat-mdc-autocomplete-hidden";this._animationDone=new Uv;this._isOpen=this.showPanel=!1;this.displayWith=null;this.optionSelected=new Uv;this.opened=new Uv;
this.closed=new Uv;this.optionActivated=new Uv;this._classList={};this.id="mat-autocomplete-"+jcc++;this.autoActiveFirstOption=!!c.autoActiveFirstOption;this.autoSelectActiveOption=!!c.autoSelectActiveOption;this.requireSelection=!!c.requireSelection;var d;this._hideSingleSelectionIndicator=null!=(d=this._defaults.hideSingleSelectionIndicator)?d:!1};g=QL.prototype;g._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
g._syncParentProperties=function(){if(this.options)for(var a=k(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};g.ngAfterContentInit=function(){var a=this;this._keyManager=dy(ey(new jy(this.options)),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;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe();this._animationDone.complete()};g._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};g._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};g._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};
g._emitSelectEvent=function(a){this.optionSelected.emit(new kcc(this,a))};g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._setVisibilityClasses=function(a){a["mat-mdc-autocomplete-visible"]=this.showPanel;a["mat-mdc-autocomplete-hidden"]=!this.showPanel};g._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};g._skipPredicate=function(){return!1};
Ac.Object.defineProperties(QL.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this._isOpen&&this.showPanel}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&a.length?this._classList=zoa(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},
set:function(a){this._hideSingleSelectionIndicator=a;this._syncParentProperties()}}});QL.\u0275fac=function(a){return new (a||QL)(C(Pg),C(Wd),C(lcc),C(Ax))};
QL.\u0275cmp=r({type:QL,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(mg(c,jz,5),mg(c,FWb,5));if(a&2){var d;pg(d=qg())&&(b.options=d);pg(d=qg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(lg(ig,7),lg(icc,5));if(a&2){var c;pg(c=qg())&&(b.template=c.first);pg(c=qg())&&(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",Ng],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Ng],requireSelection:[2,"requireSelection","requireSelection",Ng],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Ng],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ng]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
exportAs:["matAutocomplete"],standalone:!0,features:[wg([{provide:EWb,useExisting:QL}]),Gf,yg],ngContentSelectors:["*"],decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"]],template:function(a){a&1&&(cg(),E(0,GGa,3,5,"ng-template"))},dependencies:[Cw],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:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-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}mat-autocomplete{display:none}\n"],
encapsulation:2,data:{animation:[hcc]},changeDetection:0});var mcc={provide:Bw,useExisting:Yc(function(){return RL}),multi:!0},ncc=new rd("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.reposition()}}}),occ={provide:ncc,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},RL=function(a,b,c,d,e,f,h,l,q,t,w){var B=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=
l;this._document=q;this._viewportRuler=t;this._defaults=w;this._manuallyFloatingLabel=this._componentDestroyed=!1;this._viewportSubscription=X.Subscription.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new X.Subject;this._windowBlurHandler=function(){B._canOpenOnNextFocus=B._document.activeElement!==B._element.nativeElement||B.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._initialized=new X.Subject;this._injector=
bd(Ie);this._aboveClass="mat-mdc-autocomplete-panel-above";this._overlayAttached=!1;this.optionSelections=(0,X.defer)(function(){var D=B.autocomplete?B.autocomplete.options:null;return D?D.changes.pipe(vf(D),wf(function(){return X.merge.apply(null,u(D.map(function(J){return J.onSelectionChange})))})):B._initialized.pipe(wf(function(){return B.optionSelections}))});this._handlePanelKeydown=function(D){if(27===D.keyCode&&!jh(D)||38===D.keyCode&&jh(D,"altKey")){if(B._pendingAutoselectedOption){var J;
B._updateNativeInputValue(null!=(J=B._valueBeforeAutoSelection)?J:"");B._pendingAutoselectedOption=null}B._closeKeyEventStream.next();B._resetActiveItem();D.stopPropagation();D.preventDefault()}};this._trackedModal=null;this._scrollStrategy=f};RL.prototype.ngAfterViewInit=function(){var a=this;this._initialized.next();this._initialized.complete();var b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};
RL.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};RL.prototype.ngOnDestroy=function(){var a=this._getWindow();"undefined"!==typeof a&&a.removeEventListener("blur",this._windowBlurHandler);this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete();this._clearFromModal()};
var Fbb=function(a){a._resetLabel();a._overlayAttached&&(a.panelOpen&&a._zone.run(function(){a.autocomplete.closed.emit()}),a.autocomplete._isOpen=a._overlayAttached=!1,a._pendingAutoselectedOption=null,a._overlayRef&&a._overlayRef.hasAttached()&&(a._overlayRef.detach(),a._closingActionsSubscription.unsubscribe()),a._updatePanelState(),a._componentDestroyed||a._changeDetectorRef.detectChanges(),a._trackedModal&&ph(a._trackedModal,"aria-owns",a.autocomplete.id))};g=RL.prototype;
g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return(0,X.merge)((0,X.fromEvent)(this._document,"click"),(0,X.fromEvent)(this._document,"auxclick"),(0,X.fromEvent)(this._document,"touchend")).pipe(Ce(function(b){b=ih(b);var c=a._formField?i_b(a._formField).nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&
!a._overlayRef.overlayElement.contains(b)}))};g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=jh(a);27!==b||c||a.preventDefault();this._valueOnLastKeydown=this._element.nativeElement.value;if(this.activeOption&&13===b&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=38===b||40===b;if(9===b||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&this._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,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));if(this._previousValue!==c){this._previousValue=c;this._pendingAutoselectedOption=null;this.autocomplete&&this.autocomplete.requireSelection||this._onChange(c);if(!c)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){var d;if(b=null==(d=this.autocomplete.options)?void 0:d.find(function(f){return f.selected}))d=this._getDisplayValue(b.value),c!==d&&
b.deselect(!1)}if(this._canOpen()&&this._document.activeElement===a.target){var e;a=null!=(e=this._valueOnLastKeydown)?e: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._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};g._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
g._subscribeToClosingActions=function(){var a=this,b=new X.Observable(function(d){Ne(function(){d.next()},{injector:a._injector})}),c=this.autocomplete.options.changes.pipe(yf(function(){return qWb(a._positionStrategy)}),kf(0));return(0,X.merge)(b,c).pipe(wf(function(){return a._zone.run(function(){var d=a.panelOpen;a._resetActiveItem();a._updatePanelState();a._changeDetectorRef.detectChanges();a.panelOpen&&a._overlayRef.updatePosition();d!==a.panelOpen&&(a.panelOpen?a._emitOpened():a.autocomplete.closed.emit());
return a.panelClosingActions})}),mf()).subscribe(function(d){return a._setValueAndClose(d)})};g._emitOpened=function(){this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(Fbb(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);null==a&&this._clearPreviousSelectedOption(null,!1);this._updateNativeInputValue(null!=b?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,c=this.autocomplete;(a=a?a.source:this._pendingAutoselectedOption)?(this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),c._emitSelectEvent(a),this._element.nativeElement.focus()):c.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),c._animationDone?c._animationDone.pipe(mf()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));Fbb(this)};g._clearPreviousSelectedOption=function(a,b){var c,d;null==(c=this.autocomplete)||null==(d=c.options)||d.forEach(function(e){e!==a&&e.selected&&e.deselect(b)})};g._openPanelInternal=function(a){a=void 0===a?this._element.nativeElement.value:a;this._attachOverlay(a);this._floatLabel();this._trackedModal&&Eoa(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 ny(this.autocomplete.template,this._viewContainerRef,{id:null==(d=this._formField)?void 0:d.getLabelId()});this._overlayRef=c=this._overlay.create(this._getOverlayConfig());this._viewportSubscription=this._viewportRuler.change().subscribe(function(){b.panelOpen&&c&&c.updateSize({width:b._getPanelWidth()})})}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;var e;this.autocomplete._setColor(null==(e=this._formField)?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{null==(a=this._keydownSubscription)||a.unsubscribe();var b;null==(b=this._outsideClickSubscription)||b.unsubscribe();this._keydownSubscription=this._outsideClickSubscription=null}};
g._getOverlayConfig=function(){var a,b;return new Ly({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!=(b=this._dir)?b:void 0,panelClass:null==(a=this._defaults)?void 0:a.overlayPanelClass})};g._getOverlayPosition=function(){var a=tWb(Qy(Uy(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=[{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="above"===this.position?c:"below"===this.position?b:[].concat(u(b),u(c));Oy(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?i_b(this._formField):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._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};g._scrollToOption=function(a){var b=this.autocomplete,c=Xoa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Yoa(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&&ph(this._trackedModal,"aria-owns",b);Eoa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(ph(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
Ac.Object.defineProperties(RL.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(0,X.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ce(function(){return a._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Ce(function(){return a._overlayAttached})):
(0,X.of)()).pipe(z(function(b){return b instanceof VWb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});RL.\u0275fac=function(a){return new (a||RL)(C(Wd),C(Vy),C(jg),C(He),C(Pg),C(ncc),C(ty,8),C(f_b,9),C(qh,8),C(Hy),C(lcc,8))};
RL.\u0275dir=jd({type:RL,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&N("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&&Hf("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:null==b.autocomplete?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",Ng]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[wg([mcc]),Gf,xd]});var SL=function(){};SL.\u0275fac=function(a){return new (a||SL)};SL.\u0275mod=hd({type:SL});SL.\u0275inj=Rc({providers:[occ],imports:[Yy,mz,Zy,Qw,Iy,mz,Zy]});var pcc=["searchBox"],TL=function(a,b,c,d,e,f,h,l,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=l;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new Uv;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
TL.prototype.ngOnInit=function(){this.allowStarring&&qcc(this)};TL.prototype.onSpace=function(a){var b;if(null==(b=this.autocomplete)?0:b.activeOption)this.toggleStar(this.autocomplete.activeOption.value),a.preventDefault(),a.stopPropagation()};
var qcc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=k(null!=(c=b.bookmarkGroups)?c:[]);for(c=d.next();!c.done;c=d.next()){c=c.value;c.starred&&a.favoriteBookmarkGroups.add(c.id);var e=void 0;c=k(null!=(e=c.sublinks)?e:[]);for(e=c.next();!e.done;e=c.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}}if(a.showHotlists){var f;b=k(null!=(f=b.hotlists)?f:[]);for(f=b.next();!f.done;f=b.next())f=f.value,
f.starred&&a.favoriteHotlists.add(f.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=TL.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=k(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=k(e),l=h.next();!l.done;l=h.next()){l=l.value;var q=l.bookmarkGroupId;l.href=a.paths.viewBookmarkGroup(q);l.isGroup=!0;l.isStarred=a.favoriteBookmarkGroups.has(q)}h=
k(f);for(l=h.next();!l.done;l=h.next())l=l.value,q=l.hotlistId,l.href=a.paths.viewHotlist(q),l.isGroup=!1,l.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(u(e),u(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!Wk(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();qcc(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(Wo(this.analytics,"hotlistSearch","starItem"),this.userApi.saveFavorite(c).then(e)):(Wo(this.analytics,"hotlistSearch","unstarItem"),this.userApi.deleteFavorite(c).then(e))};
TL.\u0275fac=function(a){return new (a||TL)(C(ME,2),C(Zr),C(QI),C(kL),C(EG),C(RF),C(ZI),C(qI),C(gH))};
TL.\u0275cmp=r({type:TL,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(lg(pcc,5),lg(RL,5));if(a&2){var c;pg(c=qg())&&(b.searchBoxEl=c.first);pg(c=qg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[wg([ME])],decls:13,vars:6,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"],[4,"ngIf"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],["class","bv2-hotlist-search-dropdown-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-hotlist-search-subtext"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred","starClicked",
4,"ngIf"],[3,"hotlist",4,"ngIf"],[3,"bookmarkGroup",4,"ngIf"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"hotlist"],[3,"bookmarkGroup"]],template:function(a,b){if(a&1){var c=v();G(0,"div",3)(1,"input",4,0);vg("ngModelChange",function(d){x(c);ug(b.query,d)||(b.query=d);return y(d)});N("ngModelChange",function(){x(c);return y(b.onQueryChange())})("keydown.space",function(d){x(c);return y(b.onSpace(d))});I();E(3,IGa,1,0,"b-spinner",
5);G(4,"mat-autocomplete",6,1);N("optionSelected",function(d){x(c);b.itemSelect.emit(d.option.value);return y()});E(6,MGa,9,8,"mat-option",7);I();G(7,"div",8);S(8,' e.g., "foo bar admin:user@google.com" ');K(9,"br");S(10,' or "foo bar admin:group@google.com" ');K(11,"br");S(12," Only identities directly listed as Admins can be searched. ");I()()}a&2&&(a=R(5),A(),tg("ngModel",b.query),F("matAutocomplete",a),Hf("autofocus",b.focusOnInit)("aria-label","Add query for searching "+(b.showGroups?"bookmark groups":
"hotlists")),A(2),F("ngIf",b.isLoading()),A(3),F("ngForOf",b.matches))},dependencies:[Dw,zw,uL,vL,JL,OL,GL,xL,bh,cx,jx,PL,QL,jz,RL],encapsulation:2});var rcc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],UL=function(){};UL.\u0275fac=function(a){return new (a||UL)};UL.\u0275dir=jd({type:UL,selectors:[["xap-dialog-layout-subtitle"]]});var VL=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new X.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
VL.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){scc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});tcc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};VL.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var scc=function(a){if(!window.ResizeObserver)return(0,X.of)(ucc(a.el.nativeElement));var b;return(0,X.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(ucc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(lf(),xf(a.destroyed))},tcc=function(a){return(0,X.fromEvent)(a.el.nativeElement,"scroll").pipe(NGa(),z(function(){return a.getScrollPosition(a.el.nativeElement)}),lf(),xf(a.destroyed))},ucc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
VL.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};Ac.Object.defineProperties(VL.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});VL.\u0275fac=function(a){return new (a||VL)(C(Wd),C(Pg),C(He))};
VL.\u0275dir=jd({type:VL,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&Qf("xap-dialog-layout-content-scrollable",b.scrollable)("xap-dialog-layout-bottom-scroll-stroke","bottom"!==b.scrollPosition)("xap-dialog-layout-top-scroll-stroke","top"!==b.scrollPosition)}});var WL=function(){};WL.\u0275fac=function(a){return new (a||WL)};
WL.\u0275cmp=r({type:WL,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&mg(c,UL,4);if(a&2){var d;pg(d=qg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("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&&(cg(rcc),
G(0,"header",0),dg(1),dg(2,1),I(),dg(3,2),dg(4,3))},styles:[".xap-dialog-layout{display:block;padding:24px 24px 8px;overflow-x:hidden}xap-dialog-layout-title{display:block;padding:0}xap-dialog-layout-subtitle{display:block;padding:0 0 16px}xap-dialog-layout-content{display:block;padding:0 0 16px}xap-dialog-layout-actions .mat-button-base,xap-dialog-layout-actions .mat-mdc-button-base{margin:8px 16px 0 -8px;padding:0 8px}"],encapsulation:2});var vcc=Eh({opacity:0}),wcc=Eh({opacity:1}),xcc=Bh("dialogContainer",[Fh("void, hidden",vcc),Fh("visible",wcc),Hh("void => *, * => visible",Ch("200ms cubic-bezier(0.0,0.0,0.2,1)",wcc)),Hh("* => void, * => hidden",Ch("200ms cubic-bezier(0.4,0.0,0.2,1)",vcc))]);var ycc=new rd("XAP_IDCO"),XL=function(){oy.apply(this,arguments);this.animationState="hidden";this.options=bd(ycc);this.changeDetector=bd(Pg)};Y(XL,oy);XL.prototype.ngAfterViewInit=function(){};XL.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};XL.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var zcc=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
XL.\u0275fac=function(){var a;return function(b){return(a||(a=Td(XL)))(b||XL)}}();
XL.\u0275cmp=r({type:XL,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&lg(ry,7);if(a&2){var c;pg(c=qg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&($f("@dialogContainer",b.animationState),Hf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex))},features:[Ff],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(G(0,"div"),E(1,OGa,1,0,"ng-template",0),I())},dependencies:[ry],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:[xcc]},changeDetection:0});var Acc=[{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}],Bcc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},YL=function(a,b,c,d,e,f,h,l){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
f;this.ariaDescriber=h;this.injector=l;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=Bcc;this.triggerDescription="Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new Uv;this.opened=new Uv;this.closed=new Uv;this.destroyed=new X.ReplaySubject;this.openStatusChange=new X.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(Ce(function(t){return t&&
!q.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;Ccc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);Dcc(this,c.nativeElement)};YL.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||Xx(this.ariaDescriber,a,this.triggerDescription)};
YL.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var Ccc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(b,"keydown").pipe(xf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,X.fromEvent)(b,"keyup").pipe(xf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},Dcc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(b,"focus").pipe(Ce(function(){return 0<a.beforeOpened.observers.length}),xf(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=YL.prototype;
g.openDialog=function(){var a=this;if(!this.disabled){var b;if(null==(b=this.overlayRef)||!b.hasAttached()){var c=this.portal;null!=c&&(this.stackManager&&(this.stackLocation=this.stackManager.register()),this.ngZone.run(function(){a.dialogContainerRef=Ecc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);zcc(a.dialogContainerRef.instance,!0);a.opened.observers.length&&setTimeout(function(){a.opened.emit()},
200)}))}}};g.closeDialog=function(){var a=this,b;null==(b=this.overlayRef)||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(zcc(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),Dx(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&NVb(this.focusTrap).then(function(){})};
g.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&"function"===typeof a.focus){var b,c=null==(b=this.dialogContainerRef)?void 0:b.location.nativeElement;(b=this.document.activeElement)&&null!=c&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};g.createPositionStrategy=function(a){var b,c;return Oy(Uy(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var Fcc=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()}},Ecc=function(a){var b=Mg({parent:a.injector,providers:[{provide:ycc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new my(XL,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(Acc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&
0<a.overlayPositions.length&&nWb(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
Ac.Object.defineProperties(YL.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof ig?new ny(a,this.viewContainerRef):new my(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=lh(a)},get:function(){return this.disableAutoFocusInternal}},panelClass:{configurable:!0,
enumerable:!0,set:function(a){if(this.panelClassInternal!==a){if(this.panelClassInternal){var b;null==(b=this.overlayRef)||b.removePanelClass(this.panelClassInternal)}if(a){var c;null==(c=this.overlayRef)||c.addPanelClass(a)}this.panelClassInternal=a}}}});YL.\u0275fac=function(a){return new (a||YL)(C(He),C(Vy),C(Wd),C(jg),C(Document),C(by),C(Wx),C(Ie))};
YL.\u0275dir=jd({type:YL,hostVars:1,hostBindings:function(a,b){a&2&&Hf("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 ZL=function(a,b,c,d,e,f,h,l){YL.call(this,a,b,c,d,e,f,h,l);this.attachMouseEventListeners(c.nativeElement)};Y(ZL,YL);g=ZL.prototype;g.ngOnInit=function(){YL.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(xf(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Ce(function(b){return b&&0<a.beforeOpened.observers.length}),Lka(function(){return a.openStatusChange.pipe(Ce(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(a,"mouseenter").pipe(xf(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,X.fromEvent)(a,"click").pipe(xf(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(xf(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(a,"keyup").pipe(xf(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closingDialog();break;case 32:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});(0,X.fromEvent)(a,"keydown").pipe(xf(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 13: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 Ly(Object.assign({},this.overlayDimensions,{positionStrategy:YL.prototype.createPositionStrategy.call(this,a),scrollStrategy:Fcc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
ZL.\u0275fac=function(a){return new (a||ZL)(C(He),C(Vy),C(Wd),C(jg),C(qh),C(by),C(Wx),C(Ie))};ZL.\u0275dir=jd({type:ZL,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[Ff]});var Gcc=["*"],Hcc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed var(--xap-color-outline,#80868b);-moz-text-decoration:underline dashed var(--xap-color-outline,#80868b);text-decoration:underline dashed var(--xap-color-outline,#80868b);text-underline-position:under;text-underline-offset:1px}"},$L=function(){this.disabled=!1};$L.\u0275fac=function(a){return new (a||$L)};
$L.\u0275cmp=r({type:$L,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(Hf("tabindex",b.disabled?-1:0),Qf("xap-text-trigger",!b.disabled))},inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:Gcc,decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:[Hcc()],encapsulation:2});var aM=function(){this.disabled=!1};aM.\u0275fac=function(a){return new (a||aM)};
aM.\u0275cmp=r({type:aM,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:Gcc,decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:[Hcc()],encapsulation:2});var bM=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new Uv};bM.\u0275fac=function(a){return new (a||bM)};
bM.\u0275cmp=r({type:bM,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&lg(ZL,5);if(a&2){var c;pg(c=qg())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:[0,"aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},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&&(G(0,"xap-icon-trigger",1),K(1,"mat-icon",2),I(),E(2,PGa,3,4,"ng-template",null,0,Eg));a&2&&(a=R(3),F("xapInlineDialogClick",a),Hf("aria-label",b.ariaLabel))},dependencies:[nB,WL,VL,nE,OC,ZL,aM,TL],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var cM=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};cM.prototype.handleBookmarkGroupOpen=function(a){Wo(this.analytics,"sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};cM.prototype.handleBookmarkGroupDashboard=function(a){Wo(this.analytics,"sidebarBookmarkGroups","dashboard");this.location.setUrl(this.paths.dashboard(a))};cM.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};
cM.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};cM.\u0275fac=function(a){return new (a||cM)(C(QF),C(ZI),C(RF),C(oL))};
cM.\u0275cmp=r({type:cM,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},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"],["class","bookmark-group-list",4,"ngIf"],[1,"bookmark-group-list"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[3,
"header","content","expanded"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["matMenuContent",""],["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"],["mat-menu-item",
"",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions","class","bv2-nav-item-menubutton",
3,"matMenuTriggerFor",4,"ngIf"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(G(0,"div",6),K(1,"hr"),G(2,"sidebar-zippy",7),E(3,QGa,3,1,"ng-template",null,0,Eg)(5,eHa,1,1,"ng-template",null,1,Eg),I()());if(a&2){a=R(4);var b=R(6);A(2);F("header",a)("content",b)}},dependencies:[Dw,zw,nB,bM,CA,mE,IC,HC,GC,JC,sL],encapsulation:2,changeDetection:0});var Icc=(new eL).transform,dM=function(a){this.kansasPrefsManager=a;this.destroyed$=new X.ReplaySubject(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(z(function(b){var c;return null!=(c=null==b?void 0:b.missionControlPreferences)?c:{}}));this.prefsSubject$=Fk(this.prefs$.pipe(xf(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(z(function(b){var c,d=null!=(c=null==b?void 0:b.myTasksSources)?c:[];b=null==b?void 0:b.isMyTasksSourcesConfigured;return 0!==d.length||b?d.map(oHa):[].concat(u(ibc))}));
this.needsAttentionSources$=this.prefs$.pipe(z(function(b){var c,d=null!=(c=null==b?void 0:b.needsAttentionSources)?c:[];b=null==b?void 0:b.isNeedsAttentionSourcesConfigured;return 0!==d.length||b?d.map(oHa):[].concat(u(hbc))}))};dM.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Qr=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},aAb=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;Qr(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;Qr(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
dM.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=null!=(b=this.prefs.collapsed)?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];Qr(this,{collapsed:this.prefs.collapsed})};var rFb=function(a,b){b=b.map(nHa);a.prefs.myTasksSources=b;Qr(a,{myTasksSources:b,isMyTasksSourcesConfigured:!0})};dM.prototype.isCollapsed=function(a){var b;return!(null==(b=this.prefs.collapsed)||!b[a])};
var Jcc=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")}};dM.prototype.getMyTasksSources=function(){var a,b=null!=(a=this.prefs.myTasksSources)?a:[];a=this.prefs.isMyTasksSourcesConfigured;return 0!==b.length||a?b.map(oHa):[].concat(u(ibc))};
var Kcc=function(a,b){var c;(a=null==(c=a.prefs.workAreaQuickFilters)?void 0:c[b])?("UNKNOWN_KEY"===a&&console.error("an UNKNOWN QuickIssueFilterKey snuck in"),b=[a]):b=[];return b};dM.prototype.addHotlist=function(a){eM(this,So(a))};dM.prototype.hasHotlist=function(a){return null==a?!1:Lcc(this,So(a))};dM.prototype.hasSavedSearch=function(a){return null==a?!1:Lcc(this,To(a))};
var Lcc=function(a,b){var c;return 0<=(null!=(c=a.prefs.workAreaUrls)?c:[]).indexOf(b)},eM=function(a,b){"string"===typeof b&&(b=[b]);if(null!=b&&0!==b.length){var c,d=null!=(c=a.prefs.workAreaUrls)?c:[];d=Zta(b,d);Qr(a,{workAreaUrls:d})}},Xzb=function(a,b,c){var d,e=(null!=(d=a.prefs.workAreaUrls)?d:[]).slice();Icc(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,Qr(a,{workAreaUrls:e}))};
Ac.Object.defineProperties(dM.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});dM.\u0275fac=function(a){return new (a||dM)(p(zF))};dM.\u0275prov=Pc({token:dM,factory:dM.\u0275fac,providedIn:"root"});var fM=function(a,b,c,d,e,f,h,l){Z.call(this);this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.mcPrefs=l;this.ENABLE_MISSION_CONTROL=Qm("enableHomepageVariantA")&&Kj();this.userEmail=b.getUserEmail();this.subscriptions.add(h.routeChangeSuccess.subscribe(function(){f.detectChanges()}))};Y(fM,Z);fM.\u0275dir=Z.\u0275dir;fM.prototype.getUserEmail=function(){return this.userEmail};fM.prototype.openEditHotlist=function(a){this.location.setUrl(this.paths.editHotlist(a))};
fM.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl("home")};fM.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};fM.\u0275fac=function(a){return new (a||fM)(C(QF),C(Zr),C(ZI),C(oL),C(RF),C(Pg),C(xF),C(dM))};
fM.\u0275cmp=r({type:fM,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},features:[Ff],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"],["class","hotlist-list",4,"ngIf"],[1,"hotlist-list"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",
3,"id","title"],[3,"click","href"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",3,"click",4,"ngIf"],["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&&(G(0,"div",3),K(1,"hr"),G(2,"sidebar-zippy",4),E(3,pHa,3,1,"ng-template",null,0,Eg)(5,xHa,1,1,"ng-template",null,1,Eg),I()());if(a&2){a=R(4);var b=R(6);A(2);F("header",a)("content",b)}},dependencies:[Dw,zw,nB,bM,CA,mE,IC,HC,GC,JC,sL],encapsulation:2,changeDetection:0});var gM=function(a,b,c,d,e,f,h,l,q,t,w,B){Z.call(this);var D=this;this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=l;this.confirmationDialogService=q;this.appEvents=t;this.mcPrefs=B;this.ENABLE_MISSION_CONTROL=Qm("enableHomepageVariantA")&&Kj();this.searches=[];this.subscriptions.add(w.routeChangeSuccess.subscribe(function(){D.cdr.detectChanges()}))};Y(gM,Z);gM.\u0275dir=Z.\u0275dir;gM.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};
gM.prototype.addToMissionControl=function(a){eM(this.mcPrefs,To(a));this.location.setUrl("home")};
var BHa=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:vh("Are you sure you want to delete this search?"),onConfirm:function(){Mcc(a,b)}})},Mcc=function(a,b){var c=b.id;wr(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});wr(a.butterBar,'Deleted saved search "'+b.name+'".');Wo(a.analytics,"sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};gM.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};gM.\u0275fac=function(a){return new (a||gM)(C(ME,2),C(QF),C(VJ),C(RF),C(pI),C(ZI),C(oL),C(qI),C(nL),C(gH),C(xF),C(dM))};
gM.\u0275cmp=r({type:gM,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[wg([ME]),Ff],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"click","href"],[1,"bv2-nav-item-text"],
["mat-icon-button","","disableRipple","true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["matMenuContent",""],["mat-menu-item","",3,"click",4,"ngIf"],["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&&(G(0,"div",3),K(1,"hr"),G(2,"sidebar-zippy",4),E(3,yHa,2,0,"ng-template",null,0,Eg)(5,
FHa,1,1,"ng-template",null,1,Eg),I()());if(a&2){a=R(4);var b=R(6);A(2);F("header",a)("content",b)}},dependencies:[Dw,zw,nB,CA,mE,IC,HC,GC,JC,sL],encapsulation:2,changeDetection:0});var hM=function(a){var b=this;this.activeSession=a;this.trackerId$=(0,X.defer)(function(){var c,d;return(0,X.of)(null!=(d=null==(c=b.activeSession.getTracker())?void 0:c.trackerId)?d:"")});this.inTracker$=(0,X.defer)(function(){return(0,X.of)(cp(b))})},cp=function(a){return!!a.activeSession.getTracker()};hM.prototype.getTrackerId=function(){var a,b;return null!=(b=null==(a=this.activeSession.getTracker())?void 0:a.trackerId)?b:""};
var Ncc=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]},iM=function(a,b,c,d){c=void 0===c?a.activeSession.getTracker():c;d=void 0===d?!1:d;c?(d=void 0===d?!1:d,a=a.activeSession.isInternalSession()&&!d&&c.internalBaseUrl?c.internalBaseUrl+"/"+b:c.externalBaseUrl?c.externalBaseUrl+"/"+b:Occ(a,b,!0,c.trackerId,d)):a=Occ(a,b,!1,"",d);return a},Occ=function(a,b,c,d,e){c=void 0===c?!1:c;d=void 0===d?"":d;a=a.activeSession.getAppBaseUrl(void 0===e?!1:e);return c?a+b+"?tracker="+d:a+b},ur=function(a,
b){var c=a.activeSession.getTracker();if(!b||!c)return b;var d;a=null!=(d=b.componentPathId)?d:[];var e;d=null!=(e=b.componentPathName)?e:[];e=Number(c.componentId);e=a.includes(e)?a.indexOf(e):a.length;return{componentPathId:a.slice(e),componentPathName:d.slice(e),fieldConfigsMap:b.fieldConfigsMap}};hM.\u0275fac=function(a){return new (a||hM)(p(Zr))};hM.\u0275prov=Pc({token:hM,factory:hM.\u0275fac,providedIn:"root"});var Pcc=/^\s*hotlistid:(\d+)\s*$/i,Qcc=/(?:\s|^)componentid:(\d+)\s*/i,Rcc=/^\s*savedsearchid:(\d+)\s*$/i,jM=function(a,b,c,d){Z.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new X.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(z(function(f){return f?[f]:[]}));this.selectedTrackerIds$=new X.Subject;
this.trackerScope$=(0,X.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new X.Subject;this.subscriptions.add(this.queryState$.pipe(xf(this.destroyed$)).subscribe(function(f){e.currentQuery=f.query;(f=e.currentQuery.match(Qcc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(Pcc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(xf(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};Y(jM,Z);jM.\u0275dir=Z.\u0275dir;jM.prototype.clear=function(){kM(this,"")};var kM=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},lM=function(a){return"assignee:"+a+" status:open"},Scc=function(a,b){return a.currentQuery===lM("me")||a.currentQuery===lM(void 0===b?"":b)};
jM.prototype.getStarred=function(){return"star:true"};jM.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};var Tcc=function(a){return"verifier:"+a+" status:open | status:fixed"},Ucc=function(a){return(a=a.currentQuery.match(Pcc))?Number(a[1]):0},Vcc=function(a){return(a=a.currentQuery.match(Rcc))?Number(a[1]):0},Wcc=function(a){return(a=a.currentQuery.match(Qcc))?Number(a[1]):0};jM.prototype.track=function(a,b,c){Wo(this.analytics,"global-search",a,b,c)};
var Xcc=function(a,b){a.searchHandlerStack.push(b);return function(){wa(a.searchHandlerStack,b)}};jM.\u0275fac=function(a){return new (a||jM)(p(uF),p(hM),p(TK),p(ZI))};jM.\u0275prov=Pc({token:jM,factory:jM.\u0275fac,providedIn:"root"});var Ycc=B5b("edited-ids"),Zcc=kta("edited-ids"),$cc=B5b("viewed-ids"),adc=kta("viewed-ids"),mM=function(a){var b=this;this.appEvents=a;this.stop$=new X.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){JHa(b.viewed,c);$cc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){JHa(b.edited,c);Ycc(Array.from(b.edited.keys()).join(","))}};mM.\u0275fac=function(a){return new (a||mM)(p(gH))};mM.\u0275prov=Pc({token:mM,factory:mM.\u0275fac,providedIn:"root"});var bdc=0,cdc=new Set,nM=function(){};nM.\u0275fac=function(a){return new (a||nM)};
nM.\u0275cmp=r({type:nM,selectors:[["ng-component"]],standalone:!0,features:[yg],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);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.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%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.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, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.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, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.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, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}\n"],encapsulation:2,
changeDetection:0});var oM=function(a,b,c,d,e){this._ngZone=a;this._elementRef=b;this._ariaDescriber=c;this._renderer=d;this._animationMode=e;this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._id=bdc++;this._isInitialized=!1;this._interactivityChecker=bd(Bx);this._document=bd(qh);var f=bd(sw);if(!cdc.has(f)){cdc.add(f);var h=Pma(nM,{environmentInjector:bd(nv)});f.onDestroy(function(){cdc.delete(f);0===cdc.size&&h.destroy()})}};g=oM.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;null==(a=this._inlineBadgeDescription)||a.remove()}Yx(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","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");"NoopAnimations"===this._animationMode&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);"function"===typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};g._updateRenderedContent=function(a){a=(""+(null!=a?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};
g._updateDescription=function(a){Yx(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?Xx(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;null==(a=this._badgeElement)||a.appendChild(this._inlineBadgeDescription)};g._removeInlineDescription=function(){var a;null==(a=this._inlineBadgeDescription)||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=k(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()};
Ac.Object.defineProperties(oM.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)}}});oM.\u0275fac=function(a){return new (a||oM)(C(He),C(Wd),C(Wx),C(tv),C(sv,8))};
oM.\u0275dir=jd({type:oM,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&Qf("mat-badge-overlap",b.overlap)("mat-badge-above",-1===b.position.indexOf("below"))("mat-badge-below",-1!==b.position.indexOf("below"))("mat-badge-before",-1!==b.position.indexOf("before"))("mat-badge-after",-1===b.position.indexOf("before"))("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",Ng],disabled:[2,"matBadgeDisabled","disabled",Ng],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",Ng]},standalone:!0,features:[Gf]});var pM=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J){var H=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=f;this.sidebar=h;this.location=l;this.issueLru=q;this.appEvents=t;this.needsAttentionApi=w;this.currentTracker=B;this.taskFridge=D;this.missionControlPrefs=J;this.missionControlTaskCount$=new X.Subject;this.enableHomepageVariantA=hE(this.activeSession,"enableHomepageVariantA")&&this.activeSession.isInternalSession();this.enabledVotedNav=
hE(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:"vote:true"});this.recentlyViewedPath=ddc(this)?"recent":void 0;this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(z(function(U){return(U||eE).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(z(function(U){return!(!U||!U.resourceType)}),lf());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(z(function(U){return"MISSION_CONTROL"===
U.resourceType}),lf());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(z(function(U){return!H.enableHomepageVariantA&&!U.resourceType||"ASSIGNED_TO_ME"===U.resourceType}),lf());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(z(function(U){var aa;return null==U?void 0:null==(aa=U.missionControlPreferences)?void 0:aa.hideBadgeInNav}),z(Boolean));this.destroyed$=new Uv;this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();
this.missionControlPath=e.home();this.assignedPath=e.listIssues({q:lM(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.verifiedPath=e.listIssues({q:Tcc(this.userEmail)});this.reportedPath=e.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=e.listComponents();this.createHotlistPath=e.createHotlist();this.createBookmarkGroupPath=e.createBookmarkGroup();this.sidebarData=this.sidebar.sidebarData;this.missionControlTaskCount$=
this.appEvents.missionControlTaskCount;var O,P=!!this.location.path().match(/^\/home\b/)&&!(null==(O=this.missionControlPrefs.prefs.collapsed)?0:O["needs-attention-wrapper"]);hE(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){H.enableHomepageVariantA&&!P?(0,X.combineLatest)([H.missionControlPrefs.needsAttentionSources$,H.taskFridge.watchMany({}).pipe(z(RFa)),(0,X.defer)(function(){return H.needsAttentionApi.listIssues(void 0,void 0,CFa())}).pipe(z(SFa))]).pipe(xf(H.destroyed$),z(function(U){var aa=
k(U);U=aa.next().value;var pa=aa.next().value;aa=aa.next().value;return QFa(pa,aa,U,H.missionControlPrefs.prefs.needsAttentionDaysOld)}),z(function(U){return U.length})).subscribe(function(U){H.appEvents.missionControlTaskCount.next(U)}):H.userPreferencesManager.needsAttentionPreferences$.pipe(xf(H.destroyed$)).subscribe(function(U){var aa=Ncc(H.currentTracker),pa;H.needsAttentionApi.listIssues(null,aa,null!=(pa=U.selectedSignals)?pa:[])})},1E3)};pM.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(xf(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};
pM.prototype.ngOnDestroy=function(){this.destroyed$.next()};var OHa=function(a,b){wr(a.butterBar,"Updating homepage...",0);a8b(a.userPreferencesManager,{resourceType:b}).subscribe(function(){wr(a.butterBar,"Homepage updated")})};pM.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};var ddc=function(a){var b=hE(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};
pM.\u0275fac=function(a){return new (a||pM)(C(ME,2),C(Zr),C(pI),C(jM),C(RF),C(zF),C(oL),C(Ww),C(mM),C(gH),C(lH),C(hM),C(dK),C(dM))};
pM.\u0275cmp=r({type:pM,selectors:[["b-sidebar"]],features:[wg([ME])],decls:47,vars:29,consts:[["menu",""],["noBadge",""],["homepageMenu",""],[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["id","assigned-to-me-sidebar-link",1,"bv2-nav-item"],[3,"click","href"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["matMenuContent",""],["svgIcon","star-filled",1,"canned-search-icon"],["svgIcon","person-add-18px",
1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],[3,"selected",4,"ngIf"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],["id","mission-control-sidebar-link",1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","home","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",4,"ngIf","ngIfElse"],["mat-icon-button",
"","disableRipple","true","aria-label","More settings","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",
3,"click"],["mat-icon-button","","disableRipple","true","aria-label","Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","exposure_plus_1_24px",1,"canned-search-icon"],["svgIcon","time-24px",1,"canned-search-icon"]],template:function(a,b){if(a&1){var c=v();G(0,"div",3);K(1,"b-create-issue-button");I();G(2,"div",4)(3,"div",5)(4,"ul",6);E(5,QHa,14,12,"ng-container",7);G(6,"li",8)(7,"a",9);N("click",function(d){x(c);return y(b.onAnchorClick(b.assignedPath,d))});K(8,
"mat-icon",10);S(9," Assigned to me ");I();E(10,RHa,3,1,"ng-container",7);V(11,"async");G(12,"mat-menu",null,0);E(14,SHa,2,0,"ng-template",11);I()();G(15,"li")(16,"a",9);N("click",function(d){x(c);return y(b.onAnchorClick(b.starredPath,d))});K(17,"mat-icon",12);S(18," Starred by me ");I()();G(19,"li")(20,"a",9);N("click",function(d){x(c);return y(b.onAnchorClick(b.ccdPath,d))});K(21,"mat-icon",13);S(22," CC'd to me ");I()();G(23,"li")(24,"a",9);N("click",function(d){x(c);return y(b.onAnchorClick(b.reportedPath,
d))});K(25,"mat-icon",14);S(26," Reported by me ");I()();E(27,THa,4,3,"li",15);G(28,"li")(29,"a",9);N("click",function(d){x(c);return y(b.onAnchorClick(b.verifiedPath,d))});K(30,"mat-icon",16);S(31," To be verified ");I()();E(32,UHa,4,3,"li",15);I();K(33,"sidebar-bookmark-groups",17)(34,"sidebar-saved-searches",18)(35,"sidebar-hotlists",19)(36,"sidebar-archived",20)(37,"hr");G(38,"div",21)(39,"a",22);S(40," Create hotlist ");I()();G(41,"div",21)(42,"a",22);S(43," Create bookmark group ");I()();G(44,
"div",21)(45,"a",22);S(46," Browse components ");I()()()()}a&2&&(A(5),F("ngIf",b.enableHomepageVariantA&&!cp(b.currentTracker)),A(),Qf("selected",Scc(b.appSearchState,b.userEmail)),A(),F("href",b.assignedPath,Ye),A(3),F("ngIf",!W(11,27,b.isHomepageAssignedToMe$)),A(5),Qf("selected",b.appSearchState.isStarred()),A(),F("href",b.starredPath,Ye),A(3),Qf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),A(),F("href",b.ccdPath,Ye),A(3),Qf("selected",b.appSearchState.currentQuery==="reporter:"+
b.userEmail),A(),F("href",b.reportedPath,Ye),A(3),F("ngIf",b.enabledVotedNav),A(),Qf("selected",b.appSearchState.currentQuery===Tcc(b.userEmail)),A(),F("href",b.verifiedPath,Ye),A(3),F("ngIf",b.recentlyViewedPath),A(),F("bookmarkGroups",b.sidebarData.bookmarkGroups),A(),F("searches",b.sidebarData.userSearches),A(),F("hotlists",b.sidebarData.hotlists),A(),F("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),A(3),F("href",b.createHotlistPath,Ye),A(3),F("href",
b.createBookmarkGroupPath,Ye),A(3),F("href",b.componentsPath,Ye))},dependencies:[hL,zw,nB,CA,mE,IC,HC,GC,JC,oM,tL,cM,fM,gM,Iw],encapsulation:2});var qM=function(){};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275mod=hd({type:qM});qM.\u0275inj=Rc({imports:[rE]});var rM=function(){};rM.\u0275fac=function(a){return new (a||rM)};rM.\u0275mod=hd({type:rM});rM.\u0275inj=Rc({imports:[rE]});var sM=function(){};sM.\u0275fac=function(a){return new (a||sM)};sM.\u0275mod=hd({type:sM});sM.\u0275inj=Rc({});var tM=function(){};tM.\u0275fac=function(a){return new (a||tM)};tM.\u0275mod=hd({type:tM});tM.\u0275inj=Rc({imports:[rE,tE,cD,vE,sM]});var uM=function(){this.text="..."};uM.\u0275fac=function(a){return new (a||uM)};
uM.\u0275cmp=r({type:uM,selectors:[["ai-spinner"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("large",b.large)},inputs:{large:"large",text:"text"},decls:2,vars:1,template:function(a,b){a&1&&(G(0,"label"),S(1),I());a&2&&(A(),T(" ",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 vM=function(){};vM.\u0275fac=function(a){return new (a||vM)};vM.\u0275mod=hd({type:vM});vM.\u0275inj=Rc({imports:[EL]});var wM=function(){};wM.\u0275fac=function(a){return new (a||wM)};wM.\u0275mod=hd({type:wM});wM.\u0275inj=Rc({imports:[rE,vM]});var xM=function(){this.onAction=new Uv;this.disabled=!1};xM.prototype.handleClick=function(){this.onAction.emit()};xM.\u0275fac=function(a){return new (a||xM)};
xM.\u0275cmp=r({type:xM,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"click","disabled"]],template:function(a,b){a&1&&(cg(),G(0,"button",0),N("click",function(){return b.handleClick()}),dg(1),I());a&2&&F("disabled",b.disabled)},dependencies:[CA],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 yM=function(){};yM.\u0275fac=function(a){return new (a||yM)};yM.\u0275mod=hd({type:yM});yM.\u0275inj=Rc({imports:[Vx,IL,Qw,cD,Yy]});var zM=function(){};zM.\u0275fac=function(a){return new (a||zM)};zM.\u0275mod=hd({type:zM});zM.\u0275inj=Rc({imports:[Qw]});var AM=function(){};AM.\u0275fac=function(a){return new (a||AM)};AM.\u0275mod=hd({type:AM});AM.\u0275inj=Rc({imports:[SL]});var BM=function(a,b,c,d,e,f,h,l){YL.call(this,a,b,c,d,e,f,h,l);this.hoverDelayMs=500;this.activity=new X.Subject;this.attachMouseEventListeners(c.nativeElement)};Y(BM,YL);g=BM.prototype;g.ngOnInit=function(){YL.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Vja(function(){return b.activity.pipe(jf(a))}));c.pipe(xf(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Ce(function(d){return d&&0<b.beforeOpened.observers.length}),Lka(function(){return c.pipe(Ce(function(d){return!d}))}),xf(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(jf(this.hoverDelayMs),xf(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(a,"mouseenter").pipe(xf(b.destroyed)).subscribe(function(){b.openingDialog()});(0,X.fromEvent)(a,"click").pipe(xf(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});(0,X.fromEvent)(a,"mouseleave").pipe(xf(b.destroyed)).subscribe(function(){b.closingDialog()});(0,X.fromEvent)(a,"mousemove").pipe(xf(b.destroyed)).subscribe(function(){b.activity.next()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(a,"keydown").pipe(xf(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;(null==(d=b.overlayRef)?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};g.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};g.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};
g.createOverlayConfig=function(a){return new Ly(Object.assign({},this.overlayDimensions,{positionStrategy:YL.prototype.createPositionStrategy.call(this,a),scrollStrategy:Fcc(this),panelClass:this.panelClassInternal}))};BM.\u0275fac=function(a){return new (a||BM)(C(He),C(Vy),C(Wd),C(jg),C(qh),C(by),C(Wx),C(Ie))};
BM.\u0275dir=jd({type:BM,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[Ff]});[].concat(u([BM,ZL,aM,$L]),[XL]);var CM=function(){};CM.\u0275fac=function(a){return new (a||CM)};CM.\u0275mod=hd({type:CM});CM.\u0275inj=Rc({imports:[Vx,Qw,Yy,sy]});var DM=function(){};DM.\u0275fac=function(a){return new (a||DM)};DM.\u0275mod=hd({type:DM});DM.\u0275inj=Rc({imports:[rE,qM,rM,yM,wM,tM,zM,vE,yx,CM,AM]});var edc=function(a,b){return b.value},EM=function(){this.choices=[];this.value="";this.valueChange=new Uv};EM.prototype.onClickButton=function(a){this.value=a;this.valueChange.next(a)};EM.\u0275fac=function(a){return new (a||EM)};
EM.\u0275cmp=r({type:EM,selectors:[["button-toggle"]],inputs:{choices:"choices",value:"value"},outputs:{valueChange:"valueChange"},decls:2,vars:0,consts:[["mat-button","","color","primary","role","radio",1,"gmat-button","medium",3,"disableRipple","matTooltip"],["mat-button","","color","primary","role","radio",1,"gmat-button","medium",3,"click","disableRipple","matTooltip"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){a&1&&Wf(0,WHa,3,5,"button",0,edc);a&2&&Xf(b.choices)},dependencies:[nB,CA,nE,
OC],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-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]{min-width:24px}.gmat-button.gmat-button.gmat-button.gmat-button[aria-checked=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.gmat-button.gmat-button.gmat-button.gmat-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-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px;padding-left:12px}.gmat-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px;padding-right:12px}.gmat-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]:last-of-type, .gmat-button.gmat-button.gmat-button.gmat-button[aria-checked=true][_ngcontent-%COMP%]{box-shadow:none}\n/*# sourceMappingURL=button_toggle.css.map */"]});var fdc=[gL,EM],FM=function(){};FM.\u0275fac=function(a){return new (a||FM)};FM.\u0275mod=hd({type:FM});FM.\u0275inj=Rc({imports:[rE,cD,uE,vE]});var GM=function(){};GM.\u0275fac=function(a){return new (a||GM)};GM.\u0275mod=hd({type:GM});GM.\u0275inj=Rc({imports:[rE,FM]});var HM=function(){};HM.\u0275fac=function(a){return new (a||HM)};HM.\u0275mod=hd({type:HM});HM.\u0275inj=Rc({imports:[Vx,Zy,Zy]});var IM=function(){};IM.\u0275fac=function(a){return new (a||IM)};IM.\u0275mod=hd({type:IM});IM.\u0275inj=Rc({imports:[GM,rE,DM,cD,uE,HM,dD]});var JM=function(a){this.executor=a};JM.\u0275fac=function(a){return new (a||JM)(p(HE))};JM.\u0275prov=Pc({token:JM,factory:JM.\u0275fac,providedIn:"root"});var gdc=new rd("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var KM=function(a){this.options=a};KM.\u0275fac=function(a){return new (a||KM)(C(gdc))};KM.\u0275dir=jd({type:KM,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var hdc=new rd("mat-checkbox-default-options",{providedIn:"root",factory:XHa});var idc=["input"],jdc=["label"],kdc={provide:Bw,useExisting:Yc(function(){return LM}),multi:!0},ldc=function(){},mdc=0,ndc=XHa(),LM=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._ngZone=c;this._animationMode=e;this._options=f;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 Uv;this.indeterminateChange=new Uv;this._onTouched=function(){};this._currentAnimationClass="";this._currentCheckState=0;this._controlValueAccessorChangeFn=function(){};this._validatorChangeFn=function(){};this._indeterminate=this._disabled=this._checked=!1;this._options=
this._options||ndc;this.color=this._options.color||ndc.color;this.tabIndex=parseInt(d)||0;this.id=this._uniqueId="mat-mdc-checkbox-"+ ++mdc};g=LM.prototype;g.focus=function(){this._inputElement.nativeElement.focus()};g._createChangeEvent=function(a){var b=new ldc;b.source=this;b.checked=a;return b};g._getAnimationTargetElement=function(){var a;return null==(a=this._inputElement)?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&&!0!==a.value?{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,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=null==(b=this._options)?void 0:b.clickAction;this.disabled||"noop"===c?this.disabled||"noop"!==c||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==c&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if("NoopAnimations"===this._animationMode)return"";switch(a){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};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()};
Ac.Object.defineProperties(LM.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=a;b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});LM.\u0275fac=function(a){return new (a||LM)(C(Wd),C(Pg),C(He),Od("tabindex"),C(sv,8),C(hdc,8))};
LM.\u0275cmp=r({type:LM,selectors:[["mat-checkbox"]],viewQuery:function(a,b){a&1&&(lg(idc,5),lg(jdc,5),lg(hz,5));if(a&2){var c;pg(c=qg())&&(b._inputElement=c.first);pg(c=qg())&&(b._labelElement=c.first);pg(c=qg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(Zf("id",b.id),Hf("tabindex",null)("aria-label",null)("aria-labelledby",null),Rf(b.color?"mat-"+b.color:"mat-accent"),Qf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mdc-checkbox--disabled",
b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",Ng],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?void 0:Og(a)}],color:"color",checked:[2,
"checked","checked",Ng],disabled:[2,"disabled","disabled",Ng],indeterminate:[2,"indeterminate","indeterminate",Ng]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[wg([kdc,{provide:Xw,useExisting:LM,multi:!0}]),Gf,xd,yg],ngContentSelectors:["*"],decls:15,vars:19,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-mdc-focus-indicator",3,"matRippleTrigger",
"matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"div",3);N("click",function(d){x(c);return y(b._preventBubblingFromLabel(d))});G(1,"div",4,0)(3,"div",5);N("click",function(){x(c);return y(b._onTouchTargetClick())});I();G(4,"input",6,1);N("blur",function(){x(c);return y(b._onBlur())})("click",function(){x(c);return y(b._onInputClick())})("change",function(d){x(c);return y(b._onInteractionEvent(d))});I();K(6,"div",7);G(7,"div",8);Kd();
G(8,"svg",9);K(9,"path",10);I();Ed.currentNamespace=null;K(10,"div",11);I();K(11,"div",12);I();G(12,"label",13,2);dg(14);I()()}a&2&&(a=R(2),F("labelPosition",b.labelPosition),A(4),Qf("mdc-checkbox--selected",b.checked),F("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.disabled?-1:b.tabIndex),Hf("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-checked",b.indeterminate?
"mixed":null)("name",b.name)("value",b.value),A(7),F("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),A(),F("for",b.inputId))},dependencies:[hz,fz],styles:['@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:mdc-animation-deceleration-curve-timing-function;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}}.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}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.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 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms 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 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.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 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms 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,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.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-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%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var MM=function(a,b){Z.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};Y(MM,Z);MM.\u0275dir=Z.\u0275dir;MM.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(xf(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};MM.\u0275fac=function(a){return new (a||MM)(C(NA),C(JM))};
MM.\u0275cmp=r({type:MM,selectors:[["b-terms-of-service-dialog"]],features:[Ff],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"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Google IssueTracker Terms of Service"),I(),G(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),vg("ngModelChange",
function(c){ug(b.ackChecked,c)||(b.ackChecked=c);return c}),I(),G(5,"span"),S(6," I acknowledge and agree to the "),G(7,"a",3),S(8,"Google Terms of Service"),I(),S(9," and the "),G(10,"a",4),S(11,"Google IssueTracker Conduct Policy"),I(),S(12,". "),I()()(),G(13,"mat-dialog-actions")(14,"button",5),N("click",function(){return b.accept()}),S(15," OK "),I()());a&2&&(A(4),tg("ngModel",b.ackChecked),A(10),F("disabled",!b.ackChecked))},dependencies:[cx,jx,CA,KM,LM,SA,TA,UA],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var NM=function(a,b){Z.call(this);this.activeSession=a;this.matDialogService=b};Y(NM,Z);NM.\u0275dir=Z.\u0275dir;NM.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&this.matDialogService.open(MM,{width:"400px",disableClose:!0}).afterClosed().pipe(xf(this.destroyed$))};NM.\u0275fac=function(a){return new (a||NM)(C(Zr),C(QA))};NM.\u0275cmp=r({type:NM,selectors:[["b-terms-of-service"]],features:[Ff],decls:0,vars:0,template:function(){},encapsulation:2});var OM=function(){};OM.\u0275fac=function(a){return new (a||OM)};OM.\u0275mod=hd({type:OM});OM.\u0275inj=Rc({imports:[LM,Zy,Zy]});var PM=function(){};PM.\u0275fac=function(a){return new (a||PM)};PM.\u0275mod=hd({type:PM});PM.\u0275inj=Rc({providers:[{provide:hdc,useValue:{color:"primary"}}],imports:[OM]});var QM=function(){};QM.\u0275fac=function(a){return new (a||QM)};QM.\u0275mod=hd({type:QM});QM.\u0275inj=Rc({imports:[yx,rE,cD,PM,VA]});var RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=hd({type:RM});RM.\u0275inj=Rc({imports:[rE,QM]});var odc={QA:124156,NIGHTLY:190923,PROD:190923};new Promise(function(){});var SM=function(a,b,c,d,e,f){Z.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=f;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(l){h.components.removeAll();d.invalidate(l)}));this.componentGetter=c.adapt(function(l){var q=ya(l);Eaa(q);return h.componentApi.query({id:q}).then(function(t){var w={};t=k(t);for(var B=t.next();!B.done;B=
t.next())(B=B.value)&&(w[B.componentId]=B);return l.map(function(D){return w[D]||null})})})};Y(SM,Z);SM.\u0275dir=Z.\u0275dir;g=SM.prototype;g.get=function(a){var b=this.components.get(String(a));if(null!=b)return b;b=this.componentGetter.get(a).then(function(c){return null!=c?c:Promise.reject({data:{message:"Could not load details for component "+a}})});return this.components.put(String(a),b)};
g.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
g.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.getChildren=function(a,b){return this.componentApi.getChildren(a,void 0===b?!1:b)};g.getDescendants=function(a){return this.componentApi.getDescendants(a)};
g.getUncached=function(a){this.components.remove(String(a));return this.componentApi.fetchComponent(a)};g.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return pdc(this,a,this.componentApi.query(c))};
var pdc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=odc[a.activeSession.getEnvironmentType()];if(d)return Yo({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=k(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};
SM.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});Eaa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=k(f);for(var l=f.next();!l.done;l=f.next())(l=l.value)&&(h[l.componentId]=l);return h});c=k(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$277:void 0},d=c.next())e.id$jscomp$277=d.value,this.components.put(String(e.id$jscomp$277),a.then(function(f){return function(h){return h[f.id$jscomp$277]?h[f.id$jscomp$277]:
Promise.reject({data:{message:"Could not load details for component "+f.id$jscomp$277}})}}(e)))}};SM.\u0275fac=function(a){return new (a||SM)(p(aG),p(YH),p(GE),p(ZH),p(gH),p(Zr))};SM.\u0275prov=Pc({token:SM,factory:SM.\u0275fac,providedIn:"root"});var TM=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},$o=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},qdc=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"};
TM.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 rdc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":$o(a)},sWa=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-external-access"},sdc=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-public-access"},tdc=function(a){if(a=sdc(a))return a+"#recommended-access-settings"},udc=function(a){if(a=sdc(a))return a+"#fully-public-component"},vdc=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"},Ohb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},wdc=function(a){return 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"},
Vr=function(){return"http://go/buganizer-retention"};TM.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 ECb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};TM.prototype.getDisablingFieldsHelpLink=function(){return ECb()+"#hiding-inherited-fields"};
var xdc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};TM.\u0275fac=function(a){return new (a||TM)(p(Zr))};TM.\u0275prov=Pc({token:TM,factory:TM.\u0275fac,providedIn:"root"});var ydc=Eh({opacity:"0"}),zdc=Ce(function(a){return a}),Adc=(0,X.pipe)(lf(),zdc,qf()),Bdc=new rd("xap-bubble UX style"),UM=function(a){var b=this;this.activity=new X.Subject;this.openedSubject=new X.BehaviorSubject(!1);this.destroy=new X.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Uv;this.onOpened=new Uv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Vja(function(){return b.activity.pipe(jf(b.hoverDelayMs))}));
a=xf(this.destroy);this.opened.pipe(Adc,a).subscribe(this.onOpened);this.openedSubject.pipe(zdc,Lka(function(){return b.opened.pipe(Ce(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};UM.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};UM.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};UM.\u0275fac=function(a){return new (a||UM)(C(Bdc,8))};
UM.\u0275cmp=r({type:UM,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},ngContentSelectors:["*"],decls:5,vars:7,consts:[["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=v();cg();G(0,"span",1,0);N("mouseenter",function(){x(c);return y(b.toggle(!0))})("mouseleave",function(){x(c);return y(b.toggle(!1))})("mousemove",function(){x(c);b.activity.next();return y()});dg(2);I();E(3,ZHa,2,3,"ng-template",2);V(4,"async")}a&
2&&(a=R(1),F("ngClass",b.bubbleStyle),A(3),F("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",W(4,5,b.opened)))},dependencies:[Cw,Hw,Xy,Wy,Iw],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:[Bh("fade",[Hh(":enter",[ydc,Ch("225ms")]),Hh(":leave",[Ch("195ms",ydc)])])]}});var VM=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
VM.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=""}};VM.\u0275fac=function(a){return new (a||VM)(C(Zr),C(TM))};
VM.\u0275cmp=r({type:VM,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[xd],decls:1,vars:1,consts:[["withBubble",""],["popup",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&E(0,cIa,4,2,"ng-container",2);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:fE(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;F("ngIf",a)}},dependencies:[Cw,zw,UM],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 Cdc=Xt(["https://www.gstatic.com/buganizer/gfx/","/",""]),WM=Xt(["https://www.gstatic.com/buganizer/img/v2/",""]),Ddc=Ah(Cdc,"2024-03-06-6cb1f9ea","all-icons.svg"),Edc=Ah(WM,"empty_blocker_light.png"),Fdc=Ah(WM,"empty_blocker_dark.png"),Gdc=Ah(WM,"empty_child_light.png"),Hdc=Ah(WM,"empty_child_dark.png"),Idc=Ah(WM,"robot_sleeping.png"),Jdc=Ah(WM,"tea_light.png"),Kdc=Ah(WM,"tea_dark.png"),Ldc=Ah(WM,"space_empty_state.png"),Mdc=Ah(WM,"eg_work_area.png");var XM=function(){this.ICON_URL=Ddc;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.EMPTY_BLOCKER_LIGHT=Edc;this.EMPTY_BLOCKER_DARK=Fdc;this.EMPTY_CHILD_LIGHT=Gdc;this.EMPTY_CHILD_DARK=Hdc;this.ROBOT_SLEEPING=Idc;this.TEA_LIGHT=Jdc;this.TEA_DARK=Kdc;this.SPACE_EMPTY_STATE=Ldc;this.WORK_AREA_EXAMPLE_ILLUSTRATION=Mdc};XM.\u0275fac=function(a){return new (a||XM)};XM.\u0275prov=Pc({token:XM,factory:XM.\u0275fac,providedIn:"root"});var YM=function(a,b,c,d){this.activeSession=a;this.documentationLinks=b;this.currentTracker=c;this.imageUrls=d;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
YM.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=iM(this.currentTracker,"",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(null==(b=this.tracker)?0:null==(c=b.branding)?0:c.logoUrl){var d,e,f;a=null!=(f=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?f:""}else a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}this.logoLight=
a;if(this.isGlobalBuganizer)d="https://www.gstatic.com/buganizer/img/v3/logo_dark.svg";else{var h;d=null!=(h=this.logoLight)?h:""}this.logoDark=d}};YM.prototype.getName=function(){if(this.isGlobalBuganizer)return this.activeSession.getAppName();var a,b;return null!=(b=null==(a=this.tracker)?void 0:a.name)?b:""};YM.\u0275fac=function(a){return new (a||YM)(C(Zr),C(TM),C(hM),C(XM))};
YM.\u0275cmp=r({type:YM,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[xd],decls:1,vars:1,consts:[["card","onedevHovercard"],[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],["class","name",4,"ngIf"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],
[1,"flex-kids-y","padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","target","_blank",3,"href",4,"ngIf"],[1,"name"]],template:function(a,b){a&1&&E(0,gIa,16,12,"ng-container",1);a&2&&F("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[zw,JL,OL,DA],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 ZM=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new X.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(we(function(d){return Wn(d)?c.trackerFridge.watch(d).pipe(gf(function(){return(0,X.of)(void 0)})):(0,X.of)(void 0)}));this.isCurrentTracker$=(0,X.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return Wn(d)?d===e:!Wn(e)}))};
ZM.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};Ac.Object.defineProperties(ZM.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return!Wn(this.trackerId$.value)}}});ZM.\u0275fac=function(a){return new (a||ZM)(C(hM),C(sK))};
ZM.\u0275cmp=r({type:ZM,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[xd],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(E(0,hIa,2,6,"b-tracker-chip",0),V(1,"async"));a&2&&F("ngIf",!1===W(1,1,b.isCurrentTracker$))},dependencies:[zw,YM,Iw],encapsulation:2,changeDetection:0});var $M=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new Uv;this.expandComponent=new Uv;this.goBack=new Uv};$M.prototype.ngOnInit=function(){};$M.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};$M.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};$M.\u0275fac=function(a){return new (a||$M)};
$M.\u0275cmp=r({type:$M,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:13,vars:10,consts:[["leafOnly",""],["noAccessComponent",""],[1,"container"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"content"],[1,"margin-s-right"],[4,"ngIf","ngIfElse"],["class","archived-indicator",4,"ngIf"],
[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["svgIcon","history"],["mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["mat-icon-button","",1,"expand-button",3,"mousedown","matTooltip"],[3,"svgIcon"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"subtle-link",3,"mousedown","innerHtml"],[1,"subtle-link",3,"mousedown"],[1,"archived-indicator"]],template:function(a,b){a&1&&(G(0,"div",2),L(1,3),E(2,iIa,2,0,
"ng-container",4)(3,jIa,3,0,"ng-container",4)(4,kIa,3,3,"ng-container",5),M(),G(5,"div",6)(6,"span",7),E(7,pIa,2,1,"ng-container",8)(8,rIa,1,1,"ng-template",null,0,Eg)(10,sIa,2,0,"span",9),I(),K(11,"b-component-access-level-indicator",10)(12,"b-tracker-chip-smart",11),I()());a&2&&(a=R(9),A(),F("ngSwitch",b.mode),A(),F("ngSwitchCase","recent"),A(),F("ngSwitchCase","tree"),A(4),F("ngIf","leaf"!==b.mode)("ngIfElse",a),A(3),F("ngIf",b.componentOption.archived),A(),F("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0),A(),F("trackerId",b.componentOption.trackerId)("showHovercard",!1))},dependencies:[Dw,zw,Ew,Fw,Gw,nB,CA,nE,OC,ZM,VM,XK,bL],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:4px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.content[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;margin-top:1px;line-height:20px}.mat-icon-button[_ngcontent-%COMP%]{width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:18px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:18px;width:18px;line-height:18px}.archived-indicator[_ngcontent-%COMP%]{margin-left:4px;color:#ea4335;color:var(--bad)}\n/*# sourceMappingURL=component_row.css.map */"]});var aN=function(a,b,c,d,e,f,h){var l=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new X.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(jf(250));this.state$=new X.BehaviorSubject("default");this.listUpdated$=new X.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new X.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new X.BehaviorSubject([]);this.showAllTeams$=new X.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(lf());this.teamOptions$=new X.BehaviorSubject([]);this.filteredTeamOptions$=(0,X.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(z(function(q){q=k(q);var t=q.next().value;return q.next().value?t:t.slice(0,5)}));this.hasHiddenTeams$=(0,X.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(z(function(q){var t=
k(q);q=t.next().value;t=t.next().value;return 5<q.length&&!t}));this.newChildTeams$=new X.BehaviorSubject([]);this.teamsDisplayed$=(0,X.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(z(function(q){return q?[q]:[]}))).pipe(z(function(q){return q.map(function(t){return t.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(z(function(q){return q.filter(function(t){return!l.childTeamsMap.has(t)})}),Ce(function(q){return 0<q.length}),wf(function(q){return l.teamsService.getChildTeams(q)}),
z(wIa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(z(function(q){return q.filter(function(t){return!l.componentCountMap.has(t)})}),Ce(function(q){return 0<q.length}),wf(function(q){return Mac(l.teamsService,q)}));this.componentIdSelected$=new X.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
aN.prototype.init=function(a){var b=this;a=void 0===a?!1:a;Ndc(this);(0,X.combineLatest)([this.debouncedSearchQuery$.pipe(uf(a?1:0)),this.state$]).pipe(xf(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);"default"===d?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):"global"===d?c?(b.includeTeamData()&&Odc(b,c),Pdc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
Pdc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&Qdc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(zf(this.state$),xf(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(xf(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(xf(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};aN.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};aN.prototype.includeTeamData=function(){return this.config.includeTeamData&&!cp(this.currentTracker)};
var Ndc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=Rdc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,lK(a.teamsService,"").pipe(xf(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(tIa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
aN.prototype.filterTrackerComponents=function(a){return!cp(this.currentTracker)||a.trackerId===this.getTrackerId()};aN.prototype.selectOption=function(a){"component"===a.type?JJa(this,a.id):"team"===a.type?QIa(this,a):console.warn("invalid option selected")};
var JJa=function(a,b){var c=Sdc(a);Wo(a.analytics,sq.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},Sdc=function(a){if("default"===a.state$.value)return"recent-component";if("global"===a.state$.value)return"global-search";if("component_scope"===a.state$.value)return"component-scope";if("team_scope"===a.state$.value){var b,c=null==(b=a.teamScope$.value)?void 0:b.id;return a.myTeams$.value.some(function(d){return d.id===c})?"my-team":"team-scope"}return""};
aN.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var wJa=function(a,b){a.componentActions.get(b).then(function(c){var d=ur(a.currentTracker,c.componentPathInfo);a.componentScope=vIa(c,d);a.state$.next("component_scope")})},vJa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},QIa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||bp(a,b.id)},bp=function(a,b){a.teamsLoading=!0;lK(a.teamsService,b).pipe(xf(a.destroyed$)).subscribe(function(c){c=
c.map(tIa);if(1===c.length){c=c[0];var d,e=c.id!==(null==(d=a.teamScope$.value)?void 0:d.id);a.teamScope$.next(c);a.teamsLoading=!1;e&&a.state$.next("team_scope")}},function(){a.teamsLoading=!1})},Tdc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;bp(a,b[b.length-2])}};aN.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
aN.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var lJa=function(a,b){b.expanded=!1;a.listUpdated$.next()},mJa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},pJa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},Odc=function(a,b){1<b.length&&(a.teamsLoading=!0,lK(a.teamsService,b).pipe(xf(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(tIa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},Pdc=function(a,b){if(1<b.length){a.componentsLoading=
!0;var c=a.requestIndex++;a.componentActions.search(b,a.includeArchived).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=Rdc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},Qdc=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=Rdc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},Rdc=
function(a,b){return b.map(function(c){var d=ur(a.currentTracker,c.componentPathInfo);return vIa(c,d)})};var Udc=0,bN=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+Udc;Udc+=1};bN.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};bN.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};bN.\u0275fac=function(a){return new (a||bN)(C(Pg),C(Wd))};
bN.\u0275dir=jd({type:bN,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Zf("id",b.id),Qf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var cN=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new Uv};cN.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};cN.prototype.ngOnInit=function(){};cN.\u0275fac=function(a){return new (a||cN)};
cN.\u0275cmp=r({type:cN,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[["lastSeg",""],["plainText",""],["normal",""],[1,"container"],["alt","Team logo",4,"ngIf"],[1,"content"],["class","name-row",4,"ngIf"],["class","path",4,"ngIf"],["alt","Team logo"],[1,"name-row"],[1,"team-name",3,"innerHtml"],["class","no-component-label",
4,"ngIf"],[1,"no-component-label"],[1,"path"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],[1,"subtle-link",3,"mousedown"],[1,"team-name"]],template:function(a,b){a&1&&(G(0,"div",3),E(1,xIa,1,1,"img",4),G(2,"div",5),E(3,zIa,4,5,"div",6)(4,HIa,2,1,"div",7),I()());a&2&&(Qf("no-component",b.hasNoComponent)("compact",b.compact),A(),F("ngIf",!b.compact),A(2),F("ngIf",!b.compact),A(),F("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[Dw,zw,XK],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 Vdc=new rd("GMAT_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Wdc=new rd("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new rd("mat-progress-bar-location",{providedIn:"root",factory:IIa});
var dN=function(a,b,c,d,e){var f=this;this._elementRef=a;this._ngZone=b;this._changeDetectorRef=c;this._animationMode=d;this._isNoopAnimation=!1;this._defaultColor="primary";this._bufferValue=this._value=0;this.animationEnd=new Uv;this._mode="determinate";this._transitionendHandler=function(h){0!==f.animationEnd.observers.length&&h.target&&h.target.classList.contains("mdc-linear-progress__primary-bar")&&("determinate"!==f.mode&&"buffer"!==f.mode||f._ngZone.run(function(){return f.animationEnd.next({value:f.value})}))};
this._isNoopAnimation="NoopAnimations"===d;e&&(e.color&&(this.color=this._defaultColor=e.color),this.mode=e.mode||this.mode)};g=dN.prototype;g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("transitionend",a._transitionendHandler)})};g.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)};
g._getPrimaryBarTransform=function(){return"scaleX("+(this._isIndeterminate()?1:this.value/100)+")"};g._getBufferBarFlexBasis=function(){return("buffer"===this.mode?this.bufferValue:100)+"%"};g._isIndeterminate=function(){return"indeterminate"===this.mode||"query"===this.mode};
Ac.Object.defineProperties(dN.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()}}});dN.\u0275fac=function(a){return new (a||dN)(C(Wd),C(He),C(Pg),C(sv,8),C(Wdc,8))};
dN.\u0275cmp=r({type:dN,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&&(Hf("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),Rf("mat-"+b.color),Qf("_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",Og],bufferValue:[2,"bufferValue","bufferValue",Og],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[Gf,yg],decls:7,vars:4,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&&(G(0,"div",0),K(1,"div",1)(2,"div",2),I(),G(3,"div",3),K(4,"span",4),I(),G(5,"div",5),K(6,"span",4),I());a&2&&(A(),Pf("flex-basis",b._getBufferBarFlexBasis()),A(2),Pf("transform",b._getPrimaryBarTransform()))},styles:["@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(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@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(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@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(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@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(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.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)}@media screen and (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)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.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__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s 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 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s 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 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.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}\n"],
encapsulation:2,changeDetection:0});var eN=function(){};eN.\u0275fac=function(a){return new (a||eN)};eN.\u0275mod=hd({type:eN});eN.\u0275inj=Rc({imports:[Zy]});var fN=function(a,b){var c=this;this.options=a;this.progressbar=b;this.destroyed=new X.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-bar-accessible-label");yGa(b._elementRef.nativeElement).pipe(xf(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};fN.prototype.ngOnInit=function(){this.initializeLabelSpan()};
fN.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};fN.prototype.initializeLabelSpan=function(){this.progressbar._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressbar._elementRef.nativeElement.getAttribute("aria-label");this.writeLabelSpan(null!=a?a:"","indeterminate"===this.progressbar.mode||"query"===this.progressbar.mode?"indeterminate":this.progressbar.value.toString())};
fN.prototype.writeLabelSpan=function(a,b){a="indeterminate"===b?a:a+" "+Qbc.format(Number(b)/100);this.labelElement.textContent=a};fN.\u0275fac=function(a){return new (a||fN)(C(Vdc),C(dN,10))};fN.\u0275dir=jd({type:fN,selectors:[["mat-progress-bar"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Hf("tabindex",null),Qf("gmat-mdc-progress-bar",!b.options.disableGmatStyle))}});var Xdc=["container"],Ydc=["inputBox"],Zdc=["dropdownTemplate"],$dc=["dropdown"],VIa=function(a){return{mode:"recent",$implicit:a}},fJa=function(a){return{mode:"default",$implicit:a}},$Ia=function(a){return[a]},ZIa=function(a,b){return{team:a,level:0,order:b}},tJa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},qJa=function(){return[0]},iJa=function(a){return[0,a]},zJa=function(a){return{mode:"leaf",$implicit:a}},EJa=function(a,b,c){return{team:a,level:b,order:c}},aec=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],gN=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=f;this.paths=h;this.analytics=l;this.activeSession=q;this.currentTracker=t;this.cdr=w;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new Uv;this.shouldFocus=!1;this.touched=
new Uv;this.selectedComponentChange=new Uv;this.dropdownClosed=new Uv;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new aN(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};Y(gN,Z);gN.\u0275dir=Z.\u0275dir;
gN.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(xf(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;bec(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,X.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(xf(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
gN.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var bec=function(a){if(a.selectedComponent){var b=ur(a.currentTracker,a.selectedComponent.componentPathInfo);b=vIa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},cec=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=gN.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(bec(this),this.checkAdminAccess&&this.selectedComponent&&dec(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=ey(fy(new jy(this.listOptions)));this.searchState.listUpdated$.pipe(xf(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(xf(this.destroyed$)).subscribe(function(b){var c=b.toArray();b=c.filter(function(e){return null==e.listOrder});c=c.filter(function(e){return null!=e.listOrder}).sort(TJa);b=[].concat(u(c),u(b));a.listOptions.reset(b);var d;if(null==(d=a.keyManager)?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
-1<d&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};g.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
g.close=function(a){a=void 0===a?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),"team_scope"===this.searchState.state$.value&&pJa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),Wo(this.analytics,sq.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var eec=function(a){var b,c,d;return null!=(d=null==(b=a.keyManager)?void 0:null==(c=b.activeItem)?void 0:c.id)?d:void 0};
gN.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),cec(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||cWb(d);cec(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),cec(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);cec(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?pJa(this.searchState):this.searchState.selectOption(this.keyManager.activeItem.data),a.preventDefault());break;case "ArrowRight":if(this.keyManager.activeItem){var c=this.keyManager.activeItem.data;"team"===c.type?(a.preventDefault(),mJa(this.searchState,c)):"component"===c.type&&(a.preventDefault(),this.searchState.expandComponent(c))}break;case "ArrowLeft":this.keyManager.activeItem&&"team"===this.keyManager.activeItem.data.type&&
(a.preventDefault(),this.searchState.teamScope$.value!==this.keyManager.activeItem.data||this.searchState.teamScope$.value.expanded?lJa(this.searchState,this.keyManager.activeItem.data):Tdc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),vJa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(pJa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var ap=function(a){a.preventDefault();a.stopPropagation()},dec=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;NG(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=gN.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Ly({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};g.attach=function(){var a=new ny(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
g.getPositionStrategy=function(){return Oy(tWb(Qy(Uy(this.overlay.position(),this.container),!1),!1),aec)};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))};Ac.Object.defineProperties(gN.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
gN.\u0275fac=function(a){return new (a||gN)(C(Vy),C(jg),C(QI),C(SM),C(jK),C(LG),C(RF),C(ZI),C(Zr),C(hM),C(Pg))};
gN.\u0275cmp=r({type:gN,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(lg(Xdc,7),lg(Ydc,7),lg(Zdc,7),lg($dc,5),lg(bN,5));if(a&2){var c;pg(c=qg())&&(b.container=c.first);pg(c=qg())&&(b.inputBox=c.first);pg(c=qg())&&(b.dropdownTemplateRef=c.first);pg(c=qg())&&(b.dropdown=c.first);pg(c=qg())&&(b.listOptions=c)}},inputs:{placeholder:"placeholder",isRequired:"isRequired",ariaLabel:"ariaLabel",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",shouldFocus:"shouldFocus",
includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},features:[Ff,xd],decls:13,vars:10,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["maybeShowNotAdmin",""],["dropdown",""],["emptyList",""],[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"],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],["class","bv2-picker-checking",4,"ngIf","ngIfElse"],[1,"bv2-picker-checking"],["class","bv2-picker-error",4,"ngIf"],[1,"bv2-picker-error"],
["target","_blank",3,"href"],[1,"dropdown",3,"mousedown"],[1,"progress-bar-container"],["mode","indeterminate",4,"ngIf"],[1,"dropdown-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mode","indeterminate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tree",4,"ngIf"],["role","tree"],[1,"section-header"],[4,"ngFor","ngForOf"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectTeamId","teamOption","query","hasNoComponent"],["tabindex","-1","class","unstyled expand-team-line-button",
3,"mousedown",4,"ngIf"],["tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],["class","team-scope-container",4,"ngIf"],[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"selectTeamId","teamOption","query","compact","allowSegmentSelection"],["tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"gmat-button","small","clear-filter",3,"mousedown"],["svgIcon","close"],["class","team-scope-child-teams",4,"ngIf"],
[1,"team-scope-child-teams"],["class","component-scope-container",4,"ngIf"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"goBack","selectComponentId","componentOption"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","listOrder","data"],[1,"team-row-container"],["class","arrow-button","mat-icon-button","","aria-label","Show child teams",3,"mousedown",4,"ngIf"],["mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],
["role","listbox",4,"ngIf","ngIfElse"],["role","listbox"],["role","option","listOption","","class","list-option",3,"data","mousedown",4,"ngFor","ngForOf"],["role","option","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectComponentId","expandComponent","showFolderSpecialIcon","componentOption","query","mode"],["class","empty-list muted",4,"ngIf"],[1,"empty-list","muted"],[4,"ngSwitchDefault"],["svgIcon","close",1,"icon-xs","valign-middle"],["href","http://go/buganizer:component-mapping#associate",
"target","_blank"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){if(a&1){var c=v();G(0,"div",8,0)(2,"input",9,1);V(4,"async");N("ngModelChange",function(d){x(c);return y(b.searchState.searchQuery$.next(d))})("keydown",function(d){x(c);return y(b.handleKeydown(d))})("click",function(){x(c);b.open();return y(b.touched.emit())})("focus",function(){x(c);return y(b.open())})("blur",function(){x(c);return y(b.close())});I();E(5,JIa,2,0,"button",10);I();E(6,NIa,4,2,"div",11)(7,BJa,11,8,"ng-template",
null,2,Eg)(9,HJa,5,11,"ng-template",null,3,Eg)(11,SJa,3,2,"ng-template",null,4,Eg)}a&2&&(a=R(3),A(2),F("ngModel",W(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired),Hf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",eec(b)),A(3),F("ngIf",a.value),A(),F("ngIf",b.checkAdminAccess))},dependencies:[Dw,zw,Hw,Ew,Fw,Gw,nB,bh,cx,ux,jx,CA,oE,nE,OC,fN,dN,cN,$M,bN,
Iw],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;min-width:380px;height:28px}.container[_ngcontent-%COMP%]:focus-within{border:2px solid;border-color:#1a73e8;border-color:var(--primary)}input[_ngcontent-%COMP%]{width:100%;border:0;outline:none;background-color:#fff;background-color:var(--input-field-bg);color:#202124;color:var(--text-high-contrast)}input[_ngcontent-%COMP%]:focus{border:0;outline:none}.dropdown[_ngcontent-%COMP%]{width:100%;max-height:500px;overflow:auto}.dropdown-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:5px 0 10px}.progress-bar-container[_ngcontent-%COMP%]{height:8px;border-radius:4px;overflow:hidden}mat-divider[_ngcontent-%COMP%]{width:100%;margin-top:16px;margin-bottom:16px}  .b-team-component-picker-dropdown{border-radius:4px;background-color:#fff;background-color:var(--surface-default)}.section-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:2px 14px}.section-header[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{margin-left:auto}.list-option[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px}.list-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.list-option.active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.team-row-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.team-row-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:4px}team-row[_ngcontent-%COMP%]{width:100%}.team-scope[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:2px 10px}.team-scope[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.team-scope.active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.team-scope.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-color:#1a73e8;border-color:var(--primary-c600)}.team-scope.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]     .mat-button-focus-overlay{background-color:#1a73e8;background-color:var(--primary-c600);opacity:.12}.team-scope-container[_ngcontent-%COMP%]{margin-bottom:10px}.expand-team-line-button[_ngcontent-%COMP%]{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-top:4px;margin-left:12px;color:#1a73e8;color:var(--link)}.expand-team-line-button[_ngcontent-%COMP%]   mat-icon.expanded[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.expand-team-line-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:6px}.mat-icon-button[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:16px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px;line-height:16px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]:not(.expanded){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.indent[_ngcontent-%COMP%]{margin-left:24px}.arrow-button[_ngcontent-%COMP%]{margin-right:4px}.team-scope-child-teams[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]{padding-left:14px}.component-scope-container[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{font-weight:700;padding:4px 16px;background-color:#f1f3f4;background-color:var(--c100)}.component-scope-container[_ngcontent-%COMP%] > component-row[_ngcontent-%COMP%]{display:block;margin-left:10px}.empty-list[_ngcontent-%COMP%]{padding:4px 18px}button.clear-filter[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}\n/*# sourceMappingURL=team_component_picker.css.map */"],
changeDetection:0});var hN=function(a){Z.call(this);this.dialogRef=a};Y(hN,Z);hN.\u0275dir=Z.\u0275dir;hN.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};hN.prototype.onCancel=function(){this.dialogRef.close()};hN.prototype.onSelect=function(a){this.selectedId=null==a?void 0:a.componentId};hN.\u0275fac=function(a){return new (a||hN)(C(NA))};
hN.\u0275cmp=r({type:hN,selectors:[["component_picker_dialog"]],features:[Ff],decls:9,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedComponentChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"gmat-button","medium",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"header",0),S(1," Choose a Component\n"),I(),G(2,"div",1)(3,"b-team-component-picker",2),N("selectedComponentChange",
function(c){return b.onSelect(c)}),I()(),G(4,"div",3)(5,"button",4),N("click",function(){return b.onCancel()}),S(6," Cancel "),I(),G(7,"button",5),N("click",function(){return b.onSave()}),S(8," Save "),I()());a&2&&(A(7),F("disabled",null==b.selectedId))},dependencies:[CA,SA,TA,UA,gN],styles:["[_nghost-%COMP%]     b-team-component-picker .pseudo-input{margin:1px}[_nghost-%COMP%]     b-team-component-picker .pseudo-input:focus-within{margin:0}\n/*# sourceMappingURL=component_picker_dialog.css.map */"]});
var iN=function(a){this.dialog=a};iN.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){b.dialog.open(hN,c).afterClosed().subscribe(function(e){null==a||a(e);d(e)})})};iN.\u0275fac=function(a){return new (a||iN)(p(QA))};iN.\u0275prov=Pc({token:iN,factory:iN.\u0275fac,providedIn:"root"});var jN=function(){};jN.prototype.transform=function(a){return dp(a)};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275pipe=kd({name:"appendDomain",type:jN,pure:!0});var fec={TYPE_UNSPECIFIED:"Unknown",TEXT:"Text",DATE:"Date",ENUM:"Enum",NUMERIC:"Numeric",REPEATED_TEXT:"Repeated Text",REPEATED_DATE:"Repeated Date",REPEATED_ENUM:"Repeated Enum",REPEATED_NUMERIC:"Repeated Numeric"},kN=function(){};kN.prototype.transform=function(a){return fec[a]};kN.\u0275fac=function(a){return new (a||kN)};kN.\u0275pipe=kd({name:"toCustomFieldTypeDisplayValue",type:kN,pure:!0});var UJa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],VJa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var lN=function(){};lN.prototype.transform=function(a,b){var c;a=null==(c=a.split("@"))?void 0:c[0];b&&a.length>b&&(b=(b-3)/2,a=a.substring(0,b)+"..."+a.substring(a.length-b));return a+"@"};lN.\u0275fac=function(a){return new (a||lN)};lN.\u0275pipe=kd({name:"shortenEmail",type:lN,pure:!0});var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=hd({type:mN});mN.\u0275inj=Rc({imports:[rE]});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=hd({type:nN});nN.\u0275inj=Rc({imports:[Qw,Yy]});var oN=function(){};oN.\u0275fac=function(a){return new (a||oN)};oN.\u0275mod=hd({type:oN});oN.\u0275inj=Rc({imports:[rE,mN,nN]});var pN=function(){};pN.\u0275fac=function(a){return new (a||pN)};pN.\u0275mod=hd({type:pN});pN.\u0275inj=Rc({imports:[rE,yM,cD]});var qN=function(){};qN.\u0275fac=function(a){return new (a||qN)};qN.\u0275mod=hd({type:qN});qN.\u0275inj=Rc({imports:[eN]});var rN=function(){};rN.\u0275fac=function(a){return new (a||rN)};rN.\u0275mod=hd({type:rN});rN.\u0275inj=Rc({imports:[rE,yx,cD,wE,vE,qN,VA,Yy,sy,pN,Vx,fL,oN]});var ZJa=0;var gec=gta("blinkers-activated"),hec=zj("blinkers-activated"),iec=zj("log-xhrs-to-console"),jec=gta("log-xhrs-to-console"),kec=$Ja("debug-dom-mutation","var(--c400)"),lec=$Ja("debug-ng-zone","var(--red-400)"),mec=$Ja("debug-xhr","var(--green-500)",1200),nec=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;ZJa++;var d=156;d+=12*(ZJa-1);return function(e,f){f=void 0===f?b:f;var h,l=null!=(h=document.getElementById(a))?h:XJa(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=
f;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),sN=function(a,b){var c=this;this.activityMonitor=a;this.userActivity=b;this.destroyed$=new X.Subject;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(d){"debug-xhr"===d.target.id&&(d=!iec(),jec(d),d?oec(c):clearInterval(c.loggingInterval))};this.printXhrLog=function(){var d=c.xhrLog.length;if(0<d){var e=Array(d).fill("\u2588").join("");
console.log(window.location.pathname.padEnd(20)+" XHRs: "+e+" "+(0<d?"("+d+")":""))}c.xhrLog=[]};this.isEnabled()&&pec(this)};sN.prototype.ngOnDestroy=function(){qec(this)};sN.prototype.isEnabled=function(){return hec()};sN.prototype.enable=function(){this.isEnabled()||(gec(!0),pec(this))};sN.prototype.disable=function(){gec(!1);qec(this)};
var pec=function(a){a.activityMonitor.dom$.pipe(xf(a.destroyed$)).subscribe(function(){return void kec()});V7b(a.activityMonitor);a.activityMonitor.cdr$.pipe(xf(a.destroyed$)).subscribe(function(){return void lec()});a.activityMonitor.xhr$.pipe(xf(a.destroyed$)).subscribe(function(){mec();var b=a.xhrLog,c=Date.now();b.push(c);c=void 0===c?Date.now():c;var d=void 0===d?5E3:d;for(var e=0;e<b.length&&!(c-b[e]<=d);e++);b.splice(0,e)});a.userActivity.active$.pipe(xf(a.destroyed$)).subscribe(function(b){return void nec(b)});
document.addEventListener("click",a.onAnyClick);iec()&&oec(a)},qec=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},oec=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};sN.\u0275fac=function(a){return new (a||sN)(p(tF),p(vF))};sN.\u0275prov=Pc({token:sN,factory:sN.\u0275fac,providedIn:"root"});var tN=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new X.Subject;this.email=this.activeSession.getUserEmail();this.user=bl(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(z(function(c){return c.results}));this.teams$.pipe(z(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(z(function(c){return c.flatMap(function(d){return d.pathIds})}),
z(function(c){return[].concat(u(new Set(c))).filter(Ei)}));Fk(this.allTeamIds$.pipe(xf(this.destroyed$)),[])};tN.prototype.ngOnDestroy=function(){this.destroyed$.next()};tN.\u0275fac=function(a){return new (a||tN)(p(nK),p(Zr))};tN.\u0275prov=Pc({token:tN,factory:tN.\u0275fac,providedIn:"root"});var uN=function(a){this.issueFridge=a;this.candidateIssues$=this.issueFridge.watchMany(lbc);this.suggestions$=this.candidateIssues$.pipe(z(mHa))};uN.\u0275fac=function(a){return new (a||uN)(p(iJ))};uN.\u0275prov=Pc({token:uN,factory:uN.\u0275fac,providedIn:"root"});var vN=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa,Hb){var od=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.componentPicker=l;this.userPreferencesManager=q;this.parentIssueSuggestions=t;this.formattedCommentsForIssueFridge=w;this.eventsForIssueFridge=B;this.savedSearchFridge=D;this.teamFridge=J;this.permissionsFridge=H;this.hotlistFridge=O;this.componentTemplatesFridge=
P;this.sloFridge=U;this.beapFridge=aa;this.componentFridge=ka;this.trackerFridge=Ya;this.issueFridge=ea;this.teamDigestFridge=na;this.hotlistAccessPolicyFridge=Da;this.changelistFridge=Ia;this.issueRelationshipsFridge=Xa;this.recentEventsForIssuesFridge=yb;this.componentAccessPolicyFridge=Rb;this.taskFridge=Sb;this.needsAttentionTaskFridge=Wa;this.myTasksFridge=Hb;this.fridges=[];this.getCurrentIssueId=function(){var db;return null==(db=od.routeParamsService.routeParams$.value)?void 0:db.issueId};
this.getCurrentIssue=function(){return bKa(od.issueFridge,od.getCurrentIssueId())};this.getCurrentIssueEvents=function(){return bKa(od.eventsForIssueFridge,od.getCurrentIssueId())};this.fridges=[w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa,Hb]};
vN.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug=Object.assign({},this,{ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:g6b,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:C5b("debug-logging"),toggleLeanFeMigrationDebugLogging:C5b("lean-fe-debug-logging"),toggleOptOutExperiments:C5b("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,parentIssueSuggestions:this.parentIssueSuggestions,
modals:{componentPicker:this.componentPicker},setFlagOverrideForOneDay:pta,clearFlagOverride:qta,clearAllFlagOverrides:mta,get initialSession(){return Jj()},get initialPrefs(){return Jj().userPreferences},get currentPrefs(){return AF(a.userPreferencesManager)},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return Object.fromEntries(Jj().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();a.fridges.forEach(function(b){var c=cKa(b);null!=c&&0!==c.length&&console.log(b.recordType,c)})},toggleVerboseFridge:function(){return U9b=!U9b},setTrackerOverride:function(b){aKa(String(b),1)},clearTrackerOverride:function(){aKa("")}})}};vN.\u0275fac=function(a){return new (a||vN)(p(Zr),p(gH),p(He),p(nH),p(sN),p(tN),p(tK),p(iN),p(zF),p(uN),p(HI),p(BI),p(WJ),p(oK),p(PJ),p(RI),p(uI),p(cK),p(HH),p(AI),p(ZH),p(EH),p(sK),p(iJ),p(nK),p(II),p(PH),p(BJ),p(RJ),p(UH),p(dK),p(OJ),p(NJ))};
vN.\u0275prov=Pc({token:vN,factory:vN.\u0275fac,providedIn:"root"});var wN=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new X.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");rec(b,b.localDarkmode);b.clientStreamzService&&yC(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")}};wN.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(xC)};var rec=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};wN.\u0275fac=function(a){return new (a||wN)(p(Ie))};wN.\u0275prov=Pc({token:wN,factory:wN.\u0275fac});var sec=Xt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),tec=Xt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),uec=Xt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),vec=Xt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),xN=function(a,b,c){var d=this;this.dialogRef=a;this.darkmodeService=b;this.data=c;this.contentLoaded=
!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(z(function(e){switch(d.data.type){case "HOMEPAGE":return e?Ah(sec):Ah(tec);default:return e?Ah(uec):Ah(vec)}}))};xN.\u0275fac=function(a){return new (a||xN)(C(NA),C(wN),C(PA))};
xN.\u0275cmp=r({type:xN,selectors:[["b-feedback-dialog"]],decls:9,vars:4,consts:[["mat-dialog-content",""],[4,"ngIf"],["diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"load","src"],["diameter","60"]],template:function(a,b){a&1&&(G(0,"div",0),E(1,dKa,2,3,"ng-container",1),V(2,"async"),E(3,eKa,1,0,
"mat-spinner",2),I(),G(4,"div",3)(5,"button",4),N("click",function(){return b.dialogRef.close(!1)}),S(6," Cancel "),I(),G(7,"button",5),N("click",function(){return b.dialogRef.close(!0)}),S(8," File a new issue "),I()());a&2&&(A(),F("ngIf",W(2,2,b.docUrl$)),A(2),F("ngIf",!b.contentLoaded))},dependencies:[zw,TA,UA,CA,FL,DL,Iw],styles:["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:0}.loading[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:space-between}.mat-dialog-content[_ngcontent-%COMP%]{display:flex;flex-grow:1;position:relative;justify-content:center;align-items:center}"],
changeDetection:0});var ep=function(a){this.internalArray_=m(a)};Y(ep,n);g=ep.prototype;g.getEnableSsEngine=function(){return Li(this,2)};g.getEnableAwr=function(){return Li(this,3)};g.getAlohaAutoGaRollout=function(){return Li(this,5)};g.getEnableConfigurator=function(){return Li(this,6)};g.getEnableMweb=function(){return Li(this,7)};g.getEnableCtlConsentCheckbox=function(){return Li(this,8)};g.getEnableIframe=function(){return Li(this,9)};
var wKa=function(){var a=new ep;a=Ul(a,5,!0);a=Ul(a,2,!0);a=Ul(a,4,!1);a=Ul(a,8,!0);return Ul(a,9,!0)};g=ep.prototype;g.getEnableScreenshotNudge=function(){return Li(this,10)};g.getEnableWebStartupConfigEndpoint=function(){return Li(this,11)};g.getEnableJunkNudge=function(){return Li(this,12)};g.getEnableConfiguratorLocale=function(){return Li(this,13)};g.getEnableTinyNoPointer=function(){return Li(this,14)};g.getEnableSupportSessionLogging=function(){return Li(this,15)};
g.getEnableFileUploadForScreenshot=function(){return Li(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Li(this,17)};g.getEnableImageSanitization=function(){return Li(this,18)};g.getEnableAlohaBinarySplit=function(){return Li(this,19)};g.getEnableDbFeedbackIntents=function(){return Li(this,20)};g.getEnableMarkMandatoryFieldsWithRequired=function(){return Li(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return Li(this,22)};
g.getEnableRealtimeCtl=function(){return Li(this,23)};var vKa=function(a){this.internalArray_=m(a)};Y(vKa,n);var fKa=[/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 iKa="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 jKa=Xt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),kKa=Xt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var mKa,oKa;var wec=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||da,e=d.document,f=a.nonce||aea(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){var h=Cp("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=1200>=l.length)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||Ba(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Mp(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);xc(a,zh(d));e.body.appendChild(a)}},xec=function(a,b,c,d){var e,f;me(function(h){e=c||da;var l="DEV"===a.serverEnvironment,q=c||da;q=a.nonce||aea(q);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:l,nonce:q,useNightlyRelease:l,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),l.extraData.productSpecificData=q);f=l;return oe(h,sKa(f,d,e),0)})},yec=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");$da(c||window,qc("https://support.google.com/"+d))}else"submit"===a.flow?wec(a,b,c):xKa(a.productId,a.feedbackServerUri).then(function(e){e=Gi(e,ep,1);var f=!pQb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?xec(a,b,c,e):wec(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&wec(a,b,c)})}catch(e){xec(a,b,c,null)}};SPb("userfeedback.api.startFeedback",yec);var zec={width:"500px",maxHeight:"80vh",autoFocus:!1},yN=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};yN.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?this.matDialog.open(xN,Object.assign({},zec,{height:"640px",data:{type:"DEFAULT"}})).afterClosed().subscribe(function(b){b&&Aec(a)}):Aec(this)};
var Bec=function(a){a.activeSession.isInternalSession()?a.matDialog.open(xN,Object.assign({},zec,{height:"400px",data:{type:"HOMEPAGE"}})).afterClosed().subscribe(function(b){b&&Aec(a)}):Aec(a)},Aec=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20240403.09_p0"};cp(a.currentTracker)?b.bucket="buganizer-trackers-feedback":b.bucket="buganizer3-feedback";for(var c=[],d=c.concat,e=u([]),f=[],h=k(a.activeSession.session.config.enabledFlags),l=
h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;(q=q.next().value)&&f.push(l)}c=d.call(c,e,u(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};cp(a.currentTracker)&&(c.trackerId=a.currentTracker.getTrackerId());yec(b,c)};yN.\u0275fac=function(a){return new (a||yN)(p(Zr),p(QA),p(hM))};yN.\u0275prov=Pc({token:yN,factory:yN.\u0275fac,providedIn:"root"});var zN=function(a){this.delegate_=a};zN.prototype.getDelegate=function(){return this.delegate_};var Cec=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};Y(Cec,zN);Cec.prototype.getTarget=function(){if(this.target_)return this.target_;for(var a=[],b=this.getDelegate().xb;b instanceof gbar.I&&b!=this.currentTarget_.getDelegate();)a.push(b.ic()),b=b.zb();for(b=this.currentTarget_;0<a.length;)b=Dec(b,a.pop());return this.target_=b};Cec.prototype.getType=function(){return this.getDelegate().xa};var Eec=function(a){this.delegate_=a};Y(Eec,zN);g=Eec.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||da,new Cec(f,e))},c)};g.listenOnce=function(){throw Error("ud");};g.unlisten=function(){throw Error("ud");};g.unlistenByKey=function(){throw Error("ud");};g.dispatchEvent=function(){throw Error("ud");};g.removeAllListeners=function(){throw Error("ud");};g.getParentEventTarget=function(){throw Error("ud");};
g.fireListeners=function(){throw Error("ud");};g.getListener=function(){throw Error("ud");};g.hasListener=function(){throw Error("ud");};Eec.prototype[S_b]=!0;var AN=function(a){this.delegate_=a};Y(AN,Eec);AN.prototype.getHeight=function(){return this.getDelegate().pa()};AN.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};AN.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};AN.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var Fec=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};Y(Fec,zN);Fec.prototype.then=function(a,b,c){var d;a&&(d=Gec(this,a));this.getDelegate().aa(d,b,c)};var Gec=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var BN=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};Y(BN,zN);BN.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new Fec(this.getDelegate().bh()));return this.gapiPromise_};BN.getInstance=function(){var a="instance_";BN.instance_&&BN.hasOwnProperty(a)?a=BN.instance_:(a=new BN,BN.instance_=a);return a};var CN=function(a,b){Z.call(this);this.router=a;this.window=b};Y(CN,Z);CN.\u0275dir=Z.\u0275dir;CN.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=BN.getInstance();d.barPromise_||(d.barPromise_=new Fec(d.getDelegate().bf(),AN));d.barPromise_.then(b,c)})).then(function(b){Hec(a,b)})};var Hec=function(a,b){a.router.events.pipe(Ce(hwa),xf(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};CN.\u0275fac=function(a){return new (a||CN)(p(mF),p(nH))};
CN.\u0275prov=Pc({token:CN,factory:CN.\u0275fac,providedIn:"root"});var DN=function(a,b,c){Z.call(this);var d=this;this.paramsService=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(lf(ki),wf(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=no(this.init)};Y(DN,Z);DN.\u0275dir=Z.\u0275dir;
DN.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return me(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return oe(e,Promise.all([b.issueFridge.poke(d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};DN.\u0275fac=function(a){return new (a||DN)(p(tK),p(iJ),p(BI))};DN.\u0275prov=Pc({token:DN,factory:DN.\u0275fac,providedIn:"root"});var EN=function(a){Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(xf(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};Y(EN,Z);EN.\u0275dir=Z.\u0275dir;EN.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)};EN.\u0275fac=function(a){return new (a||EN)(p(xF))};
EN.\u0275prov=Pc({token:EN,factory:EN.\u0275fac,providedIn:"root"});var FN=function(){};FN.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};FN.\u0275fac=function(a){return new (a||FN)};
FN.\u0275cmp=r({type:FN,selectors:[["empty-toolbar"]],decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(G(0,"section",0)(1,"button",1),N("click",function(){return b.onPressBack()}),K(2,"mat-icon",2),I()())},dependencies:[nB,CA,nE,OC],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var GN=function(){};GN.\u0275fac=function(a){return new (a||GN)};GN.\u0275cmp=r({type:GN,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(cg(),G(0,"span",0),dg(1),I())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var HN=function(a,b,c){Z.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};Y(HN,Z);Ac.Object.defineProperties(HN.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(xf(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});HN.\u0275fac=function(a){return new (a||HN)(C(ig),C(jg),C(Pg))};
HN.\u0275dir=jd({type:HN,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[Ff]});var IN=function(a,b,c){var d=this;this.cdr=a;this.events=b;this.ngZone=c;this.lastOpenPosition=this.width=220;this.hideToggleBtnOnOpen=this.disableToggleBtn=!1;this.direction="ltr";this.widthChanged=new Uv;this.widthAtDragStart=this.width;this.startDragging=function(e){d.dragStart=e;d.widthAtDragStart=d.width};this.minSnapWidth=185;this.onMousemove=function(e){d.isDragging&&(d.setWidth(d.widthAtDragStart+(e.pageX-(d.dragStart||0))*(d.isLTR?1:-1)),d.cdr.detectChanges())};this.onMouseup=function(){d.dragStart=
void 0;d.cdr.detectChanges()};this.broadcastWidthChange=NB(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=NB(function(){Kk(sq.SIDEBAR,"resizeKeyboard")},2E3)};IN.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
IN.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Iec=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};IN.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
IN.prototype.setWidth=function(a){var b=this.minSnapWidth;a=90>a?28:a<b?b:Math.min(a,700);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a)};
Ac.Object.defineProperties(IN.prototype,{minWidth:{configurable:!0,enumerable:!0,get:function(){return this.minSnapWidth},set:function(a){a=Number(a);Number.isNaN(a)?this.minSnapWidth=185:this.minSnapWidth=a}},size:{configurable:!0,enumerable:!0,get:function(){return this.width},set:function(a){var b=Number(a);"open"===a?b=this.lastOpenPosition:Number.isNaN(b)&&(b=220);this.setWidth(b)}},isLTR:{configurable:!0,enumerable:!0,get:function(){return"ltr"===this.direction}},isClosed:{configurable:!0,enumerable:!0,
get:function(){return this.width<this.minSnapWidth}},toggleButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this.isClosed?"Open Navigation":"Close Navigation"}},isDragging:{configurable:!0,enumerable:!0,get:function(){return null!=this.dragStart}}});IN.\u0275fac=function(a){return new (a||IN)(C(ME,2),C(gH),C(He))};
IN.\u0275cmp=r({type:IN,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&Rf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[wg([ME])],ngContentSelectors:["*"],decls:5,vars:12,consts:[["cdkScrollable","",1,"inner",3,"ngClass"],[1,"content"],["tabindex","0","role","slider","aria-label","Resize side navigation bar","aria-orientation",
"horizontal",1,"resizeHandle",3,"mousedown","keyup.arrowleft","keyup.arrowright","keyup.space","keyup.enter","dblclick"],["mat-icon-button","","class","toggleButton xs","matTooltipPosition","right",3,"ngClass","isClosed","matTooltip","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"click","ngClass","matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&(cg(),G(0,"div",0)(1,"div",1),dg(2),I(),G(3,"div",2),N("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return Iec(b,-10)})("keyup.arrowright",function(){return Iec(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),I()(),E(4,yKa,2,6,"button",3));a&2&&(Pf("width",b.width+"px"),Qf("isDragging",b.isDragging)("isClosed",b.isClosed),F("ngClass",b.direction),A(),Pf("width",b.lastOpenPosition+"px"),A(2),Hf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),A(),F("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[Cw,zw,nB,CA,nE,OC,Ey],styles:['[_nghost-%COMP%]{position:relative}.inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;transition:width .2s cubic-bezier(0.165, 0.84, 0.44, 1);display:flex;flex-direction:column}.inner.ltr[_ngcontent-%COMP%]{border-right:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.rtl[_ngcontent-%COMP%]{border-left:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.isDragging[_ngcontent-%COMP%]{transition:none}.content[_ngcontent-%COMP%]{position:relative;flex:1;opacity:1;transition:opacity .1s ease-in-out;transition-delay:.1s}.isClosed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:none;opacity:0;transition-delay:0s}.isDragging[_ngcontent-%COMP%]{user-select:none}.resizeHandle[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize}.ltr[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{right:0}.rtl[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{left:0}.toggleButton[_ngcontent-%COMP%]{position:absolute;bottom:0;top:0;margin:auto}.toggleButton.ltr[_ngcontent-%COMP%]{right:2px}.toggleButton.rtl[_ngcontent-%COMP%]{left:2px}.toggleButton.isClosed[_ngcontent-%COMP%]{z-index:2}.toggleButton.isClosed.ltr[_ngcontent-%COMP%]{right:6px}.toggleButton.isClosed.rtl[_ngcontent-%COMP%]{left:6px}.toggleButton[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.toggleButton.isClosed[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotateZ(180deg)}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isDragging[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%;background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var Jec=new rd("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),Kec=new rd("isScrolledOnScreen",{factory:function(){return{fully:zKa,partially:AKa}}}),JN=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};JN.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?BKa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):CKa(a,this.isScrolledOnScreen,b)};
JN.\u0275fac=function(a){return new (a||JN)(p(Jec),p(Kec))};JN.\u0275prov=Pc({token:JN,factory:JN.\u0275fac,providedIn:"root"});var KN=function(a){this.internalArray_=m(a,0,KN.messageId)};Y(KN,n);KN.prototype.getUrl=function(){return ec(this,1)};KN.prototype.setUrl=function(a){return Zh(this,1,a)};KN.prototype.hasUrl=function(){return Ni(this,1)};KN.messageId="b.ImageRedirectRequest";var LN=function(a){this.internalArray_=m(a,0,LN.messageId)};Y(LN,n);LN.prototype.getUrl=function(){return ec(this,1)};LN.prototype.setUrl=function(a){return Zh(this,1,a)};LN.prototype.hasUrl=function(){return Ni(this,1)};LN.messageId="b.ImageRedirectResponse";var MN=function(a){this.executor=a},Lec=function(a,b){var c=new KN;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:LN}).pipe(z(function(d){return d.getUrl()}))};MN.\u0275fac=function(a){return new (a||MN)(p(HE))};MN.\u0275prov=Pc({token:MN,factory:MN.\u0275fac,providedIn:"root"});var DKa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),GKa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var NN=function(a){var b=this;this.imageRedirector=a;this.src$=new X.BehaviorSubject("");this.showImage$=new X.BehaviorSubject(!1);this.error$=new X.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(z(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(u(d));if(c.length<=e)e=d;else{var f=Math.floor(e/2);d=c.slice(0,f-1).join("");e=c.slice(-(f-(0!==e%2?1:2))).join("");null!=String.prototype.trimEnd&&null!=String.prototype.trimStart&&(d=d.trimEnd(),e=e.trimStart());e=d+"..."+
e}return e}));this.srcRedirected$=(0,X.combineLatest)([this.src$,this.showImage$]).pipe(Ce(function(c){c=k(c);c.next();return c.next().value}),wf(function(c){var d=k(c).next().value;return(c=IKa(d))?(0,X.of)(c):Lec(b.imageRedirector,d).pipe(gf(function(){b.error$.next(!0);return d}))}))};NN.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
Ac.Object.defineProperties(NN.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}}});NN.\u0275fac=function(a){return new (a||NN)(C(MN))};
NN.\u0275cmp=r({type:NN,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[["widget",""],["error",""],[4,"ngIf","ngIfElse"],[3,"src"],["tabindex","0",1,"normal-link",3,"click","keydown.enter","href","title"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(E(0,MKa,3,4,"ng-container",2),V(1,"async"),E(2,NKa,8,9,"ng-template",null,0,Eg)(4,OKa,2,4,"ng-template",null,1,
Eg));a&2&&(a=R(5),F("ngIf",!1===W(1,2,b.error$))("ngIfElse",a))},dependencies:[zw,nB,nE,OC,GN,Iw],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 ON=function(){};ON.prototype.onClick=function(a,b){Mec(b)&&a.preventDefault()};var Mec=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};ON.\u0275fac=function(a){return new (a||ON)};ON.\u0275dir=jd({type:ON,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&N("click",function(c){return b.onClick(c,c.target)})}});var Nec={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},PN=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=Nec;this.src$=new X.BehaviorSubject("");this.isMarkdownImage$=new X.BehaviorSubject(!1);this.displayMode$=(0,X.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&
hE(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!f&&e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),vf("HIDE"))};Ac.Object.defineProperties(PN.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}}});PN.\u0275fac=function(a){return new (a||PN)(C(Zr),C(zF))};
PN.\u0275cmp=r({type:PN,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},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&&(E(0,RKa,3,3),V(1,"async"));if(a&2){var c;Uf((c=W(1,1,b.src$))?0:-1,c)}},dependencies:[NN,Iw],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=snipit_image.css.map */"],
changeDetection:0});[].concat(u(fdc),[IN,GN]);var QN=function(){};QN.\u0275fac=function(a){return new (a||QN)};QN.\u0275mod=hd({type:QN});QN.\u0275inj=Rc({imports:[rE,cD,vE,Iy,FM]});var SN=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya){Z.call(this);var ea=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=f;this.userPrefs=h;this.issuePagination=l;this.userFeedback=B;this.ngZone=D;this.matDialogService=J;this.renderer=P;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Aa.install();Ya.install();
D$b(w);this.subscriptions.add(t.onClickAppMenuIcon.subscribe(function(){ea.matSidebarWidth=185>ea.matSidebarWidth?"open":0}));this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(xf(this.destroyed$)).subscribe(function(Wa){Wa=XKa(Wa.density);Wa!==ea.densityClass&&(ea.renderer.addClass(document.body,Wa),ea.renderer.removeClass(document.body,ea.densityClass),ea.densityClass=Wa)});this.subscriptions.add(Xcc(q,function(Wa){ea.doSearch(Wa)}));
b=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var Wa=document.querySelector(".search-box-container .search-box");null==Wa||Wa.focus();null==Wa||Wa.select()}},{keys:[Tj("2"),gua()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){ea.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.setUrl(na)}}];this.activeSession.isInternalSession()&&b.push({keys:[Uj("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",
onPress:function(){a.setUrl("/")}},{keys:[Uj("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){a.setUrl(f.home())}},{keys:[Uj("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.setUrl(f.needsAttention())}});var na=f.createIssue(),Da=f.listIssues({q:lM(d.getUserEmail())}),Ia=f.listIssues({q:"cc:"+d.getUserEmail()}),Xa=f.listIssues({q:Tcc(d.getUserEmail())}),yb=f.listIssues({q:"reporter:"+d.getUserEmail()}),Rb=f.listIssues({q:q.getStarred()}),
Sb=f.listIssues({q:"vote:true"});b.push({keys:[Uj("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){a.setUrl(Da)}},{keys:[Uj("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.setUrl(Ia)}},{keys:[Uj("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.setUrl(yb)}},{keys:[Uj("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.setUrl(Rb)}},{keys:[Uj("g","1")],
displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.setUrl(Sb)}},{keys:[Uj("g","v")],displayAs:"g then v",description:'Go to "To be verified"',onPress:function(){a.setUrl(Xa)}},{keys:[],displayAs:"Ctrl+Enter",description:"Submit entered text (while focused)",onPress:function(){}},{keys:[],displayAs:"Alt+Right",description:"Opens hovercard (if available)",onPress:function(){}},{keys:["<",">"],displayAs:"< / >",description:"Collapse/expand sidebar",onPress:function(Wa){if(0===
Wa&&20<ea.sidebarDragPosition||1===Wa&&!(20<ea.sidebarDragPosition))20<ea.sidebarDragPosition?RN(ea,20,1):RN(ea,ea.lastOpenPosition,1);ea.matSidebarWidth=0===Wa?0:"open"}},{keys:["?",fua("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){ea.matDialogService.open(LF,{minWidth:512})}});this.subscriptions.add(IF(this.hotkeys,{title:"General",hotkeys:b}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();
this.userPrefs.preferences$.pipe(mf(),xf(this.destroyed$)).subscribe(function(Wa){ea.dismissedMessageId=Wa.bannerMessageId||"";Wa=(Wa.layoutPreferences||{}).leftSidebarWidth;ea.matSidebarWidth=Wa||220;if(void 0===Wa)ea.sidebarDragPosition=220;else if(90>Wa)ea.sidebarDragPosition=20;else{if(220<Wa){var Hb=Oec();Wa>Hb&&(Wa=Hb)}185>Wa&&(Wa=185);ea.sidebarDragPosition=Wa}});(0,X.fromEvent)(document,"mouseup",{capture:!0}).pipe(xf(this.destroyed$)).subscribe(function(){ea.sidebarDragOffset&&(ea.sidebarDragOffset=
null,RN(ea,ea.sidebarDragPosition,1))});(0,X.fromEvent)(H,"resize").pipe(xf(this.destroyed$)).subscribe(function(){if(220<ea.sidebarDragPosition){var Wa=Oec();ea.sidebarDragPosition>Wa&&RN(ea,Wa,3E3)}});this.ngZone.runOutsideAngular(function(){(0,X.fromEvent)(document,"mousemove").pipe(xf(ea.destroyed$)).subscribe(function(Wa){if(ea.sidebarDragOffset){Wa=Wa.pageX-ea.sidebarDragOffset;if(90>Wa)Wa=20;else if(185>Wa)Wa=185;else{var Hb=Oec();Wa>Hb&&(Wa=Hb)}RN(ea,Wa,0)}})});U.start();Ik()&&(null!=u8b&&
u8b.disconnect(),u8b=new Jk.PerformanceObserver(Ewa),u8b.observe({entryTypes:["measure"]}));setTimeout(Jwa,6E4);aa.start();pa.initOnce();ka.initOnce();H.emergencyBugjugglerWorkaround={session:d,issueComments:O}};Y(SN,Z);SN.\u0275dir=Z.\u0275dir;SN.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};SN.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var Oec=function(){var a=window.innerWidth;return 1075<=a?a-855:220},VKa=function(a,b){a.userPrefs.layoutPreferences$.pipe(wf(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(mf(),xf(a.destroyed$)).subscribe()},RN=function(a,b,c){if(b!==a.sidebarDragPosition||c)185<=b&&(a.lastOpenPosition=b),a.sidebarDragPosition=b,c&&(a.sidebarDragSaver&&a.timeout.cancel(a.sidebarDragSaver),a.sidebarDragSaver=a.timeout.schedule(function(){VKa(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};SN.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=G8b(this.paths,a);pH(this.issuePagination);b&&Zkb(this.reloadService);this.bLocation.setUrl(a)};var SKa=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(mf(),xf(a.destroyed$)).subscribe())};SN.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
SN.\u0275fac=function(a){return new (a||SN)(C(QF),C(lL),C(FE),C(Zr),C(HF),C(RF),C(zF),C(oH),C(jM),C(gH),C(YI),C(yN),C(He),C(QA),C(nH),C(HK),C(tv),C(CN),C(EN),C(wK),C(DN),C(vN),C(vF))};
SN.\u0275cmp=r({type:SN,selectors:[["app-root"]],features:[Ff],decls:10,vars:2,consts:[["class","bv2-announce-bar",4,"ngIf"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged",4,"ngIf"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],[1,"bv2-announce-bar"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["class","announce-dismiss","role","button","tabindex","0",3,"keydown.enter","keydown.space",
"click",4,"ngIf"],["role","button","tabindex","0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"widthChanged","size","disableToggleBtn"]],template:function(a,b){a&1&&(K(0,"b-hiring-banner")(1,"b-terms-of-service"),E(2,UKa,4,2,"div",0),K(3,"b-sso-expired-callout-outlet"),G(4,"div",1),E(5,WKa,2,2,"b-resizable-sidebar",2),G(6,"div",3),K(7,"router-outlet"),I()(),K(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){A(2);var c;a=b.announcement;a=void 0===a?b.announcement:
a;if(null!=(c=a)&&c.message){var d;c=0<(null==(d=a.tags)?void 0:d.length)||!hE(b.activeSession,"canSeeAnnouncementBanner")?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;F("ngIf",c);A(3);F("ngIf",!b.isAnonymous)}},dependencies:function(){return[zw,YE,IN,pM,NM,NE,KK,RK,DE]},encapsulation:2});var TN=function(){};TN.\u0275fac=function(a){return new (a||TN)};TN.\u0275mod=hd({type:TN});TN.\u0275inj=Rc({imports:[rE,sF,QN,IM,RM,OE,QK,SK,NK,cD,MF]});var UN=function(a){this.internalArray_=m(a,0,UN.messageId)};Y(UN,n);UN.prototype.getUrl=function(){return ec(this,1)};UN.prototype.setUrl=function(a){return Zh(this,1,a)};UN.prototype.hasUrl=function(){return Ni(this,1)};UN.messageId="b.AttachmentUrlResponse";var VN=function(a){this.executor=a};VN.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject("Invalid resource ID.");var e={};d&&(e["X-Restricted-Content-Limit"]=String(WEa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:UN}).then(function(f){return f.getUrl()})};VN.\u0275fac=function(a){return new (a||VN)(p(IE))};VN.\u0275prov=Pc({token:VN,factory:VN.\u0275fac,providedIn:"root"});var WN=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};WN.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};WN.\u0275fac=function(a){return new (a||WN)(C(Zr),C(ig),C(jg))};WN.\u0275dir=jd({type:WN,selectors:[["","internalOnly",""]]});var XN=function(a){this.window=a};XN.prototype.openInNewTab=function(a){a=qc(a);$da(this.window,a,"_blank")};var iq=function(a,b){b=qc(b);$da(a.window,b)},YN=function(a,b){a=a.window.location;b=qc(b);b=sc(b);void 0!==b&&(a.href=b)};XN.\u0275fac=function(a){return new (a||XN)(p(nH))};XN.\u0275prov=Pc({token:XN,factory:XN.\u0275fac,providedIn:"root"});var ZN=function(a,b,c,d,e,f,h,l){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;this.documentationLinks=h;this.changeDetectorRef=l;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};ZN.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
ZN.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;ZKa(this)?(this.hasViewAccess=!1,NG(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)};ZN.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var ZKa=function(a){return(a=a.getRestrictionSeverity())?"NONE_DETECTED"!==a:!1},Pec=function(a){var b=a.download&&dsa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?YN(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};ZN.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
ZN.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};ZN.\u0275fac=function(a){return new (a||ZN)(C(PA),C(NA),C(LG),C(VN),C(pI),C(XN),C(TM),C(ME,2))};
ZN.\u0275cmp=r({type:ZN,selectors:[["b-attachment-download-dialog"]],features:[wg([ME])],decls:20,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"gmat-body-2"],[1,"gmat-body-1"],[1,"download-attachment-icon"],["svgIcon","file-present","size","icon-l"],[1,"download-attachment-filename"],[4,"internalOnly"],["class","gmat-body-2",4,"ngIf"],["class","centered-spinner","diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button",
"",1,"gmat-button","dialog-primary-action",3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"],["diameter","60",1,"centered-spinner"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Access Attachment"),I(),G(2,"div",1)(3,"div",2),S(4," Are you sure you would like to access the following attachment? "),I(),K(5,"br"),G(6,"div",3)(7,"div",4),K(8,"mat-icon",5),I(),G(9,"div",6),S(10),I()(),K(11,"br"),E(12,$Ka,2,1,"ng-container",
7)(13,aLa,3,0,"div",8),I(),E(14,bLa,1,0,"mat-spinner",9),G(15,"div",10)(16,"button",11),N("click",function(){return b.close()}),S(17," Cancel "),I(),G(18,"button",12),N("click",function(){return Pec(b)}),S(19," Continue "),I()());a&2&&(A(10),T(" ",b.attachment.filename," "),A(3),F("ngIf",!b.isLoading&&!b.hasViewAccess),A(),F("ngIf",b.isLoading),A(4),F("disabled",!b.hasViewAccess))},dependencies:[zw,nB,SA,TA,UA,CA,FL,DL,WN],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 $N=function(){};$N.\u0275fac=function(a){return new (a||$N)};$N.\u0275mod=hd({type:$N});$N.\u0275inj=Rc({imports:[rE]});var Qec=Object.assign({},new OZb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),aO=function(){};aO.\u0275fac=function(a){return new (a||aO)};aO.\u0275mod=hd({type:aO});aO.\u0275inj=Rc({providers:[{provide:PZb,useValue:Qec}],imports:[VA,VA]});var bO=function(){};bO.\u0275fac=function(a){return new (a||bO)};bO.\u0275mod=hd({type:bO});bO.\u0275inj=Rc({imports:[rE,aO,cD,VA,vM,MK,sE,$N]});var cO=function(a){this.internalArray_=m(a,0,cO.messageId)};Y(cO,n);cO.repeatedFields_=[1];cO.messageId="b.TimeZoneDataList";var dO=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new Cac(function(d){a:{var e=k(c.activeSession.session.preload.timezones);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d===f.timeZoneId_){e=f;break a}e=void 0}return e?(0,X.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:Gj}).pipe(z(Nra))},10)};dO.prototype.get=function(a){return this.memoized.get(a)};
var Rec=function(a){return a.executor.get({url:"action/timezone",responseConstructor:cO}).pipe(z(function(b){return null==b?void 0:Ii(b,Gj,1,hi()).map(function(c){c=Nra(c);var d=yXb(AXb(c,new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};dO.\u0275fac=function(a){return new (a||dO)(p(HE),p(Zr))};dO.\u0275prov=Pc({token:dO,factory:dO.\u0275fac,providedIn:"root"});var eO=function(a,b,c,d){Z.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new X.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=eE.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(""===f.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(xf(e.destroyed$));return(0,X.firstValueFrom)(h).then(function(l){return{name:f.name,timeZone:l}})})).then(function(f){f=k(f);for(var h=f.next();!h.done;h=
f.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(xf(e.destroyed$)).subscribe(function(l){l.dateTimePreferences&&(l=l.dateTimePreferences,e.userPrefs=l,e.userTimeZone=e.timeZones[l.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};Y(eO,Z);eO.\u0275dir=Z.\u0275dir;eO.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new Iz(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var Sec=function(a,b){return a.formatPrefChange$.subscribe(b)};eO.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};eO.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};eO.\u0275fac=function(a){return new (a||eO)(p(zF),p(dO),p(kE),p(qI))};eO.\u0275prov=Pc({token:eO,factory:eO.\u0275fac,providedIn:"root"});var Tec=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"},Uec=Tec;Uec=Tec;var Vec=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",f=e.indexOf(".");b=d.call(b,-1===f?0:e.length-f-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},Wec=Vec;Wec=Vec;var fO=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=zL;var b=yL;if(Xec!==a||Yec!==b)Xec=a,Yec=b,Zec=new AL(1);this.numberFormatter_=Zec},Xec=null,Yec=null,Zec=null,$ec=RegExp("'([{}#].*?)'","g"),afc=RegExp("''","g");fO.prototype.format=function(a){return this.format_(a,!1)};
fO.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=bfc(this,this.pattern_);this.parsedPattern_=cfc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ya(this.initialLiterals_);c=[];dfc(this,this.parsedPattern_,a,b,c);for(a=c.join("");0<this.literals_.length;)a=a.replace(this.buildPlaceholder_(this.literals_),String(this.literals_.pop()).replace("$","$$$$"));return a};
var dfc=function(a,b,c,d,e){for(var f=0;f<b.length;f++)switch(b[f].type){case 4:e.push(b[f].value);break;case 3:var h=b[f].value,l=a,q=e,t=c[h];void 0===t?q.push("Undefined parameter - "+h):(l.literals_.push(t),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[f].value;l=a;q=c;t=d;var w=e,B=h.argumentIndex;void 0===q[B]?w.push("Undefined parameter - "+B):(B=h[q[B]],void 0===B&&(B=h.other),dfc(l,B,q,t,w));break;case 0:h=b[f].value;efc(a,h,c,Wec,d,e);break;case 1:h=b[f].value,efc(a,h,c,Uec,
d,e)}},efc=function(a,b,c,d,e,f){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(l=q-l,h=b[c[h]],void 0===h&&(d=d(Math.abs(l)),h=b[d],void 0===h&&(h=b.other)),b=[],dfc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(l),f.push(c.replace(/#/g,a))))},bfc=function(a,b){var c=a.initialLiterals_,d=fu(a.buildPlaceholder_,a);b=b.replace(afc,function(){c.push("'");return d(c)});return b=b.replace($ec,function(e,f){c.push(f);return d(c)})},
ffc=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var f;f=e.exec(a);){var h=f.index;"}"==f[0]?(c.pop(),0==c.length&&(f={type:1},f.value=a.substring(b,h),d.push(f),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d},gfc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,hfc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,ifc=/^\s*(\w+)\s*,\s*select\s*,/,cfc=function(a,b){var c=[];b=ffc(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(gfc.test(f)?0:hfc.test(f)?1:ifc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=jfc(a,b[d].value);break;case 0:e.type=0;e.value=kfc(a,b[d].value);break;case 1:e.type=1;e.value=lfc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},jfc=function(a,b){var c="";b=b.replace(ifc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=ffc(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=cfc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},kfc=function(a,b){var c="",d=0;b=b.replace(gfc,function(q,t,w){c=t;w&&(d=parseInt(w,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=ffc(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var l;1==b[f].type&&(l=cfc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;f++}return e},lfc=function(a,b){var c="";b=b.replace(hfc,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=ffc(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=cfc(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};fO.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var nfc=function(a){a=Math.abs(a);if(6E4>a)return"0 minutes";var b=Math.floor(a/864E5);a%=864E5;var c=Math.floor(a/36E5),d=Math.floor(a%36E5/6E4),e=EXb(b),f=EXb(c),h=EXb(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=mfc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=mfc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=mfc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},mfc=function(a,b,c){return(new fO(a)).format({COUNT:b,TEXT:c})};var gO=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new $F(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(z(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(z(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(wf(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,X.of)(void 0)}))};
gO.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new Iz(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};gO.prototype.formatUserCalendar=function(a){var b=this;return(0,X.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
gO.prototype.formatUserTime=function(a){var b=this;return(0,X.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var hO=function(a,b){return(0,X.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},ofc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(z(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,X.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},fgb=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new pi;c&&d.setTime(c);c=new pi;c.setTime(a);
if(c.getTime()<d.getTime())return"Expired";a=12*(c.getFullYear()-d.getFullYear())+(c.getMonth()-d.getMonth());var e=c.getDate()-d.getDate();0>e&&(a--,d=d.clone(),d.add(new Hz("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new Hz(Math.floor(a/12),a%12,e);if(1<=d.years)return c=1<d.years?"s":"",0===d.months&&0===d.days?b?d.years+" year"+c:d.years+"Y":b?d.years+" year"+c+" +":d.years+"Y+";if(1<=d.months)return c=1<d.months?"s":"",0===d.days?b?d.months+" month"+c:d.months+"M":b?d.months+" month"+
c+" +":d.months+"M+";c=1<d.days?"s":"";return b?d.days+" day"+c:d.days+"D"};gO.\u0275fac=function(a){return new (a||gO)(p(zF),p(dO))};gO.\u0275prov=Pc({token:gO,factory:gO.\u0275fac,providedIn:"root"});var pfc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],qfc=Symbol("vd"),rfc=Symbol("vd"),iO=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new X.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(z(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(z(function(c){if(void 0!==c)return new Date(c)}));this[qfc]=this.timestampDate$.pipe(wf(function(c){if(void 0===c)return(0,X.of)("");
var d=c.getTime()/1E3;switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return hO(b.dateFormatter,c);case "relativepast":return c=WJa(d),(0,X.of)(c);case "relativepastshort":var e;return(0,X.of)(null!=(e=WJa(d,!0))?e:"");default:return vc(b.mode)}}));this[rfc]=this.timestampDate$.pipe(wf(function(c){return void 0===c?(0,X.of)(""):(0,X.combineLatest)(pfc.map(function(d){return ofc(b.dateFormatter,c,d.id).pipe(z(function(e){return{formatted:e,
tzName:d.name}}))})).pipe(sfc)}));this.vars$=(0,X.combineLatest)([this[qfc],this[rfc]]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};iO.prototype.ngOnInit=function(){};
Ac.Object.defineProperties(iO.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=null!=a?"number"===typeof a?a:"string"===typeof a?Date.parse(a):1E3*a.seconds:void 0;a=null==a||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});iO.\u0275fac=function(a){return new (a||iO)(C(gO))};
iO.\u0275cmp=r({type:iO,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"]],template:function(a,b){a&1&&(E(0,cLa,4,8,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.vars$))},dependencies:[zw,Iw],encapsulation:2,changeDetection:0});
var sfc=(0,X.pipe)(z(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var tfc=function(a,b,c,d){Ex.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new X.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};Dx(this)};Y(tfc,Ex);var jO=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};jO.prototype.create=function(a){return new tfc(a,this.checker,this.ngZone,this.document)};jO.\u0275fac=function(a){return new (a||jO)(p(Bx),p(He),p(qh))};
jO.\u0275prov=Pc({token:jO,factory:jO.\u0275fac,providedIn:"root"});var ufc=["content"],kO=function(a){Z.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new Uv;this.cancelClicked=new Uv;this.saveClicked=new Uv;this.dateSelectionChange=new Uv;this.focusEscaped=new Uv};Y(kO,Z);kO.\u0275dir=Z.\u0275dir;
kO.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){dLa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(xf(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||MVb(c)}else{var d;null==(d=a.focusEscapeNotifier)||Cx(d)}else a.focusEscaped.emit(b)})};
var dLa=function(a,b){if(b=b instanceof Mn?b:rBa(b))a.calendar.activeDate=b};kO.\u0275fac=function(a){return new (a||kO)(C(jO))};
kO.\u0275cmp=r({type:kO,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(lg(Fz,7),lg(ufc,7));if(a&2){var c;pg(c=qg())&&(b.calendar=c.first);pg(c=qg())&&(b.content=c.first)}},inputs:{required:"required",date:"date",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel"},outputs:{dateChange:"dateChange",cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},
features:[Ff],ngContentSelectors:["*"],decls:14,vars:9,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selectedChange","selected","startAt"],[1,"actions"],["class","b-optional-calendar-button-row",4,"ngIf"],[1,"b-calendar-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click"],["class","today","mat-button","",3,"click",4,"ngIf"],["class","none","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"today",3,"click"],["mat-button","",1,"none",3,"click"]],
template:function(a,b){if(a&1){var c=v();cg();G(0,"div",null,0)(2,"div",1);dg(3);I();G(4,"mat-calendar",2);V(5,"toDateTime");V(6,"toDateTime");N("selectedChange",function(d){x(c);b.date=d;b.dateSelectionChange.emit(d);return y()});I();G(7,"div",3);E(8,gLa,4,2,"div",4);G(9,"div",5)(10,"button",6);N("click",function(){x(c);return y(b.cancelClicked.emit())});S(11,"Cancel");I();G(12,"button",7);N("click",function(){x(c);b.dateChange.emit(b.date);return y(b.saveClicked.emit())});S(13,"Save");I()()()()}a&
2&&(Qf("container",b.renderPanel),A(4),F("selected",W(5,5,b.date))("startAt",W(6,7,b.date)),A(4),F("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[zw,CA,Fz,oE,lO]},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}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var lO=function(){};lO.prototype.transform=function(a){var b;return null!=(b=rBa(a))?b:void 0};lO.\u0275fac=function(a){return new (a||lO)};lO.\u0275pipe=kd({name:"toDateTime",type:lO,pure:!0});var vfc=[{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"}],mO=function(a,b,c){Z.call(this);var d=this;this.overlay=a;this.element=b;this.hostEl=c;this.openOnEnter=this.openOnClick=!0;this.required=this.focusTrapHost=!1;this.selectedChange=new Uv;this.dateSelectionChange=new Uv;this.onClose=
new Uv;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};Y(mO,Z);g=mO.prototype;g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=void 0===a?!1:a;if(this.opened){var b;null==(b=this.overlayRef)||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};g.attach=function(){var a=this,b=new my(kO),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){wfc(a)})};
g.getPositionStrategy=function(){return Oy(Py(Qy(Uy(this.overlay.position(),this.element)),8),vfc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var wfc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,X.merge)(a.overlayRef._detachments,a.destroyed$);a.pickerContent.date=a.selected;a.pickerContent.required=a.required;a.pickerContent.trapFocus=!a.focusTrapHost;a.focusTrapHost&&a.pickerContent.focusEscaped.pipe(xf(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(xf(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(xf(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,X.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(Ce(function(c){return"Escape"===c.code}))).pipe(xf(b)).subscribe(function(){a.close()})}};mO.\u0275fac=function(a){return new (a||mO)(C(Vy),C(Wd),C(Wd))};
mO.\u0275dir=jd({type:mO,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&N("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(Cx(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(MVb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&Hf("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:[0,"bDateTimePickerToggleFocusTrapHost","focusTrapHost"],required:[0,"bDateTimePickerToggleRequired","required"],selected:[0,"bDateTimePickerToggleSelected","selected"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[Ff]});var xfc=["pickerToggle"],nO=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new Uv};nO.\u0275fac=function(a){return new (a||nO)};
nO.\u0275cmp=r({type:nO,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&lg(xfc,7);if(a&2){var c;pg(c=qg())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:7,consts:[["pickerToggle","bDateTimePickerToggle"],["mat-stroked-button","","type","button","bDateTimePickerToggle","",1,"gmat-button",3,"bDateTimePickerToggleSelectedChange",
"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected","bDateTimePickerToggleFocusTrapHost"],["mode","date",3,"date",4,"ngIf"],[4,"ngIf"],["mode","date",3,"date"]],template:function(a,b){if(a&1){var c=v();G(0,"button",1,0);N("bDateTimePickerToggleSelectedChange",function(d){x(c);b.value=d;b.valueChange.emit(d);return y()});E(2,hLa,1,1,"b-formatted-date-time",2)(3,iLa,2,0,"ng-container",3);I()}a&2&&(F("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",
b.value)("bDateTimePickerToggleFocusTrapHost",!1),Hf("aria-labelledby",b.customAriaLabelledBy),A(2),F("ngIf",b.value),A(),F("ngIf",!b.value))},dependencies:[mO,iO,CA,zw],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var yfc=["filterInput"],oO=function(a){Z.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new Uv;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};Y(oO,Z);oO.\u0275dir=Z.\u0275dir;g=oO.prototype;g.ngOnInit=function(){this.initValues()};g.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};g.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(wf(function(){return(0,X.timer)(0)}),xf(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
g.showMenu=function(){this.trigger.openMenu()};g.closeMenu=function(){this.trigger.closeMenu()};g.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var zfc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
oO.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),Afc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};oO.prototype.valueChanged=function(){var a=this;return Array.from(this.valueMap.keys()).some(function(b){var c=a.valueMap.get(b);b=a.originalValueMap.get(b);return c||void 0!==b?c!==b:!1})};
oO.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=k(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);Afc(this)};
var Afc=function(a){a.sortedValues=Array.from(a.valueMap.keys()).sort(function(b,c){b=a.valueMap.get(b);c=a.valueMap.get(c);return(c?1:!1===c?-1:0)-(b?1:!1===b?-1:0)})},kLa=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};oO.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(ri(a)):a};oO.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
oO.\u0275fac=function(a){return new (a||oO)(C(eO))};
oO.\u0275cmp=r({type:oO,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(lg(JC,5),lg(yfc,5));if(a&2){var c;pg(c=qg())&&(b.trigger=c.first);pg(c=qg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[Ff,xd],decls:13,vars:7,consts:[["customFieldMenu","matMenu"],["filterInput",""],["mat-button","","type","button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name",
"arrow-dropdown","size","small"],["class","multi-edit-menuitem","role","option",3,"title",4,"ngFor","ngForOf"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title"],[3,"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&&(G(0,"button",2)(1,"span"),S(2),I(),K(3,"b-icon",3),I(),G(4,"mat-menu",null,0),E(6,jLa,3,4,"div",4),K(7,"mat-divider"),G(8,"div",5),E(9,lLa,2,3,"input",6),I(),E(10,mLa,1,0,"mat-divider",7)(11,nLa,2,0,"div",8)(12,oLa,4,1,"div",7),I());a&2&&(a=R(5),F("matMenuTriggerFor",a),A(2),rg(b.getLabel()),A(4),F("ngForOf",zfc(b)),A(3),F("ngIf","REPEATED_DATE"!==
b.type),A(),F("ngIf",kLa(b)),A(),F("ngIf",kLa(b)),A(),F("ngIf","REPEATED_DATE"===b.type))},dependencies:[Dw,zw,mE,IC,HC,JC,oE,iE,CA,KM,LM,bh,cx,jx,nO],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var pO=function(){this.relayOnly=!1;this.keydown$=new X.Subject};pO.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};Ac.Object.defineProperties(pO.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});pO.\u0275fac=function(a){return new (a||pO)};
pO.\u0275dir=jd({type:pO,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&N("keydown",function(c){return b.onKeydown(c)});a&2&&Hf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Bfc=0,qO=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Bfc;this.closePanel$=new X.ReplaySubject(1);Bfc++};qO.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};qO.\u0275fac=function(a){return new (a||qO)(C(pO,8))};
qO.\u0275cmp=r({type:qO,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&lg(ig,7);if(a&2){var c;pg(c=qg())&&(b.templateRef=c.first)}},inputs:{className:"className"},exportAs:["onedevPopupPanel"],ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(cg(),E(0,pLa,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 rO=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 Uv;this.closed=new Uv;this.isOpen=!1;this.destroyed$=new X.ReplaySubject(1);this.closingActionsSubscription=X.Subscription.EMPTY};rO.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
rO.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new ny(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Cfc(this).pipe(xf(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
rO.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var a;if(null==(a=this.overlayRef)?0:a.hasAttached())this.overlayRef.detach(),this.overlayRef.dispose();this.focusTrap&&this.focusTrap.destroy();this.closingActionsSubscription.unsubscribe();this.element.nativeElement.focus();this.closed.emit();this.cdr.markForCheck()}};
rO.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 Cfc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,X.merge)(b,c,d):(0,X.merge)(c,d)};
rO.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
rO.prototype.getPositionStrategy=function(){return Oy(Py(Qy(Uy(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"}])};rO.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
Ac.Object.defineProperties(rO.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});rO.\u0275fac=function(a){return new (a||rO)(C(Vy),C(Wd),C(jg),C(by),C(Pg))};
rO.\u0275dir=jd({type:rO,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&Hf("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"],standalone:!0});var Dfc=0,sO=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+Dfc;Dfc+=1};sO.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};sO.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};sO.\u0275fac=function(a){return new (a||sO)(C(Pg))};
sO.\u0275dir=jd({type:sO,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Zf("id",b.id),Qf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var tO=function(){};tO.\u0275fac=function(a){return new (a||tO)};tO.\u0275mod=hd({type:tO});tO.\u0275inj=Rc({});var sLa=function(){return{$implicit:void 0}},vLa=function(a){return{$implicit:a}},uO=function(a){var b=this;this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.options$=new X.BehaviorSubject([]);this.filterText$=new X.BehaviorSubject("");this.filteredOptions$=(0,X.combineLatest)([this.options$,this.filterText$]).pipe(z(function(c){c=k(c);var d=c.next().value,e=c.next().value;return void 0!==b.filterFunction&&null!==b.filterFunction?d.filter(function(f){return b.filterFunction(e,f)}):
d}));this.valueChange=new Uv;this.selected=new Uv;this.destroyed$=new X.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};g=uO.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=fy(ey(new jy(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&Efc(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 Efc=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(void 0))a.keyManager.setActiveItem(0);else{var b=a.options.findIndex(function(c){return a.isSelected(c)});-1!==b&&(a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b),Ffc(a))}};uO.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
uO.prototype.handleKeydown=function(a){var b=this;a.pipe(xf(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c),Ffc(b)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):cWb(b.keyManager),Ffc(b)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var Ffc=function(a){var b,c;if(a=null==(b=a.keyManager)?void 0:null==(c=b.activeItem)?void 0:c.id){var d;null==(d=document.getElementById(a))||d.scrollIntoView({block:"nearest"})}};uO.\u0275fac=function(a){return new (a||uO)(C(pO,8))};
uO.\u0275cmp=r({type:uO,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&lg(sO,5);if(a&2){var c;pg(c=qg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&N("focus",function(){return Efc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,Hf("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label",showFilterBar:"showFilterBar",filterFunction:"filterFunction"},outputs:{valueChange:"valueChange",selected:"selected"},features:[xd],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&&(E(0,qLa,5,0,"div",4)(1,ELa,5,2,"ng-container",5),V(2,"async"));a&2&&(F("ngIf",b.showFilterBar),A(),F("ngIf",W(2,
2,b.filteredOptions$)))},dependencies:[Dw,zw,Hw,sO,Iw],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 vO=function(){};var Gfc=["trigger"],GLa=function(a){return{$implicit:a}},Hfc=0,wO=function(a){this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new Uv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+Hfc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;Hfc++};Y(wO,vO);g=wO.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 Ifc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};wO.prototype.setDisabledState=function(a){this.disabled=a};Ac.Object.defineProperties(wO.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});wO.\u0275fac=function(a){return new (a||wO)(Od("required"))};
wO.\u0275cmp=r({type:wO,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&lg(Gfc,7);if(a&2){var c;pg(c=qg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",showFilterBar:"showFilterBar",filterFunction:"filterFunction",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},outputs:{valueChange:"valueChange"},
features:[wg([{provide:Bw,useExisting:Yc(function(){return wO}),multi:!0},{provide:vO,useExisting:Yc(function(){return wO}),multi:!0}]),Ff],decls:13,vars:19,consts:[["trigger","onedevPopupPanelTrigger"],["optionTemplateOrTextLabel",""],["textLabel",""],["panel","onedevPopupPanel"],["emptyValue",""],["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","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=v();G(0,"button",
5,0);N("focus",function(){x(c);return y(b.focused=!0)})("blur",function(){x(c);return y(b.focused=!1)})("click",function(){x(c);var e=R(1);return y(e.open())})("closed",function(){x(c);b.onTouched();return y()});G(2,"span",6);S(3);I();E(4,HLa,2,4,"ng-container",7)(5,KLa,1,2,"ng-template",null,1,Eg)(7,NLa,3,2,"ng-template",null,2,Eg)(9,OLa,2,0,"svg",8);I();G(10,"onedev-popup-panel",9,3)(12,"onedev-selectable-list",10);N("valueChange",function(e){x(c);return y(b.onSelectionChange(e))})("selected",function(){x(c);
var e=R(1);return y(e.close())});I()()}if(a&2){a=R(6);var d=R(11);Qf("active",b.isActive());F("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",d);Hf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());A(3);rg(Ifc(b));A();F("ngIf",b.valueTemplate)("ngIfElse",a);A(5);F("ngIf",b.displayArrowIcon);A();F("relayOnly",!0);A(2);F("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",
b.label)("showFilterBar",b.showFilterBar)("filterFunction",b.filterFunction)}},dependencies:[zw,Hw,pO,uO,qO,rO],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px;font-size:13px;padding:4px 4px 4px 6px;text-align:start}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.arrow-icon[_ngcontent-%COMP%]{margin-left:auto;width:18px;height:18px;color:var(--icon,#5f6368);fill:currentColor}.single-select-panel[_ngcontent-%COMP%]{display:block;min-width:85px;max-height:300px}.single-select-panel[_ngcontent-%COMP%]:focus{outline:0}"]});var VLa=function(){return[]},xO=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};g=xO.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=k(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=k(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(qi(h),e[h]||void 0)}f=k(b);for(h=f.next();!h.done;h=f.next()){var l=k(h.value);h=l.next().value;l=l.next().value;var q=d[h],t=e[h],w=void 0,B=null==(w=q)?void 0:w.type;if(q)if("REPEATED_DATE"===B||"REPEATED_ENUM"===B||"REPEATED_NUMERIC"===B||"REPEATED_TEXT"===
B){l=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===l.size;t=Jfc(t);w=Array.from(l.keys()).concat(t);w=k(w);for(B=w.next();!B.done;B=w.next())B=B.value,t.includes(B)?l.has(B)||l.set(B,q||null):l.set(B,null);this.repeatedCustomFieldsMap.set(h,l)}else(!t&&void 0!==l||t&&!ki(t,l))&&b.set(h,null);else b.delete(h)}d=k(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=k(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),li(f))}this.customFields=Array.from(b.keys()).map(function(D){return a.get(D)}).filter(function(D){return D});
this.customFields=this.customFields.map(function(D){var J=b.get(D.customFieldId);D.hasMultipleValues=null===J;J?D=Object.assign(J,D):D.hasMultipleValues||"ENUM"!==D.type||(D.enumValue="");return D});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,li(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 gp=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},Jfc=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()}):[]},TLa=function(a){return a?En(a):null},XLa=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(w){return w.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(w){return w.actions.length});if(c.valueChanged){d=k(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$44:void 0},f=d.next()){f=f.value;var h=Lda(f.customFieldValueMap,function(w){return w.customFieldId===b});e.issueValues$jscomp$1=Jfc(h);c.valueMap.forEach(function(w){return function(B,D){B&&!w.issueValues$jscomp$1.includes(D)?w.issueValues$jscomp$1.push(D):!1===B&&(w.issueValues$jscomp$1=w.issueValues$jscomp$1.filter(function(J){return J!==
D}))}}(e));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=e.issueValues$jscomp$1.map(function(w){return Fn(ri(w))}):"REPEATED_NUMERIC"==h&&(q=e.issueValues$jscomp$1.map(function(w){return Number(w)}));var t={customFieldId:b};switch(h){case "REPEATED_TEXT":t.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":t.repeatedDateValue={values:l};break;case "REPEATED_ENUM":t.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":t.repeatedNumericValue=
{values:q}}e.action$jscomp$44={fieldName:"customField",customFieldValue:t,actionType:Hn(t)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(w){return function(B){return B.actions.some(function(D){return ki(w.action$jscomp$44,D)})}}(e));-1!==h?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$44],issueIds:[f.issueId]})}}},Kfc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!ki(l,a.originalCustomFields.get(l.customFieldId))}),
c=[];b=k(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=null!=(f=e.numericValue)?f:void 0}if(e=Hn(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(l){return l.issueId});b=a.bulkEditOps.findIndex(function(l){a:if(l=
l.issueIds,za(h)&&za(l)&&h.length==l.length){for(var q=h.length,t=0;t<q;t++)if(h[t]!==l[t]){l=!1;break a}l=!0}else l=!1;return l});-1!==b?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};xO.\u0275fac=function(a){return new (a||xO)(C(PA),C(NA))};
xO.\u0275cmp=r({type:xO,selectors:[["b-bulk-custom-field-dialog"]],decls:10,vars:2,consts:[["multipleValues",""],["mat-dialog-title",""],[4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"click"],[1,"bv2-create-adv-field"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],[3,"ngIf","ngIfElse"],
[3,"ngSwitch"],["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["step","any","name","customInput","type","number",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"value","options","valueChange",4,"ngSwitchCase"],[3,"type","originalValueMap","enumChoices","onSave",4,"ngSwitchDefault"],["name","customInput","placeholder","no value","type","text",3,"ngModelChange","ngModel"],["step","any","name","customInput","type","number",
3,"ngModelChange","ngModel"],[3,"valueChange","value","required","customAriaLabelledBy","customFormId"],[3,"valueChange","value","options"],[3,"onSave","type","originalValueMap","enumChoices"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(G(0,"h2",1),S(1,"Update custom fields"),I(),G(2,"mat-dialog-content"),E(3,PLa,2,0,"div",2)(4,aMa,8,6,"div",3),I(),G(5,"mat-dialog-actions")(6,"button",4),N("class",function(){return b.dialogRef.close()}),S(7,"Cancel"),I(),G(8,"button",5),N("click",
function(){Kfc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),S(9," Save "),I()());a&2&&(A(3),F("ngIf",0===b.customFields.length),A(),F("ngForOf",b.customFields))},dependencies:[Dw,zw,Ew,Fw,Gw,RA,SA,TA,UA,wO,oO,bh,lx,cx,jx,nO,CA,nE,OC],encapsulation:2});var yO=function(){};yO.\u0275fac=function(a){return new (a||yO)};yO.\u0275mod=hd({type:yO});yO.\u0275inj=Rc({imports:[rE]});var Lfc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,Mfc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,Nfc=function(a){this.patternParts_=[];this.dateTimeSymbols_=Gz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
Nfc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(Lfc.test(e))for(0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),c=""),this.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});d<a.length-1&&" "==a.charAt(d+1);)d++;else if(b)"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!1:c+=e;else if(0<="GyMdkHmsSEDabBhKzZvQL".indexOf(e)){0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var f=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==f;)h++;f=h-d;0>=f?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>f);this.patternParts_.push({text:e,count:f,abutStart:!1,numeric:h});d+=f-1}else"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!0:c+=e}0<c.length&&this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1});a=!1;for(b=0;b<this.patternParts_.length;b++)this.patternParts_[b].numeric?!a&&b+1<this.patternParts_.length&&this.patternParts_[b+1].numeric&&(a=!0,this.patternParts_[b].abutStart=
!0):a=!1};Nfc.prototype.applyStandardPattern_=function(a){11<a&&(a=10);if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else 8>a?b=this.dateTimeSymbols_.TIMEFORMATS[a-4]:(b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]));this.applyPattern_(b)};
Nfc.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var f=this.patternParts_[c];if(0<f.count&&(0>"abBhHkKm".indexOf(f.text.charAt(0))||2<f.count||f.abutStart))throw Error("wd`"+f.text.charAt(0));}f=new Ofc;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var l=a;var q=c,t=this.patternParts_[h],w=d;if(null!=t.text.match(Lfc)){if(t=q[0],
Pfc(l,q),q[0]>t){l=!0;break a}}else{if(l.indexOf(t.text,q[0])==q[0]){q[0]+=t.text.length;l=!0;break a}if(w&&0==t.text.indexOf(l.substring(q[0]))){q[0]+=l.length-q[0];l=!0;break a}}l=!1}if(l)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;t=c;w=h;var B=t[0],D=0;for(l=w;l<this.patternParts_.length;l++){var J=this.patternParts_[l],H=J.count;if(0===H)break;if(l==w&&(H-=D,D++,0==H)){l=0;break a}var O=l>w&&J.numeric,P=t[0];if(!Qfc(this,q,t,J,H,f,!1)||O&&t[0]-P<H)l=w-1,t[0]=B}l-=w}if(0>=l)return 0;
h+=l-1}else if(!Qfc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(null==b)throw Error("xd");void 0!=f.era&&void 0!=f.year&&0==f.era&&0<f.year&&(f.year=-(f.year-1));void 0!=f.year&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);void 0!=f.month&&b.setMonth(f.month);void 0!=f.day?b.setDate(f.day):(e=tXb(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==f.hours&&(f.hours=b.getHours()),12>f.hours&&(void 0!=f.ampm&&0<f.ampm?f.hours+=12:void 0!==f.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&6<=f.hours)&&(f.hours+=12)),b.setHours(f.hours));"function"===typeof b.setMinutes&&void 0!=f.minutes&&b.setMinutes(f.minutes);"function"===typeof b.setSeconds&&void 0!=f.seconds&&b.setSeconds(f.seconds);"function"===typeof b.setMilliseconds&&void 0!=f.milliseconds&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=b.getMonth()||
f.day&&f.day!=b.getDate()||f.hours&&24<=f.hours||f.minutes&&60<=f.minutes||f.seconds&&60<=f.seconds||f.milliseconds&&1E3<=f.milliseconds))b=!1;else{void 0!=f.tzOffset&&b.setTime(b.getTime()+6E4*(f.tzOffset-b.getTimezoneOffset()));f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=f.dayOfWeek)if(void 0==f.day)f=(7+f.dayOfWeek-b.getDay())%7,3<f&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<f?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var Qfc=function(a,b,c,d,e,f,h){Pfc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return zO(b,c,[a.dateTimeSymbols_.ERAS],function(l){return f.era=l}),!0;case "M":case "L":return Rfc(a,b,c,e,d,f);case "E":return zO(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return f.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=zO(b,c,a,function(l){return f.dayPeriodIndex=
l},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=zO(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return f.ampm=l},h),h?b:!0;case "y":return Sfc(a,b,c,d,e,f);case "Q":return zO(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){f.month=3*l;f.day=1});case "d":return AO(a,b,c,d,e,function(l){f.day=l}),!0;case "S":return Tfc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=AO(a,b,c,d,e,function(l){f.hours="h"===d.text.charAt(0)&&12===l?0:l},h),h?b:!0;
case "m":return b=AO(a,b,c,d,e,function(l){f.minutes=l},h),h?b:!0;case "s":return AO(a,b,c,d,e,function(l){f.seconds=l}),!0;case "z":case "Z":case "v":return Ufc(a,b,c,f);default:return!1}},Sfc=function(a,b,c,d,e,f){var h=c[0];e=BO(a,b,c,e);null===e&&(e=BO(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-h&&2==d.count?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),f.year=a):f.year=e;return!0},Rfc=function(a,b,c,d,e,f){return e.numeric&&AO(a,b,c,
e,d,function(h){f.month=h-1})?!0:zO(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},Tfc=function(a,b,c,d,e){var f=c[0];a=BO(a,b,c,d);if(null===a)return!1;c=c[0]-f;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},Ufc=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=BO(a,b,c,0,!0);if(null===f)return!1;
if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*f;c[0]++;f=BO(a,b,c,0);if(null===f)return!1;h+=f}else h=f,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},AO=function(a,b,c,d,e,f,h){h=h||!1;var l=c[0];a=BO(a,b,c,e);if(null===a)return!1;if(h&&c[0]-l<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-l))}f(a);return!0},zO=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var l=c[h],q=e,t=0,w=null,B=a.substring(f[0]).toLowerCase(),D=0;D<l.length;D++){var J=l[D].toLowerCase();
if(q&&0==J.indexOf(B)){t=B.length;w=D;break}l[D].length>t&&0==B.indexOf(J)&&(t=l[D].length,w=D)}null!==w&&(f[0]+=t);f=w;if(null!==f)return d(f),!0}return!1},Pfc=function(a,b){(a=a.substring(b[0]).match(Mfc))&&(b[0]+=a[0].length)},BO=function(a,b,c,d,e){b=0<d?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var f=c[0];f<b.length;f++){var h=b.charCodeAt(f)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(f))}b=d.join("")}else b=b.substring(c[0]);
a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},Ofc=function(){};Ofc.prototype.ambiguousYear=!1;var nXb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),CO=function(){var a=$y.apply(this,arguments)||this;a.locale=Gz;return a};Y(CO,$y);CO.prototype.setLocale=function(){throw Error("yd");};CO.prototype.getYear=function(a){return a.getYear()};CO.prototype.getMonth=function(a){return a.getMonth()};CO.prototype.getDate=function(a){return a.getDate()};var mXb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
CO.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};CO.prototype.clone=function(a){return a.clone()};var Bz=function(a,b,c){return new Mn(a,b,c)};CO.prototype.parse=function(a,b){if(""===a)return null;b=new Nfc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Mn(new Date(a));b.parse(a,c);return c};CO.prototype.format=function(a,b){if(!this.isValid(a))throw Error("zd");return(new Iz(b)).format(a)};
var zz=function(a,b){a=a.clone();a.add(new Hz(b));return a},Az=function(a,b){a=a.clone();a.add(new Hz(0,b));return a},yz=function(a,b){a=a.clone();a.add(new Hz(0,0,b));return a};CO.prototype.isValid=function(a){return!isNaN(a.getTime())};CO.prototype.invalid=function(){return new Mn(NaN)};CO.prototype.sameDate=function(a,b){return a&&b?(new pi(a)).equals(b):!1};CO.\u0275fac=function(){var a;return function(b){return(a||(a=Td(CO)))(b||CO)}}();CO.\u0275prov=Pc({token:CO,factory:CO.\u0275fac});var Vfc={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"},DO=Vfc;DO=Vfc;var EO=Gz.DATEFORMATS[3];EO=EO.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===EO&&(EO="MM/dd/yyyy");var Wfc={parse:{dateInput:EO},display:{dateInput:EO,monthYearLabel:DO.YEAR_MONTH_ABBR,dateA11yLabel:DO.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:DO.YEAR_MONTH_FULL}};var FO=function(){};FO.\u0275fac=function(a){return new (a||FO)};FO.\u0275mod=hd({type:FO});FO.\u0275inj=Rc({providers:[{provide:$y,useClass:CO},{provide:dz,useValue:Wfc}],imports:[rE,cD,KD,wE,Vx]});var GO=function(){};GO.\u0275fac=function(a){return new (a||GO)};GO.\u0275mod=hd({type:GO});GO.\u0275inj=Rc({imports:[FO,yO,cD,rE]});var Xfc=new rd("GMAT_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var HO=function(a){this.options=a};HO.\u0275fac=function(a){return new (a||HO)(C(Xfc))};HO.\u0275dir=jd({type:HO,selectors:[["mat-form-field"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-form-field",!b.options.disableGmatStyle)}});var IO=function(){};IO.\u0275fac=function(a){return new (a||IO)};IO.\u0275mod=hd({type:IO});IO.\u0275inj=Rc({imports:[eB]});var Yfc=new rd("GMAT_INPUT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var JO=function(a){this.options=a};JO.\u0275fac=function(a){return new (a||JO)(C(Yfc))};JO.\u0275dir=jd({type:JO,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-input",!b.options.disableGmatStyle)}});var KO=function(){};KO.\u0275fac=function(a){return new (a||KO)};KO.\u0275mod=hd({type:KO});KO.\u0275inj=Rc({imports:[kB,IO]});var Zfc=new rd("GMAT_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var LO=function(a){this.options=a};LO.\u0275fac=function(a){return new (a||LO)(C(Zfc))};LO.\u0275dir=jd({type:LO,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-list",!b.options.disableGmatStyle)}});var $fc=new rd("ListOption");var MO=function(a){this._elementRef=a};MO.\u0275fac=function(a){return new (a||MO)(C(Wd))};MO.\u0275dir=jd({type:MO,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});var NO=function(a){this._elementRef=a};NO.\u0275fac=function(a){return new (a||NO)(C(Wd))};NO.\u0275dir=jd({type:NO,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});
var OO=function(a){this._listOption=a};OO.prototype._isAlignedAtStart=function(){var a;return!this._listOption||"after"===(null==(a=this._listOption)?void 0:a._getTogglePosition())};OO.\u0275fac=function(a){return new (a||OO)(C($fc,8))};OO.\u0275dir=jd({type:OO,hostVars:4,hostBindings:function(a,b){a&2&&Qf("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())},standalone:!0});var PO=function(){OO.apply(this,arguments)};Y(PO,OO);
PO.\u0275fac=function(){var a;return function(b){return(a||(a=Td(PO)))(b||PO)}}();PO.\u0275dir=jd({type:PO,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[Ff]});var QO=function(){OO.apply(this,arguments)};Y(QO,OO);QO.\u0275fac=function(){var a;return function(b){return(a||(a=Td(QO)))(b||QO)}}();QO.\u0275dir=jd({type:QO,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[Ff]});var agc=new rd("MAT_LIST_CONFIG");var RO=function(){this._isNonInteractive=!0;this._disabled=this._disableRipple=!1;this._defaultOptions=bd(agc,{optional:!0})};Ac.Object.defineProperties(RO.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=lh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=lh(a)}}});RO.\u0275fac=function(a){return new (a||RO)};
RO.\u0275dir=jd({type:RO,hostVars:1,hostBindings:function(a,b){a&2&&Hf("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});
var SO=function(a,b,c,d,e,f){this._elementRef=a;this._ngZone=b;this._listBase=c;this._platform=d;this._explicitLines=null;this._disabled=this._disableRipple=!1;this._subscriptions=new X.Subscription;this._rippleRenderer=null;this._hasUnscopedTextContent=!1;this.rippleConfig=e||{};this._hostElement=this._elementRef.nativeElement;this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase();this._noopAnimations="NoopAnimations"===f;c&&!c._isNonInteractive&&this._initInteractiveListItem();
this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")};g=SO.prototype;g.ngAfterViewInit=function(){this._monitorProjectedLinesAndTitle();this._updateItemLines(!0)};g.ngOnDestroy=function(){this._subscriptions.unsubscribe();null!==this._rippleRenderer&&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 OWb(this,this._ngZone,this._hostElement,this._platform);RWb(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add((0,X.merge)(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=null!=(b=this._explicitLines)?b:this._inferLinesFromContent();b=this._unscopedContent.nativeElement;this._hostElement.classList.toggle("mat-mdc-list-item-single-line",1>=a);this._hostElement.classList.toggle("mdc-list-item--with-one-line",1>=a);this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===a);this._hostElement.classList.toggle("mdc-list-item--with-three-lines",
3===a);this._hasUnscopedTextContent?(a=0===this._titles.length&&1===a,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())})};
Ac.Object.defineProperties(SO.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=oh(a,null);this._updateItemLines(!1)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){var a;return this.disabled||this._disableRipple||this._noopAnimations||!(null==(a=this._listBase)||!a.disableRipple)},set:function(a){this._disableRipple=lh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||!(null==(a=this._listBase)||!a.disabled)},
set:function(a){this._disabled=lh(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});SO.\u0275fac=function(a){return new (a||SO)(C(Wd),C(He),C(RO,8),C(Ax),C(gz,8),C(sv,8))};
SO.\u0275dir=jd({type:SO,contentQueries:function(a,b,c){a&1&&(mg(c,PO,4),mg(c,QO,4));if(a&2){var d;pg(d=qg())&&(b._avatars=d);pg(d=qg())&&(b._icons=d)}},hostVars:4,hostBindings:function(a,b){a&2&&(Hf("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),Qf("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});var bgc=["unscopedContent"],cgc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],dgc=new rd("SelectionList"),TO=function(a,b,c,d,e,f,h){SO.call(this,a,b,c,d,f,h);this._selectionList=c;this._changeDetectorRef=e;this.selectedChange=new Uv;this.togglePosition="after";this._inputsInitialized=this._selected=!1};Y(TO,SO);TO.\u0275dir=SO.\u0275dir;g=TO.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;SO.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(null==(d=(null==(a=this._titles)?void 0:null==(b=a.get(0))?void 0:b._elementRef.nativeElement)||(null==(c=this._unscopedContent)?void 0:c.nativeElement))?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&&("avatars"===a?0!==this._avatars.length:0!==this._icons.length)};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+"")};
Ac.Object.defineProperties(TO.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=lh(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});TO.\u0275fac=function(a){return new (a||TO)(C(Wd),C(He),C(dgc),C(Ax),C(Pg),C(gz,8),C(sv,8))};
TO.\u0275cmp=r({type:TO,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(mg(c,NO,5),mg(c,MO,5));if(a&2){var d;pg(d=qg())&&(b._lines=d);pg(d=qg())&&(b._titles=d)}},viewQuery:function(a,b){a&1&&lg(bgc,5);if(a&2){var c;pg(c=qg())&&(b._unscopedContent=c.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(a,b){a&1&&N("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(Hf("aria-selected",b.selected),Qf("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-accent","primary"!==b.color&&"warn"!==b.color)("mat-warn","warn"===b.color)("_mat-animation-noopable",b._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],standalone:!0,features:[wg([{provide:SO,
useExisting:TO},{provide:$fc,useExisting:TO}]),Ff,yg],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-mdc-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=v();cg(cgc);E(0,bMa,1,0,"ng-template",null,0,Eg)(2,dMa,6,4,"ng-template",null,1,Eg)(4,eMa,5,4,"ng-template",null,2,Eg)(6,gMa,2,1,"span",4)(7,iMa,2,1,"span",5)(8,kMa,1,1,null,6);G(9,"span",7);dg(10);dg(11,1);G(12,"span",8,3);N("cdkObserveContent",function(){x(c);return y(b._updateItemLines(!0))});dg(14,2);I()();E(15,mMa,2,1,"span",9)(16,oMa,2,1,"span",9)(17,qMa,1,1,null,6);dg(18,3);K(19,"div",10)}a&2&&(A(6),Uf(b._hasCheckboxAt("before")?
6:b._hasRadioAt("before")?7:-1),A(2),Uf(b._hasIconsOrAvatarsAt("before")?8:-1),A(7),Uf(b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),A(2),Uf(b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[Hw,Sx],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{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}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.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}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{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}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{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,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.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}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.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:""}.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%}.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, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@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:mdc-animation-deceleration-curve-timing-function;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}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:black;border-color:var(--mdc-radio-disabled-selected-icon-color, black)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:black;border-color:var(--mdc-radio-disabled-selected-icon-color, black)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:black;border-color:var(--mdc-radio-disabled-unselected-icon-color, black)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-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}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}\n'],
encapsulation:2,changeDetection:0});new rd("MatList");new rd("MatNavList");var egc={provide:Bw,useExisting:Yc(function(){return UO}),multi:!0},fgc=function(a,b){this.source=a;this.options=b},UO=function(a,b){RO.call(this);var c=this;this._element=a;this._ngZone=b;this._initialized=!1;this._destroyed=new X.Subject;this._onChange=function(){};this.selectionChange=new Uv;this.color="accent";this.compareWith=function(f,h){return f===h};this._multiple=!0;var d,e;this._hideSingleSelectionIndicator=null!=(e=null==(d=this._defaultOptions)?void 0:d.hideSingleSelectionIndicator)?
e:!1;this.selectedOptions=new Fy(this._multiple);this._onTouched=function(){};this._selectionListDisabled=!1;this._handleFocusout=function(){setTimeout(function(){c._containsFocus()||c._resetActiveOption()})};this._handleFocusin=function(f){if(!c.disabled){var h=c._items.toArray().findIndex(function(l){return l._elementRef.nativeElement.contains(f.target)});-1<h?c._setActiveOption(h):c._resetActiveOption()}};this._isNonInteractive=!1};Y(UO,RO);UO.\u0275dir=RO.\u0275dir;g=UO.prototype;
g.ngAfterViewInit=function(){var a=this;this._initialized=!0;this._setupRovingTabindex();this._ngZone.runOutsideAngular(function(){a._element.nativeElement.addEventListener("focusin",a._handleFocusin);a._element.nativeElement.addEventListener("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;null==(a=this._keyManager)||a.destroy();this._element.nativeElement.removeEventListener("focusin",this._handleFocusin);this._element.nativeElement.removeEventListener("focusout",this._handleFocusout);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 fgc(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a};
g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g._watchForSelectionChange=function(){var a=this;this.selectedOptions.changed.pipe(xf(this._destroyed)).subscribe(function(b){for(var c=k(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=k(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(13!==a.keyCode&&32!==a.keyCode||0<this._keyManager._pressedLetters.length||!b||b.disabled)if(65!==a.keyCode||!this.multiple||0<this._keyManager._pressedLetters.length||!jh(a,"ctrlKey"))this._keyManager.onKeydown(a);else b=this.options.some(function(c){return!c.disabled&&!c.selected}),a.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(b,!0));else a.preventDefault(),b._toggleOnInteraction()};
g._setupRovingTabindex=function(){var a=this;this._keyManager=dy(ey(aWb(hy(new ky(this._items)))),function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(xf(this._destroyed)).subscribe(function(){var b=a._keyManager.activeItem;b&&-1!==a._items.toArray().indexOf(b)||a._resetActiveOption()})};
g._setActiveOption=function(a){this._items.forEach(function(b,c){return b._setTabindex(c===a?0:-1)});iy(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=hh();return a&&this._element.nativeElement.contains(a)};
Ac.Object.defineProperties(UO.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=lh(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Fy(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=lh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled},
set:function(a){if(this._selectionListDisabled=lh(a)){var b;null==(b=this._keyManager)||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});UO.\u0275fac=function(a){return new (a||UO)(C(Wd),C(He))};
UO.\u0275cmp=r({type:UO,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&mg(c,TO,5);if(a&2){var d;pg(d=qg())&&(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&&N("keydown",function(c){return b._handleKeydown(c)});a&2&&Hf("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],standalone:!0,features:[wg([egc,{provide:RO,useExisting:UO},{provide:dgc,useExisting:UO}]),Ff,xd,yg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.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-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.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-one-line .mdc-list-item__end{align-self:center;margin-top:0}.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 .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.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__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.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;line-height:normal}.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__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.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-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-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-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.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-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-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.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-icon.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-icon.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-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.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-icon.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-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.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-thumbnail.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-thumbnail.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-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.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-thumbnail.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-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.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-image.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-image.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-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.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-image.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-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.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-video.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-video.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-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.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-video.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-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.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-leading-checkbox.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-checkbox.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-checkbox.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-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.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-checkbox.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-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.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{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{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__overline-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__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-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{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{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.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-switch.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-switch.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-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.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-switch.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-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.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-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.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-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__content,.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.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,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__content,.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__content,.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-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}.cdk-high-contrast-active 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}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-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);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}a.mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}a.mdc-list-item.mdc-list-item--activated.mdc-list-item{border-radius:var(--mat-list-active-indicator-shape)}\n'],
encapsulation:2,changeDetection:0});var VO=function(){};VO.\u0275fac=function(a){return new (a||VO)};VO.\u0275mod=hd({type:VO});VO.\u0275inj=Rc({imports:[Tx,Qw,Zy,kz,lz,wE]});var WO=function(){};WO.\u0275fac=function(a){return new (a||WO)};WO.\u0275mod=hd({type:WO});WO.\u0275inj=Rc({imports:[VO]});var XO=function(){};XO.\u0275fac=function(a){return new (a||XO)};XO.\u0275mod=hd({type:XO});XO.\u0275inj=Rc({imports:[rE,uE,wE,WO,tE,cD,KO,PM,yx,GO]});var YO=function(){};YO.\u0275fac=function(a){return new (a||YO)};YO.\u0275mod=hd({type:YO});YO.\u0275inj=Rc({imports:[Qw]});var ZO=function(){};ZO.\u0275fac=function(a){return new (a||ZO)};ZO.\u0275mod=hd({type:ZO});ZO.\u0275inj=Rc({imports:[Qw,Yy,sy,cD,MD,Vx,IL]});var $O=function(){};$O.\u0275fac=function(a){return new (a||$O)};$O.\u0275mod=hd({type:$O});$O.\u0275inj=Rc({imports:[Qw,cD,tO]});var aP=function(){};aP.\u0275fac=function(a){return new (a||aP)};aP.\u0275mod=hd({type:aP});aP.\u0275inj=Rc({imports:[Qw,UC,cD,yx,YO,$O,ZO]});var bP=function(){};bP.\u0275fac=function(a){return new (a||bP)};bP.\u0275mod=hd({type:bP});bP.\u0275inj=Rc({imports:[rE,VA,aP,XO,yx,GO,cD,vE]});var cP=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Uv;this.clickHandler=function(c){var d=c.target instanceof Element?c.target:c.target instanceof Node?c.target.parentElement:null;d&&(d.closest(".cdk-overlay-container")||b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}};cP.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
cP.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};cP.\u0275fac=function(a){return new (a||cP)(C(Wd))};cP.\u0275dir=jd({type:cP,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var dP=function(){};dP.\u0275fac=function(a){return new (a||dP)};dP.\u0275mod=hd({type:dP});dP.\u0275inj=Rc({});var eP=function(a){this.codefont$=a.codeFont$};eP.\u0275fac=function(a){return new (a||eP)(p(zF))};eP.\u0275prov=Pc({token:eP,factory:eP.\u0275fac,providedIn:"root"});var ggc=function(a){return["chip","gmat-caption",a]},fP=function(){this.variant="grey";this.isTall=!1};fP.\u0275fac=function(a){return new (a||fP)};
fP.\u0275cmp=r({type:fP,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(cg(),G(0,"div",0)(1,"div",1),dg(2),I()());a&2&&F("ngClass",Ag(1,ggc,b.variant))},dependencies:[Cw],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 gP=function(a){this.chip=a};gP.\u0275fac=function(a){return new (a||gP)(C(fP))};gP.\u0275dir=jd({type:gP,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&Pf("color","var(--chip-"+b.chip.variant+"-icon")("font-size",b.chip.isTall?"16px":"12px")("height",b.chip.isTall?"16px":"12px")("margin","0 4px 0 0")("width",b.chip.isTall?"16px":"12px")}});var hP=function(){};hP.\u0275fac=function(a){return new (a||hP)};hP.\u0275mod=hd({type:hP});hP.\u0275inj=Rc({imports:[Qw]});var iP=function(){};iP.\u0275fac=function(a){return new (a||iP)};iP.\u0275cmp=r({type:iP,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&Hf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&S(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var jP=function(){};jP.\u0275fac=function(a){return new (a||jP)};jP.\u0275mod=hd({type:jP});jP.\u0275inj=Rc({});var hgc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],igc=function(a){return{"with-avatar":a}},kP=function(){};kP.prototype.ngOnInit=function(){};kP.\u0275fac=function(a){return new (a||kP)};
kP.\u0275cmp=r({type:kP,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},standalone:!0,features:[yg],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&&(cg(hgc),G(0,"div",0)(1,"div",1)(2,"div",2),E(3,rMa,1,2,"img",3),G(4,"div",4),S(5),I(),E(6,sMa,2,1,"div",5),I(),E(7,tMa,4,1,"div",6),G(8,"div",7),E(9,xMa,7,3,"ng-container",8)(10,yMa,4,1,"ng-container",8)(11,zMa,19,4,"ng-container",8),dg(12),I()(),dg(13,1),I());a&2&&(A(2),F("ngClass",Ag(8,igc,b.person.imageUrl)),A(),F("ngIf",b.person.imageUrl),A(2),T(" ",b.person.name||b.person.email," "),A(),F("ngIf",b.person.name),A(),F("ngIf",b.outOfOfficeDescription),A(2),
F("ngIf",b.person.title||b.person.department),A(),F("ngIf",b.person.location),A(),F("ngIf",b.person.ldap))},dependencies:[hP,fP,gP,Qw,Cw,zw,jP,iP,UC,nB],styles:[".onedev-hovercard-content{--onedev-card-background:var(--surface-default,#fff);--onedev-card-title-text:var(--text-default,#202124);--onedev-card-icon:var(--icon,#5f6368);--onedev-card-secondary-text:var(--text-secondary,#5f6368);--onedev-card-link-color:var(--primary-default,#1a73e8)}.onedev-hovercard-content{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content .onedev-hovercard-body{padding:20px}.onedev-hovercard-content .onedev-hovercard-body a{color:var(--onedev-card-link-color)}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar{display:grid;grid-template-columns:48px auto;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar .avatar{grid-row:1/span 2}.onedev-hovercard-content .onedev-hovercard-body .contact-info .name{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content .onedev-hovercard-body .contact-info .email{grid-row:2;grid-column:2}.onedev-hovercard-content .onedev-hovercard-body .title{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content .onedev-hovercard-body .chips{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body mat-icon{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content .onedev-hovercard-body .content{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body .content .detail{margin-top:2px}.onedev-hovercard-content .onedev-hovercard-body .content:empty{margin-top:0}.onedev-hovercard-content .onedev-hovercard-body .subcontent:not(:last-child){margin-bottom:8px}.onedev-hovercard-content .onedev-hovercard-body .label{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list li{display:inline}.onedev-hovercard-content .avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var jgc=function(){};var ip=function(){this.Serializable$values={}},hp=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},lP=function(a,b){return null!=a.Serializable$values[b]};var kgc=function(){};var lgc=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};Y(lgc,kgc);
var mgc=function(a,b,c){var d=AMa(a.hookFactory,b);return null==d?c:X.EMPTY.pipe(yf({complete:function(){d.onBeforeSend()}}),Zja(c.pipe(yf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},ngc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof ip?HMa(b.body,EMa,FMa,GMa):b.body;return mgc(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 ogc=function(){};ogc.prototype.send=function(a,b){BMa(a);return this.makeRequest(a).pipe(z(function(c){return b?LMa(b,c):c}))};var pgc=new rd("API_VERSION"),qgc=new rd("REQUEST_SERVICE"),mP=function(){};mP.\u0275fac=function(a){return new (a||mP)};mP.\u0275mod=hd({type:mP});mP.\u0275inj=Rc({});
var rgc={$Xgafv:"$.xgafv",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",blockDirection:"blockDirection",callback:"callback",client:"client",clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",
clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsConsistentReadOverrideType:"consistencyOptions.consistentReadOverrideType",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",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",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",
customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsCorpHeaderPreference:"dataFormats.profilePhotoOptions.corpHeaderPreference",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",
deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",
deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",extensionSetExtensionNames:"extensionSet.extensionNames",fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",
fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",
fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",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",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",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",
getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",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",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",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",
getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",
groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",
matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",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",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",query:"query",quotaFilterType:"quotaFilterType",
quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",
requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestOptionsRequireConsistency:"requestOptions.requireConsistency",requestOptionsTreatRestrictsAsFilter:"requestOptions.treatRestrictsAsFilter",requireCompleteResults:"requireCompleteResults",returnedFieldAcl:"returnedFieldAcl",searchSettingsMinTotalItemsAccuracy:"searchSettings.minTotalItemsAccuracy",searchSettingsNumToScore:"searchSettings.numToScore",searchSettingsScoringType:"searchSettings.scoringType",skipPostMutateGet:"skipPostMutateGet",
sortOptionsSortField:"sortOptions.sortField",sortOptionsSortOrder:"sortOptions.sortOrder",source:"source",sources:"sources",squery:"squery",stFieldSpecExpressionsExpressionNames:"stFieldSpecExpressions.expressionNames",stFieldSpecExpressionsExpressions:"stFieldSpecExpressions.expressions",startIndex:"startIndex",stquery:"stquery",syncParametersFullSyncOption:"syncParameters.fullSyncOption",syncParametersSyncToken:"syncParameters.syncToken",syncToken:"syncToken",type:"type",uploadType:"uploadType",
upload_protocol:"upload_protocol",useBytes:"useBytes"},nP=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new lgc(b,c)};nP.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return ngc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:CMa(a,rgc,b)})};nP.\u0275fac=function(a){return new (a||nP)(p(pgc,8),p(qgc),p(jgc,8))};nP.\u0275prov=Pc({token:nP,factory:nP.\u0275fac});
var oP=function(){};oP.\u0275fac=function(a){return new (a||oP)};oP.\u0275prov=Pc({token:oP,factory:function(a){return nP.\u0275fac(a)},providedIn:mP});var pP=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new lgc(b,c)};pP.\u0275fac=function(a){return new (a||pP)(p(pgc,8),p(qgc),p(jgc,8))};pP.\u0275prov=Pc({token:pP,factory:pP.\u0275fac});var qP=function(){};qP.\u0275fac=function(a){return new (a||qP)};
qP.\u0275prov=Pc({token:qP,factory:function(a){return pP.\u0275fac(a)},providedIn:mP});var PMa=/.*@google.com/,sgc=new rd("onedevPeopleServiceConfig"),tgc={},rP=function(){},vgc=function(a,b){return ugc(a,[b]).pipe(z(function(c){return c[0]}))};rP.\u0275fac=function(a){return new (a||rP)};rP.\u0275prov=Pc({token:rP,factory:rP.\u0275fac});
var sP=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new X.Subject;this.config=tgc;c&&c.pipe(yf(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),xf(this.destroy$)).subscribe({next:function(e){d.config=e}})};Y(sP,rP);
var ugc=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(z(function(c){return TMa(b,c)}))};sP.prototype.ngOnDestroy=function(){this.destroy$.next()};sP.\u0275fac=function(a){return new (a||sP)(p(oP),p(qP),p(sgc,8))};sP.\u0275prov=Pc({token:sP,factory:sP.\u0275fac});var tP=function(){};tP.\u0275fac=function(a){return new (a||tP)};tP.\u0275mod=hd({type:tP});tP.\u0275inj=Rc({providers:[sP,{provide:rP,useExisting:sP}],imports:[mP]});var wgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=null==a.dayOfWeek?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=null==a.periodStartMinutes?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=null==a.periodEndMinutes?null:a.periodEndMinutes};Y(wgc,ip);wgc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
Ac.Object.defineProperties(wgc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return lP(this,"dayOfWeek")?hp(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return lP(this,"periodEndMinutes")?hp(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return lP(this,"periodStartMinutes")?hp(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var xgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userIds=null==a.userIds?null:a.userIds;this.Serializable$values.debugOptions=null==a.debugOptions?null:a.debugOptions};Y(xgc,ip);xgc.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:uP},keys:["debugOptions","userIds"],objects:{debugOptions:vP}}};
Ac.Object.defineProperties(xgc.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return lP(this,"debugOptions")?hp(this,"debugOptions"):this.debugOptions=new vP},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return lP(this,"userIds")?hp(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var ygc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};Y(ygc,ip);ygc.prototype.getPartialClassMetadata=function(){return{arrays:{results:zgc},keys:["results"]}};
Ac.Object.defineProperties(ygc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return lP(this,"results")?hp(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var wP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil};Y(wP,ip);
wP.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
Ac.Object.defineProperties(wP.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"committedUntil")?hp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return lP(this,"eventSummary")?hp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return lP(this,"nextAvailable")?hp(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"occupiedUntil")?hp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var xP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location;this.Serializable$values.geoCoordinates=null==a.geoCoordinates?null:a.geoCoordinates;this.Serializable$values.label=null==a.label?null:a.label};Y(xP,ip);xP.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:yP}}};
Ac.Object.defineProperties(xP.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return lP(this,"geoCoordinates")?hp(this,"geoCoordinates"):this.geoCoordinates=new yP},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return lP(this,"label")?hp(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return lP(this,"location")?hp(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var zP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};Y(zP,ip);zP.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
Ac.Object.defineProperties(zP.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"committedUntil")?hp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return lP(this,"nextAvailable")?hp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"occupiedUntil")?hp(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Agc=function(){this.Serializable$values={}};Y(Agc,ip);Agc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var AP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=null==a.inMeetingsUntil?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};Y(AP,ip);
AP.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
Ac.Object.defineProperties(AP.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"committedUntil")?hp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return lP(this,"eventSummary")?hp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"inMeetingsUntil")?hp(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return lP(this,"nextAvailable")?hp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"occupiedUntil")?hp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Bgc=function(){this.Serializable$values={}};Y(Bgc,ip);
Bgc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var yP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.latitude=null==a.latitude?null:a.latitude;this.Serializable$values.longitude=null==a.longitude?null:a.longitude};Y(yP,ip);yP.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
Ac.Object.defineProperties(yP.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return lP(this,"latitude")?hp(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return lP(this,"longitude")?hp(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var BP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
Y(BP,ip);BP.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};Ac.Object.defineProperties(BP.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return lP(this,"timeZone")?hp(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var CP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=null==a.experimentalBuildingId?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=null==a.experimentalDeskId?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=null==a.experimentalFloorId?null:a.experimentalFloorId;this.Serializable$values.label=null==a.label?null:a.label};Y(CP,ip);
CP.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
Ac.Object.defineProperties(CP.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return lP(this,"experimentalBuildingId")?hp(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return lP(this,"experimentalDeskId")?hp(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return lP(this,"experimentalFloorId")?hp(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return lP(this,"label")?hp(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var Cgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime;this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil};Y(Cgc,ip);Cgc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
Ac.Object.defineProperties(Cgc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"comeBackTime")?hp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return lP(this,"committedUntil")?hp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return lP(this,"eventSummary")?hp(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var Dgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};Y(Dgc,ip);Dgc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
Ac.Object.defineProperties(Dgc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"comeBackTime")?hp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var Egc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.code=null==a.code?null:a.code;this.Serializable$values.message=null==a.message?null:a.message;this.Serializable$values.details=null==a.details?null:a.details};Y(Egc,ip);
Egc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
Ac.Object.defineProperties(Egc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return lP(this,"code")?hp(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return lP(this,"details")?hp(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return lP(this,"message")?hp(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var DP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.startTime=null==a.startTime?null:a.startTime;this.Serializable$values.endTime=null==a.endTime?null:a.endTime};Y(DP,ip);DP.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
Ac.Object.defineProperties(DP.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"endTime")?hp(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"startTime")?hp(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var Fgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=null==a.overrideCurrentTime?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=null==a.computationDuration?null:a.computationDuration};Y(Fgc,ip);Fgc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
Ac.Object.defineProperties(Fgc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return lP(this,"computationDuration")?hp(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"overrideCurrentTime")?hp(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var Ggc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=null==a.nextCommitmentTime?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=null==a.nextCommitmentStatus?null:a.nextCommitmentStatus};Y(Ggc,ip);Ggc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:EP}}};
Ac.Object.defineProperties(Ggc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return lP(this,"nextCommitmentStatus")?hp(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new EP},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"nextCommitmentTime")?hp(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var Hgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};Y(Hgc,ip);Hgc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:DP}}};Ac.Object.defineProperties(Hgc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return lP(this,"timeRange")?hp(this,"timeRange"):this.timeRange=new DP},set:function(a){this.Serializable$values.timeRange=a}}});
var Igc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=null==a.availabilities?null:a.availabilities;this.Serializable$values.workingHours=null==a.workingHours?null:a.workingHours;this.Serializable$values.nextPollTime=null==a.nextPollTime?null:a.nextPollTime};Y(Igc,ip);Igc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Jgc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:Kgc}}};
Ac.Object.defineProperties(Igc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return lP(this,"availabilities")?hp(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"nextPollTime")?hp(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return lP(this,"workingHours")?
hp(this,"workingHours"):this.workingHours=new Kgc},set:function(a){this.Serializable$values.workingHours=a}}});var vP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=null==a.forceEnableUserStatusCache?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=null==a.timeSettings?null:a.timeSettings};Y(vP,ip);vP.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:Fgc}}};
Ac.Object.defineProperties(vP.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return lP(this,"forceEnableUserStatusCache")?hp(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return lP(this,"timeSettings")?hp(this,"timeSettings"):this.timeSettings=new Fgc},set:function(a){this.Serializable$values.timeSettings=a}}});
var zgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userId=null==a.userId?null:a.userId;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.userAvailabilities=null==a.userAvailabilities?null:a.userAvailabilities};Y(zgc,ip);zgc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:Egc,userAvailabilities:Igc,userId:uP}}};
Ac.Object.defineProperties(zgc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return lP(this,"status")?hp(this,"status"):this.status=new Egc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return lP(this,"userAvailabilities")?
hp(this,"userAvailabilities"):this.userAvailabilities=new Igc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return lP(this,"userId")?hp(this,"userId"):this.userId=new uP},set:function(a){this.Serializable$values.userId=a}}});
var Jgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.contexts=null==a.contexts?null:a.contexts};Y(Jgc,ip);Jgc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:Lgc,status:EP,timeRange:DP}}};
Ac.Object.defineProperties(Jgc.prototype,{hasContexts:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"contexts")}},contexts:{configurable:!0,enumerable:!0,get:function(){return lP(this,"contexts")?hp(this,"contexts"):this.contexts=new Lgc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return lP(this,"status")?hp(this,"status"):
this.status=new EP},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,enumerable:!0,get:function(){return lP(this,"timeRange")?hp(this,"timeRange"):this.timeRange=new DP},set:function(a){this.Serializable$values.timeRange=a}}});
var Lgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=null==a.workingElsewhere?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=null==a.upcomingOoo?null:a.upcomingOoo;this.Serializable$values.localTime=null==a.localTime?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=null==a.upcomingCommitmentContext?null:a.upcomingCommitmentContext};Y(Lgc,ip);
Lgc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:BP,upcomingCommitmentContext:Ggc,upcomingOoo:Hgc,workingElsewhere:Mgc}}};
Ac.Object.defineProperties(Lgc.prototype,{hasLocalTime:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"localTime")}},localTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"localTime")?hp(this,"localTime"):this.localTime=new BP},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return lP(this,"upcomingCommitmentContext")?hp(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=
new Ggc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,enumerable:!0,get:function(){return lP(this,"upcomingOoo")?hp(this,"upcomingOoo"):this.upcomingOoo=new Hgc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return lP(this,"workingElsewhere")?hp(this,"workingElsewhere"):this.workingElsewhere=new Mgc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var uP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=null==a.obfuscatedGaiaId?null:a.obfuscatedGaiaId;this.Serializable$values.email=null==a.email?null:a.email};Y(uP,ip);uP.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
Ac.Object.defineProperties(uP.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return lP(this,"email")?hp(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return lP(this,"obfuscatedGaiaId")?hp(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var Ngc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=null==a.homeLocation?null:a.homeLocation;this.Serializable$values.customLocation=null==a.customLocation?null:a.customLocation;this.Serializable$values.officeLocation=null==a.officeLocation?null:a.officeLocation};Y(Ngc,ip);Ngc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:xP,homeLocation:Agc,officeLocation:CP}}};
Ac.Object.defineProperties(Ngc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return lP(this,"customLocation")?hp(this,"customLocation"):this.customLocation=new xP},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return lP(this,"homeLocation")?hp(this,"homeLocation"):this.homeLocation=new Agc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return lP(this,
"officeLocation")?hp(this,"officeLocation"):this.officeLocation=new CP},set:function(a){this.Serializable$values.officeLocation=a}}});
var EP=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.inactive=null==a.inactive?null:a.inactive;this.Serializable$values.doNotDisturb=null==a.doNotDisturb?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=null==a.outsideWorkingHours?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=null==a.outOfOffice?null:a.outOfOffice;this.Serializable$values.inMeeting=null==a.inMeeting?null:a.inMeeting;this.Serializable$values.calendarBusy=null==
a.calendarBusy?null:a.calendarBusy};Y(EP,ip);EP.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:wP,doNotDisturb:zP,inMeeting:AP,inactive:Bgc,outOfOffice:Cgc,outsideWorkingHours:Dgc}}};
Ac.Object.defineProperties(EP.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return lP(this,"calendarBusy")?hp(this,"calendarBusy"):this.calendarBusy=new wP},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return lP(this,"doNotDisturb")?hp(this,"doNotDisturb"):this.doNotDisturb=new zP},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return lP(this,
"inMeeting")?hp(this,"inMeeting"):this.inMeeting=new AP},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return lP(this,"inactive")?hp(this,"inactive"):this.inactive=new Bgc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==hp(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return lP(this,"outOfOffice")?hp(this,"outOfOffice"):
this.outOfOffice=new Cgc},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return lP(this,"outsideWorkingHours")?hp(this,"outsideWorkingHours"):this.outsideWorkingHours=new Dgc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var Mgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};Y(Mgc,ip);
Mgc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:Ngc}}};Ac.Object.defineProperties(Mgc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return lP(this,"location")?hp(this,"location"):this.location=new Ngc},set:function(a){this.Serializable$values.location=a}}});var Kgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};Y(Kgc,ip);
Kgc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:wgc},keys:["availableTime"]}};Ac.Object.defineProperties(Kgc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return lP(this,"availableTime")?hp(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Ogc=new rd("API_VERSION"),Pgc=new rd("REQUEST_SERVICE"),FP=function(){};FP.\u0275fac=function(a){return new (a||FP)};FP.\u0275mod=hd({type:FP});
FP.\u0275inj=Rc({});var Qgc={$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"},GP=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new lgc(b,c)};GP.\u0275fac=function(a){return new (a||GP)(p(Ogc,8),p(Pgc),p(jgc,8))};GP.\u0275prov=Pc({token:GP,factory:GP.\u0275fac});var Rgc=function(){};
Rgc.\u0275fac=function(a){return new (a||Rgc)};Rgc.\u0275prov=Pc({token:Rgc,factory:function(a){return GP.\u0275fac(a)},providedIn:FP});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var HP=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};hu(HP,UMa);
HP.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof HP&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,0>=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new Sgc(this),Tgc(this),IP(this,!1,a))}};HP.prototype.continue_=function(a,b){this.blocked_=!1;IP(this,a,b)};
var IP=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;Ugc(a)},Tgc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Vgc(a);a.silentlyCanceled_=!1}};HP.prototype.callback=function(a){Tgc(this);IP(this,!0,a)};HP.prototype.addCallback=function(a,b){return Wgc(this,a,null,b)};var Wgc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Ugc(a);return a};
HP.prototype.then=function(a,b,c){var d,e,f=new cC(function(h,l){e=h;d=l});Wgc(this,e,function(h){h instanceof Sgc?f.cancel():d(h);return Xgc},this);return f.then(a,b,c)};HP.prototype.$goog_Thenable=!0;HP.prototype.isError=function(a){return a instanceof Error};
var Ygc=function(a){return lQb(a.sequence_,function(b){return"function"===typeof b[1]})},Xgc={},Ugc=function(a){if(a.unhandledErrorId_&&a.fired_&&Ygc(a)){var b=a.unhandledErrorId_,c=Zgc[b];c&&(da.clearTimeout(c.id_),delete Zgc[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var l=f.call(e||a.defaultScope_,b);l===Xgc&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(O0b(b)||"function"===typeof da.Promise&&b instanceof da.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,Ygc(a)||(c=!0)}}a.result_=b;d&&(l=fu(a.continue_,a,!0),d=fu(a.continue_,a,!1),b instanceof HP?(Wgc(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new $gc(b),Zgc[b.id_]=b,a.unhandledErrorId_=b.id_)},Vgc=function(){ba.call(this)};hu(Vgc,ba);Vgc.prototype.message="Deferred has already fired";Vgc.prototype.name="AlreadyCalledError";
var Sgc=function(){ba.call(this)};hu(Sgc,ba);Sgc.prototype.message="Deferred was canceled";Sgc.prototype.name="CanceledError";var $gc=function(a){this.id_=da.setTimeout(fu(this.throwError,this),0);this.error_=a};$gc.prototype.throwError=function(){delete Zgc[this.id_];throw this.error_;};var Zgc={};var ZMa=function(a,b){var c=b||{};b=c.document||document;var d=wc(a).toString(),e=(new PB(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new HP(ahc,f),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){bhc(e,!0);var t=new chc(1,"Timeout reached for loading script "+d);Tgc(h);IP(h,!1,t)},q),f.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(bhc(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=
function(){bhc(e,!0,l);var t=new chc(0,"Error while loading script "+d);Tgc(h);IP(h,!1,t)};f=c.attributes||{};Pda(f,{type:"text/javascript",charset:"UTF-8"});p0b(e,f);n0b(e,a);dhc(b).appendChild(e);return h},dhc=function(a){var b=SB("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},ahc=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&bhc(a,!0,this.timeout_)}},bhc=function(a,b,c){null!=c&&da.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){YB(a)},0)},chc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ba.call(this,c);this.code=a};hu(chc,ba);var $Ma=Xt(["https://apis.google.com/js/api.js"]),VMa=null,bNa=new WeakMap;var JP=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=(0,X.defer)(function(){return XMa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return dNa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};Y(JP,ogc);
JP.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(we(function(c){var d=(0,X.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,X.from)(cNa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(we(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}))}))}))};
JP.prototype.parseResponse=function(a){return new X.Observable(function(b){a.then(function(c){!1===c.result&&null!=c.body?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};JP.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&aNa(a,b,this.gapiConfigUpdates[b])};var ehc=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;JP.call(this,a,c,d,e);this.waldoApiKey=b};Y(ehc,JP);ehc.prototype.makeRequest=function(a){var b=JP.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var KP=function(a){var b=this;this.apiStub=a;this.result=new X.Subject;this.destroyed=new X.ReplaySubject(1);this.trigger=new X.Subject;this.batchedTrigger=this.trigger.pipe(Wja(this.trigger.pipe(ef(200))));this.responseHandler=function(c){if(c.hasResults){c=k(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),l=new Date;f=l.getFullYear()===h.getFullYear()&&l.getMonth()===h.getMonth()&&l.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(xf(this.destroyed)).subscribe(function(c){c=[].concat(u(new Set(c)));fhc(b,c.slice(0,100));c=k(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},fhc=function(a,b){var c,d;me(function(e){for(var f=new xgc,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var t=new uP;t.email=q;h.push(t)}f.userIds=
h;c=f;f=a.apiStub;var w=void 0===w?{}:w;var B=void 0===B?{}:B;d=ngc(f.$apiClient,{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:CMa(w,Qgc,B),responseCtor:ygc});d.pipe(xf(a.destroyed)).subscribe(a.responseHandler);se(e)})},ghc=function(a,b){if(!b)return(0,X.of)({emailAddress:b,availability:"",timezone:""});a.trigger.next(b);return a.result.pipe(Ce(function(c){return c.emailAddress===
b}))},hhc=function(a,b){return ghc(a,b).pipe(z(function(c){return c.availability}))};KP.prototype.ngOnDestroy=function(){this.destroyed.next()};KP.\u0275fac=function(a){return new (a||KP)(p(Rgc))};KP.\u0275prov=Pc({token:KP,factory:KP.\u0275fac});var LP=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new X.ReplaySubject(1);this.availability=this.userSubject.pipe(wf(function(c){return hhc(b.waldoAvailabilityService,c)}))};LP.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};LP.\u0275fac=function(a){return new (a||LP)(C(KP))};
LP.\u0275cmp=r({type:LP,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[xd],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&&(E(0,eNa,6,3,"div",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.availability))},dependencies:[zw,Iw],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 ihc=function(a){this.proxiedService=a};Y(ihc,ogc);ihc.prototype.makeRequest=function(a){var b=this;return(0,X.defer)(function(){return b.proxiedService.makeRequest(a)})};var jhc=new rd("environment"),khc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},MP=function(){};MP.\u0275fac=function(a){return new (a||MP)};MP.\u0275mod=hd({type:MP});MP.\u0275inj=Rc({imports:[Qw,FP]});var lhc=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)|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|((photos|drive|contribution)\\-image\\-(dev|qa)(-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)?))\\/",
"i"),mhc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,nhc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,ohc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,phc=function(a){return lhc.test(a)||mhc.test(a)||nhc.test(a)||ohc.test(a)};var qhc=function(a){this.internalArray_=m(a)};Y(qhc,n);g=qhc.prototype;g.getSize=function(){return zu(this,1)};g.setSize=function(a){return gj(this,1,a)};g.getWidth=function(){return zu(this,12)};g.setWidth=function(a){return gj(this,12,a)};g.getHeight=function(){return zu(this,13)};g.setHeight=function(a){return gj(this,13,a)};g.setStretch=function(a){return $h(this,33,a)};g.setCrop=function(a){return $h(this,2,a)};g.setCircleCrop=function(a){return $h(this,51,a)};
g.setImageCrop=function(a){return $h(this,32,a)};g.setSmartCrop=function(a){return $h(this,19,a)};g.setSmartCropNoClip=function(a){return $h(this,52,a)};g.setSmartCropUseFace=function(a){return $h(this,67,a)};g.setDetectFaces=function(a){$h(this,80,a)};g.setCenterCrop=function(a){return $h(this,20,a)};g.setPad=function(a){return $h(this,60,a)};g.setDownload=function(a){$h(this,3,a)};g.setHtml=function(a){$h(this,4,a)};g.setObjectId=function(a){lp(this,7,null==a?a:Oba(a))};
g.setLooseFaceCrop=function(a){return $h(this,65,a)};g.setFaceCropVersion=function(a){gj(this,94,a)};g.setFrameId=function(a){lp(this,29,null==a?a:Oba(a))};g.setTileX=function(a){gj(this,9,a)};g.setTileY=function(a){gj(this,10,a)};g.setTileZoom=function(a){gj(this,11,a)};g.setTileGeneration=function(a){$h(this,14,a)};g.setForceTileGeneration=function(a){$h(this,34,a)};g.setTilePyramidAsProto=function(a){$h(this,72,a)};g.setExpirationTime=function(a){gj(this,15,a)};
g.setExpirationTimeInMinutes=function(a){gj(this,107,a)};g.setImageFilter=function(a){return Zh(this,16,a)};g.setKillAnimation=function(a){return $h(this,17,a)};g.setUnfiltered=function(a){$h(this,18,a)};g.setUnfilteredWithTransforms=function(a){$h(this,45,a)};g.setIncludeMetadata=function(a){$h(this,22,a)};g.setIncludePublicMetadata=function(a){$h(this,54,a)};g.setStripGoogleData=function(a){$h(this,82,a)};g.setPreserveGoogleData=function(a){$h(this,83,a)};
g.setStripMetadata=function(a){$h(this,93,a)};g.setStripGeoinfo=function(a){$h(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return $h(this,21,a)};g.setBypassTakedown=function(a){$h(this,23,a)};g.getToken=function(){return wj(this,24)};g.setToken=function(a){return Zh(this,24,a)};g.setVersionedToken=function(a){Zh(this,36,a)};g.setSkipRefererCheck=function(a){$h(this,6,a)};g.setRotate=function(a){return gj(this,26,a)};g.setHorizontalFlip=function(a){$h(this,30,a)};
g.setVerticalFlip=function(a){$h(this,31,a)};g.getOverlay=function(){return vt(this,27)};g.setOverlay=function(a){return $h(this,27,a)};g.setQueryString=function(a){Zh(this,28,a)};g.setRequestJpeg=function(a){return $h(this,57,a)};g.setRequestPng=function(a){return $h(this,58,a)};g.setRequestGif=function(a){$h(this,59,a)};g.setRequestAvif=function(a){$h(this,103,a)};g.setRequestWebp=function(a){return $h(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){$h(this,41,a)};
g.setRequestAnimatedWebp=function(a){$h(this,64,a)};g.setNoWebp=function(a){$h(this,48,a)};g.setRequestH264=function(a){return $h(this,49,a)};g.setLossy=function(a){$h(this,97,a)};g.setNoOverlay=function(a){return $h(this,37,a)};g.setBorderSize=function(a){gj(this,38,a)};g.setBorderRadius=function(a){gj(this,86,a)};g.setBorderColor=function(a){gj(this,39,a)};g.getBackgroundColor=function(){return zu(this,87)};g.setBackgroundColor=function(a){gj(this,87,a)};g.setPadColor=function(a){gj(this,88,a)};
g.setSubstitutionColor=function(a){gj(this,89,a)};g.setNoSilhouette=function(a){$h(this,40,a)};g.setFocusBlur=function(a){gj(this,42,a)};g.setFocalPlane=function(a){gj(this,43,a)};g.setQualityLevel=function(a){return gj(this,44,a)};g.setQualityBucket=function(a){return gj(this,62,a)};g.setNoUpscale=function(a){$h(this,46,a)};g.setPreserveAspectRatio=function(a){$h(this,61,a)};g.setForceTransformation=function(a){$h(this,50,a)};g.setNoDefaultImage=function(a){$h(this,53,a)};
g.setNoCorrectExifOrientation=function(a){$h(this,55,a)};g.setSelectFrameNumber=function(a){gj(this,56,a)};g.setVideoFormat=function(a){gj(this,63,a)};g.setVideoMultiFormat=function(a){Zh(this,81,a)};g.setVideoManifest=function(a){$h(this,98,a)};g.setDownloadVideo=function(a){$h(this,90,a)};g.setVideoBegin=function(a){pj(this,68,a)};g.setVideoLength=function(a){pj(this,69,a)};g.setMatchVersion=function(a){$h(this,66,a)};g.setImageDigest=function(a){$h(this,70,a)};
g.setInternalClient=function(a){gj(this,71,a)};g.setMonogram=function(a){$h(this,73,a)};g.setForceMonogram=function(a){return $h(this,84,a)};g.setMonogramDogfood=function(a){$h(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){$h(this,96,a)};g.setAutoloop=function(a){$h(this,74,a)};g.getImageVersion=function(){return Au(this,75)};g.setImageVersion=function(a){pj(this,75,a)};g.setPitchDegrees=function(a){lp(this,76,ib(a))};g.setYawDegrees=function(a){lp(this,77,ib(a))};
g.setRollDegrees=function(a){lp(this,78,ib(a))};g.setFovDegrees=function(a){lp(this,79,ib(a))};g.setBadge=function(a){gj(this,85,a)};g.setColorProfile=function(a){gj(this,92,a)};g.setDeepCrop=function(a){Zh(this,99,a)};g.setRequestVideoFast=function(a){$h(this,100,a)};g.setVideoFormatFilters=function(a){Zh(this,102,a)};g.setDummyCacheKeyModifier=function(a){$h(this,104,a)};g.setGainMap=function(a){$h(this,105,a)};g.setNoGainMap=function(a){$h(this,106,a)};
g.setForceCookieRedirect=function(a){$h(this,108,a)};var NP=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};NP.prototype.set=function(a,b){rhc(this,a,b,!1)};NP.prototype.add=function(a,b){rhc(this,a,b,!0)};var rhc=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 NP);a=a.childNodes_[f]}if(d&&void 0!==a.value_)throw Error("Ed`"+b);a.value_=c};NP.prototype.setAll=function(a){var b=P3b(a);a=pD(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var shc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};NP.prototype.get=function(a){return(a=shc(this,a))?a.value_:void 0};NP.prototype.getValues=function(){var a=[];thc(this,a);return a};var thc=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)thc(a.childNodes_[c],b)};
NP.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]}uhc(c,a,b)}else uhc(this,"",b);return b};var uhc=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)uhc(a.childNodes_[d],b+d,c)};g=NP.prototype;g.containsKey=function(a){return void 0!==this.get(a)};
g.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};g.clear=function(){this.childNodes_={};this.value_=void 0};g.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("Fd`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
g.clone=function(){return new NP(this)};g.getCount=function(){return O3b(this.getValues())};g.isEmpty=function(){return void 0===this.value_&&jc(this.childNodes_)};var xhc=function(){if(!vhc){var a=vhc=new NP,b;for(b in whc)a.add(b,whc[b])}},vhc,OP=function(a,b){this.types=a;this.setters=b},whc={a:new OP([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new OP([3],[function(a,b){a.setAutoloop(b)}]),b:new OP([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new OP([0],[function(a,b){a.setBadge(b)}]),bc:new OP([0],[function(a,b){a.setBackgroundColor(b)}]),br:new OP([0],[function(a,
b){a.setBorderRadius(b)}]),c:new OP([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new OP([3],[function(a,b){a.setCircleCrop(b)}]),ci:new OP([3],[function(a,b){a.setImageCrop(b)}]),ckm:new OP([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new OP([0],[function(a,b){a.setColorProfile(b)}]),cr:new OP([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new OP([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new OP([3],[function(a,b){a.setDownload(b)}]),dc:new OP([5],
[function(a,b){a.setDeepCrop(b)}]),df:new OP([3],[function(a,b){a.setDetectFaces(b)}]),dv:new OP([3],[function(a,b){a.setDownloadVideo(b)}]),e:new OP([0],[function(a,b){a.setExpirationTime(b)}]),em:new OP([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new OP([4],[function(a,b){a.setImageFilter(b)}]),fg:new OP([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new OP([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new OP([3],[function(a,b){a.setForceMonogram(b)}]),fo:new OP([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new OP([3],[function(a,b){a.setForceTransformation(b)}]),fv:new OP([3],[function(a,b){a.setVerticalFlip(b)}]),g:new OP([3],[function(a,b){a.setTileGeneration(b)}]),gd:new OP([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new OP([3],[function(a,b){a.setGainMap(b)}]),h:new OP([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new OP([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new OP([0],[function(a,b){a.setInternalClient(b)}]),id:new OP([3],[function(a,
b){a.setImageDigest(b)}]),il:new OP([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new OP([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new OP([0],[function(a,b){a.setImageVersion(b)}]),j:new OP([1],[function(a,b){a.setFrameId(b)}]),k:new OP([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new OP([0],[function(a,b){a.setQualityLevel(b)}]),lf:new OP([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new OP([3],[function(a,b){a.setLossy(b)}]),m:new OP([0],
[function(a,b){a.setVideoFormat(b)}]),md:new OP([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new OP([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new OP([3],[function(a,b){a.setMonogram(b)}]),mv:new OP([3],[function(a,b){a.setMatchVersion(b)}]),n:new OP([3],[function(a,b){a.setCenterCrop(b)}]),nc:new OP([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new OP([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new OP([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new OP([3],[function(a,
b){a.setNoGainMap(b)}]),no:new OP([3],[function(a,b){a.setNoOverlay(b)}]),ns:new OP([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new OP([4],[function(a,b){a.setVersionedToken(b)}]),nu:new OP([3],[function(a,b){a.setNoUpscale(b)}]),nw:new OP([3],[function(a,b){a.setNoWebp(b)}]),o:new OP([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new OP([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new OP([3],[function(a,b){a.setPreserveAspectRatio(b)}]),
pc:new OP([0],[function(a,b){a.setPadColor(b)}]),pd:new OP([3],[function(a,b){a.setPad(b)}]),pf:new OP([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new OP([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new OP([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new OP([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new OP([4],[function(a,b){a.setQueryString(b)}]),r:new OP([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new OP([3],[function(a,b){a.setRequestAvif(b)}]),
rf:new OP([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new OP([3],[function(a,b){a.setRequestGif(b)}]),rh:new OP([3],[function(a,b){a.setRequestH264(b)}]),rj:new OP([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new OP([2],[function(a,b){a.setRollDegrees(b)}]),rp:new OP([3],[function(a,b){a.setRequestPng(b)}]),rw:new OP([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new OP([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new OP([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),
s:new OP([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new OP([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new OP([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new OP([3],[function(a,b){a.setStripMetadata(b)}]),t:new OP([4],[function(a,b){a.setToken(b)}]),u:new OP([3],[function(a,b){a.setUnfiltered(b)}]),ut:new OP([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new OP([0],[function(a,b){a.setQualityBucket(b)}]),vb:new OP([0],[function(a,b){a.setVideoBegin(b)}]),
vf:new OP([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new OP([0],[function(a,b){a.setVideoLength(b)}]),vm:new OP([3],[function(a,b){a.setVideoManifest(b)}]),w:new OP([0],[function(a,b){a.setWidth(b)}]),x:new OP([0],[function(a,b){a.setTileX(b)}]),y:new OP([0],[function(a,b){a.setTileY(b)}]),ya:new OP([2],[function(a,b){a.setYawDegrees(b)}]),z:new OP([0],[function(a,b){a.setTileZoom(b)}])};
xhc.prototype.parse=function(a){var b=new qhc,c=new qhc;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(0==f.length)d=!1;else{var h=f,l=!1;var q=h;var t=h.charAt(0);t!=t.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var w=vhc;for(t=1;t<=q.length;++t){var B=w,D=q.substring(0,t);if(0==D.length?B.isEmpty():!shc(B,D))break}q=1==t?null:(q=w.get(q.substring(0,t-1)))?{option:h.substring(0,t-1),value:h.substring(t-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];t=!1;for(w=0;w<q.attributes.types.length;w++){B=q.attributes.types[w];var J=q.value;D=e;if(q.signed&&1==B)for(var H=J.length;12>H&&D<a.length-1;)J+="-"+a[D+1],H=J.length,++D;else if(2==B)for(;D<a.length-1&&a[D+1].match(/^[\d\.]/);)J+="-"+a[D+1],++D;H=q.attributes.setters[w];J=yhc(this,B)(q.option,J,b,c,H);if(null===J){t=!0;e=D;break}else h.push(B),l.push(J)}if(!t)for(q=0;q<l.length;q++)w=h[q],J=l[q],zhc(this,w)(f,J);d=d&&t}else d=!1}}a=d}return new Ahc(b,c,a)};
var Bhc=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=xhc.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=qi(b);if(isNaN(b))return 1;Bhc(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=ql(b);if(isNaN(b))return 1;Bhc(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;Bhc(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;Bhc(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;Bhc(a,b,c,d,e,function(f){return f?1:0});return null};
var yhc=function(a,b){switch(b){case 0:return fu(a.parseAndSetIntOption_,a);case 2:return fu(a.parseAndSetFloatOption_,a);case 3:return fu(a.parseAndSetBoolOption_,a);case 4:return fu(a.parseAndSetStringOption_,a);case 1:return fu(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},zhc=function(a,b){switch(b){case 0:return fu(a.logIntParseError_,a);case 2:return fu(a.logFloatParseError_,a);case 3:return fu(a.logBoolParseError_,a);case 4:case 1:return fu(a.logStringParseError_,a);default:return function(){}}},
Ahc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Ahc.prototype.isValid=function(){return this.valid_};var Chc=function(a,b){null!=a&&this.append.apply(this,arguments)};g=Chc.prototype;g.buffer_="";g.set=function(a){this.buffer_=""+a};g.append=function(a,b,c){this.buffer_+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};g.clear=function(){this.buffer_=""};g.toString=function(){return this.buffer_};var Ehc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;Dhc(this,a)};Ehc.prototype.getParsedOptions=function(){return this.parsedOptions_};var Fhc=function(a){null==a.parser_&&(a.parser_=new xhc);return a.parser_},Dhc=function(a,b){a.parsedOptions_=b?"string"===typeof b?Fhc(a).parse(b):b:Fhc(a).parse("")},PP=function(a,b){return a==b?!1:!0};g=Ehc.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,21),vt(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,56),zu(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,74),vt(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,23,!1),Li(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,38),zu(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,85),zu(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,86),zu(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,2,!1),Li(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,39),zu(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,51),vt(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,32),vt(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,104),vt(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,92),zu(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,108),vt(b.signatureFlagProto_,108))&&c.setForceCookieRedirect(a)};
g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,94),zu(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,3,!1),Li(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,wj(c,99),wj(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};
g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,80),vt(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,90),vt(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,15),zu(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,107),zu(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,wj(c,16),wj(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,34,!1),Li(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,30),vt(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,84),vt(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Zq(c,79),Zq(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,50),vt(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,31),vt(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,14,!1),Li(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};
g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,83),vt(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,105),vt(b.signatureFlagProto_,105))&&c.setGainMap(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,4,!1),Li(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};
g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(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_;PP(a,vt(c,22),vt(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,71),zu(b.signatureFlagProto_,71))&&c.setInternalClient(a)};
g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,70),vt(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,96),vt(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,54),vt(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Au(c,75),Au(b.signatureFlagProto_,75))&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Bu(c,29),Bu(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,17),vt(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,42),zu(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,44),zu(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,65),vt(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};
g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,97),vt(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,63),zu(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,91),vt(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};
g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,wj(c,81),wj(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,73),vt(b.signatureFlagProto_,73))&&c.setMonogram(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,66),vt(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};
g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,20,!1),Li(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,55),vt(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,53),vt(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,95),vt(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,106),vt(b.signatureFlagProto_,106))&&c.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,37,!1),Li(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};
g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,40),vt(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,wj(c,36),wj(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,46),vt(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,48,!1),Li(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Bu(c,7),Bu(b.signatureFlagProto_,7))&&c.setObjectId(a)};g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(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_;PP(a,Li(c,19,!1),Li(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,43),zu(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,61),vt(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,88),zu(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,60),vt(b.signatureFlagProto_,60))&&c.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,67,!1),Li(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};
g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,72,!1),Li(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Zq(c,76),Zq(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,52,!1),Li(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};
g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,wj(c,28),wj(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,6,!1),Li(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,26),zu(b.signatureFlagProto_,26))&&c.setRotate(a);return this};
g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,103,!1),Li(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,100),vt(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,59),vt(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,49,!1),Li(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,57),vt(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Zq(c,78),Zq(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,58),vt(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,35,!1),Li(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,64,!1),Li(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,Li(c,41,!1),Li(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,33),vt(b.signatureFlagProto_,33))&&c.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,89),zu(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,82),vt(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,93),vt(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};
g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,18),vt(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,45),vt(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};
g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,62),zu(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Au(c,68),Au(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,wj(c,102),wj(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};
g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Au(c,69),Au(b.signatureFlagProto_,69))&&c.setVideoLength(a)};g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;PP(a,vt(c,98),vt(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};
g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,9),zu(b.signatureFlagProto_,9))&&c.setTileX(a)};g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,10),zu(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,Zq(c,77),Zq(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;PP(a,zu(c,11),zu(b.signatureFlagProto_,11))&&c.setTileZoom(a)};
g.setOptions=function(a){Dhc(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;QP(this,"s",b.getSize(),a.getSize());QP(this,"w",b.getWidth(),a.getWidth());RP(this,"c",Li(b,2,!1),Li(a,2,!1));RP(this,"d",Li(b,3,!1),Li(a,3,!1));QP(this,"h",b.getHeight(),a.getHeight());RP(this,"s",vt(b,33),vt(a,33));RP(this,"h",Li(b,4,!1),Li(a,4,!1));RP(this,"p",Li(b,19,!1),Li(a,19,!1));RP(this,"pp",Li(b,52,!1),Li(a,52,!1));RP(this,"pf",Li(b,67,!1),Li(a,67,!1));RP(this,"n",Li(b,20,!1),
Li(a,20,!1));QP(this,"r",zu(b,26),zu(a,26));RP(this,"r",Li(b,6,!1),Li(a,6,!1));RP(this,"o",b.getOverlay(),a.getOverlay());var c=Bu(b,7);SP(this,"o",c,Bu(a,7));c=Bu(b,29);SP(this,"j",c,Bu(a,29));QP(this,"x",zu(b,9),zu(a,9));QP(this,"y",zu(b,10),zu(a,10));QP(this,"z",zu(b,11),zu(a,11));RP(this,"g",Li(b,14,!1),Li(a,14,!1));QP(this,"e",zu(b,15),zu(a,15));SP(this,"f",wj(b,16),wj(a,16));RP(this,"k",vt(b,17),vt(a,17));RP(this,"u",vt(b,18),!0);RP(this,"ut",vt(b,45),!0);RP(this,"i",vt(b,22),!0);RP(this,"a",
vt(b,21),vt(a,21));RP(this,"b",Li(b,23,!1),Li(a,23,!1));QP(this,"b",zu(b,38),zu(a,38));QP(this,"c",zu(b,39),zu(a,39),16,8);SP(this,"q",wj(b,28),wj(a,28));RP(this,"fh",vt(b,30),vt(a,30));RP(this,"fv",vt(b,31),vt(a,31));RP(this,"fg",Li(b,34,!1),Li(a,34,!1));RP(this,"ci",vt(b,32),vt(a,32));SP(this,"t",b.getToken(),a.getToken());SP(this,"nt0",wj(b,36),wj(a,36));RP(this,"rw",Li(b,35,!1),Li(a,35,!1));RP(this,"rwu",Li(b,41,!1),Li(a,41,!1));RP(this,"rwa",Li(b,64,!1),Li(a,64,!1));RP(this,"nw",Li(b,48,!1),
Li(a,48,!1));RP(this,"rh",Li(b,49,!1),Li(a,49,!1));RP(this,"no",Li(b,37,!1),Li(a,37,!1));RP(this,"ns",vt(b,40),vt(a,40));QP(this,"k",zu(b,42),zu(a,42));QP(this,"p",zu(b,43),zu(a,43));QP(this,"l",zu(b,44),zu(a,44));QP(this,"v",zu(b,62),zu(a,62));RP(this,"nu",vt(b,46),vt(a,46));RP(this,"ft",vt(b,50),vt(a,50));RP(this,"cc",vt(b,51),vt(a,51));RP(this,"nd",vt(b,53),vt(a,53));RP(this,"ip",vt(b,54),vt(a,54));RP(this,"nc",vt(b,55),vt(a,55));QP(this,"a",zu(b,56),zu(a,56));RP(this,"rj",vt(b,57),vt(a,57));RP(this,
"rp",vt(b,58),vt(a,58));RP(this,"rg",vt(b,59),vt(a,59));RP(this,"pd",vt(b,60),vt(a,60));RP(this,"pa",vt(b,61),vt(a,61));QP(this,"m",zu(b,63),zu(a,63));QP(this,"vb",Au(b,68),Au(a,68));QP(this,"vl",Au(b,69),Au(a,69));RP(this,"lf",vt(b,65),vt(a,65));RP(this,"mv",vt(b,66),vt(a,66));RP(this,"id",vt(b,70),vt(a,70));QP(this,"ic",zu(b,71),!0);RP(this,"pg",Li(b,72,!1),Li(a,72,!1));RP(this,"mo",vt(b,73),vt(a,73));RP(this,"al",vt(b,74),vt(a,74));QP(this,"iv",Au(b,75),Au(a,75));QP(this,"pi",Zq(b,76),Zq(a,76));
QP(this,"ya",Zq(b,77),Zq(a,77));QP(this,"ro",Zq(b,78),Zq(a,78));QP(this,"fo",Zq(b,79),Zq(a,79));RP(this,"df",vt(b,80),vt(a,80));SP(this,"mm",wj(b,81),wj(a,81));RP(this,"sg",vt(b,82),vt(a,82));RP(this,"gd",vt(b,83),vt(a,83));RP(this,"fm",vt(b,84),vt(a,84));QP(this,"ba",zu(b,85),zu(a,85));QP(this,"br",zu(b,86),zu(a,86));QP(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);QP(this,"pc",zu(b,88),zu(a,88),16,8);QP(this,"sc",zu(b,89),zu(a,89),16,8);RP(this,"dv",vt(b,90),vt(a,90));RP(this,"md",
vt(b,91),vt(a,91));QP(this,"cp",zu(b,92),zu(a,92));RP(this,"sm",vt(b,93),vt(a,93));QP(this,"cv",zu(b,94),zu(a,94));RP(this,"ng",vt(b,95),vt(a,95));RP(this,"il",vt(b,96),vt(a,96));RP(this,"lo",vt(b,97),vt(a,97));RP(this,"vm",vt(b,98),vt(a,98));SP(this,"dc",wj(b,99),wj(a,99));RP(this,"rf",vt(b,100),vt(a,100));SP(this,"vf",wj(b,102),wj(a,102));RP(this,"ra",Li(b,103,!1),Li(a,103,!1));RP(this,"ckm",vt(b,104),vt(a,104));RP(this,"gm",vt(b,105),vt(a,105));RP(this,"ngm",vt(b,106),vt(a,106));QP(this,"em",zu(b,
107),zu(a,107));RP(this,"cr",vt(b,108),vt(a,108));return this.components_.join("-")};var QP=function(a,b,c,d,e,f){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new Chc;e.append(16==h?"0x":"");h=e.append;void 0==f?f="":(f-=c.length,f=0>=f?"":qSb("0",f));h.call(e,f);e.append(c);Ghc(a,b,e.toString(),!!d)}},RP=function(a,b,c,d){c&&Ghc(a,b,"",!!d)},SP=function(a,b,c,d){c&&Ghc(a,b,c,!!d)},Ghc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var TP=function(a){Ehc.call(this,a)};hu(TP,Ehc);g=TP.prototype;g.setCrop=function(a){a&&UP(this);return TP.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return TP.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&UP(this);return TP.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return TP.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return TP.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&UP(this);return TP.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&UP(this);return TP.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){Ba(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return TP.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&UP(this);return TP.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&UP(this);return TP.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&UP(this);return TP.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&UP(this);return TP.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&UP(this);return TP.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return TP.superClass_.setWidth.call(this,a)};var UP=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
TP.prototype.build=function(){var a=this.getParsedOptions().valueProto_;vt(a,18)||vt(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),UP(this)));return TP.superClass_.build.call(this)};var Hhc=/^[^\/]*\/\//,VP=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Hhc))&&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_=AD(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},Ihc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},WP=function(a){if(void 0==a.components_){var b=a.uri_.getPath().substring(1);
a.pathPrefix_=null;if(a.isFreeformUrl_){a.components_=[];if(1<(b.match(/=/g)||[]).length)return a.valid_=!1,a.components_;var c=b.indexOf("=");-1!=c?(a.components_.push(b.substr(0,c)),a.components_.push(b.substr(c+1))):a.components_.push(b);return a.components_}a.components_=b.split("/");b=a.components_.length;2<b&&"u"==a.components_[0]&&(Ihc(a,a.components_[0]+"/"+a.components_[1]),a.components_.shift(),a.components_.shift(),b-=2);if(0==b||4==b||7<b)return a.valid_=!1,a.components_;if(2==b)Ihc(a,
a.components_[0]);else if("image"==a.components_[0])Ihc(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(Ihc(a,a.components_[1]),a.components_.shift(),--b);--b;c=a.components_[b];var d=c.indexOf("=");-1!=d&&(a.components_[b]=c.substr(0,d),a.components_.push(c.substr(d+1)))}}return a.components_};VP.prototype.isValid=function(){WP(this);return this.valid_};var Jhc=function(a){WP(a);return a.obfuscated_},Khc=function(a){WP(a);return a.isFreeformUrl_};
VP.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};VP.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var XP=function(a){WP(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};VP.prototype.hasOptions=function(){switch(WP(this).length){case 7:return!0;case 6:return null==XP(this);case 5:return!1;case 3:return!0;case 2:return null==XP(this);case 1:return!1;default:return!1}};
var YP=function(a,b){if(Khc(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=WP(a)[b]}else if(Jhc(a))a:{var c=null!=XP(a)?1:0;switch(b){case 6:b=c;break;case 4:if(!a.hasOptions()){a=null;break a}b=1+c;break;default:a=null;break a}a=WP(a)[b]}else a:{c=null!=XP(a)?1:0;switch(b){case 0:b=c;break;case 1:b=1+c;break;case 2:b=2+c;break;case 3:b=3+c;break;case 4:if(!a.hasOptions()){a=null;break a}b=4+c;break;case 5:b=a.hasOptions()?1:0;b=4+c+b;
break;default:a=null;break a}a=WP(a)[b]}return a};g=VP.prototype;g.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=YP(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=YP(this,1));return this.photoId_};g.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=YP(this,2));return this.imageVersion_};g.getOptions=function(){void 0==this.options_&&(this.options_=YP(this,4));return this.options_};
g.getFilename=function(){void 0==this.filename_&&(this.filename_=YP(this,5));return this.filename_};var Lhc=function(){};Lhc.prototype.parse=function(a,b){return new Mhc(a,void 0===b?!1:b)};var Mhc=function(a,b){VP.call(this,a,void 0===b?!1:b)};Y(Mhc,VP);Mhc.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new xhc).parse(a)}return this.parsedOptions_};var ZP=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof Mhc||(void 0==Nhc&&(Nhc=new Lhc),a=Nhc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();Ehc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},Nhc;hu(ZP,TP);ZP.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
ZP.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=ZP.superClass_.build.call(this),b=[];null!=XP(this.parsedImageUrl_)&&b.push(XP(this.parsedImageUrl_));var c=Khc(this.parsedImageUrl_);if(Jhc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=YP(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=YP(e,7));d.call(b,
e.freeformUrlPath_);a&&b.push(a)}else b.push(this.parsedImageUrl_.getObfuscatedGaiaId()),b.push(this.parsedImageUrl_.getPhotoId()),b.push(this.parsedImageUrl_.getImageVersion()),d=b.push,e=this.parsedImageUrl_,void 0==e.signature_&&(e.signature_=YP(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=AD(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var Ohc=/\/\/lh[3-6]\./,Phc=function(a,b,c,d){if(!a||!phc(String(a)))return String(a||"");a=String(a);void 0===d&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(Ohc,"//lh3.");return(new ZP(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 Qhc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],$P=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new X.ReplaySubject(1);this.person$=this.providedEmail$.pipe(wf(function(d){return vgc(c.peopleService,d)}),z(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(phc(h)){var l=new ZP(h);l.setSize(48);h=l.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),tf(1));this.outOfOfficeDescription$=
new X.ReplaySubject;this.init=new X.ReplaySubject(1);this.destroyed$=new X.ReplaySubject(1)};$P.prototype.ngOnInit=function(){var a=this;this.person$.pipe(mf(),xf(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&Rhc(this)};var Rhc=function(a){a.waldoService&&a.person$.pipe(wf(function(b){return b?hhc(a.waldoService,b.email):(0,X.of)("")}),xf(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
Ac.Object.defineProperties($P.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});$P.\u0275fac=function(a){return new (a||$P)(C(rP),C(KP,8))};
$P.\u0275cmp=r({type:$P,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},standalone:!0,features:[yg],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&&(cg(Qhc),E(0,fNa,4,4,"onedev-person-hovercard-body",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.person$))},dependencies:[Qw,zw,Iw,
tP,kP,MP],encapsulation:2,changeDetection:0});var Shc=[[["onedev-hovercard-action"],["",8,"actions"]]],aQ=function(){};aQ.prototype.ngOnInit=function(){};aQ.\u0275fac=function(a){return new (a||aQ)};
aQ.\u0275cmp=r({type:aQ,selectors:[["b-person-card"]],inputs:{email:"email"},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&&(cg(Shc),E(0,gNa,3,3,"onedev-person-hovercard",1))},dependencies:[$P,KL,LL],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 bQ=function(){this.isNonObfuscatedEmail=Pn};bQ.\u0275fac=function(a){return new (a||bQ)};
bQ.\u0275cmp=r({type:bQ,selectors:[["b-person-hovercard"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[["content",""],["card",""],[4,"ngIf","ngIfElse"],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(cg(),E(0,iNa,6,4,"ng-container",2)(1,jNa,1,0,"ng-template",null,0,Eg));a&2&&(a=R(2),F("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",a))},
dependencies:[zw,Hw,JL,OL,aQ],encapsulation:2,changeDetection:0});var cQ=function(){};cQ.prototype.transform=function(a){if(Pn(a))return a};cQ.\u0275fac=function(a){return new (a||cQ)};cQ.\u0275pipe=kd({name:"omitObfuscatedEmail",type:cQ,pure:!0});var Thc=function(a){this.internalArray_=m(a)};Y(Thc,n);Thc.prototype.getDisplayName=function(){return ec(this,1)};Thc.prototype.setDisplayName=function(a){return Zh(this,1,a)};Thc.prototype.getPhotoUrl=function(){return ec(this,2)};var Uhc=function(a){this.internalArray_=m(a,0,Uhc.messageId)};Y(Uhc,n);Uhc.messageId="b.UserProfileBatchResponse";var dQ=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new Cac(function(d){return c.batchAdaptedGet(d)},100)};dQ.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};dQ.\u0275fac=function(a){return new (a||dQ)(p(eQ),p(SF))};dQ.\u0275prov=Pc({token:dQ,factory:dQ.\u0275fac,providedIn:"root"});var eQ=function(a){this.executor=a};
eQ.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(u(a)).join(",")}},responseConstructor:Uhc}).pipe(gf(function(){return(0,X.of)(new Uhc)}))};eQ.prototype.split=function(a,b){return(a=Ob(b,1,Thc,vb).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:ec(a,3),displayName:a.getDisplayName()}:void 0};eQ.\u0275fac=function(a){return new (a||eQ)(p(HE))};eQ.\u0275prov=Pc({token:eQ,factory:eQ.\u0275fac,providedIn:"root"});var fQ=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};fQ.\u0275fac=function(a){return new (a||fQ)(C(gJ))};fQ.\u0275cmp=r({type:fQ,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&E(0,kNa,1,2,"ng-template",0);a&2&&F("refreshable",b.refreshMonitor.getObservable())},dependencies:[LP,HN],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var Vhc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=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=null;this.customField=[];this.duplicateIssueId=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
Vhc.prototype.setData=function(a,b,c){this.issueId=b;a=li(a);a.status=a.status||"NEW";a.blockingIssueId=a.blockingIssueId||[];a.componentId=a.componentId||0;a.changelist=a.changelist||[];a.gerritChanges=a.gerritChanges||[];a.postmortems=a.postmortems||[];a.blockedByIssueId=a.blockedByIssueId||[];a.foundInVersion=a.foundInVersion||[];a.hotlistId=a.hotlistId||[];a.targetedToVersion=a.targetedToVersion||[];a.verifiedInVersion=a.verifiedInVersion||[];a.customField=a.customField||[];a.deletionReason=a.deletionReason||
null;a.duplicateOfIssueId=a.duplicateOfIssueId||null;a.isDeleted=a.isDeleted||!1;this.originalModelData=li(a);this.assignee=Vk(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=Xk(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=Xk(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.gerritChanges=a.gerritChanges;this.componentId=a.componentId||
0;this.deletionReason=a.deletionReason;this.duplicateIssueId=a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=Vk(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;
this.type=a.type;this.verifiedInVersion=a.verifiedInVersion;this.verifier=Vk(a.verifierUser);this.verifierUser=a.verifierUser;this.sloStartTime=a.sloStartTime;this.sloEndTime=a.sloEndTime;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=null!=(e=null==(d=a.effort)?void 0:d.estimate)?e:null;this.customField=[];a&&(this.customField=(a.customField||[]).filter(function(f){return f}).map(function(f){return new Whc(f)}));c=k(c);e=c.next();for(d={};!e.done;d={fieldResource:void 0},e=c.next())d.fieldResource=
e.value,e=d.fieldResource.allowedValue?d.fieldResource.allowedValue.map(function(f){return{value:f,displayText:f}}):null,(a=this.customField.find(function(f){return function(h){return h.customFieldId===f.fieldResource.customFieldId}}(d)))?(a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a):(a=new Whc({customFieldId:d.fieldResource.customFieldId}),a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,
a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a)};
var Yhc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Xhc(a,d.customFieldId);if(!ki(e?Gn(e):null,Gn(d))){if(e=Hn(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){gQ(Vk(a.originalModelData.assigneeUser),a.assignee,"assignee",b);gQ(a.originalModelData.componentId,a.componentId,"componentId",b,!0);gQ(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",
b);gQ(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);gQ(a.originalModelData.inProd,a.inProd,"inProd",b);gQ(a.originalModelData.isArchived,a.isArchived,"isArchived",b);gQ(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);gQ(a.originalModelData.priority,a.priority,"priority",b);gQ(Vk(a.originalModelData.reporterUser),a.reporter,"reporter",b);gQ(a.originalModelData.severity,a.severity,"severity",b);gQ(a.originalModelData.status,a.status,"status",b);gQ(a.originalModelData.title,
a.title,"title",b);gQ(a.originalModelData.type,a.type,"type",b);gQ(Vk(a.originalModelData.verifierUser),a.verifier,"verifier",b);var f,h,l,q;gQ(null!=(l=null==(f=a.originalModelData.sloStartTime)?void 0:f.seconds)?l:null,null!=(q=null==(h=a.sloStartTime)?void 0:h.seconds)?q:null,"sloStartTime",b);var t,w,B,D;gQ(null!=(B=null==(t=a.originalModelData.sloEndTime)?void 0:t.seconds)?B:null,null!=(D=null==(w=a.sloEndTime)?void 0:w.seconds)?D:null,"sloEndTime",b);gQ(a.originalModelData.sloSnoozeType,a.sloSnoozeType,
"sloSnoozeType",b);var J,H;gQ(null!=(H=null==(J=a.originalModelData.effort)?void 0:J.estimate)?H:null,a.effortEstimate,"effortEstimate",b);hQ(Xk(a.originalModelData.ccUsers),a.cc,"ccs",b);hQ(Xk(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);hQ(a.originalModelData.changelist,a.changelist,"changelists",b);hQ(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);hQ(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);hQ(a.originalModelData.foundInVersion,
a.foundInVersion,"foundInVersion",b);hQ(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);hQ(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);hQ(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},gQ=function(a,b,c,d,e){a!==b&&(a={fieldName:c,value:null!=b?String(b):void 0},e&&(a.ignoreOnIssueEditRequest=!0),d.push(a))},hQ=function(a,b,c,d){var e=fsa(b||[],new Set(a));a=fsa(a||[],
new Set(b));e.length&&d.push({fieldName:c,value:e.join(","),actionType:"ADD"});a.length&&d.push({fieldName:c,value:a.join(","),actionType:"REMOVE"})};g=Vhc.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:vc(c,"Unexpected custom field type: "+c)}}};g.setIsDeleted=function(a){this.isDeleted=a};g.setIsArchived=function(a){this.isArchived=a};g.setDeletionReason=function(a){this.deletionReason=a};g.setReporter=function(a){this.reporter=a};g.setType=function(a){this.type=a};g.setPriority=function(a){this.priority=a};
g.setSeverity=function(a){this.severity=a};g.setAssignee=function(a){this.assignee=a;a=cl[this.status];!this.assignee&&this.originalModelData&&Vk(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&Vk(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=cl[this.status];"FORBIDDEN"===(null==a?void 0:a.assigneeRequirement)&&this.assigneeUser?this.assignee="":"REQUIRED"!==(null==a?void 0:a.assigneeRequirement)||this.assigneeUser||(this.assignee=this.currentUserEmail);"VERIFIED"!==this.status||this.verifier||(this.verifier=this.currentUserEmail)};g.setInProd=function(a){this.inProd=a};g.setCollaborators=function(a){this.collaborators=a};g.setSloEndTime=function(a){this.sloEndTime=a};
g.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var Xhc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},v4a=function(a){var b=[];a.changelist&&b.push.apply(b,u(a.changelist));a.gerritChanges&&b.push.apply(b,u(a.gerritChanges.filter(function(c){return"MERGED"===c.state}).map(function(c){return In(c)})));return b},Zhc=function(a){return a.gerritChanges?a.gerritChanges.filter(function(b){return"PENDING"===b.state}).map(function(b){return In(b)}):[]},Whc=
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};
Whc.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var $hc=new Map([["assignee",function(a,b){a.assigneeUser=bl(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(bl).filter(Ei)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=bl(b.reporter)}],["verifier",function(a,b){a.verifierUser=bl(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 iQ=function(a){this.$window=a};iQ.\u0275fac=function(a){return new (a||iQ)(p(nH))};iQ.\u0275prov=Pc({token:iQ,factory:iQ.\u0275fac,providedIn:"root"});var jQ=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},bic=function(a,b){return new Promise(function(c){aic(a,b,function(){c(!0)},function(){c(!1)})})},aic=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=vh("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},f=xh([vh('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}),yh("a",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more")]);else if("PRIVACY_ISSUE"===b){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};f={};var h={};f=xh([vh('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}),yh("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),vh(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),yh("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),vh(". Incidents should be filed at ",{preserveNewlines:!0}),yh("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),vh(".\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:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};jQ.\u0275fac=function(a){return new (a||jQ)(p(Zr),p(TM),p(nL))};jQ.\u0275prov=Pc({token:jQ,factory:jQ.\u0275fac,providedIn:"root"});var kQ=function(a){this.dateFormatter=a};
kQ.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(En(a)):"";if(a.enumValue)return a.enumValue;if(a.numericValue||0===a.numericValue)return String(a.numericValue);if(a.repeatedTextValue)return a.repeatedTextValue.values.join(", ");if(a.repeatedDateValue)return a.repeatedDateValue.values.map(function(c){return b.dateFormatter.formatUserCalendar(En(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};kQ.\u0275fac=function(a){return new (a||kQ)(p(eO))};kQ.\u0275prov=Pc({token:kQ,factory:kQ.\u0275fac,providedIn:"root"});var lQ=function(a,b){this.customFieldFormatter=a;this.hotlistFridge=b;this.FIELD_TEXT_MAP={assignee:"Assignee",type:"Issue Type",componentId:"Component ID",duplicateOfIssueId:"Canonical Issue ID",inProd:"In Prod",priority:"Priority",severity:"Severity",status:"Status",title:"Title",verifier:"Verifier",effortEstimate:"Estimated Effort",sloStartTime:"SLO Start Time",sloEndTime:"SLO End Time",blockingIssueId:"Blocked Issues",ccs:"CCs",changelists:"Changelists",blockedByIssueId:"Blocking Issues",foundInVersion:"Found In",
hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},eic=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=mNa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=lNa(b.bulkEditOps));b=cic(f).map(function(h){return dic(a,h,c,d)});b=b.filter(Boolean);if(!b.length)return"Issue(s) updated.";b=b.join(", ");return b=e?1==e.length?b+" on 1 issue.":b+(" on "+e.length+" issues."):b+"."},cic=function(a){var b=
[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,"status"===d.fieldName?c.push(d):b.push(d);return b.concat(c)},dic=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=b.customFieldValue,e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):"effortEstimate"===b.fieldName&&d?e=d:e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===b.fieldName?
f=b.value.split(",").map(function(h){var l,q;return(l=null==(q=Gk(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?wi(f.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Added issue to Hotlist ["+f+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Removed issue from Hotlist ["+f+"]"):"ADD"===b.actionType&&"parentId"===
b.fieldName?"Added child issue(s) to parent ["+f+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+f+"]":b.actionType||"status"!==b.fieldName?b.actionType||"comment"!==b.fieldName?b.actionType||"attachments"!==b.fieldName?b.actionType||"sloStartTime"!==b.fieldName?b.actionType||"sloEndTime"!==b.fieldName?"ADD"!==b.actionType||b.customFieldValue?"REMOVE"!==b.actionType||b.customFieldValue?"isArchived"===b.fieldName?"true"===b.value?"Archived successfully":
"Unarchived successfully":e+' set to "'+f+'"':(f=f.replace(/,/g,", "),'"'+f+'" removed from '+e):(f=f.replace(/,/g,", "),'"'+f+'" added to '+e):b.value?"SLO End Time Set":"SLO End Time Unset":b.value?"SLO Start Time Set":"SLO Start Time Unset":"":"Comment added":'Status set to "'+cl[b.value].displayValue+'"'};lQ.\u0275fac=function(a){return new (a||lQ)(p(kQ),p(RI))};lQ.\u0275prov=Pc({token:lQ,factory:lQ.\u0275fac,providedIn:"root"});var oNa=function(a){this.internalArray_=m(a)};Y(oNa,n);oNa.prototype.getContentJudgement=function(){return Gi(this,mp,2)};oNa.prototype.setContentJudgement=function(a){return hj(this,mp,2,a)};var mQ=function(a){this.internalArray_=m(a)};Y(mQ,n);mQ.prototype.getIssueId=function(){return Du(this,1)};mQ.prototype.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};mQ.prototype.getIssueId_asString=function(){return Ti(this,1)};mQ.prototype.setIssueId=function(a){return oj(this,1,a)};mQ.repeatedFields_=[3];var fic=function(a){this.internalArray_=m(a)};Y(fic,n);g=fic.prototype;g.getFilename=function(){return ec(this,1)};g.setFilename=function(a){Zh(this,1,a)};g.getMimeType=function(){return ec(this,2)};g.setMimeType=function(a){Zh(this,2,a)};g.getSize=function(){return Zi(this,5)};g.setSize=function(a){return pj(this,5,a)};var nQ=function(a){this.internalArray_=m(a,0,nQ.messageId)};Y(nQ,n);nQ.prototype.getIt=function(){return Gi(this,Cl,14)};nQ.prototype.setIt=function(a){return hj(this,Cl,14,a)};nQ.prototype.hasIt=function(){return Ui(this,Cl,14)};nQ.messageId="b.Attachment";var oQ=function(a){this.internalArray_=m(a,0,oQ.messageId)};Y(oQ,n);oQ.prototype.getAttachmentsList=function(){return Ii(this,nQ,1,hi())};oQ.prototype.setAttachmentsList=function(a){return mm(this,1,a)};oQ.prototype.addAllAttachments=function(a){yu(this,1,nQ,a)};oQ.repeatedFields_=[1];oQ.messageId="b.CreateAttachmentsResponse";var pQ=function(a){this.internalArray_=m(a,0,pQ.messageId)};Y(pQ,n);pQ.prototype.getErrorMessage=function(){return ec(this,2)};pQ.prototype.setErrorMessage=function(a){Zh(this,2,a)};pQ.messageId="b.EncryptedMediaResponse";var qQ=function(a){this.executor=a},gic=function(a,b){var c=new fic;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&Zh(c,3,b.encryptedBlobId);Zh(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:pQ}).then(nNa)};qQ.\u0275fac=function(a){return new (a||qQ)(p(IE))};qQ.\u0275prov=Pc({token:qQ,factory:qQ.\u0275fac,providedIn:"root"});var rQ=function(a){this.executor=a};rQ.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})};rQ.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:nQ}).then(qNa)};
rQ.\u0275fac=function(a){return new (a||rQ)(p(IE))};rQ.\u0275prov=Pc({token:rQ,factory:rQ.\u0275fac,providedIn:"root"});var sQ=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};sQ.prototype.close=function(a){this.dialogRef.close(a)};sQ.\u0275fac=function(a){return new (a||sQ)(C(NA),C(TM),C(PA))};
sQ.\u0275cmp=r({type:sQ,selectors:[["confirm-no-access-dialog"]],decls:18,vars:2,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"h1",1),S(2,"User may not have access"),I(),G(3,"section",2)(4,"p"),S(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
I(),G(6,"ul"),E(7,sNa,2,1,"li",3),I(),G(8,"section"),S(9,"Continue anyway?"),I()(),G(10,"footer",4)(11,"div",5)(12,"a",6),S(13,"Learn more"),I()(),G(14,"button",7),N("click",function(){return b.close(!0)}),S(15,"Continue"),I(),G(16,"button",8),N("click",function(){return b.close(!1)}),S(17,"Cancel"),I()()());a&2&&(A(7),F("ngForOf",b.userEmails),A(5),F("href",b.readMoreLink,Ye))},dependencies:[Dw,CA,SA,TA,UA],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var tQ=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},iic=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,f=b.analyticsEventLabel,h,l,q;return me(function(t){switch(t.nextAddress){case 1:if(d.every(function(w){return 0===w.length}))return t.return(!0);ne(t,2);return oe(t,hic(a,c,d,e),4);case 4:h=t.yieldResult;if(0===h.length)return t.return(!0);Wo(a.analytics,sq.ADD_USER_WITHOUT_ACCESS,"warn",f);return oe(t,a.confirm(h,
e),5);case 5:l=t.yieldResult;if(!l)return wr(a.butterBar,"Save cancelled.",4E3),Wo(a.analytics,sq.ADD_USER_WITHOUT_ACCESS,"cancel",f),t.return(!1);Wo(a.analytics,sq.ADD_USER_WITHOUT_ACCESS,"proceed",f);return t.return(!0);case 2:return q=re(t),a.logger.error(q),t.return(!1)}})},hic=function(a,b,c,d){var e;return me(function(f){if(1==f.nextAddress)return oe(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(u(e.noAccessEmails||[]),u(e.unknownEmails||
[])))})};tQ.prototype.confirm=function(a,b){var c=this,d,e,f;return me(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(sQ,{width:"400px",data:d}),oe(h,(0,X.firstValueFrom)(e.afterClosed()),2);f=h.yieldResult;return h.return(!!f)})};tQ.\u0275fac=function(a){return new (a||tQ)(p(QA),p(ZI),p(pI),p(uF),p(TH))};tQ.\u0275prov=Pc({token:tQ,factory:tQ.\u0275fac,providedIn:"root"});var jic=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};jic.prototype.cancel=function(){this.state=4};var kic={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var uQ=function(a,b){this.initialComment=a=void 0===a?"":a;this.fromTemplate=void 0===b?!1:b;this.uploads=[];this.formattingMode="PLAIN";this.value=a};uQ.prototype.reset=function(){this.value="";lic(this)};var lic=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},mic=function(a){return a.fromTemplate&&a.initialComment===a.value};
uQ.prototype.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(li(c.blobRef));return a};uQ.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var nic=function(a){return!a.isEmpty()&&!Yjb(a)};uQ.prototype.isEmpty=function(){return!this.value&&!oic(this)};
var Yjb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},oic=function(a){return a.uploads.some(function(b){return 2===b.state})};var vQ=new rd("routeParams",{factory:function(){return bd(tK).params}});var wQ=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};wQ.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,X.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=qi(this.routeParams.template_comment)||1;return(0,X.defer)(function(){return pic(b,c,d,b.routeParams.do_attribution)})}return a?(0,X.of)(this.draftStore.$window.sessionStorage.getItem(jp(a))||""):(0,X.of)("")};
var pic=function(a,b,c,d){var e,f,h,l,q;return me(function(t){if(1==t.nextAddress)return ne(t,2),oe(t,a.issueComments.get(b,c),4);if(2!=t.nextAddress)return e=t.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",t.return(l+"\n\n"+f)):t.return(f);q=re(t);sI(a.errorHandler,q);return t.return("")})};wQ.\u0275fac=function(a){return new (a||wQ)(p(vQ),p(HK),p(iQ),p(qI))};wQ.\u0275prov=Pc({token:wQ,factory:wQ.\u0275fac,providedIn:"root"});var qic=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issue$=this.issueFridge.watch(this.issueId);this.componentId$=this.issue$.pipe(z(function(h){return null==h?void 0:h.snapshot[0].componentId}),lf());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(vf(""),lf(),zf(this.userPreferencesManager.lastPublishModeProto$),z(function(h){var l=k(h);h=l.next().value;l=l.next().value;h=new uQ(h);
h.formattingMode=l;return h}),tf({bufferSize:1,refCount:!0}));this.comment=function(){return Gk(f.comment$)};this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(z(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),tf({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new X.BehaviorSubject(void 0);
this.judgementForNewContent$=(0,X.combineLatest)([this.componentJudgementForNewContent$.pipe(vf(void 0)),this.userDefinedJudgementForNewContent$]).pipe(z(function(h){var l=k(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),tf({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return Gk(f.judgementForNewContent$)}};qic.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var ric=function(a){var b=a.comment(),c,d="NONE_DETECTED"===(null==(c=a.judgementForNewContent())?void 0:c.severity)?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,2===f.state&&f.blobRef&&(f=li({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},sic=function(a){var b=
ric(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},xQ=function(a,b,c,d){this.defaultCommentSource=a;this.issueFridge=b;this.activeSession=c;this.userPreferencesManager=d};xQ.prototype.create=function(a){return new qic(a,this.defaultCommentSource,this.issueFridge,this.activeSession,this.userPreferencesManager)};
xQ.\u0275fac=function(a){return new (a||xQ)(p(wQ),p(iJ),p(Zr),p(zF))};xQ.\u0275prov=Pc({token:xQ,factory:xQ.\u0275fac,providedIn:"root"});var yQ=function(){};yQ.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var zQ=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},tic=function(a){return zQ(a.assignmentBounds)||zQ(a.responseBounds)||zQ(a.closureBounds)},uic=function(a,b){switch(b){case "ASSIGNMENT":return zQ(a.assignmentBounds);case "RESPONSE":return zQ(a.responseBounds);case "CLOSURE":return zQ(a.closureBounds);default:return tic(a)}},vic=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&tNa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&tNa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&tNa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(uNa),b[0]):0<c.length?(c.sort(uNa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};yQ.\u0275fac=function(a){return new (a||yQ)};yQ.\u0275prov=Pc({token:yQ,factory:yQ.\u0275fac,providedIn:"root"});var wic=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=hE(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issue$=this.issueFridge.watch(this.issueId);this.issueSnapshot$=this.issue$.pipe(z(function(h){return null==h?void 0:h.snapshot[0]}));
this.hasSloDefined$=this.issue$.pipe(z(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),z(function(h){return!!h&&tic(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(z(function(h){return null!=(null==h?void 0:h.type)&&L5b.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(z(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));this.isSloStatusPrimary$=(0,X.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(z(function(h){var l=
k(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(z(function(h){return!h}));this.isChangelistPrimary$=(0,X.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(z(function(h){var l=k(h);h=l.next().value;l=l.next().value;return!h||"STORY"===(null==l?void 0:l.type)||"TASK"===(null==l?void 0:l.type)}));this.customFields$=this.issue$.pipe(z(function(h){var l;return null!=(l=null==h?void 0:h.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(z(function(h){var l;
return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(z(function(h){return h.map(function(l){return l.customFieldId}).filter(Ei)}),z(function(h){return new Set(h)}),tf({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,X.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(z(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),tf({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=
(0,X.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(z(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),tf({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,X.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(z(function(h){var l=k(h);h=l.next().value;var q=l.next().value,t=l.next().value,w=l.next().value;l=l.next().value;
return(h?0:4)+(q?0:1)+(!f.showSloStatus||t?0:1)+(!f.showChangelists||w?0:2)+l.length}),tf({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(z(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(z(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},AQ=function(a,b,c,d){this.issueFridge=a;this.constants=b;this.activeSession=c;this.sloStatusHelpersService=d};
AQ.prototype.create=function(a){return new wic(a,this.issueFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};AQ.\u0275fac=function(a){return new (a||AQ)(p(iJ),p(kE),p(Zr),p(yQ))};AQ.\u0275prov=Pc({token:AQ,factory:AQ.\u0275fac,providedIn:"root"});var G$b=sq.EDIT_ISSUE,BQ=function(a,b){Z.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=np(this.issueToTrackingState,xNa);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")};Y(BQ,Z);BQ.\u0275dir=Z.\u0275dir;
var yic=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),xic(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Lr=function(a,b,c){a.getState(b).variations.add(c)},xic=function(a,b,c,d){UI(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())UI(a.clearcut,b,c+"-"+e.value)};BQ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
BQ.\u0275fac=function(a){return new (a||BQ)(p(ZI),p(TI))};BQ.\u0275prov=Pc({token:BQ,factory:BQ.\u0275fac,providedIn:"root"});var CQ=function(a,b,c,d,e,f){var h=this;this.issueFridge=a;this.teamFridge=b;this.componentFridge=c;this.eventsForIssue=d;this.activatedRoute=e;this.contextSensitiveRegistry=f;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(z(function(l){return l||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(z(hOa),tf({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(wf(function(l){return l?h.issueFridge.watch(l):(0,X.of)(void 0)}),tf({refCount:!0,bufferSize:1}));this.eventsJs$=this.id$.pipe(wf(this.eventsForIssue.watch),
z(function(l){var q;return null!=(q=null==l?void 0:l.events)?q:[]}));this.starred$=this.issueJs$.pipe(z(yNa));this.lastViewedTimeMicros$=this.issueJs$.pipe(z(zNa));this.lastViewedTimeMicros$.pipe(z(function(l){return!l}));this.issueJs$.pipe(z(ANa));this.issueJs$.pipe(z(RNa));this.accessLimitLevel$=this.issueJs$.pipe(z(INa));this.voted$=this.issueJs$.pipe(z(SNa));this.status$=this.issueJs$.pipe(z(BNa));this.priority$=this.issueJs$.pipe(z(CNa));this.assignee$=this.issueJs$.pipe(z(DNa));this.issueJs$.pipe(z(ENa));
this.teamId$=this.issueJs$.pipe(z(FNa));this.team$=this.teamId$.pipe(wf(this.teamFridge.watch),tf({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(z(HNa));this.collaboratorsUsers$=this.issueJs$.pipe(z(JNa));this.issueJs$.pipe(z(function(l){var q,t;return null!=(t=null==(q=fo(l))?void 0:q.severity)?t:void 0}));this.type$=this.issueJs$.pipe(z(KNa));this.issueJs$.pipe(z(LNa));this.issueJs$.pipe(z(MNa));this.issueJs$.pipe(z(NNa));this.postmortems$=this.issueJs$.pipe(z(ONa));this.postmortems$.pipe(z(function(l){return 0<
l.length}));this.issueJs$.pipe(z(PNa));this.effort$=this.issueJs$.pipe(z(QNa));this.isDeleted$=this.issueJs$.pipe(z(UNa));this.accessLevel$=this.issueJs$.pipe(z(WNa));this.modifiedTime$=this.issueJs$.pipe(z(XNa));this.retention$=this.issueJs$.pipe(z(ZNa));this.retention=function(){return Gk(h.retention$)};this.retentionState$=this.issueJs$.pipe(z(bOa));this.retentionState=function(){return Gk(h.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(z($Na));this.canonicalIssueId$.pipe(wf(this.issueFridge.watch));
this.sloStatus$=this.issueJs$.pipe(z(function(l){var q;return null==l?void 0:null==(q=l.aggregatedData)?void 0:q.sloStatus}));this.sloId$=this.issueJs$.pipe(z(cOa));this.createdTimeMicros$=this.issueJs$.pipe(z(dOa));this.componentId$=this.issueJs$.pipe(z(GNa));this.component$=this.componentId$.pipe(wf(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(z(function(l){var q;return null!=(q=null==l?void 0:l.teamSuggestions)?q:[]}));this.effortSpec$=this.component$.pipe(z(eOa));this.isEffortEnabled$=
this.component$.pipe(z(fOa));this.component$.pipe(z(gOa));this.thinking$=this.issueFridge.thinking$};CQ.\u0275fac=function(a){return new (a||CQ)(p(iJ),p(oK),p(ZH),p(BI),p(lk),p(TK))};CQ.\u0275prov=Pc({token:CQ,factory:CQ.\u0275fac,providedIn:"root"});var zic={admin:!1,writer:!0,appender:!0,reader:!0},EQ=function(a,b,c,d,e,f){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=f;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+Jo(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(wf(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,X.of)(void 0)}),z(function(l){return null!=l?l:zic}),vf(zic),tf({bufferSize:1,refCount:!1}));this.hasAclToView$=this.issuePermissions$.pipe(z(function(l){return!!l.reader}));this.hasAclToEdit$=this.issuePermissions$.pipe(z(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!Gk(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(z(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!Gk(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(z(function(l){return!!l.admin}));
this.hasAclToAdmin=function(){return!!Gk(h.hasAclToAdmin$)};this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(z(function(l){return l.some(function(q){return DQ(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!Gk(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(z(function(l){return l.some(function(q){return DQ(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!Gk(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=
this.hasAclToEdit$;(0,X.combineLatest)([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(z(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l?q?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(lf(),wf(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,X.of)(!1)}),gf(function(l){if(403===l.status)return(0,X.of)(!0);
h.errorHandler.errorHandler(null,l);return(0,X.of)(!1)}),tf({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!Gk(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,X.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(z(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(lf(),wf(function(l){return l?NG(h.userAccess,
"admin","components/"+l):(0,X.of)(!1)}),gf(function(l){h.errorHandler.errorHandler(null,l);return(0,X.of)(!1)}),tf({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return Gk(h.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(z(function(l){return!(!l||"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(z(function(l){return l?"EXTERNAL":
"INTERNAL"}));this.audience=function(){return Gk(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=function(){return Gk(h.canChangeCommentRetention$)}},DQ=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},Aic=function(a,b){return Zn(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||Vk(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},Bic=function(a,b){return Zn(b)&&"ACTIVE"===
b.commentDeletionStatus?Zk(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
EQ.prototype.canEditComment$=function(a){var b=this;return(0,X.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return void 0!==c&&"ENABLED"===c.commentEditState&&"DELETED"!==a.commentDeletionStatus&&"PURGED"!==a.commentDeletionStatus&&a.commentNumber?1===a.commentNumber?e:d&&Zk(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
EQ.prototype.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?DQ(this,b)?(0,X.of)(!0):this.hasAclToAdmin$:(0,X.of)(!1):(0,X.of)(!1)};EQ.prototype.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?DQ(this,b)?(0,X.of)(!0):this.hasAclToAdmin$:(0,X.of)(!1):(0,X.of)(!1)};EQ.\u0275fac=function(a){return new (a||EQ)(p(CQ),p(PJ),p(Zr),p(TH),p(qI),p(LG))};EQ.\u0275prov=Pc({token:EQ,factory:EQ.\u0275fac,providedIn:"root"});var Cic={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},Dic={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},Eic={type:"START",displayText:"Start work",description:"Change issue status to '"+Tk.ACCEPTED+"'"},Fic={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Tk.FIXED+"'"},Gic={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Tk.VERIFIED+"'"},Hic={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+Tk.ASSIGNED+"'"};var Jic=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFridge.watch(this.issueId).pipe(tf({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(z(function(f){return null==f?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(z(function(f){return(null==f?void 0:f.assigneeUser)&&Zk(f.assigneeUser)}),z(Ci));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(z(function(f){return null==f?void 0:f.componentId}),lf(),wf(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):(0,X.of)(void 0)}),z(function(f){return f&&Zk(f.snapshot.assigneeUser)}),tf({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return Gk(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,X.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(z(function(f){var h=
k(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?Dic:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(z(function(f){return f&&Iic(e,f)}))},Iic=function(a,b){var c=a.activeSession.getUserEmail();a=Zk(b.assigneeUser)===c;c=Zk(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return Gic;if(a)switch(b){case "ASSIGNED":return Eic;case "ACCEPTED":return Fic;default:return Hic}switch(b){case "NEW":return Cic;case "ASSIGNED":return Cic;case "ACCEPTED":return Cic;
default:return Hic}},FQ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};FQ.prototype.create=function(a){return new Jic(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};FQ.\u0275fac=function(a){return new (a||FQ)(p(Zr),p(iJ),p(uI))};FQ.\u0275prov=Pc({token:FQ,factory:FQ.\u0275fac,providedIn:"root"});var GQ=function(a){a=void 0===a?[]:a;this.internalValue$=new X.BehaviorSubject(new Set);this.value$=xr(this.internalValue$).pipe(z(function(b){return new Set(b)}),lf(ki),tf({refCount:!0,bufferSize:1}));this.reset(a)};g=GQ.prototype;g.reset=function(a){this.value.clear();a=k(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=k(pd.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 uq=function(a,b){return a.internalValue$.pipe(z(function(c){return c.has(b)}),lf())};GQ.prototype[Symbol.iterator]=function(){return this.value.values()};
GQ.prototype.toString=function(){return"[ReactiveSet](["+[].concat(u(this.value.values())).join(", ")+"])"};GQ.prototype.indexOf=function(a){return[].concat(u(this.value.values())).indexOf(a)};
Ac.Object.defineProperties(GQ.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(z(function(a){return a.size}),lf())}}});var Kic=function(){this.propertiesBeingSaved=new GQ};Kic.prototype.get=function(a){return this.propertiesBeingSaved.has(Ko(a))};var HQ=function(a,b){a.propertiesBeingSaved.add(Ko(b))},IQ=function(a,b){a.propertiesBeingSaved.delete(Ko(b))};Kic.prototype.properties=function(){return[].concat(u(this.propertiesBeingSaved))};var iOa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var JQ=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da){var Ia=this;this.activeSession=a;this.butterBar=b;this.issueInteractionsTracking=c;this.issueApi=d;this.componentFridge=e;this.permissionsFridge=f;this.eventsForIssueFridge=h;this.statusMessages=l;this.errorHandler=q;this.confirmationDialogService=t;this.principalTypes=w;this.issuePermissionService=B;this.accessPolicy=D;this.issueTypeDialog=J;this.logger=H;this.issueFridge=O;this.confirmNoAccessService=P;this.issueService=
U;this.attachmentsMember=aa;this.userPreferencesManager=pa;this.issueComments=ka;this.draftStore=Aa;this.attachmentApi=Ya;this.issueFieldsFactory=ea;this.issueQuickActionsFactory=na;this.issueCommentDraftFactory=Da;this.isSavingMap=new Map;this.savingState=np(this.isSavingMap,function(){return new Kic});this.issueFieldsMap=new Map;this.issueFields=np(this.issueFieldsMap,function(Xa){return Ia.issueFieldsFactory.create(Xa)});this.issueQuickActionsMap=new Map;this.issueQuickActions=np(this.issueQuickActionsMap,
function(Xa){return Ia.issueQuickActionsFactory.create(Xa)});this.editableIssueMap=new Map;this.editableIssue$=np(this.editableIssueMap,function(Xa){return Lic(Ia,Xa)});this.editableIssue=function(Xa){return Ia.editableIssue$(Xa).value};this.subscriptions=new Map;this.getSubscription=np(this.subscriptions,function(){return new X.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=np(this.issueCommentDraftMap,function(Xa){return Ia.issueCommentDraftFactory.create(Xa)});this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY=
{saveCommentDraft:this.saveCommentDraft.bind(this)}};JQ.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()};
JQ.prototype.updateComponent=function(a,b,c){var d=this,e,f,h,l,q;return me(function(t){if(1==t.nextAddress)return e=d.editableIssue(a),e.componentId=b,(f=Mic(d,e))&&f.actions&&f.actions.length?oe(t,d.getRetentionState(a),2):t.return();h=t.yieldResult;Nic(d,f);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return t.return(Oic(d,q,f,{originalRetentionState:h}))})};
var o3a=function(a,b,c){var d;return me(function(e){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return(null!=(d=a.updateIssue(b))?d:Promise.resolve())})},Pic=function(a,b,c,d){var e,f,h,l,q,t;return me(function(w){switch(w.nextAddress){case 1:e=Lra(c);if(!e)return a.logger.warn("unknown issue type: "+c),w.return();f=a.editableIssue(b);if("VULNERABILITY"!==e&&"PRIVACY_ISSUE"!==e){w.jumpTo(2);break}return oe(w,bic(a.issueTypeDialog,
e),3);case 3:if(h=w.yieldResult,!h)return w.return();case 2:if(!d||"VULNERABILITY"!==e){w.jumpTo(4);break}l=jOa(a.activeSession.getEnvironmentType(),d);if(void 0===l){w.jumpTo(4);break}ne(w,6);return oe(w,a.issueApi.markAsVulnerability(b,l),8);case 8:a.permissionsFridge.poke("issues/"+b);a.issueFridge.poke(b);au(w,7);break;case 6:q=re(w),sI(a.errorHandler,q);case 7:return w.return(Promise.resolve());case 4:return f.setType(e),w.return(null!=(t=a.updateIssue(b))?t:Promise.resolve())}})},N4a=function(a,
b,c){var d,e,f;return me(function(h){d=di(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},Ric=function(a,b,c){var d,e,f;return me(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=Mic(a,d);return e?(f=e.actions.find(function(l){return"duplicateOfIssueId"===l.fieldName&&!Rk(l.value||"")}))&&f.value?h.return(Qic(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,
implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},Sic=function(a,b,c){var d,e;return me(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},Tic=function(a,b,c){var d,e,f;return me(function(h){if(!c)return h.return();d=a.editableIssue(b);var l=e=a.issueQuickActions(b),q=d;switch(c.type){case "TAKE":"NEW"===q.status&&(q.status="ASSIGNED");q.assignee=l.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":if(l=
l.defaultAssigneeForComponent())"NEW"===q.status&&(q.status="ASSIGNED"),q.assignee=l;break;case "START":q.status="ACCEPTED";break;case "FIX":q.status="FIXED";break;case "VERIFY":q.status="VERIFIED";break;case "REOPEN":q.status=q.assignee?"ASSIGNED":"NEW";break;default:vc(c.type)}return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},v3a=function(a,b,c){var d,e;return me(function(f){d=a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:c.estimate)?h:null;return f.return(null!=
(e=a.updateIssue(b))?e:Promise.resolve())})},x4a=function(a,b,c){var d,e,f;return me(function(h){d=a.editableIssue(b);e=hsa(c,!1);d.foundInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},B4a=function(a,b,c){var d,e,f;return me(function(h){d=a.editableIssue(b);e=hsa(c,!1);d.verifiedInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},z4a=function(a,b,c){var d,e,f;return me(function(h){d=a.editableIssue(b);e=hsa(c,!1);d.targetedToVersion=e;return h.return(null!=
(f=a.updateIssue(b))?f:Promise.resolve())})},D4a=function(a,b,c){var d,e;return me(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},q4a=function(a,b,c){var d,e,f;return me(function(h){d=Mra(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})};
JQ.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return me(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};JQ.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return me(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var t4a=function(a,b,c){var d,e,f;me(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},u4a=function(){me(function(a){se(a)})},K4a=function(a,b,c,d){var e,f;return me(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},L3a=function(a,b,c){var d,e,f,h;return me(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
oe(l,Uic(a,b,"verifier",[c]),5):oe(l,iic(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setVerifier(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},E3a=function(a,b,c){var d,e,f,h;return me(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
oe(l,Uic(a,b,"assignee",[c]),5):oe(l,iic(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setAssignee(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},Vic=function(a,b,c){var d,e,f,h,l,q;return me(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return oe(t,
Uic(a,b,"CC",c),5);e=$ta(d.cc,c);f=e.added;return oe(t,iic(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);break;case 5:if(l=t.yieldResult,!l)return t.return();case 3:return d.cc=c,t.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},Wic=function(a,b,c){var d,e,f,h,l,q;return me(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return oe(t,
Uic(a,b,"collaborators",c),5);e=$ta(d.collaborators,c);f=e.added;return oe(t,iic(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);break;case 5:if(l=t.yieldResult,!l)return t.return();case 3:return d.setCollaborators(c),t.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
JQ.prototype.unarchive=function(a){var b=this,c,d;return me(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
JQ.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return me(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),HQ(e,"retention"),ne(h,2,3),oe(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return oe(h,c.issueFridge.poke(a),6);case 6:wr(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:pe(h);IQ(e,"retention");qe(h,0);break;case 2:f=re(h),sI(c.errorHandler,f),h.jumpTo(3)}})};
var Xic=function(a,b){var c,d,e;return me(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=Mic(a,c);if(!d||!d.actions)return f.jumpTo(0);Nic(a,d);e=a.issueService.delete(b,"ABUSE");return oe(f,Oic(a,e,d),0)})},grb=function(a,b){var c,d,e;return me(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=Mic(a,c);if(!d||!d.actions)return f.jumpTo(0);Nic(a,d);e=a.issueService.undelete(b);return oe(f,Oic(a,e,d),0)})};
JQ.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,l;return me(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),oe(q,(0,X.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(f=e)?void 0:f.userData;if(null==h||d.get("subscribe"))return q.return();ne(q,3,4);HQ(d,"subscribe");return oe(q,c.issueFridge.setNotificationSubscription(a,b),4);case 4:pe(q);IQ(d,"subscribe");qe(q,0);break;case 3:l=re(q),sI(c.errorHandler,l),q.jumpTo(4)}})};
var Yic=function(a,b,c){var d,e;me(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();ne(f,2,3);wr(a.butterBar,"Restoring attachment...");HQ(d,"undeleteAttachment");return oe(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:wr(a.butterBar,"Attachment restored."),a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:pe(f);IQ(d,"undeleteAttachment");qe(f,0);break;case 2:e=re(f),sI(a.errorHandler,e),f.jumpTo(3)}})},
Zic=function(a,b,c,d){var e,f;return me(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();ne(h,2,3);wr(a.butterBar,"Deleting attachment...");HQ(e,"deleteAttachment");return oe(h,a.attachmentsMember.delete(b,c,d),5);case 5:wr(a.butterBar,"Attachment deleted."),a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:pe(h);IQ(e,"deleteAttachment");qe(h,0);break;case 2:f=re(h),sI(a.errorHandler,f),h.jumpTo(3)}})};
JQ.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=ric(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=sic(d);Nic(this,h);return Oic(this,function(){return me(function(l){switch(l.nextAddress){case 1:return oe(l,$ic(c,a),2);case 2:if(!f.commentText){l.jumpTo(3);break}return oe(l,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(jp(a));
case 3:if(!f.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=c.attachmentApi;var t=f.attachmentsWithJudgements,w=new mQ;w.setIssueId(String(a));void 0!==t&&(t=t.map(pNa),mm(w,3,t));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:w,responseConstructor:oQ}).then(rNa);return oe(l,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),l.return(c.issueFridge.poke(a))}})}(),h)};
var $ic=function(a,b){var c,d;return me(function(e){if(!AF(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(u(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return oe(e,a.issueApi.updateIssue(b,d),0)})},Lic=function(a,b){var c=a.issueFridge.watch(b).pipe(z(function(e){var f=
new Vhc;if(e){var h=ajc(a,b,li(sa(e.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.customFields)}return f})),d=new X.BehaviorSubject(new Vhc);a.getSubscription(b).add(c.subscribe(d));return d};
JQ.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=Mic(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,l=k(c.actions),q=l.next();!q.done;q=l.next()){q=q.value;var t=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=t.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":f=t.split(",").filter(Boolean);break;case "duplicateOfIssueId":Rk(t)||(e=b.cc,h=String(t),d=!0)}}return Qic(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:f,
isDeduping:d,isRemovingSelfFromCc:1===c.actions.length&&"ccs"===c.actions[0].fieldName&&"REMOVE"===c.actions[0].actionType&&this.activeSession.getUserEmail()===c.actions[0].value,requestData:c})};
var Qic=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,f=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya;return me(function(ea){switch(ea.nextAddress){case 1:return oe(ea,Promise.all([bjc(a,e,"appender",d),bjc(a,f,"writer",d)]),2);case 2:t=ea.yieldResult;w=k(t);B=w.next().value;D=w.next().value;J=B;H=D;O=J.noAccessEmails||[];P=H.noAccessEmails||[];U=[].concat(u(O),u(P));if(0===U.length)return ea.return(cjc(a,q,h,l));ne(ea,3);
return oe(ea,Promise.all(U.map(function(na){return djc(a,na)})),5);case 5:return aa=ea.yieldResult,pa=oDa({userPrincipals:aa,newEditors:P,newImplicitUsers:U,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),ka=pa.title,Aa=pa.content,oe(ea,obc(a.confirmationDialogService,{title:ka,content:vh(Aa),confirmButtonText:"Allow"}),6);case 6:if(Ya=ea.yieldResult)return ea.return(cjc(a,q,h,l));a.permissionsFridge.poke("issues/"+b);a.issueFridge.poke(b);au(ea,0);break;case 3:re(ea),
a.butterBar.showWarning("Could not determine email type."),se(ea)}})},cjc=function(a,b,c,d){Nic(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 Oic(a,e,b)},bjc=function(a,b,c,d,e,f){e=void 0===e?!1:e;f=void 0===f?null:f;if(e&&!f)throw Error("Gd");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};return 0!==
b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(dp),c,h,d):Promise.resolve(e)},ajc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&Gk(a);if(!a||!d)return c;d=d.properties();d=k(d);b=d.next();for(var e={};!b.done;e={customFieldId$jscomp$17:void 0},b=d.next())b=b.value,b.match(/^\d+$/)?(e.customFieldId$jscomp$17=qi(b),e=(c.customField||[]).find(function(f){return function(h){return h.customFieldId===f.customFieldId$jscomp$17}}(e)),
b=a.customFieldMap[b],e&&b&&(e.textValue=b.textValue,e.dateValue=b.dateValue,e.enumValue=b.enumValue,e.numericValue=b.numericValue)):(e=void 0,null==(e=$hc.get(b))||e(c,a));return c},Mic=function(a,b){var c=Yhc(b);if(!c)return null;var d=a.isSavingMap.get(String(b.issueId));c.actions=c.actions.filter(function(e){return!(null==d?0:d.get(kOa(e)))});return c.actions.length?c:null},Nic=function(a,b){var c=String(b.issueId);wr(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");
yic(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())HQ(a,kOa(c.value))},Oic=function(a,b,c,d){var e,f;return me(function(h){switch(h.nextAddress){case 1:return ne(h,2),oe(h,b,4);case 4:return e=h.yieldResult,kJ(a.issueFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).then(function(){var l=String(c.issueId);a.issueFridge.poke(l);a.eventsForIssueFridge.poke(l)}),oe(h,ejc(a,c,e,d),5);case 5:au(h,0);break;case 2:f=re(h),fjc(a,c,f),
se(h)}})},ejc=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,f,h,l,q;return me(function(t){f=a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,IQ(f,kOa(q));return c?oe(t,gjc(a,b,e),0):t.jumpTo(0)})},fjc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=k(b.actions);for(var f=b.next();!f.done;f=b.next())IQ(e,kOa(f.value));a.permissionsFridge.poke("issues/"+d);a.issueFridge.poke(d);Xn(c)&&403===c.status&&Yn(c)?rI(a.errorHandler,
Yn(c)):sI(a.errorHandler,c)},gjc=function(a,b,c){var d,e,f,h,l,q,t,w,B,D,J;return me(function(H){switch(H.nextAddress){case 1:return oe(H,a.getEffortSpec(String(b.issueId)),2);case 2:d=H.yieldResult;e=a.editableIssue(String(b.issueId));l=eic(a.statusMessages,b,e.customFieldMap,null!=(h=null==(f=d)?void 0:f.name)?h:"");if(!c){H.jumpTo(3);break}return oe(H,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=H.yieldResult;t=k(q);w=t.next().value;B=t.next().value;
D=w;J=B;if("INDEFINITE"!==J&&c&&D){var O=c.retentionPeriod?Ln(Math.floor(1E3*c.retentionPeriod.seconds/864E5)):"indefinite";var P=D.retentionPeriod?Ln(Math.floor(1E3*D.retentionPeriod.seconds/864E5)):"indefinite";O=O===P?"":" Issue retention period changed from "+O+" to "+P+"."}else O="";l+=O;case 3:wr(a.butterBar,l),se(H)}})},Uic=function(a,b,c,d){return me(function(e){if(1==e.nextAddress){var f=a.editableIssue(b);var h=a.activeSession.getUserEmail();f=new Map([["CC",f.cc],["collaborators",f.collaborators],
["assignee",f.assignee?[f.assignee]:[]],["verifier",f.verifier?[f.verifier]:[]]]);(new Set([].concat(u(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(u(f.values())).flat())).has(h)):h=!1;e=h?oe(e,hjc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},hjc=function(a,b,c,d){var e;return me(function(f){if(1==f.nextAddress)return oe(f,bjc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?
f.return(obc(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",content:vh("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)})};JQ.prototype.getRetentionState=function(a){return(0,X.firstValueFrom)(this.issueFridge.watch(a).pipe(z(bOa)))};
JQ.prototype.getRetention=function(a){return(0,X.firstValueFrom)(this.issueFridge.watch(a).pipe(z(ZNa)))};JQ.prototype.getEffortSpec=function(a){return(0,X.firstValueFrom)(this.issueFridge.watch(a).pipe(z(GNa),wf(this.componentFridge.watch),z(eOa)))};var djc=function(a,b){return me(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(KE(a.principalTypes,b,!0))})};
JQ.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=k(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};JQ.\u0275fac=function(a){return new (a||JQ)(p(Zr),p(pI),p(BQ),p(fH),p(ZH),p(PJ),p(BI),p(lQ),p(qI),p(nL),p(JE),p(EQ),p(TH),p(jQ),p(uF),p(iJ),p(tQ),p(fJ),p(rQ),p(zF),p(HK),p(iQ),p(qQ),p(AQ),p(FQ),p(xQ))};
JQ.\u0275prov=Pc({token:JQ,factory:JQ.\u0275fac,providedIn:"root"});var KQ=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new X.ReplaySubject(1);this.ccInProgress$=new X.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(z(function(d){var e;return Vk(null==(e=OCa(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(z(function(d){var e;return Wk(null==(e=OCa(d))?void 0:e.ccUsers)||[]}));this.assignee$=
this.assigneeUpdate$.pipe(tf({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(tf({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};Y(KQ,Z);KQ.\u0275dir=Z.\u0275dir;
var ijc=function(a,b){var c,d,e;return me(function(f){switch(f.nextAddress){case 1:c=Gk(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;ne(f,2,3);return oe(f,E3a(a.editIssueService,c,d),5);case 5:return oe(f,(0,X.firstValueFrom)(a.assigneeUpdate$.pipe(Ce(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),Ee(6E4))),3);case 3:pe(f);a.assigneeInProgress$.next(!1);qe(f,0);break;case 2:throw e=re(f),e;}})},jjc=function(a,b){var c,d,e,f,h;return me(function(l){switch(l.nextAddress){case 1:c=
Gk(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(f=Vic(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=Vic(a.editIssueService,c,[].concat(u(d.cc),[b.email]));if(!f)return l.return();ne(l,2,3);a.ccInProgress$.next(!0);return oe(l,f,5);case 5:return oe(l,(0,X.firstValueFrom)(a.ccUpdate$.pipe(Ce(function(q){q=q.includes(b.email);return"set_user"===b.action?q:!q}),Ee(6E4))),
3);case 3:pe(l);a.ccInProgress$.next(!1);qe(l,0);break;case 2:throw h=re(l),h;}})};KQ.\u0275fac=function(a){return new (a||KQ)(p(CQ),p(EQ),p(JQ))};KQ.\u0275prov=Pc({token:KQ,factory:KQ.\u0275fac});var LQ=function(a,b,c){Z.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};Y(LQ,Z);LQ.\u0275dir=Z.\u0275dir;
LQ.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(xf(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(xf(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var lOa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Kk(sq.PERSON_CARD,"assigneeAction",b);ijc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},mOa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Kk(sq.PERSON_CARD,"ccAction",b);jjc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};LQ.\u0275fac=function(a){return new (a||LQ)(C(XN),C(ME,2),C(KQ,8))};
LQ.\u0275cmp=r({type:LQ,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[wg([ME]),Ff],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"onAction","disabled"]],template:function(a,b){a&1&&(G(0,"b-person-card",0),E(1,nOa,9,8,"ng-container",1),V(2,"async"),G(3,"onedev-hovercard-action",2),N("click",function(c){Kk(sq.PERSON_CARD,"showAssignedIssuesAction");var d=gl({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
YN(b.domSafe,d)}),G(4,"span"),S(5,"Show assigned issues"),I()()());a&2&&(F("email",b.email),A(),F("ngIf",b.actionService&&W(2,2,b.actionService.editAccess$)))},dependencies:[zw,xM,aQ,Iw],encapsulation:2,changeDetection:0});var MQ=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new X.ReplaySubject(1);this.showEmail$=new X.BehaviorSubject(!1);this.isNonObfuscatedEmail=Pn;this.userProfile$=this.email$.pipe(wf(function(d){return c.userProfiles.get(d)})).pipe(vf(void 0));this.content$=(0,X.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;
e=e.next().value;return(f=null==f?void 0:f.displayName)?e?d+" ("+f+")":f:d}));this.vars$=(0,X.combineLatest)([this.email$,this.content$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=hE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};Ac.Object.defineProperties(MQ.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){this.email$.next(a)}},showEmail:{configurable:!0,enumerable:!0,set:function(a){this.showEmail$.next(a)}}});
MQ.\u0275fac=function(a){return new (a||MQ)(C(Zr),C(dQ))};
MQ.\u0275cmp=r({type:MQ,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[["displayName",""],["card",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(E(0,sOa,4,2,"ng-container",
2),V(1,"async"));a&2&&F("ngIf",W(1,1,b.vars$))},dependencies:[zw,Hw,fQ,LQ,JL,OL,Iw],encapsulation:2,changeDetection:0});var NQ=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};NQ.prototype.getDisplayString=function(){return Vk(this.model)};var kjc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Lwa(Yk(b)):Lwa(b))&&!!a.getEmailAddress()};NQ.prototype.getEmailAddress=function(){return Zk(this.model)||""};NQ.\u0275fac=function(a){return new (a||NQ)};
NQ.\u0275cmp=r({type:NQ,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},decls:3,vars:2,consts:[[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled",4,"ngIf"],[4,"ngIf"],[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(L(0),E(1,tOa,1,4,"b-user-display-name",0)(2,uOa,2,1,"span",
1),M());a&2&&(A(),F("ngIf",kjc(b)),A(),F("ngIf",!kjc(b)))},dependencies:[zw,MQ],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 xOa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","blunderbuss-prod@prod.google.com":"https://moma.corp.google.com/team_logos/f5955dadc5abc82300946ee12bf0b610","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","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",
"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-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-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"};var OQ=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new X.ReplaySubject(1);this.isNonObfuscatedEmail=Pn;this.userProfile$=this.email$.pipe(wf(function(d){return d?c.userProfiles.get(d).pipe(vf(void 0)):(0,X.of)(void 0)}));this.vars$=(0,X.combineLatest)([this.email$,this.userProfile$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var f=!e.photoUrl,h=f?void 0:e.photoUrl,l;f?l=void 0:l=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!f,src:h,srcset:l}}))},BOa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==xOa[b]};
Ac.Object.defineProperties(OQ.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Pn(a)?this.email$.next(a):this.email$.next(void 0)}},tiny:{configurable:!0,enumerable:!0,get:function(){return"tiny"===this.size}},small:{configurable:!0,enumerable:!0,get:function(){return"small"===this.size}},medium:{configurable:!0,enumerable:!0,get:function(){return"medium"===this.size}}});OQ.\u0275fac=function(a){return new (a||OQ)(C(dQ),C(Zr))};
OQ.\u0275cmp=r({type:OQ,selectors:[["b-user-image"]],hostVars:6,hostBindings:function(a,b){a&2&&Qf("tiny",b.tiny)("small",b.small)("medium",b.medium)},inputs:{email:"email",size:"size"},decls:2,vars:3,consts:[["imageDisplay",""],["card",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["class","user-avatar material",3,"anonymous",4,"ngIf"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar",
"material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(E(0,DOa,4,2,"ng-container",2),V(1,"async"));a&2&&F("ngIf",W(1,1,b.vars$))},dependencies:[zw,Hw,LQ,JL,OL,Iw],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}.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)}.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)}.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)}'],
changeDetection:0});var PQ=function(a,b,c,d,e,f,h){var l=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=f;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){l.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){l.isLoading=!1;l.cdr.detectChanges()})};PQ.prototype.trackByIndex=function(a){return a};
PQ.prototype.startFeedback=function(){this.userFeedback.startFeedback()};PQ.\u0275fac=function(a){return new (a||PQ)(C(ME,2),C(eP),C(PA),C(qI),C(Ww),C(RF),C(yN))};
PQ.\u0275cmp=r({type:PQ,selectors:[["comment-history-dialog"]],features:[wg([ME])],decls:14,vars:4,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"change","checked"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],["class","bv2-view-loading",4,"ngIf"],["class","comment-history-list",4,"ngIf"],["mat-button","","mat-dialog-close",""],[1,"bv2-view-loading"],[1,"comment-history-list"],["class","comment-version",3,"comment-version-open",4,"ngFor","ngForOf","ngForTrackBy"],[1,"comment-version"],
[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"comment-version-header",3,"click"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],["class","muted float-right float-clear",4,"ngIf"],[4,"ngIf"],[1,"muted","float-right","float-clear"],["class","type-xs",3,"innerHtml",4,"ngIf"],["class","type-xs",4,"ngIf"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"click","id"],["class","comment-version-preview",4,"ngIf"],["class",
"comment-version-preview deleted",4,"ngIf"],["class","comment-version-restricted",4,"ngIf"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],["class","comment-version-content deleted",4,"ngIf"],["class","comment-version-content",3,"codefont","innerHtml",4,"ngIf"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(G(0,"h2",0),S(1),I(),G(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),N("change",function(c){return b.diffView=c.checked}),S(5," Show Diff "),I()(),G(6,"a",3),N("click",function(){return b.startFeedback()}),S(7,"Feedback"),I(),K(8,"br",4),E(9,EOa,2,0,"div",5)(10,TOa,2,2,"ul",6),I(),G(11,"mat-dialog-actions")(12,"button",7),S(13,"Close"),I()());a&2&&(A(),T("History for Comment #",b.commentNumber,""),A(3),F("checked",b.diffView),A(5),F("ngIf",b.isLoading),A(),F("ngIf",!b.isLoading))},dependencies:[Dw,zw,iO,KM,LM,CA,RA,SA,TA,UA,bQ,GL,OQ,NQ,Iw,jN,cQ],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 QQ=function(){};QQ.\u0275fac=function(a){return new (a||QQ)};QQ.\u0275mod=hd({type:QQ});QQ.\u0275inj=Rc({imports:[rE,$P,yM]});var RQ=function(){};RQ.\u0275fac=function(a){return new (a||RQ)};RQ.\u0275mod=hd({type:RQ});RQ.\u0275inj=Rc({imports:[MP,rE,QN]});var SQ=function(){};SQ.\u0275fac=function(a){return new (a||SQ)};SQ.\u0275mod=hd({type:SQ});SQ.\u0275inj=Rc({imports:[rE,yM,QQ]});var TQ=function(a){this.session=a;this.isNonObfuscatedEmail=Pn;this.email="";this.withProfile=!0;this.enableWaldoAvailability=hE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};TQ.\u0275fac=function(a){return new (a||TQ)(C(Zr))};
TQ.\u0275cmp=r({type:TQ,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile",ldapOnly:"ldapOnly"},decls:6,vars:4,consts:[["emailDisplay",""],["card",""],[1,"bv2-email-with-profile-container"],["class","bv2-email-with-profile-avatar",3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","bv2-email-with-profile-waldo",4,"ngIf"],[1,"bv2-email-with-profile-avatar",3,"email"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"bv2-email-with-profile-waldo"],
["coinonly","",3,"user"]],template:function(a,b){a&1&&(G(0,"span",2),E(1,UOa,1,1,"b-user-image",3)(2,WOa,6,3,"ng-container",4)(3,XOa,2,1,"ng-template",null,0,Eg)(5,YOa,2,1,"span",5),I());a&2&&(a=R(4),A(),F("ngIf",b.withProfile),A(),F("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",a),A(3),F("ngIf",b.enableWaldoAvailability))},dependencies:[zw,Hw,fQ,LQ,JL,OL,OQ],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 UQ=function(a,b,c){Z.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypesFridge=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new X.ReplaySubject(1);this.providedUser$=new X.ReplaySubject(1);this.providedEmail$=new X.ReplaySubject(1);this.isNonObfuscatedEmail=Pn;this.isGroup$=this.providedEmail$.pipe(wf(function(e){return d.principalTypesFridge.watch(e)}),Ce(Ei),z(function(e){return"GROUP"===e.principalType}));this.fetchedTeam$=this.providedTeamId$.pipe(wf(function(e){return kK(d.teamsService,
e)}));this.detailedUserType$=this.providedUser$.pipe(z(function(e){e=e?e&&e.getUserGaiaStatus?e.getAliasesList(zi):e.aliases||[]:[];return e.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":e.includes("google_domain")?"TVC":e.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":e.includes("external_partners")?"EXTERNAL":e.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),vf("NO_DETAILED_TYPE"));this.isTeamMember$=(0,X.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(wf(function(e){var f=
k(e);e=f.next().value;f=f.next().value;return Lac(d.teamsService,e,f)}),vf(!1),gf(function(){return(0,X.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(z(function(e){return"Member of "+e.name}));this.groupMembershipType$=(0,X.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;return"PUBLIC"===e?"PUBLIC_USER":"EXTERNAL"===e?"PARTNER_USER":f?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableWaldoAvailability=hE(this.session,
"enableWaldoAvailability")&&this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(z(function(e){return d.enableSmallChip?"user-chip-small":e&&"INTERNAL_NON_TEAM_MEMBER"!==e?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(z(function(e){if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return"team-member-chip";if("PARTNER_USER"===e)return"partner-chip";if("PUBLIC_USER"===e)return"public-chip"}else return"internal-non-team-member-chip";
return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(z(function(e){return e&&"INTERNAL_NON_TEAM_MEMBER"!==e}));this.iconName$=this.groupMembershipType$.pipe(z(function(e){if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return"people-outline";if("PARTNER_USER"===e)return"enterprise";if("PUBLIC_USER"===e)return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(zf(this.teamUser$),z(function(e){var f=k(e);e=f.next().value;f=f.next().value;if(e&&"INTERNAL_NON_TEAM_MEMBER"!==
e){if("INTERNAL_TEAM_MEMBER"===e)return f;if("PARTNER_USER"===e)return"Partner user";if("PUBLIC_USER"===e)return"Public user"}return""}))};Y(UQ,Z);UQ.\u0275dir=Z.\u0275dir;UQ.prototype.ngOnInit=function(){};UQ.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)};UQ.\u0275fac=function(a){return new (a||UQ)(C(jK),C(Zr),C(QJ))};
UQ.\u0275cmp=r({type:UQ,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[Ff,xd],decls:11,vars:13,consts:[["smallChipContents",""],["userImage",""],["emailDisplay",""],["card",""],[3,"ngClass"],[4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],[3,"svgIcon","matTooltip",4,"ngIf"],["name","group_24px","size","small",4,"ngIf","ngIfElse"],["name",
"group_24px","size","small"],["size","tiny",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(G(0,"span",4),V(1,"async"),G(2,"span",4),V(3,"async"),E(4,aPa,5,4,"ng-container",5)(5,bPa,1,3,"b-user-display-name",6)(6,fPa,3,2,"ng-template",null,
0,Eg)(8,gPa,3,6,"mat-icon",7),V(9,"async"),I()(),E(10,hPa,2,1,"ng-container",5));if(a&2){var c,d;a=R(7);F("ngClass",null!==(c=W(1,7,b.userTypeClass$))&&void 0!==c?c:"");A(2);F("ngClass",null!==(d=W(3,9,b.userChipType$))&&void 0!==d?d:"");A(2);F("ngIf",b.enableSmallChip);A();F("ngIf",!b.enableSmallChip)("ngIfElse",a);A(3);F("ngIf",W(9,11,b.shouldShowIcon$));A(2);F("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[Cw,zw,Hw,nB,fQ,iE,nE,OC,LQ,JL,OL,OQ,MQ,Iw],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 VQ=function(){};VQ.\u0275fac=function(a){return new (a||VQ)};VQ.\u0275mod=hd({type:VQ});VQ.\u0275inj=Rc({imports:[rE,RQ,tE,vE,QQ,SQ,yM]});var WQ=function(){};WQ.\u0275fac=function(a){return new (a||WQ)};WQ.\u0275mod=hd({type:WQ});WQ.\u0275inj=Rc({imports:[rE,yO,PM,cD,VA,QQ,mN,wM,VQ]});var iPa=function(){},pp=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("Hd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var f=ljc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=mjc(b,c);var l=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=njc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);ojc(a,b);return b},njc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=f.indexOf(h);if(-1!=l)return a=[[1,f.substring(0,l)],[0,h],[1,f.substring(l+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(f=pjc(b,c))return c=f[1],h=f[3],b=f[4],f=pp(a,f[0],f[2],d,e),a=pp(a,c,h,d,e),f.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=qjc(b,c);c=b.lineArray;b=pp(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(l=0;l<f.length;l++)h[l]=c[f.charCodeAt(l)];b[d][1]=h.join("")}jPa(a,
b);b.push([0,""]);f=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:f++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=f){b.splice(c-d-f,d+f);c=c-d-f;d=pp(a,h,l,!1,e);for(f=d.length-1;0<=f;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);l=2*h;for(var q=Array(l),t=Array(l),w=0;w<l;w++)q[w]=-1,t[w]=-1;q[h+1]=0;t[h+1]=0;w=d-f;for(var B=0!=w%2,D=0,J=0,H=0,O=0,P=0;P<h&&!((new Date).getTime()>e);P++){for(var U=-P+
D;U<=P-J;U+=2){var aa=h+U;var pa=U==-P||U!=P&&q[aa-1]<q[aa+1]?q[aa+1]:q[aa-1]+1;for(var ka=pa-U;pa<d&&ka<f&&b.charAt(pa)==c.charAt(ka);)pa++,ka++;q[aa]=pa;if(pa>d)J+=2;else if(ka>f)D+=2;else if(B&&(aa=h+w-U,0<=aa&&aa<l&&-1!=t[aa])){var Aa=d-t[aa];if(pa>=Aa){a=rjc(a,b,c,pa,ka,e);break a}}}for(U=-P+H;U<=P-O;U+=2){aa=h+U;Aa=U==-P||U!=P&&t[aa-1]<t[aa+1]?t[aa+1]:t[aa-1]+1;for(pa=Aa-U;Aa<d&&pa<f&&b.charAt(d-Aa-1)==c.charAt(f-pa-1);)Aa++,pa++;t[aa]=Aa;if(Aa>d)O+=2;else if(pa>f)H+=2;else if(!B&&(aa=h+w-U,
0<=aa&&aa<l&&-1!=q[aa]&&(pa=q[aa],ka=h+pa-aa,Aa=d-Aa,pa>=Aa))){a=rjc(a,b,c,pa,ka,e);break a}}}a=[[-1,b],[1,c]]}return a},rjc=function(a,b,c,d,e,f){var h=b.substring(d),l=c.substring(e);b=pp(a,b.substring(0,d),c.substring(0,e),!1,f);a=pp(a,h,l,!1,f);return b.concat(a)},qjc=function(a,b){function c(h){for(var l="",q=0,t=-1,w=d.length;t<h.length-1;){t=h.indexOf("\n",q);-1==t&&(t=h.length-1);var B=h.substring(q,t+1);(e.hasOwnProperty?e.hasOwnProperty(B):void 0!==e[B])?l+=String.fromCharCode(e[B]):(w==
f&&(B=h.substring(q),t=h.length),l+=String.fromCharCode(w),e[B]=w,d[w++]=B);q=t+1}return l}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},ljc=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},mjc=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},sjc=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var f=b.indexOf(a.substring(c-e));if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}},pjc=function(a,b){function c(l,q,t){for(var w=l.substring(t,t+Math.floor(l.length/4)),B=-1,D="",
J,H,O,P;-1!=(B=q.indexOf(w,B+1));){var U=ljc(l.substring(t),q.substring(B)),aa=mjc(l.substring(0,t),q.substring(0,B));D.length<aa+U&&(D=q.substring(B-aa,B)+q.substring(B,B+U),J=l.substring(0,t-aa),H=l.substring(t+U),O=q.substring(0,B-aa),P=q.substring(B+U))}return 2*D.length>=l.length?[J,H,O,P,D]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var f=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(f||d)d?h=f?f[4].length>d[4].length?
f:d:d:h=f;else return null;a.length>b.length?(a=h[0],b=h[1],f=h[2],d=h[3]):(f=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,f,d,h[4]]},jPa=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,l=0,q=0,t=0,w=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=t,q=w,w=t=0,f=b[h][1]):(1==b[h][0]?t+=b[h][1].length:w+=b[h][1].length,f&&f.length<=Math.max(l,q)&&f.length<=Math.max(t,w)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,w=t=q=l=0,f=null,c=!0)),h++;c&&ojc(a,b);tjc(b);for(h=1;h<b.length;){if(-1==b[h-1][0]&&
1==b[h][0]){a=b[h-1][1];c=b[h][1];d=sjc(a,c);e=sjc(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++}},tjc=function(a){function b(B,D){if(!B||!D)return 6;var J=B.charAt(B.length-1),H=D.charAt(0),O=J.match(ujc),P=H.match(ujc),U=O&&J.match(vjc),
aa=P&&H.match(vjc);J=U&&J.match(wjc);H=aa&&H.match(wjc);B=J&&B.match(xjc);D=H&&D.match(yjc);return B||D?5:J||H?4:O&&!U&&aa?3:U||aa?2:O||P?1:0}for(var c=1;c<a.length-1;){if(0==a[c-1][0]&&0==a[c+1][0]){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],h=mjc(d,e);if(h){var l=e.substring(e.length-h);d=d.substring(0,d.length-h);e=l+e.substring(0,e.length-h);f=l+f}h=d;l=e;for(var q=f,t=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 w=b(d,e)+b(e,f);w>=t&&(t=
w,h=d,l=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=l,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},ujc=/[^a-zA-Z0-9]/,vjc=/\s/,wjc=/[\r\n]/,xjc=/\n\r?\n$/,yjc=/^\r?\n\r?\n/,ojc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(l=ljc(h,f),0!==l&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,l):(b.splice(0,0,[0,h.substring(0,l)]),c++),h=h.substring(l),
f=f.substring(l)),l=mjc(h,f),0!==l&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),f=f.substring(0,f.length-l))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==b[c-1][0]?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}""===b[b.length-1][1]&&b.pop();d=!1;for(c=1;c<b.length-1;)0==b[c-1][0]&&0==b[c+1][0]&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?(b[c][1]=b[c-1][1]+b[c][1].substring(0,
b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&ojc(a,b)};var XQ=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};XQ.prototype.show=function(a,b,c){var d=this,e;return me(function(f){if(d.dialog&&2!==d.dialog.getState())return f.return();Wo(d.analytics,"commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:zjc(d,a,b,c)};d.dialog=d.dialogManager.open(PQ,{data:e,width:"50vw"});return f.return((0,X.firstValueFrom)(d.dialog.afterClosed()))})};
var zjc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",l=!1,q=[];e=k(e);for(var t=e.next();!t.done;t=e.next()){t=t.value;var w=lPa(t);w||l?(f=Ajc(t.unlinkifiedComment),h=Ajc(t.formattingMode)):(f=kPa(f,t.unlinkifiedComment),l=t.formattingMode,h=h===l?Ajc(l):xh([Ajc(h,"diff-removed"),Ajc(l,"diff-added")]));l=void 0===t.unlinkifiedComment?"":t.unlinkifiedComment;var B=t.version,D=t.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:t.lastEditorUser,version:B,formattingMode:t.formattingMode,formattingModeDiff:h,lastModified:Number(t.lastModified)/1E3,open:25>B,preview:48>=l.length?l:l.substring(0,45)+"...",diff:f,restricted:D&&D.piiVerdict&&"NONE_DETECTED"!==D.piiVerdict.severity||!1,deleted:lPa(t)});f=t.unlinkifiedComment;h=t.formattingMode;l=w}-1<d?q[d].open=!0:q[0].open=!0;return q})},Ajc=function(a,b){return yh("span",b?{"class":b}:void 0,a)};
XQ.\u0275fac=function(a){return new (a||XQ)(p(ZI),p(HK),p(QA))};XQ.\u0275prov=Pc({token:XQ,factory:XQ.\u0275fac,providedIn:"root"});var Bjc=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"]]),Cjc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),oPa=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),pPa=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),YQ=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};YQ.\u0275fac=function(a){return new (a||YQ)(p(uF),p(Zr))};YQ.\u0275prov=Pc({token:YQ,factory:YQ.\u0275fac,providedIn:"root"});var rPa=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var ZQ=function(a,b){Z.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new X.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(wf(this.componentFridge.watch),tf({refCount:!0,bufferSize:1}));this.init=new X.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};Y(ZQ,Z);ZQ.\u0275dir=Z.\u0275dir;
ZQ.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=gl({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=fl("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=Ywa(this.componentId,"basic");this.component$.pipe(mf(),xf(this.destroyed$)).subscribe(function(){a.init.next()})};ZQ.\u0275fac=function(a){return new (a||ZQ)(C(ZH),C(Zr))};
ZQ.\u0275cmp=r({type:ZQ,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[Ff],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),E(2,vPa,16,8,"ng-container",2),V(3,"async"),I()());a&2&&(A(2),F("ngIf",W(3,1,b.component$)))},dependencies:[zw,
VM,Iw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var Djc=new rd("GMAT_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Ejc=function(a){this.options=a};Ejc.\u0275fac=function(a){return new (a||Ejc)(C(Djc))};Ejc.\u0275dir=jd({type:Ejc,selectors:[["mat-paginator"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-paginator",!b.options.disableGmatStyle)}});var $Q=function(){this.changes=new X.Subject;this.itemsPerPageLabel="Items per page:";this.nextPageLabel="Next page";this.previousPageLabel="Previous page";this.firstPageLabel="First page";this.lastPageLabel="Last page";this.getRangeLabel=function(a,b,c){if(0==c||0==b)return"0 of "+c;c=Math.max(c,0);a*=b;return a+1+" \u2013 "+(a<c?Math.min(a+b,c):a+b)+" of "+c}};$Q.\u0275fac=function(a){return new (a||$Q)};$Q.\u0275prov=Pc({token:$Q,factory:$Q.\u0275fac,providedIn:"root"});
var Fjc={provide:$Q,deps:[[new ov,new pv,$Q]],useFactory:function(a){return a||new $Q}};var Gjc=Bh("transformPanel",[Fh("void",Eh({opacity:0,transform:"scale(1, 0.8)"})),Hh("void => showing",Ch("120ms cubic-bezier(0, 0, 0.2, 1)",Eh({opacity:1,transform:"scale(1, 1)"}))),Hh("* => void",Ch("100ms linear",Eh({opacity:0})))]);var Hjc=["trigger"],Ijc=["panel"],Jjc=[[["mat-select-trigger"]],"*"],Kjc=0,Ljc=new rd("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=bd(Vy);return function(){return a.scrollStrategies.reposition()}}}),Mjc=new rd("MAT_SELECT_CONFIG"),Njc={provide:Ljc,deps:[Vy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Ojc=new rd("MatSelectTrigger"),Pjc=function(a,b){this.source=a;this.value=b},aR=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J){var H=this;this._viewportRuler=
a;this._changeDetectorRef=b;this._elementRef=e;this._dir=f;this._parentFormField=q;this.ngControl=t;this._liveAnnouncer=D;this._defaultOptions=J;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._panelOpen=!1;this._compareWith=function(ka,Aa){return ka===Aa};this._uid="mat-select-"+Kjc++;this._triggerAriaLabelledBy=null;this._destroy=new X.Subject;this.stateChanges=new X.Subject;this._onChange=function(){};this._onTouched=function(){};this._valueId="mat-select-value-"+Kjc++;this._panelDoneAnimatingStream=new X.Subject;var O;this._overlayPanelClass=(null==(O=this._defaultOptions)?void 0:O.overlayPanelClass)||"";this._focused=!1;this.controlType="mat-select";this.disableRipple=this.disabled=
!1;this.tabIndex=0;var P,U;this._hideSingleSelectionIndicator=null!=(U=null==(P=this._defaultOptions)?void 0:P.hideSingleSelectionIndicator)?U:!1;this._multiple=!1;var aa,pa;this.disableOptionCentering=null!=(pa=null==(aa=this._defaultOptions)?void 0:aa.disableOptionCentering)?pa:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&"undefined"!==typeof this._defaultOptions.panelWidth?this._defaultOptions.panelWidth:"auto";this._initialized=new X.Subject;this.optionSelectionChanges=(0,X.defer)(function(){var ka=
H.options;return ka?ka.changes.pipe(vf(ka),wf(function(){return X.merge.apply(null,u(ka.map(function(Aa){return Aa.onSelectionChange})))})):H._initialized.pipe(wf(function(){return H.optionSelectionChanges}))});this.openedChange=new Uv;this._openedStream=this.openedChange.pipe(Ce(function(ka){return ka}),z(function(){}));this._closedStream=this.openedChange.pipe(Ce(function(ka){return!ka}),z(function(){}));this.selectionChange=new Uv;this.valueChange=new Uv;this._trackedModal=null;this._skipPredicate=
function(ka){return H.panelOpen?!1:ka.disabled};this.ngControl&&(this.ngControl.valueAccessor=this);null!=(null==J?void 0:J.typeaheadDebounceInterval)&&(this.typeaheadDebounceInterval=J.typeaheadDebounceInterval);this._errorStateTracker=new CWb(d,t,l,h,this.stateChanges);this._scrollStrategyFactory=B;this._scrollStrategy=this._scrollStrategyFactory();this.tabIndex=parseInt(w)||0;this.id=this.id};g=aR.prototype;
g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement,d=Xoa(a,this.options,this.optionGroups);b=b._getHostElement();c.scrollTop=0===a&&1===d?0:Yoa(b.offsetTop,b.offsetHeight,c.scrollTop,c.offsetHeight)}};g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};g._getChangeEvent=function(a){return new Pjc(this,a)};
g.ngOnInit=function(){var a=this;this._selectionModel=new Fy(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(lf(),xf(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)});this._viewportRuler.change().pipe(xf(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(xf(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(vf(null),xf(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
g.ngDoCheck=function(){var a=this._getTriggerAriaLabelledby(),b=this.ngControl;if(a!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;(this._triggerAriaLabelledBy=a)?c.setAttribute("aria-labelledby",a):c.removeAttribute("aria-labelledby")}b&&(this._previousControl!==b.control&&(void 0!==this._previousControl&&null!==b.disabled&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
g.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&aWb(this._keyManager,this.typeaheadDebounceInterval)};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};g.toggle=function(){this.panelOpen?this.close():this.open()};
g.open=function(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=i_b(this._parentFormField)),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,gy(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
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&&ph(this._trackedModal,"aria-owns",b);Eoa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(ph(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};
g.close=function(){this._panelOpen&&(this._panelOpen=!1,gy(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())};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?"rtl"===this._dir.value:!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._handleClosedKeydown=function(a){var b=a.keyCode,c=40===b||38===b||37===b||39===b,d=this._keyManager;!(0<d._pressedLetters.length||13!==b&&32!==b||jh(a))||(this.multiple||a.altKey)&&c?(a.preventDefault(),this.open()):this.multiple||(b=this.selected,d.onKeydown(a),(a=this.selected)&&b!==a&&this._liveAnnouncer.announce(a.viewValue,1E4))};
g._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=40===c||38===c,e=0<b._pressedLetters.length;if(d&&a.altKey)a.preventDefault(),this.close();else if(e||13!==c&&32!==c||!b.activeItem||jh(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var f=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(f?h.select():h.deselect())})}else c=b.activeItemIndex,b.onKeydown(a),this._multiple&&d&&a.shiftKey&&b.activeItem&&b.activeItemIndex!==
c&&b.activeItem._selectViaInteraction();else a.preventDefault(),b.activeItem._selectViaInteraction()};g._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};g._onBlur=function(){this._focused=!1;var a;null!=(a=this._keyManager)&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(mf()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?iy(this._keyManager,a):this.panelOpen||iy(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
g._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return null!=d.value&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};g._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};
g._getOverlayWidth=function(a){return"auto"===this.panelWidth?(a instanceof Wy?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=k(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=dy($Vb(bWb(hy(gy(fy(aWb(new jy(this.options),this.typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))),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=(0,X.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xf(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});X.merge.apply(null,u(this.options.map(function(c){return c._stateChanges}))).pipe(xf(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);null!=a.value||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b;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&&0<(null==(a=this.options)?void 0:a.length)};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
Ac.Object.defineProperties(aR.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},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 null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:sVb(b))?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?(null==(a=this._selectionModel)?void 0:a.selected)||[]:null==(b=this._selectionModel)?void 0:b.selected[0]}},triggerValue:{configurable:!0,enumerable:!0,get:function(){if(this.empty)return"";if(this._multiple){var a=this._selectionModel.selected.map(function(b){return b.viewValue});
this._isRtl()&&a.reverse();return a.join(", ")}return this._selectionModel.selected[0].viewValue}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}}});aR.\u0275fac=function(a){return new (a||aR)(C(Hy),C(Pg),C(He),C(ez),C(Wd),C(ty,8),C(hx,8),C(qx,8),C(f_b,8),C(ax,10),Od("tabindex"),C(Ljc),C(Ux),C(Mjc,8))};
aR.\u0275cmp=r({type:aR,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(mg(c,Ojc,5),mg(c,jz,5),mg(c,FWb,5));if(a&2){var d;pg(d=qg())&&(b.customTrigger=d.first);pg(d=qg())&&(b.options=d);pg(d=qg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(lg(Hjc,5),lg(Ijc,5),lg(Xy,5));if(a&2){var c;pg(c=qg())&&(b.trigger=c.first);pg(c=qg())&&(b.panel=c.first);pg(c=qg())&&(b._overlayDir=c.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],
hostVars:19,hostBindings:function(a,b){a&1&&N("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(Hf("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()),
Qf("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))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Ng],disableRipple:[2,"disableRipple","disableRipple",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:Og(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator",
"hideSingleSelectionIndicator",Ng],placeholder:"placeholder",required:[2,"required","required",Ng],multiple:[2,"multiple","multiple",Ng],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ng],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Og],sortComparator:"sortComparator",
id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[wg([{provide:ZA,useExisting:aR},{provide:EWb,useExisting:aR}]),Gf,xd,yg],ngContentSelectors:["mat-select-trigger","*"],decls:11,vars:8,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,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass",
"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(a,b){if(a&1){var c=v();cg(Jjc);G(0,"div",2,0);N("click",function(){x(c);return y(b.open())});G(3,"div",3);E(4,wPa,2,1,"span",4)(5,zPa,3,1,"span",5);I();G(6,"div",6)(7,"div",7);Kd();G(8,"svg",8);K(9,"path",9);I()()()();E(10,APa,3,9,"ng-template",10);
N("backdropClick",function(){x(c);return y(b.close())})("attach",function(){x(c);return y(b._onAttached())})("detach",function(){x(c);return y(b.close())})}a&2&&(a=R(1),A(3),Hf("id",b._valueId),A(),Uf(b.empty?4:5),A(6),F("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",b._overlayWidth))},
dependencies:[Wy,Xy,Cw],styles:['.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);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.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)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .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:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-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}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.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)}._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)}\n'],
encapsulation:2,data:{animation:[Gjc]},changeDetection:0});var bR=function(){};bR.\u0275fac=function(a){return new (a||bR)};bR.\u0275dir=jd({type:bR,selectors:[["mat-select-trigger"]],standalone:!0,features:[wg([{provide:Ojc,useExisting:bR}])]});var cR=function(){};cR.\u0275fac=function(a){return new (a||cR)};cR.\u0275mod=hd({type:cR});cR.\u0275inj=Rc({providers:[Njc],imports:[Qw,Yy,mz,Zy,Iy,eB,mz,Zy]});var Qjc=new rd("MAT_PAGINATOR_DEFAULT_OPTIONS"),Rjc=0,dR=function(a,b,c){var d=this;this._intl=a;this._changeDetectorRef=b;this._pageSizeLabelId="mat-paginator-page-size-label-"+Rjc++;this._isInitialized=!1;this._initializedStream=new X.ReplaySubject(1);this._length=this._pageIndex=0;this._pageSizeOptions=[];this.showFirstLastButtons=this.hidePageSize=!1;this.selectConfig={};this.disabled=!1;this.page=new Uv;this.initialized=this._initializedStream;this._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});
if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize,l=c.showFirstLastButtons;null!=e&&(this._pageSize=e);null!=f&&(this._pageSizeOptions=f);null!=h&&(this.hidePageSize=h);null!=l&&(this.showFirstLastButtons=l)}this._formFieldAppearance=(null==c?void 0:c.formFieldAppearance)||"outline"};g=dR.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._updateDisplayedPageSizeOptions();this._initializedStream.next()};g.ngOnDestroy=function(){this._initializedStream.complete();this._intlChanges.unsubscribe()};
g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};
g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._isInitialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
Ac.Object.defineProperties(dR.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 Og(b,0)});this._updateDisplayedPageSizeOptions()}}});dR.\u0275fac=function(a){return new (a||dR)(C($Q),C(Pg),C(Qjc,8))};
dR.\u0275cmp=r({type:dR,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Og],length:[2,"length","length",Og],pageSize:[2,"pageSize","pageSize",Og],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Ng],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Ng],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Ng]},outputs:{page:"page"},exportAs:["matPaginator"],
standalone:!0,features:[Gf,yg],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip",
"matTooltipDisabled","matTooltipPosition","disabled"],["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"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled",
"matTooltipPosition","disabled"],[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"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],
["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),E(2,EPa,5,4,"div",2),G(3,"div",3)(4,"div",4),S(5),I(),E(6,FPa,3,5,"button",5),G(7,"button",6),N("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),Kd(),G(8,"svg",7),K(9,"path",8),I()(),
Ed.currentNamespace=null,G(10,"button",9),N("click",function(){return b.nextPage()}),Kd(),G(11,"svg",7),K(12,"path",10),I()(),E(13,GPa,3,5,"button",11),I()()());a&2&&(A(2),Uf(b.hidePageSize?-1:2),A(3),T(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),A(),Uf(b.showFirstLastButtons?6:-1),A(),F("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),Hf("aria-label",b._intl.previousPageLabel),
A(3),F("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),Hf("aria-label",b._intl.nextPageLabel),A(3),Uf(b.showFirstLastButtons?13:-1))},dependencies:[dB,aR,jz,qz,OC],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-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)}.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: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)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}\n"],
encapsulation:2,changeDetection:0});var eR=function(a){this.paths=a;this.children=[];this.onVisit=new Uv;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};eR.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};eR.\u0275fac=function(a){return new (a||eR)(C(RF))};
eR.\u0275cmp=r({type:eR,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[["card","onedevHovercard"],[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"page","length","pageSize","pageSizeOptions"],[1,"keep-underline","keep-focus-ring",3,"click","onedevHovercardTrigger","href"],[3,"componentId"]],template:function(a,b){a&1&&(E(0,HPa,1,3,"mat-paginator",1),G(1,"ul",2),E(2,
IPa,6,4,"li",3),I());a&2&&(F("ngIf",b.children.length>b.pageSize),A(2),F("ngForOf",b.childrenOnPage))},dependencies:[Dw,zw,JL,OL,ZQ,Ejc,dR],encapsulation:2});var fR=function(){};fR.\u0275fac=function(a){return new (a||fR)};fR.\u0275mod=hd({type:fR});fR.\u0275inj=Rc({imports:[rE,oN]});var Sjc=new rd("GMAT_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var gR=function(a){this.options=a};gR.\u0275fac=function(a){return new (a||gR)(C(Sjc))};gR.\u0275dir=jd({type:gR,selectors:[["mat-select"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-select",!b.options.disableGmatStyle)}});var Tjc={provide:Mjc,deps:[[new ov,new pv,new OSb(Mjc)],[new ov,new OSb(Sjc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?(b=kh(a.overlayPanelClass).concat("gmat-mdc-select"),Object.assign({},a,{overlayPanelClass:b})):{overlayPanelClass:"gmat-mdc-select"}}},hR=function(){};hR.\u0275fac=function(a){return new (a||hR)};hR.\u0275mod=hd({type:hR});hR.\u0275inj=Rc({providers:[Tjc],imports:[cR,IO]});var iR=function(){};iR.\u0275fac=function(a){return new (a||iR)};iR.\u0275mod=hd({type:iR});iR.\u0275inj=Rc({providers:[Fjc],imports:[rz,cR,PC,dR]});var jR=function(){};jR.\u0275fac=function(a){return new (a||jR)};jR.\u0275mod=hd({type:jR});jR.\u0275inj=Rc({providers:[Tjc],imports:[iR]});var kR=function(){};kR.\u0275fac=function(a){return new (a||kR)};kR.\u0275mod=hd({type:kR});kR.\u0275inj=Rc({imports:[rE,yM,fR,jR]});var lR=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new Uv;this.onClickCopyIssueShortLinks=new Uv;this.onClickCopyAsIssueSearch=new Uv};lR.\u0275fac=function(a){return new (a||lR)};
lR.\u0275cmp=r({type:lR,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},decls:10,vars:2,consts:[["splitMenu","matMenu"],["mat-button","","aria-label","Copy selected issue IDs",1,"gmat-button","medium","icon-only",3,"click"],["name","copy","size",
"small"],["mat-button","","aria-label","More copy issue ID options",1,"gmat-button","medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){if(a&1){var c=v();G(0,"b-button-group")(1,"button",1);N("click",function(){x(c);return y(b.onClickCopyIssueIds.emit())});K(2,"b-icon",2);I();G(3,"button",3);K(4,"b-icon",4);I();G(5,"mat-menu",null,0);E(7,JPa,2,1,"button",5);G(8,"button",6);
N("click",function(){x(c);return y(b.onClickCopyAsIssueSearch.emit())});S(9," Copy as issue search ");I()()()}a&2&&(a=R(6),A(3),F("matMenuTriggerFor",a),A(4),F("ngIf",b.shouldShowCopyIssueShortLinks))},dependencies:[zw,mE,IC,HC,JC,CA,RD,iE],encapsulation:2,changeDetection:0});var Ujc=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)};Ujc.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};
Ujc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var mR=function(a){this._document=a};mR.prototype.copy=function(a){a=new Ujc(a,this._document);var b=a.copy();a.destroy();return b};mR.\u0275fac=function(a){return new (a||mR)(p(qh))};mR.\u0275prov=Pc({token:mR,factory:mR.\u0275fac,providedIn:"root"});new rd("CDK_COPY_TO_CLIPBOARD_CONFIG");Poa(Roa(Qoa(function(a){this._elementRef=a})));[].concat(u(["disabled","disableRipple","color","tabIndex"]),["extended"]);var Vjc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Wjc=Math.pow(2,31)-1,Xjc=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new X.Subject;this._afterOpened=new X.Subject;this._onAction=new X.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=Xjc.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,Wjc))};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 Yjc=Bh("state",[Fh("void, hidden",Eh({transform:"scale(0.8)",opacity:0})),Fh("visible",Eh({transform:"scale(1)",opacity:1})),Hh("* => visible",Ch("150ms cubic-bezier(0, 0, 0.2, 1)")),Hh("* => void, * => hidden",Ch("75ms cubic-bezier(0.4, 0.0, 1, 1)",Eh({opacity:0})))]);var Zjc=0,nR=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=bd(qh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new X.Subject;this._onExit=new X.Subject;this._onEnter=new X.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+Zjc++;this._live="assertive"!==e.politeness||e.announcementMessage?"off"===e.politeness?"off":
"polite":"assertive";this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))};Y(nR,oy);g=nR.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;("void"===a&&"void"!==b||"hidden"===a)&&this._completeExit();if("visible"===a){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(mf()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};g._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals()};
g._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};nR.\u0275fac=function(a){return new (a||nR)(C(He),C(Wd),C(Pg),C(Ax),C(Vjc))};nR.\u0275dir=jd({type:nR,viewQuery:function(a,b){a&1&&lg(ry,7);if(a&2){var c;pg(c=qg())&&(b._portalOutlet=c.first)}},features:[Ff]});var oR=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=oR.prototype;g.openFromComponent=function(a,b){return this._attach(a,b)};g.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this.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=Mg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:Vjc,useValue:b}]});a=a.attach(new my(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new Vjc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new Xjc(b,e);if(a instanceof ig)f.instance=b.attachTemplatePortal(new ny(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new my(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(xf(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new Ly;b.direction=a.direction;var c=this._overlay.position().global(),d="rtl"===a.direction;d="left"===a.horizontalPosition||"start"===a.horizontalPosition&&!d||"end"===a.horizontalPosition&&d;var e=!d&&"center"!==a.horizontalPosition;d?c.left("0"):e?c.right("0"):Ry(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Mg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:Xjc,useValue:b},{provide:eI,useValue:a.data}]})};Ac.Object.defineProperties(oR.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}}});
oR.\u0275fac=function(a){return new (a||oR)(p(Vy),p(Ux),p(Ie),p(Ox),p(oR,12),p(n$b))};oR.\u0275prov=Pc({token:oR,factory:oR.\u0275fac});var pR=function(a,b){this.snackBarRef=a;this.data=b};pR.prototype.action=function(){this.snackBarRef.dismissWithAction()};Ac.Object.defineProperties(pR.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});pR.\u0275fac=function(a){return new (a||pR)(C(Xjc),C(eI))};
pR.\u0275cmp=r({type:pR,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&Hf("mat-id-collision",null)},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&&(G(0,"span",0),S(1),I(),E(2,KPa,3,1,"div",1));a&2&&(A(),rg(b.data.message),A(),F("ngIf",b.hasAction))},dependencies:[zw,CA],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 qR=function(){nR.apply(this,arguments)};Y(qR,nR);qR.\u0275dir=nR.\u0275dir;qR.prototype._afterPortalAttached=function(){nR.prototype._afterPortalAttached.call(this);"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center");"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")};qR.\u0275fac=function(){var a;return function(b){return(a||(a=Td(qR)))(b||qR)}}();
qR.\u0275cmp=r({type:qR,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&bg("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&($f("@state",b._animationState),Hf("mat-id-collision",null))},features:[Ff],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(G(0,"div",0),E(1,LPa,0,0,"ng-template",1),I(),K(2,"div"));a&2&&(A(2),Hf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[ry],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[Yjc]}});var rR=function(){};rR.\u0275fac=function(a){return new (a||rR)};rR.\u0275mod=hd({type:rR});rR.\u0275inj=Rc({imports:[Yy,sy,Qw,cD,Zy,Zy]});var sR=function(a,b,c,d,e,f){oR.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=pR;this.snackBarContainerComponent=qR;this.handsetCssClass="mat-snack-bar-handset"};Y(sR,oR);sR.\u0275fac=function(a){return new (a||sR)(p(Vy),p(Ux),p(Ie),p(Ox),p(sR,12),p(n$b))};sR.\u0275prov=Pc({token:sR,factory:sR.\u0275fac,providedIn:rR});var $jc={duration:1E3},akc=new rd("xap-clipboard-snackbar-options"),tR=function(a,b,c){this.clipboard=a;this.snackBar=b;this.snackBarConfig=c;this.textJob=""},bkc=function(a){var b,c,d;return me(function(e){if(1==e.nextAddress){b=Object.assign({},$jc,a.snackBarConfig);c=a.text;if(!a.clipboard.copy(c))return a.snackBar.open("Failed to copy.",void 0,b),e.jumpTo(0);if("string"!==typeof a.textJob&&null!=(d=a.textJob)&&d.richText){if("undefined"!==typeof ClipboardItem){var f=new ClipboardItem({"text/html":new Blob([a.textJob.richText],
{type:"text/html"}),"text/plain":new Blob([c],{type:"text/plain"})});f=navigator.clipboard.write([f])}else f=Promise.resolve();e=oe(e,f,3)}else e=e.jumpTo(3);return e}a.snackBar.open("Copied to clipboard.",void 0,b);se(e)})};Ac.Object.defineProperties(tR.prototype,{text:{configurable:!0,enumerable:!0,get:function(){return"object"===typeof this.textJob?this.textJob.plainText instanceof Function?this.textJob.plainText():this.textJob.plainText:this.textJob}}});
tR.\u0275fac=function(a){return new (a||tR)(C(mR),C(sR),C(akc,8))};tR.\u0275dir=jd({type:tR,selectors:[["","xapCopyToClipboard",""]],hostBindings:function(a,b){a&1&&N("click",function(){return bkc(b)})},inputs:{textJob:[0,"xapCopyToClipboard","textJob"]},standalone:!0});var uR=function(){};uR.prototype.getAriaLabel=function(){return this.ariaLabel?this.ariaLabel:this.ariaLabelledBy||this.ariaDescribedBy?null:"Copy content to clipboard"};uR.\u0275fac=function(a){return new (a||uR)};
uR.\u0275cmp=r({type:uR,selectors:[["xap-copy-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("clipboard-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"},standalone:!0,features:[yg],decls:3,vars:7,consts:[["mat-icon-button","","type","button",3,"xapCopyToClipboard","disabled",
"color"],[1,"xap-clipboard-icon"]],template:function(a,b){a&1&&(G(0,"button",0)(1,"mat-icon",1),S(2," content_copy "),I()());a&2&&(F("xapCopyToClipboard",b.copyText)("disabled",b.disabled)("color",b.color),Hf("tabindex",b.tabIndex)("aria-label",b.getAriaLabel())("aria-labelledby",b.ariaLabelledBy)("aria-describedby",b.ariaDescribedBy))},dependencies:[Qw,cD,CA,UC,nB,rR,tR],encapsulation:2,changeDetection:0});var vR=function(){};vR.\u0275fac=function(a){return new (a||vR)};vR.\u0275mod=hd({type:vR});vR.\u0275inj=Rc({imports:[uR]});var wR=function(){};wR.\u0275fac=function(a){return new (a||wR)};wR.\u0275mod=hd({type:wR});wR.\u0275inj=Rc({imports:[rE,uE,cD,sE,tE,vR]});var xR=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=Lj(b.session)?"b/":"b-qa/"},BZa=function(a,b){a.clipboard.copy(b.join(", "));wr(a.butterBar,"Issue IDs copied.",2E3);Wo(a.analytics,sq.LIST_ISSUES,"copyIssueId","IDs")},CZa=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));wr(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);Wo(a.analytics,sq.LIST_ISSUES,"copyIssueId","b/ links")},DZa=function(a,
b){b=gl({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);wr(a.butterBar,"Issue search link copied.",2E3);Wo(a.analytics,sq.LIST_ISSUES,"copyIssueId","Issue search link")};xR.\u0275fac=function(a){return new (a||xR)(p(mR),p(Zr),p(ZI),p(pI),p(nH))};xR.\u0275prov=Pc({token:xR,factory:xR.\u0275fac,providedIn:"root"});var yR=function(a){this.el=a;this.minWidth=100;this.maxWidth=500;this.shadowInput=document.createElement("span");this.shadowInput.style.position="absolute";this.shadowInput.style.top="0px";this.shadowInput.style.left="0px";this.shadowInput.style.visibility="hidden";this.shadowInput.style.width="10px";this.shadowInput.style.whiteSpace="pre";this.shadowInput.style.overflow="hidden";this.shadowInput.style.padding="0";document.body.appendChild(this.shadowInput)};yR.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
yR.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};yR.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"};yR.\u0275fac=function(a){return new (a||yR)(C(Wd))};
yR.\u0275dir=jd({type:yR,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&N("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var zR=function(){};zR.\u0275fac=function(a){return new (a||zR)};zR.\u0275mod=hd({type:zR});zR.\u0275inj=Rc({});var AR=function(){oF.apply(this,arguments)};Y(AR,oF);Ac.Object.defineProperties(AR.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});AR.\u0275fac=function(){var a;return function(b){return(a||(a=Td(AR)))(b||AR)}}();AR.\u0275dir=jd({type:AR,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[Ff]});var BR=function(){};
BR.\u0275fac=function(a){return new (a||BR)};BR.\u0275mod=hd({type:BR});BR.\u0275inj=Rc({imports:[rE,sF]});var CR=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};Ac.Object.defineProperties(CR.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=ur(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?sp(a,bxa):sp(a)}}});CR.\u0275fac=function(a){return new (a||CR)(C(hM))};
CR.\u0275cmp=r({type:CR,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:6,vars:3,consts:[["card","onedevHovercard"],["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],["class","breadcrumb-archived-indicator",4,"ngIf"],[1,"breadcrumb-item"],
[1,"keep-focus-ring",3,"onedevHovercardTrigger","routerLinkObj"],[3,"componentId"],[1,"breadcrumb-archived-indicator"]],template:function(a,b){a&1&&(G(0,"div",1)(1,"p",2),S(2),I(),G(3,"span",3),E(4,MPa,6,4,"span",4)(5,NPa,2,0,"span",5),I()());a&2&&(A(2),T("",b.label,":"),A(2),F("ngForOf",b.componentPath),A(),F("ngIf",b.isArchived))},dependencies:[Dw,zw,JL,OL,ZQ,AR],encapsulation:2});var DR=function(){};DR.\u0275fac=function(a){return new (a||DR)};DR.\u0275mod=hd({type:DR});DR.\u0275inj=Rc({imports:[rE,yM,fR,BR]});var ER=function(){this.warningChunks=[]};ER.prototype.ngOnInit=function(){var a=this.warningText,b=SPa(a,"EXTERNAL_PUBLIC")||SPa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};ER.\u0275fac=function(a){return new (a||ER)};
ER.\u0275cmp=r({type:ER,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"accessLevel"]],template:function(a,b){a&1&&(G(0,"div"),E(1,QPa,3,2,"span",0),I());a&2&&(A(),F("ngForOf",b.warningChunks))},dependencies:[Dw,zw,VM],encapsulation:2});var RPa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var FR=function(a,b,c){this.data=a;this.documentationLinks=b;this.dialogRef=c;this.learnMore=wdc(this.documentationLinks);this.acknowledged=!0;this.warning=this.header="";this.isAllowed=this.isExternalMove=!1;this.callbacks={allow:function(){},cancel:function(){}};this.header=a.response.warningHeader;this.warning=a.response.warning;if(this.isExternalMove=a.response.isExternalMove)this.acknowledged=!1;this.isAllowed=a.response.isAllowed;this.callbacks=a.callbacks};
FR.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};FR.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};FR.\u0275fac=function(a){return new (a||FR)(C(PA),C(TM),C(NA))};
FR.\u0275cmp=r({type:FR,selectors:[["b-component-move-warning"]],decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],[4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","cdkFocusInitial","","class","gmat-button",3,"disabled","click",4,"ngIf"],[3,"ngModelChange","ngModel"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",3,"click","disabled"]],
template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"div",1)(3,"div",2),K(4,"b-component-move-warning-content",3),I(),K(5,"br"),G(6,"a",4),S(7,"Learn more"),I(),E(8,TPa,5,1,"div",5),I(),G(9,"mat-dialog-actions")(10,"button",6),N("click",function(){return b.cancel()}),S(11," Cancel "),I(),E(12,UPa,2,1,"button",7),I());a&2&&(A(),rg(b.header),A(3),F("warningText",b.warning),A(2),Hf("href",b.learnMore,Ye),A(2),F("ngIf",b.isExternalMove&&b.isAllowed),A(4),F("ngIf",b.isAllowed))},dependencies:[zw,cx,
jx,CA,KM,LM,RA,SA,TA,UA,ER],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var GR=function(){};GR.\u0275fac=function(a){return new (a||GR)};GR.\u0275mod=hd({type:GR});GR.\u0275inj=Rc({imports:[rE,yx,cD,PM,VA,oN]});var ckc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};ckc.prototype.showChildren=function(a){var b=this;a.showChildren=!0;a.children?this.cdr.detectChanges():this.componentActions.getChildren(a.componentId,this.includeArchived).then(function(c){a.children=c;0===c.length&&(a.noChildren=!0);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var HR=function(a,b){a.selectedId&&dkc(a,a.selectedId);a.selectedId=b;if(a=ekc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},IR=function(a){if(!a.selectedId||1>a.selectedId)return null;var b;return null!=(b=a.components.find(function(c){return c.componentId==a.selectedId}))?b:null},fkc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},dkc=function(a,b){b&&(a=ekc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},ekc=function(a){return a?document.getElementById("component-"+a):null},gkc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var XPa=function(a){return{q:a}},JR=function(a,b,c,d){ckc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new Uv;this.selectedId=null};Y(JR,ckc);JR.prototype.ngOnInit=function(){};JR.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};JR.prototype.ngOnChanges=function(a){a.components&&hkc(this)};JR.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;HR(this,a);this.rootController.selectionChanged(this,a)};
var hkc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=JR.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=fkc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(dkc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(HR(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else HR(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=fkc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(HR(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=IR(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=IR(this);a&&this.showChildren(a)};g.setSelected=function(a,b){gkc(b)||(HR(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=IR(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};JR.\u0275fac=function(a){return new (a||JR)(C(SM),C(RF),C(qI),C(ME,2))};
JR.\u0275cmp=r({type:JR,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[wg([ME]),Ff,xd],decls:2,vars:1,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Show child components",3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["class","gmat-button","mat-raised-button","",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],
["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","",1,"gmat-button",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"childClosed",
"components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(G(0,"ol",0),E(1,eQa,19,13,"li",1),I());a&2&&(A(),F("ngForOf",b.components))},dependencies:[Dw,zw,nB,nE,OC,DA,GL,VM,ZM,JR],encapsulation:2});var hQa=function(a){return{q:a}},KR=function(a,b,c,d,e,f){ckc.call(this,a,d,f);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new Uv;this.subscriptions=new X.Subscription;this.destroyed$=new X.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};Y(KR,ckc);g=KR.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;(0,X.timer)(0).pipe(xf(this.destroyed$)).subscribe(function(){ikc(a)&&!a.selectedId&&HR(a,a.components[0].componentId)});this.init.emit(this)};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};g.ngOnChanges=function(a){a.components&&jkc(this)};g.onSubtreeChildClosed=function(a){var b=this;HR(this,a);this.focusedController=void 0;(0,X.timer)(0).pipe(xf(this.destroyed$)).subscribe(function(){LR(b)})};
g.fireSelectionEvent=function(a){var b=ekc(a);b&&b.click();LR(this,a)};var jkc=function(a){(0,X.timer)(0).pipe(xf(a.destroyed$)).subscribe(function(){ikc(a)&&!a.selectedId&&HR(a,a.components[0].componentId)})};g=KR.prototype;g.selectionChanged=function(a,b){b&&LR(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&dkc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){gkc(b)||(HR(this,a),this.selectionChanged(null),LR(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(IF(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=IR(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=IR(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(IR(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=fkc(this);ikc(this)&&1<=a&&(HR(this,this.components[a-1].componentId),LR(this))}};
g.selectNext=function(){if(ikc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=fkc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(dkc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(HR(this,this.components[a+1].componentId),LR(this))}else HR(this,this.components[0].componentId),LR(this)};
var LR=function(a,b){var c=kkc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=ekc(b||a.selectedId)){b=kkc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},kkc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},ikc=function(a){return!!(a.components&&0<a.components.length)};KR.\u0275fac=function(a){return new (a||KR)(C(SM),C(RF),C(HF),C(qI),C(Wd),C(ME,2))};
KR.\u0275cmp=r({type:KR,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[wg([ME]),Ff,xd],decls:2,vars:1,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Show child components",
3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["class","gmat-button","mat-raised-button","",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip",
"Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","",1,"gmat-button",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,
b){a&1&&(G(0,"ol",0),E(1,pQa,19,12,"li",1),I());a&2&&(A(),F("ngForOf",b.components))},dependencies:[Dw,zw,nB,nE,OC,DA,GL,VM,ZM,JR],encapsulation:2});var MR=function(){};MR.\u0275fac=function(a){return new (a||MR)};MR.\u0275mod=hd({type:MR});MR.\u0275inj=Rc({imports:[rE,vE,cD,wM,oN,pN]});var lkc=new rd("GMAT_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var NR=function(a){this.options=a};NR.\u0275fac=function(a){return new (a||NR)(C(lkc))};NR.\u0275dir=jd({type:NR,selectors:[["mat-slide-toggle"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-slide-toggle",!b.options.disableGmatStyle)}});var mkc=new rd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var nkc=["switch"],okc={provide:Bw,useExisting:Yc(function(){return OR}),multi:!0},pkc=function(a,b){this.source=a;this.checked=b},qkc=0,OR=function(a,b,c,d,e,f){this._elementRef=a;this._focusMonitor=b;this._changeDetectorRef=c;this.defaults=e;this._onChange=function(){};this._onTouched=function(){};this._validatorOnChange=function(){};this._checked=!1;this.name=null;this.labelPosition="after";this.ariaLabelledby=this.ariaLabel=null;this.disableRipple=this.disabled=!1;this.tabIndex=0;this.change=
new Uv;this.toggleChange=new Uv;this.tabIndex=parseInt(d)||0;this.color=e.color||"accent";this._noopAnimations="NoopAnimations"===f;this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++qkc;var h;this.hideIcon=null!=(h=e.hideIcon)?h:!1;this._labelId=this._uniqueId+"-label"};g=OR.prototype;g._createChangeEvent=function(a){return new pkc(this,a)};g.focus=function(){this._switchElement.nativeElement.focus()};
g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){"keyboard"===b||"program"===b?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.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&&!0!==a.value?{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.toggleChange.emit();this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new pkc(this,this.checked)))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
Ac.Object.defineProperties(OR.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"}}});OR.\u0275fac=function(a){return new (a||OR)(C(Wd),C(Jx),C(Pg),Od("tabindex"),C(mkc),C(sv,8))};
OR.\u0275cmp=r({type:OR,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&lg(nkc,5);if(a&2){var c;pg(c=qg())&&(b._switchElement=c.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Zf("id",b.id),Hf("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Rf(b.color?"mat-"+b.color:""),Qf("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",Ng],color:"color",disabled:[2,"disabled","disabled",Ng],disableRipple:[2,"disableRipple","disableRipple",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:Og(a)}],checked:[2,"checked","checked",Ng],hideIcon:[2,"hideIcon","hideIcon",Ng]},outputs:{change:"change",
toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[wg([okc,{provide:Xw,useExisting:OR,multi:!0}]),Gf,xd,yg],ngContentSelectors:["*"],decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[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-mdc-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=v();
cg();G(0,"div",1)(1,"button",2,0);N("click",function(){x(c);return y(b._handleClick())});K(3,"div",3);G(4,"div",4)(5,"div",5)(6,"div",6);K(7,"div",7);I();G(8,"div",8);K(9,"div",9);I();E(10,qQa,5,0,"div",10);I()()();G(11,"label",11);N("click",function(d){x(c);return y(d.stopPropagation())});dg(12);I()()}a&2&&(a=R(2),F("labelPosition",b.labelPosition),A(),Qf("mdc-switch--selected",b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",b.disabled),F("tabIndex",
b.disabled?-1:b.tabIndex)("disabled",b.disabled),Hf("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),A(8),F("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),A(),Uf(b.hideIcon?-1:10),A(),F("for",b.buttonId),Hf("id",b._labelId))},dependencies:[hz,fz],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}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.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%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.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__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.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)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.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 screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.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--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 .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{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 .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-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-elevation-overlay,.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}.mdc-switch__handle{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)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}\n'],
encapsulation:2,changeDetection:0});var PR=function(){};PR.\u0275fac=function(a){return new (a||PR)};PR.\u0275mod=hd({type:PR});PR.\u0275inj=Rc({imports:[OR,Zy,Zy]});var QR=function(){};QR.\u0275fac=function(a){return new (a||QR)};QR.\u0275mod=hd({type:QR});QR.\u0275inj=Rc({providers:[{provide:mkc,useValue:{color:"primary"}}],imports:[PR]});var rkc=0,RR=function(){this.id="b-slide-toggle-"+ ++rkc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new Uv};RR.\u0275fac=function(a){return new (a||RR)};
RR.\u0275cmp=r({type:RR,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"},decls:2,vars:7,consts:[[3,"change","id","disabled","checked","aria-label","matTooltip","labelPosition"]],template:function(a,b){a&1&&(G(0,"mat-slide-toggle",0),N("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
S(1),I());if(a&2){var c;F("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",null!==(c=b.tooltip)&&void 0!==c?c:"")("labelPosition",b.label?b.labelPosition:"after");A();rg(b.label)}},dependencies:[NR,OR,nE,OC],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var SR=function(){};SR.\u0275fac=function(a){return new (a||SR)};SR.\u0275mod=hd({type:SR});SR.\u0275inj=Rc({imports:[QR,vE]});var skc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var tkc=function(a,b,c){var d=this;this.realGapiClient=a;this.peopleApiProxy=b;this.currentTracker=c;this.request=function(e){var f=e.path;if(!cp(d.currentTracker)||"v2/people/autocomplete"!==f)return d.realGapiClient.request(e);var h=sQa(e.params);return(0,X.firstValueFrom)(d.peopleApiProxy.call(f,h)).then(function(l){return{result:l}}).catch(function(){Ck("falling back to gapi",e);return d.realGapiClient.request(e)})}};var TR=function(a){this.internalArray_=m(a,0,TR.messageId)};Y(TR,n);TR.prototype.getPath=function(){return ec(this,1)};TR.prototype.setPath=function(a){return Zh(this,1,a)};TR.prototype.hasPath=function(){return Ni(this,1)};var ukc=function(a,b){return Zh(a,2,b)};TR.messageId="b.PeopleApiProxyRequest";var vkc=function(a){this.internalArray_=m(a,0,vkc.messageId)};Y(vkc,n);vkc.messageId="b.PeopleApiProxyResponse";var UR=function(a){this.executor=a};UR.prototype.call=function(a,b){a=ukc((new TR).setPath(a),JSON.stringify(b));return this.executor.post({url:"action/peopleApiProxy",body:a,responseConstructor:vkc}).pipe(z(function(c){return JSON.parse(ec(c,1))}))};UR.\u0275fac=function(a){return new (a||UR)(p(HE))};UR.\u0275prov=Pc({token:UR,factory:UR.\u0275fac,providedIn:"root"});var VR=function(a){this.activeSession=a;this.createIframe=j0b(function(){var b=document.createElement("iframe");b.id="first_party_auth_helper";b.setAttribute("aria-hidden","true");b.setAttribute("style","width:1px;height:1px;position:absolute;top:-100px;display:none;");document.body.appendChild(b);return b})},wkc=function(a){var b,c;me(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();ne(d,2);b=a.createIframe();return oe(d,
new Promise(function(e,f){var h=function(){try{var q,t,w;if(null==(q=b.contentWindow)?0:null==(t=q.location)?0:null==(w=t.href)?0:w.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(B){}},l=setTimeout(function(){b.removeEventListener("load",h);f(Error("Md"))},5E3);b.addEventListener("load",h);Zda(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return au(d,0);c=re(d);console.log("first party auth passive login "+c);se(d)})};
VR.\u0275fac=function(a){return new (a||VR)(p(Zr))};VR.\u0275prov=Pc({token:VR,factory:VR.\u0275fac,providedIn:"root"});var WR=function(a){this.internalArray_=m(a)};Y(WR,n);WR.prototype.getSocialApplication=function(){return Qi(this,3,0)};WR.prototype.getSocialApplicationOrUndefined=function(){return Ot(this,3)};WR.prototype.getAffinityType=function(){return ec(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};WR.prototype.setAffinityType=function(a){return Zh(this,12,a)};var YR=function(a){this.internalArray_=m(a)};Y(YR,n);YR.prototype.getExperimentIdsList=function(a){return ii(this,4,hi(a))};YR.prototype.setExperimentIdsList=function(a){return Ip(this,4,a)};YR.prototype.getExperimentIds=function(){return Fu(this,4)};YR.prototype.setExperimentIds=function(a){Ku(this,4,a)};YR.repeatedFields_=[4];var xkc=function(a){this.internalArray_=m(a)};Y(xkc,n);g=xkc.prototype;g.getClientInfo=function(){return Gi(this,WR,1)};g.getMutableClientInfo=function(){return xu(this,WR,1)};g.setClientInfo=function(a){hj(this,WR,1,a)};g.getExperiments=function(){return Gi(this,YR,2)};g.setExperiments=function(a){return hj(this,YR,2,a)};g.hasExperiments=function(){return Ui(this,YR,2)};var ykc=Eda(xkc);var zkc;var Akc=function(a){this.internalArray_=m(a)};Y(Akc,n);g=Akc.prototype;g.getDelegatorId=function(){return ec(this,2)};g.getEnvType=function(){return Qi(this,5,0)};g.getEnvType_legacyNullable=function(){return yo(this,5)};g.setEnvType=function(a){jj(this,5,a)};g.getCacheSize=function(){return fi(this,7)};g.setCacheSize=function(a){gj(this,7,a)};g.hasCacheSize=function(){return Mi(this,7)};var vQa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,tQa=/([#].*?&|[#])authuser=([^&#]*)\b/,uQa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var ZR=function(){this.config_=Bb(zkc||(zkc=ykc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Akc;this.onAuthError_=this.gapiClientThenable_=null};ZR.prototype.getClientInfo=function(){return this.config_.getClientInfo()};ZR.prototype.getExperiments=function(){return this.config_.getExperiments()};ZR.prototype.getUserInfo=function(){return this.userInfo_};
ZR.prototype.getGapiClientThenable=function(){this.gapiClientThenable_||(this.gapiClientThenable_=AQa(10,5E3).then(function(a){return a.client}));return this.gapiClientThenable_};var Bkc=function(a,b){b&&(a.gapiClientThenable_=b.then(function(c){return c},function(){return AQa(10,5E3).then(function(c){return c.client})}))};ZR.prototype.getAuthErrorHandler=function(){return this.onAuthError_};ZR.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var Ckc=function(){};var Dkc=[];Dkc.push=function(){throw Error("Nd");};var $R={cancel:function(){},isPending:function(){return!1}};var Ekc=function(a){this.response_=a||function(){};this.timer_=Mq(this.onTimer_,0,this);this.addressBookId_=""};g=Ekc.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){Nq(this.timer_);this.timer_=null};g.isPending=function(){return!!this.timer_};g.onTimer_=function(){this.timer_=null;this.response_()};g.setQuery=function(a){this.query_=a};g.getQuery=function(){return this.query_};var Fkc=new Map([["personal",2],["domain",4],["pcab",3]]);var Ep=function(a){this.internalArray_=m(a)};Y(Ep,n);g=Ep.prototype;g.getEventType=function(){return Qi(this,1,0)};g.setEventType=function(a){return jj(this,1,a)};g.getApiType=function(){return Qi(this,2,0)};g.setApiType=function(a){return jj(this,2,a)};g.getCacheStatus=function(){return Qi(this,3,0)};g.setCacheStatus=function(a){return jj(this,3,a)};g.getAddressBook=function(){return Qi(this,4,0)};g.setAddressBook=function(a){return jj(this,4,a)};g.getRpcType=function(){return Qi(this,5,0)};
g.setRpcType=function(a){return jj(this,5,a)};g.getLookupType=function(){return Qi(this,6,0)};g.setLookupType=function(a){return jj(this,6,a)};g.getToken=function(){return ec(this,7,"")};g.setToken=function(a){return Zh(this,7,a)};var aS=function(a){this.internalArray_=m(a)};Y(aS,n);g=aS.prototype;g.setDevice=function(a){return jj(this,1,a)};g.getApplication=function(){return Qi(this,2,0)};g.setApplication=function(a){return jj(this,2,a)};g.getApplicationOrUndefined=function(){return Ot(this,2)};g.setPlatform=function(a){jj(this,3,a)};var bS=function(a){this.internalArray_=m(a)};Y(bS,n);g=bS.prototype;g.setEventSource=function(a){jj(this,2,a)};g.getEventSourceOrUndefined=function(){return Ot(this,2)};g.setEventSourceId=function(a){gj(this,15,a)};g.getEventSourceIdOrUndefined=function(){return Hu(this,15)};g.getSocialClient=function(){return Gi(this,aS,3)};g.setSocialClient=function(a){return hj(this,aS,3,a)};g.setVersionName=function(a){return Zh(this,5,a)};g.getBaselineCl=function(){return Au(this,7)};
g.setBaselineCl=function(a){return pj(this,7,a)};g.hasBaselineCl=function(){return Yi(this,7)};g.getBaselineClOrUndefined=function(){return Iu(this,7)};g.setClientAgent=function(a){return jj(this,9,a)};g.getClientAgentOrUndefined=function(){return Ot(this,9)};g.getPeoplekitEntryPoint=function(){return yo(this,11)};g.setPeoplekitEntryPoint=function(a){return jj(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Ot(this,11)};g.setEnvironment=function(a){return jj(this,13,a)};
g.getEnvironmentOrUndefined=function(){return Ot(this,13)};g.setSharekitEntryPoint=function(a){jj(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return Ot(this,14)};bS.repeatedFields_=[6];var Gkc=function(a){this.internalArray_=m(a)};Y(Gkc,n);g=Gkc.prototype;g.getApiType=function(){return Qi(this,1,0)};g.setApiType=function(a){return jj(this,1,a)};g.getItemCount=function(){return fi(this,2)};g.setItemCount=function(a){return gj(this,2,a)};g.hasItemCount=function(){return Mi(this,2)};var Hkc=function(a){this.internalArray_=m(a)};Y(Hkc,n);g=Hkc.prototype;g.getApiType=function(){return Qi(this,1,0)};g.setApiType=function(a){return jj(this,1,a)};g.getItemCount=function(){return fi(this,2)};g.setItemCount=function(a){return gj(this,2,a)};g.hasItemCount=function(){return Mi(this,2)};g.getStatus=function(){return Qi(this,4,2)};g.setStatus=function(a){return jj(this,4,a)};g.hasStatus=function(){return Oi(this,4)};g.setTotalUsec=function(a){return pj(this,5,a)};
g.setBlockedUsec=function(a){return pj(this,6,a)};g.setNetworkUsec=function(a){pj(this,7,a)};g.getCacheStatus=function(){return Qi(this,8,0)};g.setCacheStatus=function(a){return jj(this,8,a)};g.getAddressBook=function(){return Qi(this,9,0)};g.setAddressBook=function(a){return jj(this,9,a)};var cS=function(a){this.internalArray_=m(a)};Y(cS,n);cS.prototype.getStatus=function(){return Qi(this,1,2)};cS.prototype.setStatus=function(a){return jj(this,1,a)};cS.prototype.hasStatus=function(){return Oi(this,1)};cS.prototype.setTotalUsec=function(a){return pj(this,2,a)};var dS=function(a){this.internalArray_=m(a)};Y(dS,n);dS.prototype.getRpcType=function(){return Qi(this,1,0)};dS.prototype.setRpcType=function(a){return jj(this,1,a)};dS.prototype.getLookupType=function(){return Qi(this,2,0)};dS.prototype.setLookupType=function(a){return jj(this,2,a)};var Ikc=function(a){this.internalArray_=m(a)};Y(Ikc,n);g=Ikc.prototype;g.getRpcType=function(){return Qi(this,1,0)};g.setRpcType=function(a){return jj(this,1,a)};g.getLookupType=function(){return Qi(this,2,0)};g.setLookupType=function(a){return jj(this,2,a)};g.getStatus=function(){return Qi(this,3,2)};g.setStatus=function(a){return jj(this,3,a)};g.hasStatus=function(){return Oi(this,3)};g.setTotalUsec=function(a){return pj(this,4,a)};g.setBlockedUsec=function(a){return pj(this,5,a)};
g.setNetworkUsec=function(a){pj(this,6,a)};var eS=function(a){this.internalArray_=m(a)};Y(eS,n);g=eS.prototype;g.getEnvType=function(){return Qi(this,1,0)};g.getEnvType_legacyNullable=function(){return yo(this,1)};g.setEnvType=function(a){jj(this,1,a)};g.getCacheSize=function(){return fi(this,2)};g.setCacheSize=function(a){gj(this,2,a)};g.hasCacheSize=function(){return Mi(this,2)};var fS=function(a){this.internalArray_=m(a)};Y(fS,n);g=fS.prototype;g.getClientInterface=function(){return Gi(this,bS,1)};g.setClientInterface=function(a){return hj(this,bS,1,a)};g.getSource=function(){return Qi(this,2,0)};g.setSource=function(a){return jj(this,2,a)};g.hasSource=function(){return Oi(this,2)};g.getSourceOrUndefined=function(){return Ot(this,2)};g.getEventType=function(){return Qi(this,3,0)};g.getEventType_legacyNullable=function(){return yo(this,3)};
g.setEventType=function(a){return jj(this,3,a)};g.setRpcRequest=function(a){return Rl(this,5,Jkc,a)};g.setRpcResponse=function(a){return Rl(this,6,Jkc,a)};g.setApiCall=function(a){return Rl(this,7,Jkc,a)};g.setApiResult=function(a){return Rl(this,8,Jkc,a)};g.getUserInfo=function(){return Gi(this,eS,9)};g.setUserInfo=function(a){return hj(this,eS,9,a)};g.hasUserInfo=function(){return Ui(this,eS,9)};var Jkc=[4,5,6,7,8];var Kkc=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]]),Lkc=new Map([[0,0],[1,11],[2,1],[3,3],[4,10],[5,8],[6,7],[7,2],[16,2],[8,6],[9,7],[10,11],[11,9],[12,5],[13,9],[14,4],[15,6]]),Mkc=new Map([[0,0],[11,1],[1,2],[3,3],[10,4],[8,5],[2,16],[6,8],[7,9],[5,12],[9,13],[4,14]]),Nkc=function(a){return Lkc.has(a)?Lkc.get(a):1},Okc=function(a){return Mkc.has(a)?Mkc.get(a):2};var Pkc=function(a){this.request_=a;this.errorCode_=0},Qkc=function(a,b){b=new Pkc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=Pkc.prototype;g.hasChanges=function(){return this.mutateResponse_&&Qi(this.mutateResponse_,2,0)?Qi(this.mutateResponse_,2,0).hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var gS=function(a){this.map_=new XF;this.size=0;a&&this.addAll(a)},Rkc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.charAt(0)+a};g=gS.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(Rkc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=pD(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};g.removeAll=function(a){a=pD(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
g.delete=function(a){a=this.map_.remove(Rkc(a));this.setSizeInternal_(this.map_.size);return a};g.remove=function(a){return this.delete(a)};g.clear=function(){this.map_.clear();this.setSizeInternal_(0)};g.isEmpty=function(){return 0===this.map_.size};g.has=function(a){return this.map_.containsKey(Rkc(a))};g.contains=function(a){return this.map_.containsKey(Rkc(a))};g.intersection=function(a){var b=new gS;a=pD(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
g.getValues=function(){return this.map_.getValues()};g.values=function(){return this.map_.values()};g.clone=function(){return new gS(this)};g.equals=function(a){return this.getCount()==O3b(a)&&Skc(this,a)};
var Skc=function(a,b){var c=O3b(b);if(a.getCount()>c)return!1;!(b instanceof gS)&&5<c&&(b=new gS(b));return R3b(a,function(d){var e=b;if(e.contains&&"function"==typeof e.contains)d=e.contains(d);else if(e.containsValue&&"function"==typeof e.containsValue)d=e.containsValue(d);else if(za(e)||"string"===typeof e)d=ua(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};gS.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};gS.prototype[Symbol.iterator]=function(){return this.values()};
gS.prototype.setSizeInternal_=function(a){this.size=a};var hS=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new gS(c);this.extraFields_=[]};hS.prototype.toString=function(){var a=this.name_?"g"+this.name_:this.fields_.join(",");this.name_&&this.extraFields_.length&&(a+=","+this.extraFields_.join(","));return a};var Tkc=function(a){a.fieldSet_||(a.fieldSet_=new gS(a.fields_));return a.fieldSet_};
hS.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new gS);if(this.doesntContain_.has(a))return!1;var b=Tkc(this),c=Tkc(a);if(R3b(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var Ukc=new hS(["6","12"],"1"),Vkc=new hS("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[Ukc]);new hS("6 12 16 17 18 1a".split(" "),"3",[Ukc]);
new hS("2 4 2a 5 6 9 b 1c d e f 11 12 29 13 14 15 1d 22 16 17 19 28 1e 1b".split(" "),"2",[Ukc,Vkc]);new hS([]);var Wkc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var Xkc=function(a,b,c){CB.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};Y(Xkc,CB);g=Xkc.prototype;g.getGroup=function(){return this.group};g.setGroup=function(a){this.group=a};g.isSuccess=function(){return this.getState().isSuccess()};g.setSuccess=function(a){this.getState().setSuccess(a)};g.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};g.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};g.reset=function(){this.getState().reset()};
g.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};g.setRunState=function(a){this.getState().setRunState(a)};g.setRunTime=function(a){this.getState().setRunTime(a)};g.setRunTimerId=function(a){this.getState().setRunTimerId(a)};g.incNumSuccesses=function(){this.getState().incNumSuccesses()};g.incNumFailures=function(){this.getState().incNumFailures()};g.incNumExecutions=function(){this.getState().incNumExecutions()};g.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
g.isPending=function(){return this.getState().isPending()};g.cancel=function(){this.scheduler.cancel(this.getState())};g.getState=function(){return this.scheduler.getState(this.group)};g.run=function(){this.incNumExecutions();this.runFunction_(this)};g.isDone=function(a){return this.scheduler.isDone(this,a)};var Ykc=function(a){CB.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};Y(Ykc,CB);g=Ykc.prototype;g.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};g.isSuccess=function(){return this.success};g.setSuccess=function(a){this.success=a};g.getMaxNumRetries=function(){return this.maxNumRetries_};g.setRunState=function(a){this.runState=a};g.setRunTime=function(a){this.runTime=a};
g.setRunTimerId=function(a){this.runTimerId=a};g.setMaxNumRetries=function(a){this.maxNumRetries_=a};g.getNumTriesLeft=function(){return this.numTriesLeft};g.decNumTriesLeft=function(){--this.numTriesLeft};g.incNumSuccesses=function(){};g.incNumFailures=function(){};g.incNumExecutions=function(){};g.isPending=function(){return!(4==this.runState||5==this.runState)};g.disposeInternal=function(){CB.prototype.disposeInternal.call(this);this.scheduler=null};var Zkc=function(){CB.call(this);this.states={};this.currentGroup=1};Y(Zkc,CB);Zkc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new Ykc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();$kc(a,b,e);break;case 6:$kc(a,b,e);break;case 4:d&&(f.reset(),$kc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),$kc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var $kc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Mq(a.run,b,a)))};g=Zkc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){CB.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Xh(b)}this.states={}};g.cancel=function(a){2==a.runState&&Nq(a.runTimerId)};
g.isDone=function(a,b){b?a.incNumSuccesses():a.incNumFailures();a.setSuccess(b);a.decNumTriesLeft();if(!b&&0<a.getNumTriesLeft())return a.setRunState(6),this.schedule(a,Math.max(100,Math.round(45E3*Math.random()))),!1;a.setRunState(b?4:5);return!0};var alc={SOMETHING_CHANGED:"a",ERROR:"b"},blc=function(a,b){DB.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};Y(blc,DB);blc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];ta(this.responses_,function(b){b=Qi(b,2,0).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};blc.prototype.getSource=function(){return this.source_};var clc=function(a,b){this.fn_=a;this.handler_=b};clc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};clc.prototype.abort=function(){this.handler_=this.fn_=null};P_b(function(a){clc.prototype.execute=a(clc.prototype.execute)});var dlc=[];var iS=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];elc(this,c)};iS.prototype.toString=function(){return this.serviceId_};iS.prototype.getModuleId=function(){return this.moduleId_};var elc=function(a,b){var c=!1;c=void 0===c?!1:c;a.dependencies_=a.dependencies_.concat(b);if(c){if(!a.moduleId_)throw Error("Od`"+a.serviceId_);b.map(function(d){return d.getModuleId()}).forEach(function(d){dlc.push(function(e){e.addExtraEdge(a.moduleId_,d)})})}};new iS("z72MOc","z72MOc");new iS("ZtVrH");new iS("rJmJrc","rJmJrc");new iS("fJuxOc");new iS("NGntwf");new iS("ofuapc");new iS("BWETze");new iS("ZmXAm");new iS("n73qwf","n73qwf");new iS("Bgf0ib");new iS("MpJwZc","MpJwZc");new iS("UUJqVe","UUJqVe");new iS("GHAeAc","GHAeAc");new iS("Wt6vjf","Wt6vjf");new iS("byfTOb","byfTOb");new iS("LEikZe","LEikZe");new iS("lsjVmc","lsjVmc");new iS("pVbxBc");new iS("klpyYe");new iS("OPbIxb");new iS("pg9hFd");new iS("IaqD3e");new iS("Xpw1of");new iS("v5BQle");new iS("tdUkaf");new iS("WSziFf");new iS("UBSgGf");new iS("zZa4xc");new iS("o1bZcd");new iS("WwG67d");new iS("JccZRe");new iS("amY3Td");new iS("ABma3e");new iS("gSshPb");new iS("yu4DA");new iS("vk3Wc");new iS("IykvEf");new iS("J5K1Ad");new iS("IW8Usd");new iS("jbDgG");new iS("b8xKu");new iS("d0RAGb");new iS("AzG0ke");new iS("J4QWB");new iS("TuDsZ");new iS("hdXIif");new iS("mITR5c");new iS("DFElXb");new iS("FENZqe");new iS("tLnxq");var flc=function(){CB.call(this);this.eventTarget_=new Jp;this.updateCacheEventTarget_=new Jp;this.mutationIdMap_=new $F};Y(flc,CB);flc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};flc.prototype.getEventTarget=function(){return this.eventTarget_};
flc.prototype.disposeInternal=function(){CB.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var Lt=function(a){this.internalArray_=m(a)};Y(Lt,n);var Kt=function(a,b){return Zh(a,1,b)};g=Lt.prototype;g.getLogSource=function(){return Qi(this,2,-1)};g.setLogSource=function(a){return jj(this,2,a)};g.getApplication=function(){return Qi(this,3,0)};g.setApplication=function(a){return jj(this,3,a)};g.getApplicationOrUndefined=function(){return Ot(this,3)};g.getVersion=function(){return ec(this,4)};g.setVersion=function(a){return Zh(this,4,a)};g.getVersionOrUndefined=function(){return Ju(this,4)};
g.getBaselineCl=function(){return fi(this,5)};g.setBaselineCl=function(a){return gj(this,5,a)};g.hasBaselineCl=function(){return Mi(this,5)};g.getBaselineClOrUndefined=function(){return Hu(this,5)};g.getEnableClearcut=function(){return Li(this,6)};g.setEnableClearcut=function(a){return $h(this,6,a)};var UOb=function(a,b){return Ip(a,7,b)};g=Lt.prototype;g.getExperimentId=function(){return Fu(this,7)};g.setClientAgent=function(a){return jj(this,8,a)};
g.getClientAgentOrUndefined=function(){return Ot(this,8)};g.setEventSource=function(a){jj(this,9,a)};g.getEventSourceOrUndefined=function(){return Ot(this,9)};g.setEventSourceId=function(a){gj(this,14,a)};g.getEventSourceIdOrUndefined=function(){return Hu(this,14)};g.getClearcutUrl=function(){return ec(this,10)};g.setClearcutUrl=function(a){Zh(this,10,a)};g.setEnvironment=function(a){return jj(this,11,a)};g.getEnvironmentOrUndefined=function(){return Ot(this,11)};
g.getPeoplekitEntryPoint=function(){return Qi(this,12,0)};g.setPeoplekitEntryPoint=function(a){return jj(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Ot(this,12)};g.setSharekitEntryPoint=function(a){jj(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return Ot(this,13)};Lt.repeatedFields_=[7];var glc=window&&window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return Date.now()};var hlc=function(a){this.start_=a;this.end_=NaN};hlc.prototype.duration=function(){return this.end_-this.start_};hlc.prototype.stop=function(a){this.end_=a;return this.duration()};var jS=function(a){var b=void 0===b?glc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};jS.prototype.source=function(){return this.source_};var ilc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
jS.prototype.duration=function(a){a=ilc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var kS=function(a,b){return EQa(a.duration(void 0===b?"":b))};jS.prototype.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};jS.prototype.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=ilc(this,a);this.durations_.set(a,new hlc(b));return this};
jS.prototype.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=ilc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};jS.prototype.clear=function(){this.durations_.clear();return this};var jlc=function(a){this.internalArray_=m(a)};Y(jlc,n);var klc=function(a){this.internalArray_=m(a)};Y(klc,n);g=klc.prototype;g.getQueryId=function(){return Au(this,1)};g.setQueryId=function(a){pj(this,1,a)};g.setSelectionId=function(a){pj(this,2,a)};g.getInstanceId=function(){return wj(this,4)};g.setInstanceId=function(a){return Zh(this,4,a)};g.clearInstanceId=function(){lp(this,4)};g.hasInstanceId=function(){return Ni(this,4)};g.getInstanceIdOrUndefined=function(){return Ju(this,4)};g.getAffinityVersion=function(){return zu(this,5)};
g.setAffinityVersion=function(a){gj(this,5,a)};g.getAffinityVersionOrUndefined=function(){return Hu(this,5)};var llc=function(a){this.internalArray_=m(a)};Y(llc,n);g=llc.prototype;g.getQueryLength=function(){return zu(this,1)};g.setQueryLength=function(a){return gj(this,1,a)};g.hasQueryLength=function(){return Mi(this,1)};g.getQuery=function(){return wj(this,2)};g.setQuery=function(a){return Zh(this,2,a)};g.clearQuery=function(){lp(this,2)};g.hasQuery=function(){return Ni(this,2)};var mlc=function(a){this.internalArray_=m(a)};Y(mlc,n);mlc.prototype.setLatencyUsec=function(a){gj(this,1,a)};var lS=function(a){this.internalArray_=m(a)};Y(lS,n);g=lS.prototype;g.getColumn=function(){return zu(this,2)};g.setColumn=function(a){return gj(this,2,a)};g.getType=function(){return yo(this,3)};g.setType=function(a){return jj(this,3,a)};g.hasType=function(){return Oi(this,3)};var mS=function(a){this.internalArray_=m(a)};Y(mS,n);mS.prototype.getExistingSelectionsCount=function(){return zu(this,1)};mS.prototype.setExistingSelectionsCount=function(a){gj(this,1,a)};mS.prototype.getPosition=function(){return Gi(this,lS,2)};mS.prototype.setPosition=function(a){return hj(this,lS,2,a)};var nS=function(a){this.internalArray_=m(a)};Y(nS,n);g=nS.prototype;g.getType=function(){return yo(this,5)};g.setType=function(a){return jj(this,5,a)};g.hasType=function(){return Oi(this,5)};g.getEmail=function(){return wj(this,1)};g.getEmail_legacyNullable=function(){return wj(this,1)};g.setEmail=function(a){return Zh(this,1,a)};g.hasEmail=function(){return Ni(this,1)};g.getPhone=function(){return wj(this,2)};g.getPhone_legacyNullable=function(){return wj(this,2)};
g.setPhone=function(a){return Zh(this,2,a)};g.hasPhone=function(){return Ni(this,2)};g.getObfuscatedGaiaId=function(){return wj(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return wj(this,3)};g.setObfuscatedGaiaId=function(a){Zh(this,3,a)};g.getContactId=function(){return Au(this,4)};g.setContactId=function(a){pj(this,4,a)};g.getGroupId=function(){return wj(this,6)};g.setGroupId=function(a){Zh(this,6,a)};g.hasGroupId=function(){return Ni(this,6)};var oS=function(a){this.internalArray_=m(a)};Y(oS,n);oS.prototype.getName=function(){return wj(this,1)};oS.prototype.setName=function(a){return Zh(this,1,a)};oS.prototype.hasName=function(){return Ni(this,1)};oS.prototype.getNameOrUndefined=function(){return Ju(this,1)};var pS=function(a){this.internalArray_=m(a)};Y(pS,n);g=pS.prototype;g.getPosition=function(){return Gi(this,lS,1)};g.setPosition=function(a){return hj(this,lS,1,a)};g.getProvenance=function(){return vRb(this,3)};g.setProvenance=function(a){return Vb(this,3,zba,a,void 0,ej)};g.getIsPlaceholder=function(){return vt(this,7)};g.setIsPlaceholder=function(a){$h(this,7,a)};g.getIsSelf=function(){return vt(this,11)};g.getQueryId=function(){return Au(this,15)};g.setQueryId=function(a){pj(this,15,a)};
g.setSelectionId=function(a){pj(this,16,a)};pS.repeatedFields_=[4,3];var qS=function(a){this.internalArray_=m(a)};Y(qS,n);qS.prototype.getLoggingId=function(){return wj(this,1)};qS.prototype.setLoggingId=function(a){Zh(this,1,a)};qS.prototype.getMetadata=function(){return Gi(this,pS,3)};qS.prototype.setMetadata=function(a){hj(this,pS,3,a)};var rS=function(a){this.internalArray_=m(a)};Y(rS,n);rS.prototype.getAffinityVersion=function(){return zu(this,2)};rS.prototype.setAffinityVersion=function(a){gj(this,2,a)};rS.prototype.getAffinityVersionOrUndefined=function(){return Hu(this,2)};var nlc=function(a){this.internalArray_=m(a)};Y(nlc,n);g=nlc.prototype;g.getEventType=function(){return yo(this,1)};g.getEventType_legacyNullable=function(){return yo(this,1)};g.setEventType=function(a){return jj(this,1,a)};g.getMetadata=function(){return Gi(this,rS,4)};g.setMetadata=function(a){hj(this,rS,4,a)};g.getClientInterface=function(){return Gi(this,bS,5)};g.setClientInterface=function(a){return hj(this,bS,5,a)};nlc.repeatedFields_=[2];var olc=new Map([[1,4],[2,2],[3,1],[4,7]]),plc=function(a,b){b=void 0===b?0:b;this.clientConfig_=a;this.transportType_=b;switch(b){case 1:b="ppl.store.peopleapi";var c=Li(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Li(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=olc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Ub(UOb(Kt(new Lt,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,mb,20090307)};g=plc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=qlc(this);switch(b.getEventType()){case 2:case 3:return(new fS).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new dS).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new fS).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new Gkc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=qlc(this);switch(d.getEventType()){case 1:d=(new fS).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new cS).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(kS(b,"total")),b=kS(b,"blocked"),b=pj(c,3,b),jj(b,5,a);return Rl(d,4,Jkc,e);case 2:case 3:return a=(new fS).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new Ikc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(kS(b,"total")).setBlockedUsec(kS(b,"blocked")).setNetworkUsec(kS(b,"network")),e.call(a,d);case 4:case 5:a=(new fS).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new Hkc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||f.setTotalUsec(kS(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var qlc=function(a){a=a.clientConfig_.getUserInfo();var b=new eS;var c=!!a.getDelegatorId();b=$h(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Qi(a,6,0)||0);return b};var IQa=function(a){this.internalArray_=m(a)};Y(IQa,n);IQa.repeatedFields_=[1,2,3,4];var sS=function(a,b){this.name_=b||"";this.address=a||""},rlc=/"/g,slc=/\\"/g,tlc=/\\/g,ulc=/\\\\/g,vlc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),wlc=new RegExp("["+Ida({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");sS.prototype.getName=function(){return this.name_};sS.prototype.getAddress=function(){return this.address};sS.prototype.setName=function(a){this.name_=a};sS.prototype.toString=function(){return xlc(this,'()<>@:\\".[],;')};
var xlc=function(a,b){var c=a.getName();c=c.replace(rlc,"");a:{for(var d=c,e=0;e<b.length;e++)if(la(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(tlc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};sS.prototype.isValid=function(){return vlc.test(this.address)};
var Alc=function(a){var b=ylc;a=a.replace(wlc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,l=f.charAt(h),q='"<(['.indexOf(l);if(-1==q||zlc(f,h))f=l;else{q='">)]'.charAt(q);for(var t=f.indexOf(q,h+1);0<=t&&zlc(f,t);)t=f.indexOf(q,t+1);f=0<=t?f.substring(h,t+1):l}"<"==f.charAt(0)&&-1!=f.indexOf(">")?(d=f.indexOf(">"),d=f.substring(1,d)):""==d&&(c+=f);e+=f.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=oSb(c);c=pSb(c,"'");c=pSb(c,'"');c=c.replace(slc,'"');c=c.replace(ulc,"\\");d=oSb(d);return new b(d,
c)},zlc=function(a,b){if('"'!=a.charAt(b))return!1;var c=0;for(--b;0<=b&&"\\"==a.charAt(b);b--)c++;return 0!=c%2};var ylc=function(a,b){sS.call(this,a,b)};hu(ylc,sS);var Blc=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}$");ylc.prototype.isValid=function(){return Clc(this.address)};var Clc=function(a){return null==a?!1:Blc.test(a)};ylc.prototype.toString=function(){return xlc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var Dlc=/[^a-z0-9]+/ig,Elc=[9,11,10,12,13,14,15,16,19],Flc=[9,19,11],Glc=[1,6],Hlc=[2,7],Ilc=[3,8],Jlc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],sNb=[3,4,5,17,20],rt=function(a,b,c){this.type_=a;this.normalizedValue_=Fp(b);this.originalValue_=Fp(void 0===c?b:c)};rt.prototype.getType=function(){return this.type_};rt.prototype.getValue=function(){return this.normalizedValue_};rt.prototype.getOriginalValue=function(){return this.originalValue_};
var Ms=function(a){return Elc.includes(a.getType())},Ns=function(a){return Flc.includes(a.getType())},mt=function(a,b){switch(a){case 1:return pt(b);case 6:return new rt(6,Fp(b).toLowerCase(),b);case 2:return GNb(b);case 7:return INb(b);case 3:return pNb(b);case 8:return new rt(8,Fp(b).toLowerCase(),b);case 5:return new rt(5,Fp(b).toLowerCase(),b);case 4:return qNb(b);case 9:return Klc(b);case 12:return new rt(12,Fp(b),b);case 13:return new rt(13,Fp(b),b);case 14:return new rt(14,Fp(b),b);case 15:return new rt(15,
Fp(b),b);case 16:return new rt(16,Fp(b),b);case 10:return new rt(10,Fp(b),b);case 11:return new rt(11,Fp(b),b);case 18:return rNb(b);case 19:return new rt(19,Fp(b),b);case 20:return new rt(20,Fp(b),b);case 17:return Llc;default:return new rt(0,b)}},pt=function(a){return new rt(1,Fp(a).toLowerCase(),a)},GNb=function(a){var b=Fp(a).toLowerCase().replace(Dlc,"");return new rt(2,b,a)},pNb=function(a){var b=Fp(a).toLowerCase();return"me"===b?Llc:new rt(3,b,a)},qNb=function(a){return new rt(4,Fp(a).toLowerCase(),
a)},INb=function(a){var b=Fp(a).toLowerCase().replace(Dlc,"");return new rt(7,b,a)},Klc=function(a){return new rt(9,Fp(a).toLowerCase(),a)},rNb=function(a){return new rt(18,Fp(a),a)},Mlc=function(a){var b=a.indexOf(":");return mt(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};rt.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};rt.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
rt.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var Nlc=function(a){switch(a.getType()){case 1:case 6:return Clc(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(Dlc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!Fp(a.originalValue_);default:return!0}},tt=mt(0,""),Llc=new rt(17,"me");var Olc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var Plc=function(a){this.profileId_=a};Plc.prototype.getProfileId=function(){return this.profileId_};var Qlc=Object.freeze({preferOauth:!1}),tS=Object.freeze({userProfileId:"",apiEnv:4,userEmail:"",clearcut:Qlc});var Rlc=function(){return ia&&ja?!ja.mobile&&(ma("iPad")||ma("Android")||ma("Silk")):ma("iPad")||ma("Android")&&!ma("Mobile")||ma("Silk")};var GQa=new WeakMap,FQa=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};var Slc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=vaa()||ma("iPod")?4:ma("iPad")?5:uaa()?Rlc()?3:2:(ia&&ja?ja.mobile:!Rlc()&&(ma("iPod")||ma("iPhone")||ma("Android")||ma("IEMobile")))||Rlc()?0:1},Ulc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){var d,e;c=b.getLogSource();var f=wQa();var h=ii(b,7,hi(zi));c=Tlc(c,f,h,null!=(e=null==(d=tS.clearcut)?void 0:d.preferOauth)?e:!1,b.getClearcutUrl())}return new Slc(c,a)},Vlc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new aS;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new bS;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},Wlc=function(a,b){var c=new oC;Q1b(c,b.serialize());a.clearcut_&&uC(a.clearcut_,c)},Tlc=Gp(JQa);var Xlc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Xlc.prototype.logError=function(a){var b=Vlc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&Wlc(this.clearcut_,a)};var Ylc=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 Zlc=function(){this.logContext_=Kt(new Lt,"ppl.store")};g=Zlc.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){return null};g.createStatusMetric=function(){return null};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};var $lc=function(a){this.clearcut_=a},et=function(a){a=new Xlc(Ulc(a),a);return new $lc(a)};g=$lc.prototype;g.start=function(a,b){a.start(b);return this};g.stop=function(a,b){a.stop(b);return this};
g.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=Vlc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&Wlc(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=Vlc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&Wlc(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=Vlc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&Wlc(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var uS=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Zkc;this.eventHandler_=new es(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new flc;(a=b)||(a=et(new Zlc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};hu(uS,CB);g=uS.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Ida(alc),fu(this.forwardEvent_,this))};g.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};g.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};g.invalidate=function(){this.contactNotificationService_.dispatchEvent(new blc(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new Ep).setEventType(4).setApiType(2),e=new jS(d);this.metrics.count(e);this.metrics.start(e,"total");return amc(this,a,function(f){return f.loadContactRows},function(f,h,l,q,t){bmc(function(w,B,D,J){var H=B===$R||B instanceof Ekc?2:1;e.source().setCacheStatus(H);e.source().setAddressBook(D?Fkc.get(D)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,Okc(t||0));b&&b(w,B,D,J,t)},f,h,l,q)})};
var amc=function(a,b,c,d){var e=new cmc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?f=dmc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],0<b.delayMillis||1<b.maxTries?f=dmc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
uS.prototype.execute=function(a){var b=this,c=(new Ep).setEventType(4).setApiType(1),d=new jS(c);this.metrics.count(d);this.metrics.start(d,"total");emc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?Okc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?Fkc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,f)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return fmc(b,e,d)}))?
c:fmc(this,a,d)};
var emc=function(a,b){ta(a.queryFilters_,function(){});b.isMutate()&&(b=Qi(b,2,0))&&(b=b.getQueryAfterMutate())&&emc(a,b)},fmc=function(a,b,c){if(b.isMutate()){var d=Qi(b,2,0);d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new cmc(void 0,a.metrics,c);c.setQuery(b);for(var e=0;e<a.addressBooks.length;e++)d=a.addressBooks[e],d.execute&&c.add(d.execute(b));return c},dmc=function(a,b,c,
d,e){var f=a.scheduler_;b=fu(a.runScheduledQuery_,a,b,c,d,e);f=new Xkc(f,b,d.name);a.scheduler_.schedule(f,d.delayMillis,d.maxTries,d.force);return new gmc(f)};uS.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,l,q,t){e.isDone(!t)&&d&&d(f,h,l,q,t)})};
var bmc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),hmc(b)),a(b||[],c,d,e))},hmc=function(a){if(0<a.length)for(var b=a[0].getPriority(),c=1;c<a.length;c++){var d=a[c],e=d.getPriority();e<b&&(d.flags|=1,b=e)}};
uS.prototype.disposeInternal=function(){uS.superClass_.disposeInternal.call(this);Xh(this.scheduler_);this.scheduler_=null;ta(this.ownedAddressBooks_,Xh);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Xh(this.eventHandler_);this.eventHandler_=null;ta(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Xh(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Xh(this.contactNotificationService_),this.contactNotificationService_=null)};
var imc=function(a){var b=new plc(a,0);Kt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Li(a.getExperiments(),3,!0));return et(b)},cmc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=cmc.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.add=function(a){this.requests_.push(a)};g.isEmpty=function(){return 0==this.requests_.length};
g.cancel=function(){this.isPending()&&this.metrics_&&this.state_&&this.metrics_.status(this.state_,1);for(var a=0;a<this.requests_.length;a++)this.requests_[a].cancel()};g.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};var gmc=function(a){this.op=a;this.request=null};gmc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
gmc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var jmc=function(a,b){this.text=a;this.specialRowHandler=b};hu(jmc,Ckc);g=jmc.prototype;g.getName=function(){return null};g.getEmail=function(){return null};g.getType=function(){return"sr"};g.getPriority=function(){return 0};g.getLoggingId=function(){return"sr"};var kmc=function(a,b){uS.call(this,a,b)};Y(kmc,uS);kmc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new lmc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));uS.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};kmc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):uS.prototype.loadContactRows.call(this,a,b)};
var lmc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};lmc.prototype.addAddressBook=function(a){this.addrBooks_.push(new mmc(this,this.addrBooks_.length,a))};lmc.prototype.loadContactRows=function(a,b){a=new nmc(a,this.metrics_,b);omc(this,a);return a};
var omc=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),0==e&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var f=[];e=!1;for(var h,l=0;l<d.length&&f.length<c.maxMatches;l++)if(d[l]){h=f.length;e=!0;var q=d[l],t=c.maxMatches,w=f.length;if(0==w)f=q.length>t?q.slice(0,t):q;else for(var B=0;B<q.length;B++){for(var D=null,J=0;J<w&&!(D=pmc(f[J],q[B]));J++);if(D)D===q[B]&&(f[J]=D);else if(f.length==
w?f=f.concat(q[B]):f.push(q[B]),f.length==t)break}0<h&&f.length>h&&(f[h].flags|=1)}e?(hmc(f),c=f):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},pmc=function(a,b){if(a.specialRowHandler||b.specialRowHandler)return null;if(a.text==b.text)return a;if(a.getEmail()==b.getEmail()&&a.getType()==b.getType()){if(!b.getName())return a;if(!a.getName())return b}return null},qmc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:omc(a,b,c,d)};
lmc.prototype.handleSpecialRow=function(){};var mmc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
mmc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,l,q,t){b.matchListener_(a,d,f,t)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[rmc(this)])}c&&qmc(this.combiner_,a,this.id_,c)};
var rmc=function(a){var b=a.addrBook_.title_;return new jmc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
mmc.prototype.matchListener_=function(a,b,c,d){d=void 0===d?0:d;this.madeCallback_=!0;this.isSynchronous_||(this.lastAsyncLatency_=Date.now()-b);a.query.filter&&c&&(c=a.query.filter(c,a.query.token));b=this.id_;var e=this.addrBook_.getId();a.storedResults_[b]=c;a.storedErrorCodes_[b]=d;a.addressBooksToReport_[b]=e;qmc(this.combiner_,a,this.id_,c)};mmc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var nmc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new jS((new Ep).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,l,q){d.addressBooksToReport_.forEach(function(t,w){var B=d.activeRequests_[w];B=B===$R||B instanceof Ekc?2:1;e.source().setCacheStatus(B);e.source().setAddressBook(t?Fkc.get(t)||1:1);b.stop(e,"total");b.status(e,Okc(d.storedErrorCodes_[w]))});
d.addressBooksToReport_=[];c&&c(f,h,l,q)}};nmc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};nmc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};nmc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var smc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},lt=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(192>e||382<e)e=null;else{var f=smc[e];f?e=f:(f="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==f?null:f)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return 0<b.length?(b.push(a.substr(c)),b.join("")):
a};var zS=function(a,b,c,d,e,f){Jp.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||tmc;this.cache_=new $F(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};hu(zS,Jp);zS.prototype.disposeInternal=function(){zS.superClass_.disposeInternal.call(this);this.cache_=null};zS.prototype.clear=function(){this.cache_.clear()};
var tmc=function(a){var b=Jo(lt(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=lt(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},umc=function(a,b){var c="^"+a.token.toLowerCase();b&&(a.includeContacts||(c="nc"+c),a.includeGroups||(c="ng"+c),a.includePhoneContacts||(c="np"+c),a.isContactAutoComplete||(c="na"+c));a.includeProfileAddresses&&(c="pa"+c);return c},vmc=function(a,b,c){a.cache_.set(umc(b,a.cacheByType_),c);
if(a.cacheSize_&&(b=a.cache_.getCount(),b>a.cacheSize_)){c=Date.now()-a.cacheMinExpiryAge_;do{if(a.cache_.head_.prev.value.created>=c)break;a.cache_.pop()}while(--b>a.cacheSize_)}},wmc=function(a,b,c){c=c?a.cache_.get(b):Q8b(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},xmc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=wmc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},ymc=function(a,b){if(b.isContactAutoComplete)return null;var c=umc(b,a.cacheByType_),
d=xmc(a,c,b.token);return d?d:a.cacheByType_&&0!=c.lastIndexOf("^",0)?(c=umc(b,!1),xmc(a,c,b.token)):null};zS.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};zS.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:Q8b(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var zmc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};zmc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};zmc.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};hu(Lp,Jp);g=Lp.prototype;g.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};g.getId=function(){return this.id_};
g.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(Rk(a.token)&&!c.allowEmptyQueries_)var d=Dkc;else{d=a.maxMatches;var e=wmc(c,umc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=ymc(c,a))&&0==d.getMatches().length?(vmc(c,a,new zmc(a.token,Dkc)),d=Dkc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=jQb(d,c.rowMatchingFunction_(a),c),vmc(c,a,new zmc(a.token,d))):d=null}d&&0<=a.maxMatches&&d.length>a.maxMatches&&(d=d.slice(0,a.maxMatches));
return(c=d)?(b&&b(c,$R,this.getId(),a),$R):this.transport_.loadContactRows(a,this.getId(),fu(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(Dkc,$R,this.getId(),a,4);return $R};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||vmc(this.cache_,e,new zmc(e.token,b,-1!=e.maxMatches&&b.length>=e.maxMatches));a&&(b&&0<=e.maxMatches&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,f))};g.onContactsChange_=function(){this.cache_.clear()};
g.disposeInternal=function(){Lp.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;Amc(this.transport_,this.id_);this.transport_=null};var Cmc=function(a,b,c){zS.call(this,100,18E5,432E5,!0,0,c||Bmc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};Y(Cmc,zS);var Bmc=function(a){return function(b){var c=b.getType(),d;if(d=Dmc(a,c)){d=new RegExp("(^|\\W+)"+Jo(lt(a.token)),"i");var e=lt(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+Jo(lt(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},Dmc=function(a,b){switch(b){case "ct":return a.includeContacts;case "cl":case "li":return a.includeGroups;case "pt":return a.includePhoneContacts}return!1};var Fmc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new Cmc(!0,!1,Emc);Lp.call(this,a,b,"domain")};hu(Fmc,Lp);Fmc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=lc(a),a.includeGroups=!1);return Fmc.superClass_.loadContactRows.call(this,a,b)};
var Emc=function(a){for(var b=oSb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=Jo(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(l){if(Dmc(a,l.getType())){for(var q=0;q<c.length;q++)if(!l.getName().match(c[q])&&!l.getEmail().match(d[q]))return!1;return!0}return!1}};Fmc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var Gmc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},Imc=function(a){if(!a)return Hmc;var b=LQa(Cp("metadata.identityInfo.sourceIds",a)),c=Cp("metadata.contactId",a);c&&c[0]?b.CONTACT=c[0]:b.CONTACT&&(c=parseInt(b.CONTACT,16),isFinite(c)&&(b.CONTACT=String(c)));return new Gmc(a.personId||"",b)},Hmc=new Gmc("",{});var Jmc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};Jmc.prototype.toString=function(){return""};var AS=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};AS.prototype.toString=function(){return""};var Lmc=function(a){return Kmc(a).some(function(b){return!b.isLocal_})};AS.prototype.getSource=function(a){return Kmc(this)[a]};AS.prototype.hasSource=function(){return void 0<Kmc(this).length};var Kmc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};AS.prototype.getCause=function(a){return Mmc(this)[a]};
var Mmc=function(a){return a.edgeCollection_?Nmc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};AS.prototype.getContainerType=function(){return this.metadata_.containerType};var Omc=new AS({},null);var Pmc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=Pmc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new AS(this.email_.metadata,this.edgeCollection_):Omc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.email_};g.getValue=function(){return this.email_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};g.getDisplayName=function(){return""};var Qmc=new Pmc({},null);var Rmc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new Pmc(c.value,b))};g=Rmc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||Qmc};g.getFieldLength=function(){return this.emails_.length};var Smc=new Rmc([],null);var Tmc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=Tmc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new AS(this.name_.metadata,this.edgeCollection_));return this.metadata_};g.hasMetaData=function(){return!!this.getMetaData()};g.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getFamilyName=function(){return this.name_.familyName||""};g.hasFamilyName=function(){return!!this.getFamilyName()};g.getGivenName=function(){return this.name_.givenName||""};g.hasGivenName=function(){return!!this.getGivenName()};var Umc=new Tmc({},null);var Vmc=function(a){this.field_=a};g=Vmc.prototype;g.toString=function(){return""};g.getField=function(){return this.field_};g.getMetaData=function(){return this.field_.getMetaData()};g.hasMetaData=function(){return this.field_.hasMetaData()};g.getValue=function(){return this.field_.getValue()};g.hasValue=function(){return this.field_.hasValue()};g.getFamilyName=function(){return this.field_.getFamilyName()};g.hasFamilyName=function(){return this.field_.hasFamilyName()};g.getGivenName=function(){return this.field_.getGivenName()};
g.hasGivenName=function(){return this.field_.hasGivenName()};var Wmc=new Vmc(Umc);var Xmc=["CONTACT","PROFILE","DOMAIN_PROFILE"],Ymc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Tmc(c.value,b))};g=Ymc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||Umc};g.getFieldLength=function(){return this.names_.length};var Zmc=new Ymc([],null);var $mc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=$mc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new AS(this.phone_.metadata,this.edgeCollection_):Omc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.phone_};g.getValue=function(){return this.phone_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var anc=new $mc({},null);var bnc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new $mc(c.value,b))};g=bnc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||anc};g.getFieldLength=function(){return this.phones_.length};var cnc=new bnc([],null);var dnc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=dnc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new AS(this.photo_.metadata,this.edgeCollection_):Omc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.photo_};g.getUrl=function(){return this.photo_.url||""};g.hasUrl=function(){return!!this.getUrl()};var enc=new dnc({},null);var fnc=function(a,b){this.photos_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new dnc(c,b))};g=fnc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||enc};g.getFieldLength=function(){return this.photos_.length};var gnc=new fnc([],null);var BS=function(a,b,c,d,e){this.person_=a;this.googleGroup_=b;this.contactLabel_=c;this.edgeCollection_=d;this.email_=this.name_=this.nameRepeated_=this.text_=null;this.emailIndex_=void 0===e?0:e;this.photo_=this.phone_=null};
BS.prototype.toString=function(){if(null==this.text_){if(this.contactLabel_){var a=this.contactLabel_.extendedData&&this.contactLabel_.extendedData.contactPreferences?this.contactLabel_.extendedData.contactPreferences.length:0;a=1==a?"(1 contact)":"("+a+" contacts)";a=this.getName().getValue()+" "+a}else a=this.person_||this.googleGroup_?MQa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};BS.prototype.hasName=function(){return!!this.getName()};
BS.prototype.getName=function(){if(!this.name_){a:{var a=RQa(this);if(a.names_.length){for(var b=k(Xmc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Vmc(e);break a}}a=new Vmc(a.names_[0])}else a=Wmc}this.name_=a}return this.name_};
var RQa=function(a){if(!a.nameRepeated_){var b;a.person_?b=a.person_.name:a.googleGroup_?b=a.googleGroup_.names:a.contactLabel_&&(b=[a.contactLabel_.name]);a.nameRepeated_=b?new Ymc(b,a.edgeCollection_):Zmc}return a.nameRepeated_};g=BS.prototype;g.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
g.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:NQa(this.contactLabel_)}]);this.email_=a?new Rmc(a,this.edgeCollection_):Smc}return this.email_};g.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};g.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new bnc(a,this.edgeCollection_):cnc}return this.phone_};
g.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};g.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new fnc(a,this.edgeCollection_):gnc}return this.photo_};g.getAddress=function(){return null};g.getStatus=function(){return null};g.hasStatus=function(){return!!this.getStatus()};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};g.getDisplayName=function(){return null};g.getRelation=function(){return null};
var MQa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},hnc=new BS(null,null,null,null);var inc=function(){this.keyToIndex_=new Map},jnc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};inc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};inc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};inc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var PQa=function(a){this.evergreenProfile_=a?new BS(a,null,null,null):hnc};PQa.prototype.toString=function(){return""};var knc=new PQa(null);var lnc=new Jmc(!0,null),CS=function(a){this.edgeIndexResolver_=new inc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=QQa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};CS.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||knc};var Nmc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};CS.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
CS.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[lnc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,jnc(this.edgeIndexResolver_,a,[b]).map(function(d){return new Jmc(!1,d)}));return this.sourcesCache_.get(c)};var mnc=new CS(null);var nnc=function(a,b,c){a=void 0===a?null:a;b=void 0===b?0:b;c=void 0===c?!1:c;this.person_=a&&a.person||null;this.googleGroup_=a&&a.googleGroup||null;this.contactLabel_=a&&a.contactGroup||null;this.edgeCollection_=new CS(this.person_);this.emailIndex_=b;this.profile_=new BS(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};Y(nnc,Ckc);g=nnc.prototype;
g.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=Imc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=LQa(a.sourceIds);a=new Gmc(a.personId||"",b)}else a=Hmc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=Cp("id.id",a)||"",a=new Gmc("",b)):a=Hmc:a=Hmc;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){null===this.name_&&(this.name_=SQa(this.profile_,function(a){return!!a&&!Lmc(a)}),null===this.name_&&(this.name_=onc(this,SQa)));return this.name_};g.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};g.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};g.getPriority=function(){return 0};
g.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=TQa(this.profile_,function(a){return!!a&&!Lmc(a)}),null===this.photoUrl_&&(this.photoUrl_=onc(this,TQa)));return this.photoUrl_};g.getEncryptionSupport=function(){var a=1,b=pnc(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=pnc(this);if(c&&(c=c.certificate)){c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=Cp("status.statusCode",d.value),1===d){b=1;break}else d&&(b=d)}1===b&&(a=2===a?3:4)}return a};
g.getLoggingId=function(){return this.getAllIds_().loggingId};
var pnc=function(a){var b=Cp("email",a.person_)||Cp("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},onc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<Mmc(c).length;d++){var e=c.getCause(d);e=a.edgeCollection_.get(e).evergreenProfile_;e=b(e);if(null!==e)return e}for(d=0;d<Kmc(c).length;d++)if(e=c.getSource(d),null!==e.edgeIndex_&&(e=a.edgeCollection_.get(e.edgeIndex_||0).evergreenProfile_,e=b(e),null!==e))return e;return""},qnc=function(a,
b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new nnc(q,void 0,!0)});b=new Set;var d=[];a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=Cp("person.email",e)||Cp("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var l=(Cp("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new nnc(e,h))}else d.push(new nnc(e))}return d};var rnc=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O){H=void 0===H?new YR:H;O=void 0===O?!1:O;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=t?t:function(){};this.autocompletePageSize=w;this.rankedTargetsPageSize=B;this.peopleContainerMask=D.split(/[\s,]+/).filter(function(P){return!!P});this.peopleFieldMask=J;this.experiments=H;this.includeOnlyNames=
O};rnc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var snc=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y(snc,Error);var DS=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new jS(b);this.handler_=c;this.promise_=this.query_=null;this.state_=0;this.addressBookId_="";this.metrics_.start(this.metric_,"total");this.metrics_.start(this.metric_,"blocked")};g=DS.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.isPending=function(){return 1==this.state_};g.getQuery=function(){return this.query_};
g.setQuery=function(a){this.query_=a};g.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=S0b(new eC),tnc(this,null,11)}};
g.send=function(a){var b=this;if(0!==this.state_)return this.promise_;this.metrics_.count(this.metric_);this.metrics_.stop(this.metric_,"blocked");this.metrics_.start(this.metric_,"network");this.state_=1;var c=this.buildRequest();if(c&&c.path){var d=this.config.gapiApiKey||"";d&&!xQa()&&(c.params=c.params||{},c.params.key=d);c.headers=yQa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=b1b(V0b([a,k1b(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};g.onResponse_=function(a){if("TIMEOUT"===a)this.onError_(a);else{var b=a&&a.result;if(!b||"error"in b)this.onError_(a);else{try{var c=this.processResponse(b)}catch(d){this.onError_(d);return}try{tnc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
g.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof eC)c=1,d=11;else if(a instanceof snc)c=a.code,d=Nkc(c);else if(a&&"object"===typeof a){var e=Cp("result.error.code",a)||a.status,f=e;f=Number(f);c=Kkc.has(f)?Kkc.get(f):200<=f&&300>f?0:400<=f&&500>f?9:500<=f&&600>f?13:2;d=Nkc(c);b=401==e||403==e;2===c&&this.metrics_.logError("Bad status code (HTTP="+e+")",a)}else c=2,d=1}finally{this.metrics_.status(this.metric_,c),tnc(this,null,d,b)}};
var tnc=function(a,b,c,d){if(void 0===d?0:d)try{a.onAuthError_()}catch(e){throw a.metrics_.logError("AuthError handler: "+e,e),e;}try{a.handler_(b||[],c)}catch(e){throw a.metrics_.logError("Client handler: "+e,e),e;}};var unc=function(a,b,c){var d=(new Ep).setEventType(2).setRpcType(1).setToken(b);DS.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};Y(unc,DS);
unc.prototype.buildRequest=function(){var a={query:this.token_,client:this.clientId_,"clientVersion.clientAgent":"CONTACT_STORE","clientVersion.clientType":this.clientName_,"clientVersion.clientVersion":this.clientVersion_,pageSize:this.pageSize_};this.delegatorId_&&(a["authDelegationContext.delegationType"]="GMAIL",a["authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/autocomplete",params:a}};
unc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new snc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new snc(8,"RequestThrottled");if(b.containsPartialResults)throw new snc(8,"ContainsPartialResults");}return qnc(a.results||[],this.config.includeOnlyNames)};var vnc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new BS(this.person_,null,null,this.edgeCollection_):hnc};g=vnc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=Imc(this.person_));return this.allIds_};g.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};
g.getAffinity=function(){return null};g.hasAffinity=function(){return!!this.getAffinity()};g.getDeleted=function(){return!1};var wnc=new vnc(null,mnc);var xnc=function(a){a=void 0===a?null:a;this.edgeCollection_=new CS(a);this.contact_=a?new vnc(a,this.edgeCollection_):wnc};g=xnc.prototype;g.toString=function(){return""};g.getId=function(){return this.contact_.getId()};g.getAttribute=function(a){return this.contact_.getAttribute(a)};g.hasAttribute=function(a){return this.contact_.hasAttribute(a)};g.getAffinity=function(){return this.contact_.getAffinity()};g.hasAffinity=function(){return this.contact_.hasAffinity()};g.getDeleted=function(){return this.contact_.getDeleted()};var ync=function(a,b,c){DS.call(this,a,(new Ep).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(ync,DS);
ync.prototype.buildRequest=function(){if(!this.personIds_.length)return{};var a={personId:this.personIds_,context:{clientVersion:{clientAgent:"CONTACT_STORE",clientType:this.clientName_,clientVersion:this.clientVersion_}},mergedPersonSourceOptions:{includedProfileStates:"CORE_ID",personModelParams:{personModel:"CONTACT_CENTRIC"}},requestMask:{imageUrlType:"FIFE_URL",includeContainer:this.peopleContainerMask_,includeField:this.peopleFieldMask_}};this.delegatorId_&&(a.context.authDelegationContext=
{delegationType:"GMAIL",obfuscatedOwnerId:this.delegatorId_});return{method:"POST",path:"v2/people:batchGet",body:a}};ync.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new xnc(b.person)})};var ES=function(a,b,c,d){DS.call(this,a,DQa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=znc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(ES,DS);
ES.prototype.buildRequest=function(){if(!this.knownIds_.length||!this.lookupType_)return{};var a={"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,id:this.knownIds_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC","profileLookupOptions.emailLookupOption":"INCLUDE_EMAIL_LOOKUP_KEY","requestMask.includeContainer":this.peopleContainerMask_,
"requestMask.includeField":this.peopleFieldMask_,"requestMask.imageUrlType":"FIFE_URL",type:this.lookupType_};this.delegatorId_&&(a["context.authDelegationContext.delegationType"]="GMAIL",a["context.authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/lookup",params:a}};
ES.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=k(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new xnc(f))});return d};var znc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var Anc=function(a,b){DS.call(this,a,(new Ep).setEventType(2).setRpcType(9),b);this.affinityType_=a.affinityType;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.pageSize_=a.rankedTargetsPageSize;this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask;this.peopleExtensionNames_=[];Li(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};Y(Anc,DS);
Anc.prototype.buildRequest=function(){var a={"affinity.type":this.affinityType_,"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,"pagingOptions.pageSize":this.pageSize_,"requestMask.includeContainer":this.peopleContainerMask_,"requestMask.includeField":this.peopleFieldMask_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC"};
this.peopleExtensionNames_.length&&(a["extensionSet.extensionNames"]=this.peopleExtensionNames_);return{method:"GET",path:"v2/people/rankedTargets",params:a}};Anc.prototype.processResponse=function(a){return qnc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=UQa.prototype;g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};g.getError=function(){return this.error_};g.setError=function(a){this.error_=a};g.getConfiguration=function(){return this.config_};g.setConfiguration=function(a){this.config_=a};g.getUserData=function(){return this.userData_};g.setUserData=function(a){this.userData_=a};var Bnc=new Map([[1,4],[2,2],[3,1],[4,7]]),Enc=function(a,b){CB.call(this);var c=this;this.config_=a;this.queuedRequests_=new Map;this.gapiClient_=null;this.gapiFailed_=!1;this.metrics_=a.metrics;this.gapiMetric_=new jS((new Ep).setEventType(1));this.metrics_.start(this.gapiMetric_,"total");this.metrics_.start(this.gapiMetric_,"blocked");b.then(function(d){c.metrics_.stop(c.gapiMetric_,"blocked");d?Cnc(c,d):Dnc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);Dnc(c,5)})};
Y(Enc,CB);var Cnc=function(a,b){b&&b.request?(CQa(),a.metrics_.stop(a.gapiMetric_,"total"),a.metrics_.status(a.gapiMetric_,0),a.gapiClient_=b,a.queuedRequests_.forEach(function(c,d){return c.forEach(function(e){return Fnc(a,d,e)})})):Dnc(a,9)};Enc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())Amc(this,b.value)};
var Dnc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},Amc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(Gnc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},Hnc=function(a,b,c){a.gapiFailed_?c.cancel():(KQa(a,b).push(c),Fnc(a,b,c))},Fnc=function(a,b,c){a.gapiClient_&&b1b(c.send(a.gapiClient_),function(){var d=b;d=d||"";if(a.queuedRequests_.has(d)){d=a.queuedRequests_.get(d);var e=d.indexOf(c);0<=e&&d.splice(e,1)}})},KQa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},Gnc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};Enc.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,f,b,a,l)},f=d?new unc(this.config_,d,e):new Anc(this.config_,e);Hnc(this,b,f);return f};
Enc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new jS((new Ep).setEventType(2).setRpcType(4)),12),Inc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(w,B){if(B)a.setResponse(Qkc(B,h));else{w=a.setResponse;B=new UQa(b);var D=new Pkc(h);D.queryResponse_=B;D.errorCode_=B.getError();w.call(a,D)}},e=this.config_.setTimeout(Jnc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new ES(this.config_,1,f,d);else{var l=b.contactIds||[];
if(l.length)h=new ES(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new ync(this.config_,q,d);else{var t=b.syntheticIds||[];if(t.length)h=new ES(this.config_,5,t,d);else return this.metrics_.status(new jS((new Ep).setEventType(2)),12),Inc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);Hnc(this,c,h);return h};var Inc=function(a){var b=new Ekc(function(){return a.setResponse(Qkc(5,b))});b.setQuery(a);return b};var Knc=function(a,b,c,d){Lp.call(this,a,b,c,d)};Y(Knc,Lp);Knc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(fu(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};Knc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new blc([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var Lnc=function(a,b,c){b=b||new Cmc(!0,!0);Lp.call(this,a,b,"personal",c)};Y(Lnc,Knc);Lnc.prototype.configure=function(a,b){Knc.prototype.configure.call(this,a,b)};var Mnc=function(){throw Error("Pd");};var Nnc={},Onc={},Pnc={},Qnc={},Rnc={},FS=function(){throw Error("Rd");};FS.prototype.contentDir=null;FS.prototype.getContent=function(){return this.content};FS.prototype.toString=function(){return this.content};FS.prototype.toSafeHtml=function(){if(this.contentKind!==Nnc)throw Error("Sd");return uh(this.toString())};var Snc=function(){FS.call(this)};hu(Snc,FS);Snc.prototype.contentKind=Nnc;var Tnc=function(){FS.call(this)};hu(Tnc,FS);Tnc.prototype.contentKind=Onc;Tnc.prototype.contentDir=1;var GS=function(a,b){return null!=a&&a.contentKind===b};var Unc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},ws=function(a){return GS(a,Nnc)?a:a instanceof tc?ts(wh(a).toString()):ts(String(String(a)).replace(Vnc,Wnc),Unc(a))},ts=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.contentDir=d);return c}}(Snc),Xnc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(Tnc),
HS=function(a){return a instanceof FS?!!a.getContent():!!a},xs=function(a){return GS(a,Nnc)?a:ts(Ync(a,Znc),Unc(a))},$nc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Ync=function(a,b){if(!b)return XQa(String(a),function(){return""}).replace(aoc,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=XQa(a,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",t="";if("/"!==f.charAt(1)){q="<";for(var w;w=
boc.exec(f);)if(w[1]&&"dir"===w[1].toLowerCase()){if(f=w[2]){if("'"===f.charAt(0)||'"'===f.charAt(0))f=f.substr(1,f.length-2);f=f.toLowerCase();if("ltr"===f||"rtl"===f||"auto"===f)t=' dir="'+f+'"'}break}boc.lastIndex=0}c[l]=q+h+">";d[l]=t;return"["+l+"]"}return""});a=String(a).replace(coc,Wnc);var e=doc(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},VQa=RegExp.prototype.hasOwnProperty("sticky"),WQa=new RegExp((VQa?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",
VQa?"gy":"g"),eoc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},doc=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c];"/"==e.charAt(1)?(e=b.lastIndexOf(e),0>e?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):"<li>"==e&&0>b.lastIndexOf("</ol>")&&0>b.lastIndexOf("</ul>")?a[c]="":$nc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},vs=function(a){return GS(a,Nnc)?String(Ync(a.getContent())).replace(coc,Wnc):String(a).replace(Vnc,Wnc)},foc=function(a){GS(a,
Qnc)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},joc=function(a){GS(a,Onc)||GS(a,Pnc)?a=IS(a):a instanceof oc?a=IS(rc(a)):a instanceof hv?a=IS(wc(a).toString()):(a=String(a),a=goc.test(a)?a.replace(hoc,ioc):"about:invalid#zSoyz");return a},loc=function(a){GS(a,Onc)||GS(a,Pnc)?a=IS(a):a instanceof oc?a=IS(rc(a)):a instanceof hv?a=IS(wc(a).toString()):(a=String(a),a=koc.test(a)?a.replace(hoc,ioc):"about:invalid#zSoyz");return a},JS=function(a){GS(a,Rnc)?a=eoc(a.getContent()):null==a?
a="":a instanceof gSb?(a instanceof gSb&&a.constructor===gSb?a=a.privateDoNotAccessOrElseSafeStyleWrappedValue_:(jb(a),a="type_error:SafeStyle"),a=eoc(a)):a instanceof hSb?(a instanceof hSb&&a.constructor===hSb?a=a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(jb(a),a="type_error:SafeStyleSheet"),a=eoc(a)):(a=String(a),a=moc.test(a)?a:"zSoyz");return a},noc={"\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;"},Wnc=function(a){return noc[a]},ooc={"\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"},ioc=function(a){return ooc[a]},Vnc=/[\x00\x22\x26\x27\x3c\x3e]/g,coc=/[\x00\x22\x27\x3c\x3e]/g,hoc=/[\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,moc=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))|!important)(?:\s*[,\u0020]\s*|$))*$/i,
goc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,koc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,poc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,IS=function(a){return String(a).replace(hoc,ioc)},qoc=function(a){a=String(a);return poc.test(a)?a:"zSoyz"},aoc=/</g,Znc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},boc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var YQa={};var KS=function(a,b,c){Jp.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;Kp(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.token_=null;this.rows_=[];this.hiliteId_=-1;this.firstRowId_=0;this.dismissTimer_=this.target_=null;this.inputToAnchorMap_={}};hu(KS,Jp);g=KS.prototype;g.maxMatches_=10;g.getMatcher=function(){return this.matcher_};g.setMatcher=function(a){this.matcher_=a};g.getToken=function(){return this.token_};
g.handleEvent=function(a){var b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case "hilite":this.hiliteId(a.row);break;case "select":var c=!1;if("number"===typeof a.row){a=a.row;var d=this.rows_[roc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":soc(this);break;case "dismiss":toc(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,fu(this.matchListener_,this)),soc(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var uoc=function(a){for(var b=a.firstRowId_+a.rows_.length-1,c=a.hiliteId_,d=0;d<a.rows_.length;d++){if(c>=a.firstRowId_&&c<b)c++;else if(-1==c)c=a.firstRowId_;else break;if(a.hiliteId(c))break}};
KS.prototype.hiliteId=function(a){var b=roc(this,a),c=this.rows_[b];return c&&this.matcher_.isRowDisabled&&this.matcher_.isRowDisabled(c)?!1:(this.hiliteId_=a,this.renderer_.hiliteId(a),-1!=b)};
KS.prototype.selectHilited=function(){var a=roc(this,this.hiliteId_);if(-1!=a){var b=this.rows_[a],c=this.selectionHandler_;if(c.activeElement_){var d=b.toString();if(c.multi_){var e=voc(c,c.getValue(),c.getCursorPosition()),f=woc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Rk(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;(ku||bs)&&d.blur();d.value=f.join("");for(var h=0,l=0;l<=e;l++)h+=
f[l].length;d.focus();e=h;f=c.activeElement_;xoc(f)&&(f.selectionStart=e);f=c.activeElement_;xoc(f)&&(f.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
KS.prototype.dismiss=function(){this.hiliteId_=-1;this.token_=null;this.firstRowId_+=this.rows_.length;this.rows_=[];window.clearTimeout(this.dismissTimer_);this.dismissTimer_=null;this.renderer_.dismiss();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};var toc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(fu(a.dismiss,a),100))};
KS.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var soc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(fu(a.immediatelyCancelDelayedDismiss_,a),10)};KS.prototype.disposeInternal=function(){KS.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
KS.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
KS.prototype.renderRows=function(a,b){var c="object"==jb(b)&&b;b=(c?c.getPreserveHilited():b)?roc(this,this.hiliteId_):-1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.firstRowId_+e,data:a[e]});a=null;this.target_&&(a=this.inputToAnchorMap_[Ca(this.target_)]||this.target_);this.renderer_.anchorElement_=a;this.renderer_.renderRows(d,this.token_,this.target_);a=!0;c&&void 0!==c.getAutoHilite()&&(a=c.getAutoHilite());this.hiliteId_=-1;(a||0<=b)&&0!=
d.length&&this.token_&&(0<=b?this.hiliteId(this.firstRowId_+b):uoc(this));this.dispatchEvent("suggestionsupdate")};var roc=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};KS.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};KS.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){kc(this.inputToAnchorMap_,Ca(c))},this)};
KS.prototype.update=function(a){this.selectionHandler_.update(a)};var yoc=function(a,b){var c=0,d=0;xoc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},xoc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var Boc=function(a,b,c,d,e,f){if(hs&&e)return zoc(a);if(e&&!d)return!1;if(!ku){"number"===typeof b&&(b=Aoc(b));var h=17==b||18==b||hs&&91==b;if((!c||hs)&&h||hs&&16==b&&(d||f))return!1}if((lu||ju)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(bs&&d&&b==a)return!1;switch(a){case 13:return ku?f||e?!1:!(c&&d):!0;case 27:return!(lu||ju||ku)}return ku&&(d||e||f)?!1:zoc(a)},zoc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(lu||ju)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:case 171:return ku;default:return!1}},Aoc=function(a){if(ku)a=Coc(a);else if(hs&&lu)switch(a){case 93:a=91}return a},Coc=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;
default:return a}};var Doc=function(a,b,c,d){EB.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};hu(Doc,EB);var Eoc=function(a,b){Jp.call(this);a&&this.attach(a,b)};hu(Eoc,Jp);g=Eoc.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var Foc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Goc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Hoc=hs&&ku;g=Eoc.prototype;
g.handleKeyDown_=function(a){(lu||ju)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||hs&&91==this.lastKey_&&!a.metaKey)&&this.resetState();-1==this.lastKey_&&(a.ctrlKey&&17!=a.keyCode?this.lastKey_=17:a.altKey&&18!=a.keyCode?this.lastKey_=18:a.metaKey&&91!=a.keyCode&&(this.lastKey_=91));Boc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=Aoc(a.keyCode),Hoc&&(this.altKey_=a.altKey)):this.handleEvent(a)};
g.resetState=function(){this.keyCode_=this.lastKey_=-1};g.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
g.handleEvent=function(a){var b=a.event_,c=b.altKey;if(bs&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(lu||ju)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&zoc(d)?b.charCode:0):("keypress"==a.type?(Hoc&&(c=this.altKey_),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.keyCode_,e=b.charCode):(d=b.keyCode||this.keyCode_,e=b.charCode||0)):(d=b.keyCode||this.keyCode_,e=b.charCode||0),hs&&63==e&&224==d&&(d=191));var f=d=Aoc(d);d?63232<=
d&&d in Foc?f=Foc[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Goc&&(f=Goc[b.keyIdentifier]);if(!ku||"keypress"!=a.type||Boc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new Doc(f,e,a,b),b.altKey=c,this.dispatchEvent(b)};g.getElement=function(){return this.element_};
g.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=Kp(this.element_,"keypress",this,b);this.keyDownKey_=Kp(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=Kp(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(KB(this.keyPressKey_),KB(this.keyDownKey_),KB(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){Eoc.superClass_.disposeInternal.call(this);this.detach()};var LS=function(a,b,c,d){CB.call(this);d=d||150;this.multi_=null!=c?c:!0;this.separators_=a||",;";this.defaultSeparator_=this.separators_.charAt(0);a=this.multi_?"[\\s"+this.separators_+"]+":"[\\s]+";this.trimmer_=new RegExp("^"+a+"|"+a+"$","g");this.separatorCheck_=new RegExp("\\s*["+this.separators_+"]$");this.literals_=b||"";this.preventDefaultOnTab_=this.multi_;this.timer_=0<d?new fC(d):null;this.eh_=new es(this);this.activateHandler_=new es(this);this.keyHandler_=new Eoc;this.lastKeyCode_=-1};
hu(LS,CB);g=LS.prototype;g.activeElement_=null;g.lastValue_="";g.waitingForIme_=!1;g.rowJustSelected_=!1;g.getValue=function(){return this.activeElement_.value};g.setValue=function(a){this.activeElement_.value=a};g.getCursorPosition=function(){return yoc(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];ZB(c)&&(EF(c,"combobox"),FF(c,"autocomplete","list"));this.eh_.listen(c,"focus",this.handleFocus);this.eh_.listen(c,"blur",this.handleBlur);if(!this.activeElement_&&(this.activateHandler_.listen(c,"keydown",this.onKeyDownOnInactiveElement_),ZB(c))){var d=QB(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&Ioc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];ZB(c)&&(c.removeAttribute("role"),c.removeAttribute("aria-autocomplete"));c==this.activeElement_&&this.handleBlur();this.eh_.unlisten(c,"focus",this.handleFocus);this.eh_.unlisten(c,"blur",this.handleBlur);this.activeElement_||this.activateHandler_.unlisten(c,"keydown",this.onKeyDownOnInactiveElement_)}};
g.disposeInternal=function(){LS.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Xh(this.timer_)};
var Koc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){uoc(a.ac_);b.preventDefault();return}if(!a.multi_){a.update(!0);b.preventDefault();return}break;case 38:if(a.ac_.isOpen()){a:{a=a.ac_;for(var c=a.hiliteId_,d=0;d<a.rows_.length;d++){if(c>a.firstRowId_)c--;else break;if(a.hiliteId(c))break a}}b.preventDefault();return}break;case 9:if(!a.ac_.isOpen()||b.shiftKey)a.ac_.dismiss();else if(a.update(),a.ac_.selectHilited()&&a.preventDefaultOnTab_){b.preventDefault();return}break;case 13:if(a.ac_.isOpen()){if(a.update(),
a.ac_.selectHilited()){b.preventDefault();b.stopPropagation();return}}else a.ac_.dismiss();break;case 27:if(a.ac_.isOpen()){a.ac_.dismiss();b.preventDefault();b.stopPropagation();return}break;case 229:if(!a.waitingForIme_){a.waitingForIme_||(a.eh_.listen(a.activeElement_,"keyup",a.onKeyUp_),a.eh_.listen(a.activeElement_,"keypress",a.onKeyPress_),a.waitingForIme_=!0);return}}Joc(a,b)},Joc=function(a,b){var c=a.multi_&&b.charCode&&-1!=a.separators_.indexOf(String.fromCharCode(b.charCode));c&&a.update();
c&&a.ac_.selectHilited()&&b.preventDefault()};LS.prototype.handleKeyUp=function(){return!1};LS.prototype.handleFocus=function(a){Ioc(this,a.target||null)};
var Ioc=function(a,b){a.activateHandler_.removeAll();a.ac_&&soc(a.ac_);b!=a.activeElement_&&(a.activeElement_=b,a.timer_&&(a.timer_.start(),a.eh_.listen(a.timer_,"tick",a.onTick_)),a.lastValue_=a.getValue(),a.keyHandler_.attach(a.activeElement_),a.eh_.listen(a.keyHandler_,"key",a.onKey_),a.eh_.listen(a.activeElement_,"mousedown",a.onMouseDown_),bs&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};g=LS.prototype;
g.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),bs&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&Loc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&toc(this.ac_))};
g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&Koc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&Loc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&Loc(this)};g.onMouseDown_=function(){};
var Loc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};LS.prototype.onIeKeyPress_=function(a){Joc(this,a)};
LS.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=woc(this,b)[voc(this,b,a)];a=this.trimmer_?String(a).replace(this.trimmer_,""):a;this.ac_&&(this.ac_.setTarget(this.activeElement_),this.ac_.setToken(a,this.getValue()))}this.lastValue_=this.getValue()}this.rowJustSelected_=!1};
var voc=function(a,b,c){a=woc(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+=a[d].length,b=d;return b},woc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,f=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(f||(c.push(d.join("")),d.length=0),d.push(b[e]),f=!f):f||-1==a.separators_.indexOf(b[e])?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var Moc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},Noc=function(a){return a.classList?a.classList:Moc(a).match(/\S+/g)||[]},Ooc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},Poc=function(a,b){return a.classList?a.classList.contains(b):ua(Noc(a),b)},Qoc=function(a,b){if(a.classList)a.classList.add(b);else if(!Poc(a,b)){var c=Moc(a);Ooc(a,c+(0<c.length?" "+b:b))}},MS=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){Qoc(a,e)});else{var c={};Array.prototype.forEach.call(Noc(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=0<b.length?" "+d:d;Ooc(a,b)}},Roc=function(a,b){a.classList?a.classList.remove(b):Poc(a,b)&&Ooc(a,Array.prototype.filter.call(Noc(a),function(c){return c!=b}).join(" "))},Soc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){Roc(a,c)}):Ooc(a,Array.prototype.filter.call(Noc(a),function(c){return!ua(b,c)}).join(" "))};var Toc=function(a,b){if(b&&a in b)return a;var c=lu?"Webkit":ku?"Moz":bs?"ms":null;return c?(c=c.toLowerCase(),a=c+wi(a),void 0===b||a in b?a:null):null};var NS=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=NS.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new NS(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof NS?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){Ba(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 ms?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var OS=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};OS.prototype.clone=function(){return new OS(this.left,this.top,this.width,this.height)};var YJb=function(a){return new OS(a.left,a.top,a.right-a.left,a.bottom-a.top)};
OS.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 Uoc=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 OS(c,e,d-c,a-e)}return null};
g=OS.prototype;g.contains=function(a){return a instanceof ms?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 OB(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 ms?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var PS=function(a,b){var c=QB(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},gq=function(a,b){return PS(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},ps=function(a,b,c){if(b instanceof ms){var d=b.x;b=b.y}else d=b,b=c;a.style.left=QS(d,!1);a.style.top=QS(b,!1)},Voc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},HJb=function(a){if(bs&&!(8<=
Number(mu)))return a.offsetParent;var b=QB(a),c=gq(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=gq(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null},ls=function(a){for(var b=new NS(0,Infinity,Infinity,0),c=Mp(a),d=c.document_.body,e=c.document_.documentElement,f=VB(c.document_);a=
HJb(a);)if(!(bs&&0==a.clientWidth||lu&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=gq(a,"overflow")){var h=RS(a),l=new ms(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},IJb=function(a,b){b=b||VB(document);var c=b||VB(document);var d=RS(a),e=RS(c);if(!bs||9<=Number(mu)){h=PS(c,"borderLeftWidth");var f=PS(c,"borderRightWidth");l=PS(c,"borderTopWidth");q=PS(c,"borderBottomWidth");f=new NS(parseFloat(l),parseFloat(f),parseFloat(q),parseFloat(h))}else{var h=Woc(c,"borderLeft");f=Woc(c,"borderRight");var l=Woc(c,"borderTop"),q=Woc(c,"borderBottom");f=new NS(l,f,q,h)}c==VB(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!bs||10<=Number(mu)||(h+=f.left,d+=f.top)):(h=d.x-e.x-f.left,d=d.y-e.y-f.top);a=Xoc(a);e=c.clientHeight-a.height;f=c.scrollLeft;l=c.scrollTop;f+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=new ms(f,l);b.scrollLeft=c.x;b.scrollTop=c.y},RS=function(a){var b=QB(a),c=new ms(0,0);var d=b?QB(b):document;d=!bs||9<=Number(mu)||q0b(Mp(d).document_)?d.documentElement:d.body;if(a==d)return c;a=Voc(a);b=WB(Mp(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},ZJb=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new ms(0,0),f=XB(QB(d));if(nQb(f,"parent")){var h=d;do{if(f==c)var l=RS(h);else l=Voc(h),l=new ms(l.left,l.top);e.x+=l.x;e.y+=l.y}while(f&&f!=c&&f!=f.parent&&(h=f.frameElement)&&(f=f.parent))}d=ns(e,RS(d));!bs||9<=Number(mu)||q0b(b.document_)||(d=ns(d,WB(b.document_)));a.left+=d.x;a.top+=d.y}},Yoc=function(a,b,c){if(b instanceof OB)c=b.height,b=b.width;else if(void 0==c)throw Error("Vd");a.style.width=QS(b,!0);a.style.height=
QS(c,!0)},QS=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},os=function(a){var b=Xoc;if("none"!=gq(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},Xoc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=lu&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Voc(a),new OB(a.right-a.left,a.bottom-a.top)):new OB(b,c)},ks=
function(a){var b=RS(a);a=os(a);return new OS(b.x,b.y,a.width,a.height)},Zoc=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},SS=function(a,b){a.style.display=b?"":"none"},TS=function(a){return"rtl"==gq(a,"direction")},$oc=ku?"MozUserSelect":lu||ju?"WebkitUserSelect":null,apc=function(a){var b=a.getElementsByTagName("*");if($oc){var c="none";a.style&&(a.style[$oc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[$oc]=c)}}else if(bs&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},dKb=function(a,b){a=a.style;ku?a.MozBoxSizing="border-box":lu?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},bpc=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=
c;a.runtimeStyle.left=d;return+b},cpc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?bpc(a,b):0},dpc=function(a){if(bs){var b=cpc(a,"marginLeft"),c=cpc(a,"marginRight"),d=cpc(a,"marginTop");a=cpc(a,"marginBottom");return new NS(d,c,a,b)}b=PS(a,"marginLeft");c=PS(a,"marginRight");d=PS(a,"marginTop");a=PS(a,"marginBottom");return new NS(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},epc={thin:2,medium:4,thick:6},Woc=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+
"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in epc?epc[b]:bpc(a,b)};var fpc=function(){if(qQb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ha()))?a[1]:"0"}return hs?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ha()))?a[0].replace(/_/g,"."):"10"):sQb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ha()))?a[1]:""):tQb||uQb||vQb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ha()))?a[1].replace(/_/g,"."):""):""}();var US=function(a){return(a=a.exec(ha()))?a[1]:""},gpc=function(){if(FQb)return US(/Firefox\/([0-9.]+)/);if(bs||ju||oQb)return CQb;if(JQb){if(ra()||waa()){var a=US(/CriOS\/([0-9.]+)/);if(a)return a}return US(/Chrome\/([0-9.]+)/)}if(KQb&&!ra())return US(/Version\/([0-9.]+)/);if(GQb||HQb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ha()))return a[1]+"."+a[2]}else if(IQb)return(a=US(/Android\s+([0-9.]+)/))?a:US(/Version\/([0-9.]+)/);return""}();var XJb=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=gq(a,"position")){var c=RS(a);if(!b){b=TS(a);var d;if(d=b){d=KQb&&0<=eQb(gpc,10);var e;if(e=wQb)e=0<=eQb(fpc,10);var f=JQb&&0<=eQb(gpc,85);d=ku||d||e||f}b=d?-a.scrollLeft:b&&!Nj&&"visible"!=gq(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=ns(c,new ms(b,a.scrollTop))}}}return c||new ms},aKb=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var h=0;if(d||0!=c)c&4?a.x-=b.width+(d?
d.right:0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){h=a;c=b;d=0;65==(f&65)&&(h.x<e.left||h.x>=e.right)&&(f&=-2);132==(f&132)&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var l=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|
(h.x+c.width>e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(l=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new OS(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;e.height=b.height;return{rect:e,status:h}},$Jb=function(a,b){return(b&8&&TS(a)?b^4:b)&
-9};var is=function(){};is.instance_=void 0;is.getInstance=function(){return is.instance_?is.instance_:is.instance_=new is};is.prototype.nextId_=0;is.prototype.idPrefix_="";is.prototype.setIdPrefix=function(a){this.idPrefix_=a};var as=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var VS=function(a,b,c,d){Jp.call(this);this.parent_=a||document.body;this.dom_=Mp(this.parent_);this.reposition_=!a;this.element_=null;this.token_="";this.rows_=[];this.rowDivs_=[];this.startRenderingRows_=this.hilitedRow_=-1;this.visible_=!1;this.className="ac-renderer";this.highlightedClassName="ac-highlighted";this.customRenderer_=b||null;this.useStandardHighlighting_=null!=d?d:!0;this.highlightAllTokens_=!1;this.rightAlign_=!!c};hu(VS,Jp);g=VS.prototype;g.getElement=function(){return this.element_};
g.getAnchorElement=function(){return this.anchorElement_};g.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];hpc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,ipc(this,!1),SS(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,ipc(this,!0),SS(this.element_,!0))};
var ipc=function(a,b){a.target_&&(FF(a.target_,"haspopup",b),FF(a.element_,"expanded",b),FF(a.target_,"expanded",b),b?FF(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),GF(a.target_,null)))};VS.prototype.isVisible=function(){return this.visible_};
var jpc=function(a,b){var c=0<=b&&b<a.rows_.length?a.rows_[b]:void 0,d=0<=b&&b<a.rowDivs_.length?a.rowDivs_[b]:void 0;a.dispatchEvent({type:"rowhilite",rowNode:d,row:c?c.data:null})&&(0<=a.hilitedRow_&&Soc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(MS(d,["ac-active","active"]),a.target_&&GF(a.target_,d),IJb(d,a.element_)))};VS.prototype.hiliteId=function(a){if(-1==a)jpc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){jpc(this,b);break}};
var kpc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;MS(b,ti(a.className).split(" "));EF(b,"listbox");b.id=as(is.getInstance());a.dom_.appendChild(a.parent_,b);Kp(b,"click",a.handleClick_,!1,a);Kp(b,"mousedown",a.handleMouseDown_,!1,a);Kp(b,"mouseover",a.handleMouseOver_,!1,a)}},hpc=function(a){kpc(a);a.widthProvider_&&(a.element_.style.minWidth=a.widthProvider_.clientWidth-0+"px");a.maxWidthProvider_&&(a.element_.style.maxWidth=a.maxWidthProvider_.clientWidth-
0+"px");a.rowDivs_.length=0;a.dom_.removeChildren(a.element_);a.customRenderer_&&a.customRenderer_.render?a.customRenderer_.render(a,a.element_,a.rows_,a.token_):a.rows_.forEach(function(b){var c=this.token_,d=this.dom_.createDom("DIV",{className:"ac-row",id:as(is.getInstance())});EF(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):$B(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,lpc(this,d,c));Qoc(d,
"ac-row");this.rowDivs_.push(d);b=d;this.dom_.appendChild(this.element_,b)},a);0==a.rows_.length?a.dismiss():(a.show(),a.reposition(),apc(a.element_))};
VS.prototype.reposition=function(){if(this.target_&&this.reposition_){var a=this.anchorElement_||this.target_;var b=this.rightAlign_?5:1;var c=this.element_,d=b^1,e=XJb(c),f=ks(a),h=ls(a);h&&f.intersection(YJb(h));ZJb(f,Mp(a),Mp(c));a=$Jb(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new ms(b,f.top+(a&1?f.height:0));a=ns(a,e);if(f=ls(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=$Jb(c,d);d=os(c);b=d.clone();e=aKb(e,b,a,null,f,65);e.status&496||(f=e.rect,ps(c,new ms(f.left,
f.top)),b=e.rect.getSize(),cKb(d,b)||dKb(c,b))}};VS.prototype.getTarget=function(){return this.target_||null};VS.prototype.disposeInternal=function(){this.element_&&(JB(this.element_,"click",this.handleClick_,!1,this),JB(this.element_,"mousedown",this.handleMouseDown_,!1,this),JB(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Xh(this.animation_);this.parent_=null;VS.superClass_.disposeInternal.call(this)};
var lpc=function(a,b,c){if(a.highlightAllTokens_||!a.wasHighlightedAtLeastOnce_)if(3==b.nodeType){var d=null;Array.isArray(c)&&1<c.length&&!a.highlightAllTokens_&&(d=c.slice(1));c=mpc(a,c);if(0!=c.length){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=f.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,f.lastIndex)),h=f.lastIndex,l=f.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;b.nodeValue=c.slice(2*d).join("");a.wasHighlightedAtLeastOnce_=!0}else d&&lpc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,lpc(a,b,c),b=d},mpc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Rk(Qk(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(Jo).join("|"):(c=oSb(b),c=Jo(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?Jo(b[0]):"":/^\W/.test(b)||(c=Jo(b));return c},npc=function(a,b){for(;b&&b!=a.element_&&!Poc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};VS.prototype.handleClick_=function(a){var b=npc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};VS.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
VS.prototype.handleMouseOver_=function(a){a=npc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var WS=function(a,b,c,d,e,f,h,l,q,t){f=f||new LS(",;",'"');h=new VS(h||null,q||this,t);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;KS.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};hu(WS,KS);
var ppc=function(a,b,c,d,e,f,h){b=new WS(null,b,void 0,f,c,d,e,void 0,void 0,h);AD(a);fu(opc,null,b,!0);throw Error("Qd");},qpc=function(a,b,c,d,e,f,h){b=new WS(null,b,void 0,f,c,d,e,void 0,void 0,h);c=opc;e=a.getClientInfo();d=(f=Li(e,10)||Li(a.getExperiments(),5,!0))?new kmc(void 0,imc(a)):new uS(void 0,imc(a));h=et(new plc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=Bnc.get(l)||4;q=zQa("people-pa",void 0===q?0:q);l=4===l?ec(a.getClientInfo(),2)||"":ec(a.getClientInfo(),1)||"";var t=ec(a.getClientInfo(),
4),w=ec(a.getClientInfo(),5),B=ec(a.getClientInfo(),6)||"",D=a.getClientInfo().getAffinityType()||"",J=wj(a.getUserInfo(),2),H=a.getAuthErrorHandler(),O=fi(a.getClientInfo(),8,3E4),P=Li(a.getClientInfo(),17,!1);h=new rnc(h,q,l,t,w,B,D,J,O,H,fi(a.getClientInfo(),13,15),fi(a.getClientInfo(),14,500),ec(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),ec(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
P);a=new Enc(h,a.getGapiClientThenable());h=new Lnc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new Fmc(a,null,!!Li(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},opc=function(a,b,c){b&&c.loadContactRows(Wkc,function(){});rpc(a,c)};WS.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Xh(this.contactStore_);WS.superClass_.disposeInternal.call(this)};
var rpc=function(a,b){a.contactStore_=b;a.ownsContactStore_=!0;a.savedQuery_&&a.savedHandler_&&(a.currentRequest_=a.contactStore_.loadContactRows(a.savedQuery_,a.savedHandler_),a.savedQuery_=null,a.savedHandler_=null)};g=WS.prototype;g.savedQuery_=null;g.savedHandler_=null;g.inputHandler_=null;g.includeGroups_=!0;g.isRowDisabled=function(a){return!!a.rowDisabled};
g.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:Ukc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=fu(this.handleAutoCompleteContacts_,this,c);if(a.token&&""!=a.token)this.contactStore_?(this.currentRequest_&&(this.currentRequest_.cancel(),this.currentRequest_=null),this.currentRequest_=this.contactStore_.loadContactRows(a,
c)):(this.savedQuery_=a,this.savedHandler_=c);else{b=new Ekc;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.setResponse(gu(c,d,b,null,a))}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){WS.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){WS.superClass_.dismiss.call(this)};
g.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=ts('<div class="'+vs("goog-contacts-ui-autocomplete-name-nochat")+(HS(b)?" "+vs("goog-contacts-ui-autocomplete-new-section"):"")+'">'+ws(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=ZQa(a),$Qa(c,a))};g.selectHilited=function(){var a=roc(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):WS.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new spc(a))};var spc=function(a){DB.call(this,"g");this.row=a};hu(spc,DB);SPb("createAutoComplete",function(a,b,c,d,e,f,h,l,q,t){d&&(b=b+d+"/");b=Mnc(AD(b));f&&b.loadContactRows(Wkc,function(){});c=new WS(b,c,void 0,q,e,l,t,!0);c.attachInputs(RB(document,a));return c});var XS=function(){this.eventHandler_=new es(this);XS.prototype.addInput=XS.prototype.addInput;XS.prototype.removeInput=XS.prototype.removeInput;XS.prototype.setTarget=XS.prototype.setTarget},tpc=function(a,b){var c=new XS;c.create(a,b);return c};g=XS.prototype;
g.create=function(a,b){a=RB(document,a);this.acWidget_=b.contactStoreConfig?qpc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):ppc(b.serverBase,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign);"groups"in b&&(this.acWidget_.includeGroups_=b.groups);var c=b.onComplete;"function"===typeof c&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(da,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){ura(this.acWidget_,this.eventHandler_)};g.setTarget=function(a){this.acWidget_.setTarget(a)};g.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};g.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};g.acWidget_=null;
da._EmailAc_create=tpc;var upc=function(a,b){return new Pp("/",a,void 0,void 0,void 0,void 0,b)};Pp.prototype.setLocale=function(){};var vpc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};vpc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Pp.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Xd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)wpc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Ca(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(u(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)JB(a[b],"focus",this.onTargetFocus_,!1,this)};
var wpc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=fu(a.onCompleteCallback_,a);c.ua=a.useApiary_;c.acd=a.apiaryClientDeferred_;c.onAuthError=a.onAuthError_;c.tg=a.testGaia_;c.contactStoreConfig=a.contactStoreConfig_;for(var d in a.commonAcParams_)c[d]=a.commonAcParams_[d];a=[].concat(u(b.pendingInputs.values()));b.emailac=tpc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=Pp.prototype;
g.attachAutocomplete=function(a,b,c){a=RB(document,a);var d=b||{};b=Ca(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new vpc(d),this.acWrappers_[c]=e);d=e;c=a;d.emailac?d.emailac.addInput(c):d.pendingInputs.add(c);this.inputToAcWrapper_[b]=e;e.emailac||(this.emailAcInitialized_?wpc(this,e):Kp(a,"focus",this.onTargetFocus_,!1,this))};g.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
g.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[Ca(a)];b&&b(a)};g.detachAutocomplete=function(a){a=RB(document,a);JB(a,"focus",this.onTargetFocus_,!1,this);var b=Ca(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};g.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};SPb("goog.NewContactTools",Pp);
SPb("goog.NewContactTools.create",upc);Pp.prototype.setLocale=Pp.prototype.setLocale;Pp.prototype.attachAutocompleteTo=Pp.prototype.attachAutocompleteTo;Pp.prototype.initAutocomplete=Pp.prototype.initAutocomplete;Pp.prototype.attachAutocomplete=Pp.prototype.attachAutocomplete;Pp.prototype.detachAutocomplete=Pp.prototype.detachAutocomplete;var eRa=function(a){this.rows_=a||[]};eRa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var f=new RegExp("(^|\\W+)"+Jo(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(f)&&e.push(l)}0==e.length&&(e=xpc(a,b,d));c(a,e)};
var dRa=function(a,b,c){return xpc(b,c,a.rows_)},xpc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),l=String(f).toLowerCase(),q=0;if(-1!=l.indexOf(h))q=parseInt((l.indexOf(h)/4).toString(),10);else for(var t=h.split(""),w=-1,B=10,D=0,J;J=t[D];D++)J=l.indexOf(J),J>w?(w=J-w-1,w>B-5&&(w=B-5),q+=w,w=J):(q+=B,B+=5);q<6*h.length&&d.push({str:f,score:q,index:e})}d.sort(function(H,O){var P=H.score-O.score;return 0!=P?P:H.index-O.index});a=[];for(D=0;D<b&&D<d.length;D++)a.push(d[D].str);
return a};var YS=function(a,b,c,d,e){var f=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new X.Subscription;this.acReadyDeferred=Pj();if(a.gapi){var h=a.gapi;h.load("client",function(){h.config.update("googleapis.config/auth/useFirstPartyAuth",!0);h.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var l="QA"===f.activeSession.getEnvironmentType();l&&h.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");
var q="0",t=/\/u\/(\d+)\//.exec(b.absUrl());t&&(q=t[1]);h.config.update("googleapis.config/sessionIndex",q);f.acReadyDeferred.resolve(void 0);f.contactTools=d.create(l,function(){wkc(f.firstPartyAuthHelper)});f.contactTools.initAutocomplete()})}};YS.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
YS.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return fRa(h,l,c)},f=new X.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),f.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return f};YS.\u0275fac=function(a){return new (a||YS)(p(nH),p(QF),p(Zr),p(ZS),p(VR))};YS.\u0275prov=Pc({token:YS,factory:YS.\u0275fac,providedIn:"root"});
var ZS=function(a,b,c,d){this.$window=a;this.activeSession=b;this.peopleApiProxy=c;this.currentTracker=d};ZS.prototype.create=function(a,b){var c=new ZR,d=c.getUserInfo();jj(d,6,a?5:1);a=c.getExperiments();a=$h(a,5,!0);a=$h(a,1,!0);a=$h(a,3,!0);$h(a,2,!0);c.setAuthErrorHandler(b);Bkc(c,this.getGapiClientThenable());return upc("xapi",c)};
ZS.prototype.getGapiClientThenable=function(){var a=this,b=ypc(this);return hE(this.activeSession,"enablePeopleApiAutocompleteProxy")?b.then(function(c){return new tkc(c,a.peopleApiProxy,a.currentTracker)}):b};var ypc=function(a){var b=a.$window.gapi;return b.client?Promise.resolve(b.client):b.load("client",function(){return b.client})};ZS.\u0275fac=function(a){return new (a||ZS)(p(nH),p(Zr),p(UR),p(hM))};ZS.\u0275prov=Pc({token:ZS,factory:ZS.\u0275fac,providedIn:"root"});var $S=function(a,b,c){Z.call(this);this.element=a;this.focusContacts=b;this.activeSession=c;this.autocompleteActive=new Uv;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};Y($S,Z);
$S.prototype.ngOnInit=function(){var a=this;this.$element.setAttribute("autocomplete","contact-autocomplete-username");this.$element.setAttribute("spellcheck","off");this.$element.setAttribute("aria-autocomplete","list");this.$element.setAttribute("role","combobox");this.$element.setAttribute("name","ac-workaround-"+kv());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=zpc(Apc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if("MULTI"===this.fieldType)b=function(){for(var d="",e=[],f=a.$element,h=k(f.value.split(",")),l=h.next();!l.done;l=h.next())d+=l.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(zpc(d)),d=""):skc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=zpc(Apc(d)),e.push(d),d="");f.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Yd`"+
this.fieldType);var c=this.additionalContactsCallback();c=Bpc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var Cpc=function(a){(0,X.timer)(150).pipe(xf(a.destroyed$)).subscribe(function(){var b=document.querySelector(".ac-renderer"),c;b=!!b&&"none"!==(null==(c=window.getComputedStyle(b))?void 0:c.display);a.autocompleteActive.emit(b)})},Bpc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},Apc=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},zpc=function(a){a=a.trim();
","===sa(a)&&(a=a.slice(0,-1));a=dp(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};$S.\u0275fac=function(a){return new (a||$S)(C(Wd),C(YS),C(Zr))};
$S.\u0275dir=jd({type:$S,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&N("keydown",function(){return Cpc(b)},!1,$d)("mousedown",function(){return Cpc(b)})},inputs:{fieldType:[0,"bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[Ff]});var aT=function(){};aT.\u0275fac=function(a){return new (a||aT)};aT.\u0275mod=hd({type:aT});aT.\u0275inj=Rc({imports:[rE]});var Dpc=["spanElement"],bT=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};bT.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};bT.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)+"...")};
bT.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};bT.\u0275fac=function(a){return new (a||bT)};
bT.\u0275cmp=r({type:bT,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&lg(Dpc,5);if(a&2){var c;pg(c=qg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[xd],decls:2,vars:2,consts:[["spanElement",""],[3,"matTooltip","innerHtml"]],template:function(a,b){a&1&&K(0,"span",1,0);a&2&&F("matTooltip",b.getTooltip())("innerHtml",b.displayString,Xe)},dependencies:[nE,OC],encapsulation:2});var cT=function(){};cT.\u0275fac=function(a){return new (a||cT)};cT.\u0275mod=hd({type:cT});cT.\u0275inj=Rc({imports:[rE,vE]});var Epc=["popupField"],Fpc=["fieldContent"],Gpc=["popupOverlay"],Hpc=["overlayContent"],kRa=function(a){return{q:a}},HRa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},Ipc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],dT=function(a,b,c,d,e,f,h,l){Z.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=f;this.constants=h;this.appEvents=l;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayValue=null;this.textBuffer="";this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.customFieldId=0;this.showEnumTitle=!1;this.valueChange=new Uv;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.showHotkeyHint=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession();this.enableCustomFieldSearchImprovements=hE(f,
"enableCustomFieldSearchImprovements")};Y(dT,Z);dT.\u0275dir=Z.\u0275dir;g=dT.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=hE(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,Jpc(a),a.cdr.detectChanges())}));this.subscriptions.add(Sec(this.dateFormatter,function(){Kpc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){Jpc(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})&&Kpc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return Oy(Py(Qy(Uy(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),Ipc)};
var Jpc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},URa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();$Ra(a);break;case 27:b.stopPropagation(),Qp(a,b,!1,!0)}},SRa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),$Ra(a);break;case 27:b.stopPropagation(),Qp(a,b,!1,!0)}},DRa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();Qp(a,
b,!0,!1);break;case 27:b.stopPropagation(),Qp(a,b,!1,!0)}},Qp=function(a,b,c,d){if((null==b?0:b.target)&&"nodeName"in b.target&&"A"===b.target.nodeName||"ENUM"===a.type&&0===a.choices.length)null==b||b.stopPropagation();else{if(!c||a.disabled||a.readonly){if(a.isActive=!1,Jpc(a),d){var e;null==(e=a.popupField)||e.nativeElement.focus()}}else if(a.appEvents.openEditField.next(a),a.isActive=!0,a.textBuffer=null!=a.value?String(a.value):"","DATE"==a.type&&(c=a.value,a.googDateValue=c?En(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){Lpc(a);var f=a.element.nativeElement;(0,X.fromEvent)(document,"click").pipe(Ce(function(h){return!f.contains(h.target)}),mf(),xf(a.overlayRef._detachments),xf(a.destroyed$)).subscribe(function(){Qp(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};dT.prototype.schedule=function(a){var b=X.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
dT.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var Kpc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&L5b.has(b)){a.displayValue=ei(b);break}var c=a.choices.find(function(d){return d.value==b});c?(a.displayValue=c.displayText,a.readonlyTooltip=c.altText||""):(a.displayValue=null,a.readonlyTooltip=null);break;case "BOOL":a.displayValue=b?"Yes":"No";a.readonlyTooltip=null;break;case "DATE":b?a.displayValue=a.dateFormatter.formatUserCalendar(En(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};dT.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=Fn(a)),"NUMERIC"===this.type&&""===a&&(a=null),ki(this.value,a)?"ENUM"===this.type&&Qp(this,null,!1,!0):(Qp(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var $Ra=function(a){if(void 0===a.type)throw Error("Zd");a.isUser&&(a.textBuffer=a.textBuffer.replace(/^[\s,]+|[\s,]+$/g,""));"NUMERIC"===a.type&&(a.textBuffer=a.textBuffer.trim());switch(a.type){case "TEXT":a.setFieldValue(a.textBuffer);break;case "NUMERIC":a.textBuffer=a.textBuffer.trim();""===a.textBuffer?a.setFieldValue(null):a.setFieldValue(Number(a.textBuffer));break;case "ENUM":case "BOOL":case "DATE":throw Error("$d");default:vc(a.type,"FieldType")}};
dT.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);Qp(this,null,!1,!0)};var Lpc=function(a){Jpc(a);var b=a.overlayRef.attach(new ny(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if("TEXT"===a.type||"NUMERIC"===a.type){var c=b.querySelector("textarea, input");c&&(c.focus(),c.select())}else"DATE"===a.type&&(c=b.querySelector(".goog-date-picker"))&&c.focus()})};
dT.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};dT.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};dT.\u0275fac=function(a){return new (a||dT)(C(ME,2),C(Wd),C(Vy),C(jg),C(eO),C(Zr),C(kE),C(gH))};
dT.\u0275cmp=r({type:dT,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(lg(JC,5),lg(Epc,5),lg(Fpc,5),lg(Gpc,5),lg(Hpc,5));if(a&2){var c;pg(c=qg())&&(b.enumMenuTrigger=c.first);pg(c=qg())&&(b.popupField=c.first);pg(c=qg())&&(b.fieldContent=c.first);pg(c=qg())&&(b.popupOverlay=c.first);pg(c=qg())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",customFieldId:"customFieldId",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showHotkeyHint:"showHotkeyHint",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[wg([ME]),Ff,xd],decls:11,vars:5,consts:[["enumMenu","matMenu"],["popupOverlay",""],["popupField","","tooltip","matTooltip"],["field",""],["customFieldTemplate",""],["emptyValue",""],["fieldContent",""],["overlayContent",
""],[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown","keydown.escape",4,"ngIf"],[3,"class","ngClass","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-issue-metadata-footer"],[1,"keep-focus-ring"],["matMenuContent",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"click","keydown","keydown.escape","matTooltip"],[3,"class",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["class","bv2-editable-value",
3,"matMenuTriggerFor","menuClosed",4,"ngIf","ngIfElse"],[1,"bv2-editable-value",3,"menuClosed","matMenuTriggerFor"],[4,"ngTemplateOutlet"],[1,"overflow-ellipsis"],["class","subtle-link","routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["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"],["routerLink","/issues",1,"subtle-link",3,"queryParams"],[1,"bv2-editable-value"],
[1,"bv2-editable-value",3,"keydown","click"],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,
"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"modelChange","disabled","aria-label","model"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","hotkey","click","onHotkey",4,"ngFor","ngForOf"],["mat-menu-item",
"","role","menuitemcheckbox","aria-label","Clear",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"click","onHotkey","disabled","matTooltip","hotkey"],[1,"flex-kids-x","align-items-center","gap"],["class","muted plain-monospace margin-left-auto",4,"ngIf"],[1,"muted","plain-monospace","margin-left-auto"],["role","dialog",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",
4,"ngSwitchDefault"],[3,"dateSelectionChange","saveClicked","cancelClicked","required","date"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],["mat-flat-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"click","disabled","matTooltip"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"click","matTooltip"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",4,
"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModelChange","keydown","ngModel"],["step","any","spellcheck","false",3,"ngModelChange","keydown","ngModel"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModelChange",
"keydown","autocompleteActive","ngModel","bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel","bContactAutocomplete"]],template:function(a,b){a&1&&(G(0,"div")(1,"div",8),E(2,FRa,8,15,"div",9)(3,IRa,3,13,"div",10)(4,KRa,2,1,"ng-container",11),K(5,"div",12),I(),G(6,"mat-menu",13,0),E(8,ORa,2,2,"ng-template",14),I(),E(9,bSa,6,7,"ng-template",null,1,Eg),I());a&2&&(A(),Qf("active",b.isActive&&!b.readonly&&!b.disabled),A(),F("ngIf","BOOL"!==
b.type),A(),F("ngIf","BOOL"===b.type),A(),F("ngIf",b.isUser))},dependencies:[fQ,Cw,Dw,zw,Hw,Ew,Fw,Gw,nB,$S,kO,bh,cx,jx,JF,CA,mE,IC,HC,GC,JC,nE,OC,RR,bQ,bT,OQ,UQ,oF,Jw],styles:["[_nghost-%COMP%]     button.mat-button.tiny .mat-button-focus-overlay{opacity:0}",".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var Mpc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},eT=function(){};eT.\u0275fac=function(a){return new (a||eT)};eT.\u0275mod=hd({type:eT});
eT.\u0275inj=Rc({imports:[RQ,MK,rE,aT,FO,yx,KF,cD,uE,vE,SR,QQ,fL,cT,VQ,sF]});var fT=function(a){Z.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new X.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(wf(function(c){return b.changelistApi.getChangelistDetails(c)}),tf({refCount:!0,bufferSize:1}));this.init=new X.ReplaySubject(1)};Y(fT,Z);fT.\u0275dir=Z.\u0275dir;fT.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(mf(),xf(this.destroyed$)).subscribe(function(){a.init.next()})};
fT.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};fT.\u0275fac=function(a){return new (a||fT)(C(NH))};
fT.\u0275cmp=r({type:fT,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[Ff,xd],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[1,"card"],[3,"href"],["class","author",4,"ngIf"],[1,"description"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"author"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&
1&&(G(0,"div",0)(1,"div",1),E(2,gSa,16,6,"ng-container",2),V(3,"async"),I()());a&2&&(A(2),F("ngIf",W(3,1,b.changelist$)))},dependencies:[Dw,zw,MQ,iO,Iw],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 gT=function(){this.config=Object.assign({},new ML,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};gT.prototype.ngOnInit=function(){};gT.\u0275fac=function(a){return new (a||gT)};
gT.\u0275cmp=r({type:gT,selectors:[["b-changelist-chip"]],inputs:{changelistId:"changelistId"},decls:7,vars:5,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"bv2-metadata-link",3,"href","onedevHovercardTrigger","onedevHovercardConfig"],[1,"prefix"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(G(0,"a",2)(1,"span",3),S(2,"CL"),I(),S(3),I(),G(4,"onedev-hovercard",null,0),E(6,
hSa,2,2,"b-changelist-card",4),I());a&2&&(a=R(5),F("href","http://critique.corp.google.com/"+b.changelistId,Ye)("onedevHovercardTrigger",a)("onedevHovercardConfig",b.config),Hf("aria-label","Changelist "+b.changelistId),A(3),T(" ",b.changelistId,"\n"))},dependencies:[JL,KL,OL,LL,fT],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%]   .prefix[_ngcontent-%COMP%]{color:#202124;color:var(--text);border-right:1px solid;border-right-color:#bdc1c6;border-right-color:var(--c400);padding-right:5px;margin-right: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 hT=function(a){this.activeSession=a;this.gerritUrl=""};hT.prototype.ngOnInit=function(){var a="INTERNAL"===this.activeSession.getFrontendAccessMode();this.gerritUrl=In(this.change,a)};hT.\u0275fac=function(a){return new (a||hT)(C(Zr))};
hT.\u0275cmp=r({type:hT,selectors:[["b-gerrit-change-chip"]],inputs:{change:[0,"gerritChange","change"]},decls:5,vars:8,consts:[["target","_blank",1,"bv2-metadata-link",3,"href"],[1,"prefix"]],template:function(a,b){a&1&&(G(0,"a",0)(1,"span",1),S(2),V(3,"titlecase"),I(),S(4),I());a&2&&(Kf("aria-label","",b.change.host," ",b.change.changeNumber,""),F("href",b.gerritUrl,Ye),A(2),rg(W(3,6,b.change.host)),A(2),T(" ",b.change.changeNumber,"\n"))},dependencies:[Kw],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%]   .prefix[_ngcontent-%COMP%]{color:#202124;color:var(--text);border-right:1px solid;border-right-color:#bdc1c6;border-right-color:var(--c400);padding-right:5px;margin-right: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 iT=function(){this.gerritChange=this.changelist=void 0};iT.prototype.ngOnInit=function(){};iT.prototype.ngOnChanges=function(a){a.codeChange&&((a=iBa(this.codeChange))?(this.changelist=void 0,this.gerritChange=a):(this.gerritChange=void 0,this.changelist=Number(this.codeChange)))};iT.\u0275fac=function(a){return new (a||iT)};
iT.\u0275cmp=r({type:iT,selectors:[["b-code-change-chip"]],inputs:{codeChange:"codeChange"},features:[xd],decls:2,vars:1,consts:[[3,"changelistId"],[3,"gerritChange"]],template:function(a,b){a&1&&E(0,iSa,1,1,"b-changelist-chip",0)(1,jSa,1,1,"b-gerrit-change-chip",1);a&2&&Uf(b.changelist?0:b.gerritChange?1:-1)},dependencies:[gT,hT],encapsulation:2});var Npc=function(){this.id=0};Npc.\u0275fac=function(a){return new (a||Npc)};
Npc.\u0275cmp=r({type:Npc,selectors:[["changelist-link-plain"]],inputs:{id:"id"},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&&(G(0,"a",2),S(1),I(),G(2,"onedev-hovercard",null,0),E(4,kSa,2,2,"b-changelist-card",3),I());a&2&&(a=R(3),F("href","http://critique.corp.google.com/"+
b.id,Ye)("onedevHovercardTrigger",a),A(),T(" cl/",b.id,"\n"))},dependencies:[JL,KL,OL,LL,fT],encapsulation:2});var jT=function(){};jT.\u0275fac=function(a){return new (a||jT)};jT.\u0275mod=hd({type:jT});jT.\u0275inj=Rc({imports:[rE,VQ,yM,yO]});var kT=function(){};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275mod=hd({type:kT});kT.\u0275inj=Rc({imports:[rE,yM,jT]});var lT=function(){var a=this;this.showPlaceholder=!1;this.customFieldTitle="";this.allowMultiSelect=!1;this.selectedValues=[];this.allowedValues=[];this.disabled=!1;this.onValueChange=new Uv;this.onApplyChanges=new Uv;this.onCancelChanges=new Uv;this.searchQuery$=new X.Subject;this.hasPendingChanges=!1;this.selectedValuesMap={};this.oldSelectedValuesMap={};this.suggestedValues$=this.searchQuery$.pipe(jf(300),lf(),z(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return la(d.toLowerCase(),
c)})}))};g=lT.prototype;g.ngOnInit=function(){Mda(this.selectedValuesMap);for(var a=k(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.onSpace=function(a){var b;this.allowMultiSelect&&(null==(b=this.autocompleteTrigger)?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=!ki(this.oldSelectedValuesMap,this.selectedValuesMap)};g.toggleSelection=function(a){this.selectedValuesMap[a]=!this.selectedValuesMap[a];this.handleSelectionChange()};
var oSa=function(a,b){a.allowMultiSelect?(b=Object.keys(ic(a.selectedValuesMap,function(c){return c})),a.onApplyChanges.emit(b)):a.onValueChange.emit(null==b?void 0:b.option.value)};lT.prototype.cancel=function(){this.onCancelChanges.emit()};lT.\u0275fac=function(a){return new (a||lT)};
lT.\u0275cmp=r({type:lT,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&lg(RL,7);if(a&2){var c;pg(c=qg())&&(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"},
decls:7,vars:10,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"],["class","custom-repeated-enum-search-result",3,"value",4,"ngFor","ngForOf"],["class","action-buttons",4,"ngIf"],[1,"custom-repeated-enum-search-result",3,
"value"],[3,"checked","click","change",4,"ngIf"],["class","custom-repeated-enum-suggestion",4,"ngIf"],[3,"click","change","checked"],[1,"custom-repeated-enum-suggestion"],[1,"action-buttons"],["mat-flat-button","","type","submit",1,"gmat-button","small","action-button",3,"click","keydown.enter","disabled"],["svgIcon","done",1,"icon-s"],["mat-stroked-button","","type","button",1,"gmat-button","small","action-button",3,"click","keydown.esc"],["svgIcon","close",1,"icon-s"]],template:function(a,b){if(a&
1){var c=v();G(0,"input",2,0);N("click",function(){x(c);var e=R(1);return y(b.search(e.value))})("input",function(){x(c);var e=R(1);return y(b.search(e.value))})("keydown.space",function(e){x(c);return y(b.onSpace(e))});I();G(2,"mat-autocomplete",3,1);N("optionSelected",function(e){x(c);return y(oSa(b,e))});E(4,nSa,3,3,"mat-option",4);V(5,"async");I();E(6,pSa,5,5,"div",5)}if(a&2){var d;a=R(3);F("placeholder",b.showPlaceholder?"Select "+b.customFieldTitle:"")("ngModel",b.currentInputValue)("disabled",
b.disabled)("matAutocomplete",a);Hf("aria-disabled",b.disabled);A(2);F("hideSingleSelectionIndicator",!0);A(2);F("ngForOf",null!==(d=W(5,8,b.suggestedValues$))&&void 0!==d?d:b.currentInputValue?[]:b.allowedValues);A(2);F("ngIf",b.allowMultiSelect)}},dependencies:[Dw,zw,nB,PL,QL,jz,RL,bh,cx,jx,CA,KM,LM,Iw],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-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-button.action-button[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}.action-buttons[_ngcontent-%COMP%]   button.gmat-button.action-button[_ngcontent-%COMP%]:focus{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}.action-buttons[_ngcontent-%COMP%]   button.gmat-button.action-button[_ngcontent-%COMP%]:focus   .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#174ea6;background-color:var(--primary-c900);opacity:0}"],
changeDetection:0});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=hd({type:mT});mT.\u0275inj=Rc({imports:[rE,AM,yx,cD,PM]});var Opc=0,nT=function(a,b){Z.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new Uv;this.linkBlurred=new Uv;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new X.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Opc;this.fetchedTeam$=this.providedTeamId$.pipe(lf(),Ce(function(d){return"0"!==d}),wf(function(d){return kK(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(z(function(){return!0}),
vf(!1));this.fetchedTeam$.pipe(xf(this.destroyed$)).subscribe(function(d){c.teamName=d.name;c.teamDescription=d.description;c.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+d.teamId});Opc++};Y(nT,Z);nT.\u0275dir=Z.\u0275dir;g=nT.prototype;g.ngOnInit=function(){};g.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};g.trackClick=function(a){Kk(sq.TEAM_CARD,"click",a,1)};g.manageComponentLink=function(){return Ywa(this.componentId,"basic")};
g.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};nT.\u0275fac=function(a){return new (a||nT)(C(Zr),C(jK))};
nT.\u0275cmp=r({type:nT,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[Ff,xd],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"],["mat-button","",1,"gmat-button","primary","hovercard-action"],["target","_blank","aria-label","View component settings",3,"click","href"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label","View team association on component",3,"href","click",4,"ngIf"],["aria-label","View team association on component",
3,"click","href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2),K(3,"img",3),G(4,"div",4)(5,"div",5),K(6,"mat-icon",6),S(7),I(),G(8,"div",7),S(9),I()()(),G(10,"p",8),S(11),I(),G(12,"div",9)(13,"a",10),N("click",function(){return b.trackClick("viewTeamSettingsPage")}),G(14,"button",11),S(15,"View team settings"),I()(),G(16,"a",12),N("click",function(){return b.trackClick("viewTeamInMoma")}),G(17,"button",11),S(18,"View team in Moma "),K(19,"mat-icon",13),I()(),E(20,qSa,3,1,"a",14),
I()()());a&2&&(A(3),Hf("src",b.teamLogoUrl,Ye),A(4),T(" Team: ",b.teamName," "),A(2),T("Team ID: ",b.teamId,""),A(2),rg(b.teamDescription),A(2),eg("routerLink","/teams/",b.teamId,"/edit"),A(3),eg("href","https://moma.corp.google.com/team/",b.teamId,"",Ye),A(4),F("ngIf",b.componentId))},dependencies:[zw,nB,oF,CA],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 oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=hd({type:oT});oT.\u0275inj=Rc({imports:[rE,sF,cD]});var Ppc=0,pT=function(a){Z.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new X.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Ppc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(lf(),Ce(function(c){return"0"!==c}),wf(function(c){return kK(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(z(function(){return!0}),vf(!1));this.fetchedTeam$.pipe(xf(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});Ppc++};Y(pT,Z);pT.\u0275dir=Z.\u0275dir;pT.prototype.ngOnInit=function(){};pT.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};pT.prototype.trackClick=function(a){Kk(sq.TEAM_CARD,"click",a,1)};pT.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};pT.\u0275fac=function(a){return new (a||pT)(C(jK))};
pT.\u0275cmp=r({type:pT,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[Ff,xd],decls:8,vars:6,consts:[["card","onedevHovercard"],["loading",""],[4,"ngIf","ngIfElse"],[3,"componentId","teamId"],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"click","href","onedevHovercardTrigger"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(E(0,tSa,3,2,"ng-container",2),V(1,"async"),G(2,"onedev-hovercard",null,0),L(4),K(5,"b-team-card",3),M(),I(),E(6,wSa,2,2,"ng-template",null,1,Eg));a&2&&(a=R(7),F("ngIf","0"!=b.teamId&&W(1,4,b.isTeamFetched$))("ngIfElse",a),A(5),F("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString()))},dependencies:[zw,nB,JL,OL,nT,Iw]});var qT=function(){};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275mod=hd({type:qT});qT.\u0275inj=Rc({imports:[rE,yM,oT]});var Qpc=0,rT=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+Qpc;this.id="b-collapsible-panel-"+Qpc;Qpc++};rT.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
Ac.Object.defineProperties(rT.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"}}});rT.\u0275fac=function(a){return new (a||rT)(C(Wd))};
rT.\u0275cmp=r({type:rT,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small","class","icon",3,"name",4,"ngIf"],["class","title",4,"ngIf"],
["class","horizontal-line",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"]],template:function(a,b){a&1&&(cg(),G(0,"div",0)(1,"button",1),N("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),E(2,xSa,1,1,"b-icon",2)(3,ySa,2,1,"span",3)(4,zSa,2,0,"div",4),K(5,"mat-icon",5),I(),G(6,"div",6),dg(7),I()());a&2&&(A(),Qf("compact",
b.hasCompactTitleBar),Hf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),A(),F("ngIf",b.iconName),A(),F("ngIf",!b.hasCompactTitleBar||!b.isExpanded),A(),F("ngIf",b.hasCompactTitleBar),A(),F("@expandCollapseIcon",b.expandedState),A(),F("@expandCollapseContent",b.expandedState),Hf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[zw,nB,iE],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:[Bh("expandCollapseContent",[Fh("expanded",Eh({height:"*",visibility:"visible"})),Fh("collapsed",Eh({height:"0",visibility:"hidden"})),Hh("expanded <=> collapsed",[Ch("200ms")])]),Bh("expandCollapseIcon",[Fh("expanded",Eh({transform:"rotate(-180deg)"})),Fh("collapsed",Eh({transform:"*"})),Hh("expanded <=> collapsed",[Ch("200ms")])])]}});var sT=function(){};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275mod=hd({type:sT});sT.\u0275inj=Rc({imports:[rE,tE]});var Rpc=new rd("CDK_DRAG_CONFIG");var Spc=new rd("CDK_DRAG_PARENT");var Tpc=new rd("CdkDragHandle"),tT=function(a,b){this.element=a;this._parentDrag=b;this._stateChanges=new X.Subject;this._disabled=!1;null==b||b._addHandle(this)};tT.prototype.ngOnDestroy=function(){var a;null==(a=this._parentDrag)||a._removeHandle(this);this._stateChanges.complete()};Ac.Object.defineProperties(tT.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});
tT.\u0275fac=function(a){return new (a||tT)(C(Wd),C(Spc,12))};tT.\u0275dir=jd({type:tT,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",Ng]},standalone:!0,features:[wg([{provide:Tpc,useExisting:tT}]),Gf]});var Upc=fh({passive:!1,capture:!0}),uT=function(a,b){var c=this;this._ngZone=a;this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=[];this._globalListeners=new Map;this._draggingPredicate=function(d){return d.isDragging()};this.pointerMove=new X.Subject;this.pointerUp=new X.Subject;this.scroll=new X.Subject;this._preventDefaultWhileDragging=function(d){0<c._activeDragInstances.length&&d.preventDefault()};this._persistentTouchmoveListener=function(d){0<c._activeDragInstances.length&&
(c._activeDragInstances.some(c._draggingPredicate)&&d.preventDefault(),c.pointerMove.next(d))};this._document=b},Vpc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},Wpc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,Upc)})},Ypc=function(a,b){a._dragInstances.delete(b);Xpc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
Upc)};
uT.prototype.startDragging=function(a,b){var c=this;-1<this._activeDragInstances.indexOf(a)||(this._activeDragInstances.push(a),1===this._activeDragInstances.length&&(a=b.type.startsWith("touch"),this._globalListeners.set(a?"touchend":"mouseup",{handler:function(d){return c.pointerUp.next(d)},options:!0}).set("scroll",{handler:function(d){return c.scroll.next(d)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Upc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:Upc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var Xpc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};uT.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
uT.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new X.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(f){b._activeDragInstances.length&&d.next(f)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return X.merge.apply(null,u(c))};
uT.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return Ypc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};uT.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};uT.\u0275fac=function(a){return new (a||uT)(p(He),p(qh))};
uT.\u0275prov=Pc({token:uT,factory:uT.\u0275fac,providedIn:"root"});var ESa=0;var Zpc=function(a){this._document=a;this.positions=new Map};Zpc.prototype.clear=function(){this.positions.clear()};Zpc.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:FSa(c)})})};
var $pc=function(a,b){var c=ih(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&Rp(l.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};Zpc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var aqc=fh({passive:!0}),bqc=fh({passive:!1}),JSa=new Set(["position"]),eqc=function(a,b,c,d,e,f){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new X.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=X.Subscription.EMPTY;this._boundaryElement=null;this._nativeInteractionsEnabled=
!0;this._handles=[];this._disabledHandles=new Set;this._direction="ltr";this.dragStartDelay=0;this._disabled=!1;this.beforeStarted=new X.Subject;this.started=new X.Subject;this.released=new X.Subject;this.ended=new X.Subject;this.entered=new X.Subject;this.exited=new X.Subject;this.dropped=new X.Subject;this.moved=this._moveEvents;this._pointerDown=function(l){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,
l)}else h.disabled||h._initializeDragSequence(h._rootElement,l)};this._pointerMove=function(l){var q=h._getPointerPositionOnPage(l);if(h._hasStartedDragging){l.preventDefault();var t=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(t);if(h._dropContainer)h._updateActiveDropContainer(t,q);else{q=h.constrainPosition?h._initialDomRect:h._pickupPositionOnPage;var w=h._activeTransform;w.x=t.x-q.x+h._passiveTransform.x;w.y=t.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(w.x,w.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:t,event:l,distance:h._getDragDistance(t),delta:h._pointerDirectionDelta})})}else Math.abs(q.x-h._pickupPositionOnPage.x)+Math.abs(q.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((q=Date.now()>=h._dragStartTime+h._getDragStartDelay(l),w=h._dropContainer,q)?w&&(w.isDragging()||0<w._activeSiblings.size)||(l.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(l)})):h._endDragSequence(l))};this._pointerUp=function(l){h._endDragSequence(l)};this._nativeDragStart=function(l){if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||l.preventDefault()}else h.disabled||l.preventDefault()};cqc(dqc(this,a),b.parentDragRef||null);this._parentPositions=new Zpc(c);Wpc(f,this)};eqc.prototype.getPlaceholderElement=function(){return this._placeholder};
eqc.prototype.getRootElement=function(){return this._rootElement};
var fqc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},gqc=function(a,b){a._handles=b.map(function(d){return nh(d)});a._handles.forEach(function(d){return Sp(d,a.disabled)});a._toggleNativeDragInteractions();var c=new Set;a._disabledHandles.forEach(function(d){-1<a._handles.indexOf(d)&&c.add(d)});a._disabledHandles=c},dqc=function(a,b){var c=nh(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,bqc);c.addEventListener("touchstart",a._pointerDown,aqc);c.addEventListener("dragstart",a._nativeDragStart,bqc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},hqc=function(a,b){a._boundaryElement=b?nh(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},cqc=function(a,b){a._parentDragRef=b};g=eqc.prototype;
g.dispose=function(){this._removeRootElementListeners(this._rootElement);if(this.isDragging()){var a;null==(a=this._rootElement)||a.remove()}var b;null==(b=this._anchor)||b.remove();this._destroyPreview();this._destroyPlaceholder();Ypc(this._dragDropRegistry,this);this._removeSubscriptions();this.beforeStarted.complete();this.started.complete();this.released.complete();this.ended.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this._moveEvents.complete();this._handles=
[];this._disabledHandles.clear();this._dropContainer=void 0;this._resizeSubscription.unsubscribe();this._parentPositions.clear();this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null};g.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
g.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};g.withDirection=function(a){this._direction=a;return this};g._withDropContainer=function(a){this._dropContainer=a};g.setFreeDragPosition=function(a){this._activeTransform={x:0,y:0};this._passiveTransform.x=a.x;this._passiveTransform.y=a.y;this._dropContainer||this._applyRootElementTransform(a.x,a.y)};
g._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};g._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};g._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
g._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
g._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),Xpc(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();
Xpc(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();Xpc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){Tp(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._dropContainer;if(b){var c=this._rootElement,d=c.parentNode,e=this._placeholder=this._createPlaceholderElement(),f=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(f,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();KSa(c,!1);this._document.body.appendChild(d.replaceChild(e,c));this._getPreviewInsertionPoint(d,
h).appendChild(this._preview);this.started.next({source:this,event:a});b.start();this._initialContainer=b;this._initialIndex=b.getItemIndex(this)}else this.started.next({source:this,event:a}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(b?b._scrollableElements:[])};
g._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=Tp(b),f=!e&&0!==b.button,h=this._rootElement,l=ih(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?yoa(b):xoa(b);l&&l.draggable&&"mousedown"===b.type&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=
!1,this._removeSubscriptions(),this._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(t){return c._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=FSa(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;KSa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);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,d=a.x,e=a.y;a=b.x;b=b.y;var f=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!f&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(f=this._initialContainer);f&&f!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=f;c._dropContainer.enter(c,d,e,f===c._initialContainer&&f.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:f,currentIndex:f.getItemIndex(c)})});this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,b),this._dropContainer._sortItem(this,d,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,e):this._applyPreviewTransform(d-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))};
g._createPreviewElement=function(){var a=this._previewTemplate,b=this.previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialDomRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=QSa(c,this._document);this._previewRef=c;a.matchSize?RSa(e,d):e.style.transform=PSa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=DSa(this._rootElement),RSa(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);ISa(e.style,
{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},JSa);Sp(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(f){return e.classList.add(f)}):e.classList.add(b));return e};
g._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=OSa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||ih(h)===a._preview&&"transform"===h.propertyName){var l;null==(l=a._preview)||l.removeEventListener("transitionend",
e);d();clearTimeout(f)}},f=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};g._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=QSa(this._placeholderRef,this._document)):a=DSa(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=Tp(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=Tp(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("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0);else if("y"===this.lockAxis||"y"===b)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=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Sp(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,bqc);a.removeEventListener("touchstart",this._pointerDown,aqc);a.removeEventListener("dragstart",this._nativeDragStart,bqc)};
g._applyRootElementTransform=function(a,b){a=PSa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=LSa(a,this._initialTransform)};g._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=LSa(PSa(a,b),d)};g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(0===b&&0===a||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(0===d.width&&0===d.height||0===c.width&&0===c.height)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<f&&(b-=f)):b=0;d.height>c.height?(0<h&&(a+=h),0<l&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:Tp(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=$pc(this._parentPositions,a);b&&(a=ih(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&Rp(this._boundaryRect,b.top,b.left),this._pickupPositionOnPage.x+=b.left,this._pickupPositionOnPage.y+=b.top,this._dropContainer||(this._activeTransform.x-=b.left,this._activeTransform.y-=b.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y)))};
g._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};g._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=toa(this._rootElement));return this._cachedShadowRoot};
g._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return"parent"===c?a:"global"===c?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):nh(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))})};Ac.Object.defineProperties(eqc.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 Sp(b,a)}))}}});var vT=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};vT.prototype.start=function(a){this.withItems(a)};
vT.prototype.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===f&&0<e.length)return null;var h="horizontal"===this.orientation,l=e.findIndex(function(H){return H.drag===a}),q=e[f],t=q.clientRect,w=l>f?1:-1,B=this._getItemOffsetPx(e[l].clientRect,t,w),D=this._getSiblingOffsetPx(l,e,w),J=e.slice();Up(e,l,f);e.forEach(function(H,O){if(J[O]!==H){var P=H.drag===a;O=P?B:D;P=P?a.getPlaceholderElement():H.drag.getRootElement();H.offset+=O;h?(P.style.transform=
LSa("translate3d("+Math.round(H.offset)+"px, 0, 0)",H.initialTransform),Rp(H.clientRect,0,O)):(P.style.transform=LSa("translate3d(0, "+Math.round(H.offset)+"px, 0)",H.initialTransform),Rp(H.clientRect,O,0))}});this._previousSwap.overlaps=GSa(t,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:f}};
vT.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),l=e[d];l===a&&(l=e[d+1]);!l&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(l=e[0]);-1<f&&e.splice(f,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(nh(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
vT.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var iqc=function(a,b){a._sortPredicate=b};
vT.prototype.reset=function(){var a=this;this._activeDraggables.forEach(function(b){var c=b.getRootElement();if(c){var d,e=null==(d=a._itemPositions.find(function(f){return f.drag===b}))?void 0:d.initialTransform;c.style.transform=e||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};
vT.prototype.getItemIndex=function(a){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(b){return b.drag===a})};var jqc=function(a,b,c){a._itemPositions.forEach(function(d){Rp(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g=vT.prototype;
g._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=fqc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:FSa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=d?b.left-a.left:b.top-a.top;-1===c&&(e+=d?b.width-a.width:b.height-a.height);return e};
g._getSiblingOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=b[a].clientRect;a=b[a+-1*c];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d="horizontal"===this.orientation;if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var t=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&t===e._previousSwap.delta)return!1}return f?b>=Math.floor(l.left)&&b<Math.floor(l.right):c>=Math.floor(l.top)&&c<Math.floor(l.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var lqc=function(a,b,c,d,e){var f=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new X.Subject;this.entered=new X.Subject;this.exited=new X.Subject;this.dropped=new X.Subject;this.sorted=new X.Subject;this.receivingStarted=new X.Subject;this.receivingStopped=new X.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=X.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new X.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){f._stopScrolling();(0,X.interval)(0,X.animationFrameScheduler).pipe(xf(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,l=f.autoScrollStep;1===f._verticalScrollDirection?h.scrollBy(0,-l):2===f._verticalScrollDirection&&
h.scrollBy(0,l);1===f._horizontalScrollDirection?h.scrollBy(-l,0):2===f._horizontalScrollDirection&&h.scrollBy(l,0)})};this.element=nh(a);this._document=c;kqc(this,[this.element]);Vpc(b,this);this._parentPositions=new Zpc(c);this._sortStrategy=new vT(this.element,b);iqc(this._sortStrategy,function(h,l){return f.sortPredicate(h,l,f)})};g=lqc.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();null==d&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,l){l=void 0===l?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:l})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return-1===a.indexOf(d)})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._sortStrategy.direction=a;return this};g.connectedTo=function(a){this._siblings=a.slice();return this};var mqc=function(a,b){a._sortStrategy.orientation=b},kqc=function(a,b){var c=nh(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(u(b)):b.slice()};g=lqc.prototype;g.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
g._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._domRect&&HSa(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,t){if(t!==c._document&&q.clientRect&&!l&&HSa(q.clientRect,a,b)){var w=q.clientRect;q=SSa(w,b);w=TSa(w,a);var B=0,D=0;if(q){var J=t.scrollTop;1===q?0<J&&(B=1):t.scrollHeight-J>t.clientHeight&&(B=2)}w&&(q=t.scrollLeft,"rtl"===c._sortStrategy.direction?2===w?0>q&&(D=2):t.scrollWidth+q>t.clientWidth&&(D=1):1===w?0<q&&(D=1):t.scrollWidth-q>t.clientWidth&&(D=
2));q=k([B,D]);d=q.next().value;e=q.next().value;if(d||e)l=t}});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=SSa(h,b);e=TSa(h,a);var l=window}!l||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=l,(d||e)&&l?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};
g._stopScrolling=function(){this._stopScrollTimers.next()};g._draggingStarted=function(){var a=nh(this.element).style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};
g._cacheParentPositions=function(){var a=nh(this.element);this._parentPositions.cache(this._scrollableElements);this._domRect=this._parentPositions.positions.get(a).clientRect};g._reset=function(){var a=this;this._isDragging=!1;var b=nh(this.element).style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};
g._isOverContainer=function(a,b){return null!=this._domRect&&GSa(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){if(!this._domRect||!GSa(this._domRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=nh(this.element);return a===b||b.contains(a)};
g._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||-1<c._draggables.indexOf(e)})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};g._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
g._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=$pc(a._parentPositions,b))&&jqc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=toa(nh(this.element))||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy._activeDraggables.filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var nqc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},wT=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};wT.prototype.createDrag=function(a,b){b=void 0===b?nqc:b;return new eqc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};wT.\u0275fac=function(a){return new (a||wT)(p(qh),p(He),p(Hy),p(uT))};wT.\u0275prov=Pc({token:wT,factory:wT.\u0275fac,providedIn:"root"});var oqc=new rd("CdkDropList"),xT=function(a,b,c,d,e,f,h,l,q,t,w){var B=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=t;this._parentDrag=w;this._destroyed=new X.Subject;this._handles=new X.BehaviorSubject([]);this.started=new Uv;this.released=new Uv;this.ended=new Uv;this.entered=new Uv;this.exited=new Uv;this.dropped=new Uv;this.moved=new X.Observable(function(D){var J=B._dragRef.moved.pipe(z(function(H){return{source:B,
pointerPosition:H.pointerPosition,event:H.event,delta:H.delta,distance:H.distance}})).subscribe(D);return function(){J.unsubscribe()}});this._injector=bd(Ie);this._dragRef=l.createDrag(a,{dragStartThreshold:f&&null!=f.dragStartThreshold?f.dragStartThreshold:5,pointerDirectionChangeThreshold:f&&null!=f.pointerDirectionChangeThreshold?f.pointerDirectionChangeThreshold:5,zIndex:null==f?void 0:f.zIndex});this._dragRef.data=this;pqc.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),
b.addItem(this));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};g=xT.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;Ne(function(){a._updateRootElement();a._setupHandlesListener();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();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=pqc.indexOf(this);-1<b&&pqc.splice(b,1);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);-1<a&&(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=void 0!==a.closest?a.closest(this.rootElementSelector):null==(c=a.parentElement)?void 0:c.closest(this.rootElementSelector)}dqc(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):nh(a):null};
g._syncInputs=function(a){var b=this;a.beforeStarted.subscribe(function(){if(!a.isDragging()){var c=b._dir,d=b.dragStartDelay,e=b._placeholderTemplate?{template:b._placeholderTemplate.templateRef,context:b._placeholderTemplate.data,viewContainer:b._viewContainerRef}:null,f=b._previewTemplate?{template:b._previewTemplate.templateRef,context:b._previewTemplate.data,matchSize:b._previewTemplate.matchSize,viewContainer:b._viewContainerRef}:null;a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.dragStartDelay=
"object"===typeof d&&d?d:oh(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=hqc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(mf()).subscribe(function(){if(b._parentDrag)a._parentDragRef=b._parentDrag._dragRef;else for(var c=b.element.nativeElement.parentElement;c;){if(c.classList.contains("cdk-drag")){var d=void 0;cqc(a,(null==(d=pqc.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,l=a.rootElementSelector;a=a.previewContainer;this.disabled=null==h?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.pipe(yf(function(b){b=b.map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);gqc(a._dragRef,b)}),wf(function(b){return X.merge.apply(null,u(b.map(function(c){return c._stateChanges.pipe(vf(c))})))}),xf(this._destroyed)).subscribe(function(b){var c=a._dragRef,d=b.element.nativeElement;b.disabled?!c._disabledHandles.has(d)&&-1<c._handles.indexOf(d)&&(c._disabledHandles.add(d),Sp(d,!0)):c._disabledHandles.has(d)&&
(c._disabledHandles.delete(d),Sp(d,c.disabled))})};Ac.Object.defineProperties(xT.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}}});var pqc=[];xT.\u0275fac=function(a){return new (a||xT)(C(Wd),C(oqc,12),C(qh),C(He),C(jg),C(Rpc,8),C(ty,8),C(wT),C(Pg),C(Tpc,10),C(Spc,12))};
xT.\u0275dir=jd({type:xT,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&Qf("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",Ng],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[wg([{provide:Spc,useExisting:xT}]),
Gf,xd]});var qqc=new rd("CdkDropListGroup");var rqc=0,yT=function(a,b,c,d,e,f,h){var l=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new X.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+rqc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Uv;this.entered=new Uv;this.exited=new Uv;this.sorted=new Uv;this._unsortedItems=new Set;this._dropListRef=new lqc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,t){return l.enterPredicate(q.data,t.data)};this._dropListRef.sortPredicate=function(q,t,w){return l.sortPredicate(q,t.data,w.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);sqc.push(this);f&&f._items.add(this)};yT.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
yT.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var tqc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return fqc(b._dragRef).compareDocumentPosition(fqc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=yT.prototype;
g.ngOnDestroy=function(){var a=sqc.indexOf(this);-1<a&&sqc.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
g._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe(vf(this._dir.value),xf(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=kh(b.connectedTo).map(function(e){return"string"===typeof e?sqc.find(function(f){return f.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=iWb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
kqc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=b.sortingDisabled;a.autoScrollDisabled=b.autoScrollDisabled;a.autoScrollStep=oh(b.autoScrollStep,2);mqc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
g._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});(0,X.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};g._syncItemsWithRef=function(){this._dropListRef.withItems(tqc(this).map(function(a){return a._dragRef}))};
Ac.Object.defineProperties(yT.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}}});var sqc=[];yT.\u0275fac=function(a){return new (a||yT)(C(Wd),C(wT),C(Pg),C(Dy),C(ty,8),C(qqc,12),C(Rpc,8))};
yT.\u0275dir=jd({type:yT,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(Hf("id",b.id),Qf("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",0<b._dropListRef._activeSiblings.size))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis",
"lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",Ng],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Ng],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Ng],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[wg([{provide:qqc,useValue:void 0},{provide:oqc,useExisting:yT}]),Gf]});new rd("CdkDragPlaceholder");new rd("CdkDragPreview");var zT=function(){};zT.\u0275fac=function(a){return new (a||zT)};zT.\u0275mod=hd({type:zT});zT.\u0275inj=Rc({providers:[wT],imports:[Iy]});var uqc=["addLink"],vqc=["showFewer"],wqc=["showMore"],xqc=["removeButton"],yqc=[[["",8,"title-action"]],[["",8,"value-action"]]],zqc=function(a,b,c){return{"bv2-issue-metadata-list-field":a,"bv2-issue-metadata-field":b,"internal-only":c}},WSa=function(a,b){return{item:a,$index:b}},rTa=function(a){return{q:a}},ATa=function(a){return{"disabled-icon":a}},Aqc=[Object.assign({},Yp("start","bottom"),Zp("start","top"),{offsetY:8}),Object.assign({},Yp("center","bottom"),Zp("center","top"),{offsetY:8}),Object.assign({},
Yp("end","bottom"),Zp("end","top"),{offsetY:8}),Object.assign({},Yp("start","top"),Zp("start","bottom"),{offsetY:-8}),Object.assign({},Yp("end","top"),Zp("end","bottom"),{offsetY:-8})],AT=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.cdr=a;this.dateFormatter=b;this.analytics=c;this.liveAnnouncer=d;this.principalTypesFridge=e;this.issuePermissionService=f;this.OVERLAY_POSITION_LIST=Aqc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=
!1;this.values=null;this.providedValues$=new X.ReplaySubject(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 Uv;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.truncate=!1;this.additionAllowed=!0;this.isExpanded=this.isCollapsible=!1;this.collapsiblePanelTitle=this.iconName="";this.customFieldId=0;this.inputValidator=null;this.toggleAccessLimits=
new Uv;this.teamId=this.invalidMessage="";this.isString=mi;this.groups$=this.providedValues$.pipe(wf(function(q){return Bqc(l,q)}),vf(new Set));this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.enableTeamAnnotations=h.isInternalSession();this.environmentType=h.getEnvironmentType();this.enableCustomFieldSearchImprovements=hE(h,"enableCustomFieldSearchImprovements")};Y(AT,Z);AT.\u0275dir=Z.\u0275dir;
AT.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue){b=k(a.users.currentValue);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=Zk(c);d&&this.userMap.set(d,li(c))}}if(a.values){var e;this.providedValues$.next(null!=(e=this.values)?e:[])}a.showInternalOnlyFieldBadge&&(this.showInternalOnlyFieldBadge=a.showInternalOnlyFieldBadge.currentValue)};AT.prototype.ngOnInit=function(){cTa(this)};
var cTa=function(a){a.sortedEnumChoices=[].concat(u(a.enumChoices||[])).sort(function(b){b=b.value;var c,d=(null==(c=a.values)?0:c.includes(b))?1:0,e;return((null==(e=a.values)?0:e.includes(b))?1:0)-d})},dTa=function(a){var b=a.values||[],c=[].concat(u(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})},Vp=function(a){return"REPEATED_ENUM"===a.type&&
a.enableCustomFieldSearchImprovements&&900<a.sortedEnumChoices.length},UTa=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})},TTa=function(a,b){var c,d=null!=(c=a.values)?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});Xp(a,!0);ITa(a)&&Wp(a,!0)};
AT.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
AT.prototype.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if(null==(d=b.values)?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;null==(e=b.removeButtons)||null==(f=e.get(d))||null==(h=f.nativeElement)||h.focus()}else{var l,q;null==(l=b.addLinkEl)||null==(q=l.nativeElement)||q.focus()}})};
AT.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=Fn(a);this.preventDuplicates&&this.values.find(function(f){return ki(f,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&asa(this.values)&&asa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(ni(this.values)&&ni(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=k(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CODE_CHANGES"===this.type&&(e=XTa(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||Xp(this,!0);0!==b.length&&(this.values=[].concat(u(this.values),u(b)),this.valuesChange.emit({values:this.values,added:b}))};AT.prototype.onDrop=function(a){Up(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var Xp=function(a,b){var c,d=k(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=k(null!=(e=a.popupTriggers)?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},Wp=function(a,b,c){null==c||c.stopPropagation();null==c||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,f;null==(d=null!=(f=a.showFewer)?f:a.showMore)||null==(e=d.nativeElement)||
e.focus()})},ITa=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},YSa=function(a){return a.values&&"REPEATED_DATE"===a.type?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(En(b))}):a.values&&"TEAM"===a.type?a.values:a.values&&"WORKSPACES"===a.type?a.values:a.values&&"REPEATED_ENUM"===a.type?a.values:a.displayValuesOverride||(a.values||[]).map(function(b){return mi(b)?b:$ra(b)?""+b:a.dateFormatter.formatUserCalendar(En(b))})},QTa=function(a,b,c){var d,e,f;return me(function(h){if(1==
h.nextAddress)return a.inputValidator?oe(h,a.inputValidator(b.value.input),3):h.jumpTo(2);2!=h.nextAddress&&(a.invalidMessage=h.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return h.return();d=b.value.input;null==(e=b)||e.reset();null==(f=c.querySelector("input"))||f.focus();a.addItems(d);se(h)})};g=AT.prototype;g.trackClick=function(a){Wo(this.analytics,sq.LINK_FIELD,"click",a)};g.getUser=function(a){return this.userMap.get(a)};g.schedule=function(a){this.subscriptions.add(X.asyncScheduler.schedule(a))};
g.trackByIndex=function(a){return a};g.getAriaLabel=function(){if(!this.values||0===this.values.length)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}1<this.values.length&&(a+="s");return a};
var KTa=function(a,b){return b.displayText+", "+(a.enumPendingValues.has(b.value)?"selected":"not selected")},Bqc=function(a,b){if(!a.isUser)return(0,X.of)(new Set([]));var c=function(d){return"GROUP"===d.principalType};return a.principalTypesFridge.watchSet(b).pipe(z(function(d){return new Set(d.filter(c).map(function(e){return e.email}))}))};AT.\u0275fac=function(a){return new (a||AT)(C(ME,2),C(eO),C(ZI),C(Ux),C(QJ),C(EQ),C(Zr))};
AT.\u0275cmp=r({type:AT,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(lg(uqc,5),lg(vqc,5),lg(wqc,5),lg(xqc,5),lg(JC,5),lg(ZL,5));if(a&2){var c;pg(c=qg())&&(b.addLinkEl=c.first);pg(c=qg())&&(b.showFewer=c.first);pg(c=qg())&&(b.showMore=c.first);pg(c=qg())&&(b.removeButtons=c);pg(c=qg())&&(b.menuTriggers=c);pg(c=qg())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",customFieldId:"customFieldId",inputValidator:"inputValidator",
teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[wg([ME]),Ff,xd],ngContentSelectors:[".title-action",".value-action"],decls:26,vars:28,consts:[["addLink",""],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["textPopup",""],["datePopup",""],["customFieldPopup",""],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["checkIfRepeatedEnum",""],["default",""],["removeIcon",""],["removeButton",""],["showFewer",""],
["showMore",""],["textPopupForm","ngForm","formEl",""],[3,"ngClass"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[4,"ngIf"],["svgIcon","shield_person_24px","class","icon-xs internal-only-badge","matTooltip","Visible to internal only","aria-label","Visible to internal only",4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDropped","cdkDropListDisabled"],
[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],[3,"ngSwitch",4,"ngIf"],["matMenuContent",""],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],
[4,"ngSwitchCase"],["mat-button","","dialogLabel","Add a new item to the list","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button",
"","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened","menuClosed",4,"ngIf"],["mat-button","","dialogLabel","Select items in the list","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngIf"],["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"],["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"],["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"],["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"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],
[4,"ngIf","ngIfElse"],["class","unstyled keep-focus-ring","aria-label","Open issue access dialog.",3,"disabled","click",4,"ngIf","ngIfElse"],[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"],["class","overflow-ellipsis",3,"matTooltip",4,"ngIf","ngIfElse"],[1,"overflow-ellipsis",3,"matTooltip"],["routerLink","/issues",1,"subtle-link",3,"click","queryParams"],["class","list-field-user-container",
4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon",4,"ngIf"],["name","group_24px","class","group-icon","size","small",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["name","group_24px","size","small",1,"group-icon"],[3,"email"],["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",3,"ngClass"],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","disabled","matTooltip"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"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","click",4,"ngFor","ngForOf","ngForTrackBy"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["type","text","name","input","ngModel","","required","","aria-expanded",
"true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required",
"","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"dateChange","cancelClicked","required","renderPanel"],[3,"onApplyChanges","onCancelChanges","allowMultiSelect","customFieldTitle","allowedValues","selectedValues"]],template:function(a,b){if(a&1){var c=v();cg(yqc);G(0,"div",17)(1,"div",18)(2,"div",19);E(3,USa,2,1,"label",20)(4,VSa,1,0,"mat-icon",21);dg(5);I();G(6,"div",22);N("cdkDropListDropped",
function(d){x(c);return y(b.onDrop(d))});E(7,ZSa,3,7,"collapsible-panel",23)(8,bTa,4,4,"ng-container",20);G(9,"div",24,0);E(11,jTa,4,3,"ng-container",25);dg(12,1);I()()();E(13,FTa,1,1,"ng-template",null,1,Eg)(15,JTa,2,2,"ng-template",null,2,Eg);G(17,"mat-menu",null,3);E(19,MTa,1,2,"ng-template",26);I();E(20,RTa,13,8,"ng-template",null,4,Eg)(22,STa,1,2,"ng-template",null,5,Eg)(24,VTa,3,4,"ng-template",null,6,Eg);I()}a&2&&(Qf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",
b.isActive&&!b.listFieldDisabled&&!b.readonly),F("ngClass",Cg(24,zqc,!b.showInternalOnlyFieldBadge,!b.showInternalOnlyFieldBadge,b.showInternalOnlyFieldBadge)),A(),Qf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),F("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",Vp(b)),Hf("aria-label",b.getAriaLabel()),A(),F("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!Vp(b)),A(),F("ngIf",b.title),A(),F("ngIf",b.showInternalOnlyFieldBadge),A(2),
Qf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),F("cdkDropListDisabled",!b.isDefaultOrAllowedValues),A(),F("ngIf",b.isCollapsible),A(),F("ngIf",!b.isCollapsible),A(3),F("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[Cw,Dw,zw,Hw,Ew,Fw,Gw,nB,iE,WA,kO,kx,bh,cx,dx,ux,jx,hx,CA,nE,OC,bQ,bT,UQ,yT,xT,WL,VL,ZL,mE,IC,HC,GC,JC,$S,rT,pT,oF,lT,iT,Iw],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 Cqc={USERCHIP:"USERCHIP",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"},BT=function(){};BT.\u0275fac=function(a){return new (a||BT)};BT.\u0275mod=hd({type:BT});BT.\u0275inj=Rc({imports:[rE,tE,KO,jT,FO,yx,cD,vE,QQ,oT,cT,VQ,zT,zM,CM,uE,aT,sT,CM,qT,sF,mT,kT]});var ZTa=function(){return[]},CT=function(){this.disabled=this.readonly=!1;this.save=new Uv},Dqc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};CT.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=Dqc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};CT.prototype.getTooltip=function(){var a=this.field.customFieldId;a=this.field.shared?"(Shared Field "+a+". see go/b-scf)":"[ID: "+a+"]";var b;return(null!=(b=this.field.description)?b:"")+" "+a};
var YTa=function(a){return(a=Gn(Dqc(a)))&&void 0===a.values?a:null},aUa=function(a){return(a=Gn(Dqc(a)))&&void 0!==a.values?a.values:null};Ac.Object.defineProperties(CT.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});CT.\u0275fac=function(a){return new (a||CT)};
CT.\u0275cmp=r({type:CT,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&lg(dT,5);if(a&2){var c;pg(c=qg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Qf("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId",
"valueChange",4,"ngIf"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"valueChange","readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"],[3,"valuesChange","readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"]],
template:function(a,b){a&1&&E(0,cUa,3,2,"ng-container",0);a&2&&F("ngIf",Dqc(b))},dependencies:[zw,AT,dT],encapsulation:2});var DT=function(){};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275mod=hd({type:DT});DT.\u0275inj=Rc({imports:[rE,BT,eT]});var ET=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new Uv;this.filter=function(){return!0}};ET.prototype.onComponentSelect=function(a){var b=this;if(this.selectedComponent=a){var c;this.customFields=((null==(c=a.componentPathInfo)?void 0:c.allCustomField)||[]).filter(function(d){return b.filter(d)}).sort(function(d,e){return d.name.localeCompare(e.name)})}else this.customFields=null};ET.\u0275fac=function(a){return new (a||ET)};
ET.\u0275cmp=r({type:ET,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["class","bv2-custom-field-picker-select-box",4,"ngIf"],[1,"bv2-custom-field-picker-select-box"],[4,"ngIf"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,
"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),S(2," First, select a component that contains the custom field. "),I(),G(3,"b-team-component-picker",2),N("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),I(),E(4,hUa,4,3,"div",3),I());a&2&&(A(3),F("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),A(),F("ngIf",b.selectedComponent))},dependencies:[Dw,zw,gR,dB,YA,aR,jz,
HO,gN],encapsulation:2});var FT=function(){};FT.\u0275fac=function(a){return new (a||FT)};FT.\u0275mod=hd({type:FT});FT.\u0275inj=Rc({imports:[rE,hR,rN]});var Eqc=function(a){return{value:a}},GT=function(){this.isNonemptyJsonDateValue=cBa};GT.prototype.toDate=function(a){return En(a)};GT.\u0275fac=function(a){return new (a||GT)};
GT.\u0275cmp=r({type:GT,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[["null",""],["nonNull",""],[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(G(0,"span",2),E(1,iUa,1,0,"ng-container",3),I(),E(2,jUa,0,0,"ng-template",null,0,Eg)(4,wUa,8,8,"ng-template",null,1,Eg));a&2&&(a=R(5),A(),F("ngTemplateOutlet",null==
b.customFieldValue?null:a)("ngTemplateOutletContext",Ag(2,Eqc,b.customFieldValue)))},dependencies:[Dw,zw,Hw,iO],encapsulation:2});var HT=function(){};HT.\u0275fac=function(a){return new (a||HT)};HT.\u0275mod=hd({type:HT});HT.\u0275inj=Rc({imports:[rE,yO]});var IT=function(a,b,c,d){this.documentationLinks=a;this.userAccess=b;this.errorHandler=c;this.data=d;this.issuesToFlag=[];this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1;this.issuesToFlag=d.issuesToFlag};IT.prototype.ngOnInit=function(){Fqc(this,this.issuesToFlag)};
var Fqc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:NG(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);Fqc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};IT.\u0275fac=function(a){return new (a||IT)(C(TM),C(LG),C(qI),C(PA))};
IT.\u0275cmp=r({type:IT,selectors:[["b-bulk-flag-as-spam-dialog"]],decls:19,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-bulk-flag-as-spam-prompt"],["target","_blank",1,"keep-underline",3,"href"],[1,"bv2-bulk-flag-as-spam-warning"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"disabled","mat-dialog-close"],[4,"ngFor","ngForOf"]],
template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Flag Issues as Spam"),I(),G(2,"div",1)(3,"div",2)(4,"p"),S(5),G(6,"a",3),S(7,"see here"),I(),S(8,". "),I(),G(9,"p"),S(10," This operation cannot be undone in bulk. "),I()(),G(11,"div",4),E(12,AUa,3,2,"div",5)(13,CUa,5,2,"div",5),I()(),G(14,"div",6)(15,"button",7),S(16," Close "),I(),G(17,"button",8),S(18," Flag as Spam "),I()());a&2&&(A(5),T(" 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, "),
A(),F("href",vdc(b.documentationLinks),Ye),A(6),F("ngIf",!b.permissionsCheckComplete),A(),F("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),A(4),F("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[Dw,zw,CA,RA,SA,TA,UA],encapsulation:2});var JT=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};JT.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};JT.prototype.save=function(){this.dialogRef.close(this.component)};JT.prototype.cancel=function(){this.dialogRef.close()};JT.\u0275fac=function(a){return new (a||JT)(C(ME,2),C(NA))};
JT.\u0275cmp=r({type:JT,selectors:[["b-bulk-move-dialog"]],features:[wg([ME])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Change Component"),I(),G(2,"mat-dialog-content")(3,"p"),S(4,"Choose new component for these issues."),I(),G(5,"p",1),S(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. "),I(),G(7,"b-team-component-picker",2),N("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),I()(),G(8,"mat-dialog-actions")(9,"button",3),N("click",function(){return b.cancel()}),S(10," Cancel "),I(),G(11,"button",4),N("click",function(){return b.save()}),S(12," Save "),I()());a&2&&(A(7),F("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),A(4),F("disabled",null==b.component))},dependencies:[CA,SA,TA,UA,gN],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var KT=function(){this.renderPanel=!0;this.sloEditCommit=new Uv;this.closePicker=new Uv};KT.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=null!=(b=vFa(this.sloEditTime))?b:void 0}};KT.prototype.setDate=function(a){this.currentPickerDate=a};KT.\u0275fac=function(a){return new (a||KT)};
KT.\u0275cmp=r({type:KT,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[wg([ME]),xd],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"dateSelectionChange","saveClicked","cancelClicked","renderPanel","date"]],template:function(a,b){a&1&&(G(0,"div",0),N("clickOutside",function(){b.closePicker.emit()}),G(1,"b-date-time-picker-content",1),N("dateSelectionChange",
function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.sloEditCommit.emit({date:null!=c?c:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),I()());a&2&&(A(),F("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[cP,kO],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 LT=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};LT.prototype.close=function(){this.dialogRef.close(this.commitEvent)};LT.\u0275fac=function(a){return new (a||LT)(C(PA),C(NA))};
LT.\u0275cmp=r({type:LT,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"sloEditCommit","closePicker","renderPanel"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"slo-edit-date-time-picker",1),N("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),I());a&2&&(A(),T("Edit ",b.fieldDisplayName,""),A(),F("renderPanel",!1))},dependencies:[KT],encapsulation:2});var MT=function(a,b){this.data=a;this.dialogRef=b;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 c,d;this.enumOptions=null!=(d=null==(c=this.enumSpec)?void 0:c.options)?d:[];this.isEnumSpec=!!this.enumSpec;var e;this.allowedLabels=(null!=(e=this.enumOptions)?e:[]).map(function(f){return f.label})};
MT.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};MT.prototype.cancel=function(){this.dialogRef.close(void 0)};MT.prototype.save=function(){if(this.enumSpec)var a={estimate:this.currentEnumLabel};else a=this.numericEstimatedEffort,a={estimate:0===a.length||isNaN(Number(a))?"":String(Number(a))};this.dialogRef.close(a)};MT.\u0275fac=function(a){return new (a||MT)(C(PA),C(NA))};
MT.\u0275cmp=r({type:MT,selectors:[["b-edit-estimated-effort-modal"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","bv2-top-field-label",4,"ngIf"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"],["matInput","",3,"ngModelChange","keypress","ngModel"],[1,"bv2-top-field-label"],[3,"valueChange","value","includeEmptyOption","options"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),E(2,DUa,5,2,"mat-dialog-content",1)(3,EUa,
4,4,"div",2),G(4,"mat-dialog-actions")(5,"button",3),N("click",function(){return b.cancel()}),S(6," Cancel "),I(),G(7,"button",4),N("click",function(){return b.save()}),S(8," Save "),I()());a&2&&(A(),T("Edit ",b.fieldDisplayName,""),A(),F("ngIf",!b.isEnumSpec),A(),F("ngIf",b.isEnumSpec),A(4),F("disabled",!b.enableSubmit()))},dependencies:[zw,bh,cx,jx,CA,SA,TA,UA,JO,jB,dB,YA,HO,wO],encapsulation:2});var NT=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};NT.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};NT.prototype.close=function(){this.dialogRef.close()};NT.\u0275fac=function(a){return new (a||NT)(C(PA),C(NA))};
NT.\u0275cmp=r({type:NT,selectors:[["b-edit-item-modal"]],decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"mat-dialog-content")(3,"p"),S(4),I(),G(5,"div",1)(6,"mat-form-field",2)(7,"mat-label"),S(8),I(),G(9,"input",3),vg("ngModelChange",
function(c){ug(b.addItems,c)||(b.addItems=c);return c}),I()(),K(10,"br"),G(11,"mat-form-field",2)(12,"mat-label"),S(13),I(),G(14,"input",3),vg("ngModelChange",function(c){ug(b.removeItems,c)||(b.removeItems=c);return c}),I()()()(),G(15,"mat-dialog-actions")(16,"button",4),N("click",function(){return b.close()}),S(17," Cancel "),I(),G(18,"button",5),N("click",function(){return b.save()}),S(19," Save "),I()());a&2&&(A(),T("Edit ",b.fieldDisplayName,""),A(3),T("Enter ",b.fieldDisplayName," to add or remove"),
A(4),T(" ",b.fieldDisplayName," to Add "),A(),tg("ngModel",b.addItems),A(4),T(" ",b.fieldDisplayName," to Remove "),A(),tg("ngModel",b.removeItems))},dependencies:[bh,cx,jx,CA,JO,jB,dB,YA,HO,SA,TA,UA],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var Gqc=["hotlistFilterInput"],Hqc=["hotlistCreate"],Iqc=["hotlistApply"],Jqc=["hotlistLoad"],Kqc=["menuitem"],OT=function(a,b,c,d,e,f){Z.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=f;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new Uv;this.onApply=new Uv;this.onLoad=new Uv;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(OT,Z);OT.\u0275dir=Z.\u0275dir;OT.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(xf(this.destroyed$)).subscribe(function(){(0,X.timer)(0).pipe(xf(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(xf(this.destroyed$)).subscribe(function(){Lqc(a)})};
OT.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};OT.prototype.ngOnChanges=function(){Mqc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;Nqc(this)};
var Mqc=function(a){var b={};Mda(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=k(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=k(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=k(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=k(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=k(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Gaa(a.choices,function(h,l){var q=b[h.hotlistId],t=b[l.hotlistId];return q>t?-1:q<t?1:nr(h.name,l.name)})}}};OT.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};OT.prototype.close=function(){this.trigger.closeMenu()};
OT.prototype.hasAclToEdit=function(a){var b=this;if(Jda(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];NG(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var FUa=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},bq=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;MUa(a);a.close()},MUa=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},Nqc=function(a){for(var b=a.filterText,c=!1,d=k(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=la(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=Xo(ti(b))&&!!b&&!!a.onLoad},Lqc=function(a){a.trigger.menuOpen||(Mqc(a),a.filterText="",Nqc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},Oqc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+xaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
OT.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",Nqc(this),this.onCreate.emit({name:b,successCallback:function(c){bq(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
OT.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){Wo(this.analytics,"hotlistPicker","loadHotlist");wr(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";Nqc(this);for(var c=qi(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){bq(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){bq(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
OT.prototype.handleSelectionChange=function(){this.focusFilterBox();this.pendingChanges=!ki(this.oldSelectedHotlistMap,this.selectedHotlistMap)};
var GUa=function(a,b){FUa(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.handleSelectionChange())},Vqc=function(a,b){b=void 0===b?0:b;var c=Pqc(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=zaa(Pqc(a),b),Qqc(a),Rqc(a,b)):a.focusedRowIndex<d&&a.canCreate?Sqc(a,d):a.focusedRowIndex<d+1&&a.canLoad?Tqc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&
Uqc(a,d)},Pqc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},Wqc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)Sqc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)Tqc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)Sqc(a,a.choices.length);else{var c=Pqc(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=zaa(Pqc(a),b),Qqc(a),Rqc(a,b)):(a.focusedRowIndex=-1,Rqc(a,null))}},Rqc=function(a,b){a.filterElement&&GF(a.filterElement.nativeElement,b);a.focusFilterBox()},Sqc=function(a,b){a.focusedRowIndex=b;GF(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},Tqc=function(a,b){a.focusedRowIndex=b+1;GF(a.filterElement.nativeElement,null);var c;null==(c=a.loadElement)||
c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},Uqc=function(a,b){a.focusedRowIndex=b+2;GF(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},Qqc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=Pqc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},HUa=function(a){return null==a?"mixed":a.toString()},
IUa=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};OT.\u0275fac=function(a){return new (a||OT)(C(Ux),C(pI),C(LG),C(ZI),C(Zr),C(ME,2))};
OT.\u0275cmp=r({type:OT,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(lg(JC,5),lg(Gqc,5),lg(Hqc,5),lg(Iqc,5),lg(Jqc,5),lg(Kqc,5));if(a&2){var c;pg(c=qg())&&(b.trigger=c.first);pg(c=qg())&&(b.filterElement=c.first);pg(c=qg())&&(b.createElement=c.first);pg(c=qg())&&(b.applyElement=c.first);pg(c=qg())&&(b.loadElement=c.first);pg(c=qg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[wg([ME]),Ff,xd],decls:13,vars:4,consts:[["hotlistMenu","matMenu"],["hotlistFilterInput",""],["hotlistChoices",""],["hotlistCreate",""],["menuitem",""],["hotlistLoad",""],["hotlistApply",""],["mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"gmat-button","medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],[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"],["class","multi-edit-menuitem","role","option",3,"display","focused","title","click",4,"ngFor","ngForOf"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist",
"matTooltipPosition","right","title","Type a new hotlist name above and then click here to create a new hotlist.",1,"hotlist-create",3,"click","keydown.enter","disabled"],[4,"ngIf"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused","click","keydown.enter",4,"ngIf"],["mat-menu-item","","class","hotlist-apply","id","hotlist-apply","aria-label","apply",3,"focused","click","keydown.enter",4,"ngIf"],["role","option",1,"multi-edit-menuitem",
3,"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=v();G(0,"button",7)(1,"span",8);S(2);I();K(3,"b-icon",9);I();G(4,"mat-menu",null,0)(6,"div",10)(7,"div",11)(8,"div",12)(9,"input",13,1);vg("ngModelChange",
function(d){x(c);ug(b.filterText,d)||(b.filterText=d);return y(d)});N("ngModelChange",function(){x(c);return y(Nqc(b))})("mousedown",function(d){x(c);return y(d.stopPropagation())})("blur",function(){x(c);return y(Lqc(b))})("click",function(d){x(c);return y(d.stopPropagation())})("keydown",function(d){x(c);d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(Vqc(b),d.preventDefault()):"ArrowUp"===d.key?(Wqc(b),d.preventDefault()):"PageUp"===d.key?Wqc(b,11):"PageDown"===d.key?
Vqc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(GUa(b,b.choices[b.focusedRowIndex]),d.preventDefault()):"Enter"===d.key&&(b.focusedRowIndex===b.choices.length?b.createHotlist():b.focusedRowIndex===b.choices.length+1?b.loadHotlist():b.pendingChanges?(b.close(),MUa(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&bq(b,b.choices[b.focusedRowIndex]));return y()});I()()();K(11,"mat-divider");E(12,OUa,11,8,"ng-template",
14);I()()}a&2&&(a=R(5),F("matMenuTriggerFor",a)("disabled",b.isAnonymous),A(2),rg(Oqc(b)),A(7),tg("ngModel",b.filterText))},dependencies:[Dw,zw,mE,IC,HC,GC,JC,CA,bh,cx,vx,jx,iz,nE,OC,oE,iE],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 Zqc=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 uQ;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";Xqc(this,b);Yqc(this,b)},Xqc=function(a,b){var c=b[0],d=cl[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(f){return"DUPLICATE"===f.status&&e===f.duplicateOfIssueId})&&e&&(a.commonDuplicateOf=e,a.origCommonDuplicateOf=e),c=1;c<b.length;c++)if(b[0].status!==b[c].status){d=void 0;break}a.issueState=d;a.origCommonIssueState=d},$qc=function(a){if(1===a.length)return"IDENTICAL_EMAILS";var b=!a.every(function(c){return c===a[0]});return a.every(function(c){return void 0===c||Pn(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},Yqc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=$qc(c);a.selectedVerifiersStatus=$qc(b);"IDENTICAL_EMAILS"===a.selectedAssigneesStatus&&(a.commonAssignee=c[0],a.origCommonAssignee=c[0]);"IDENTICAL_EMAILS"===a.selectedVerifiersStatus&&(a.commonVerifier=b[0],a.origCommonVerifier=b[0])};
Zqc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;TWa(this)};Zqc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var mq=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},PWa=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?arc(a.selectedAssigneesStatus)?a.clearAssignee():a.commonAssignee&&(a.lastCommonAssignee=a.commonAssignee,a.commonAssignee=""):"DUPLICATE"===b.status?(a.commonAssignee=a.origCommonAssignee,a.commonVerifier=a.origCommonVerifier):("REQUIRED"!==b.assigneeRequirement||a.commonAssignee||arc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),arc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},arc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},TWa=function(a){var b=cl.NEW,c=cl.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!x8b.has(a.issueState)||(a.issueState=b)},brc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},bXa=function(a){var b=new Map;b.set("assignee",a.overwriteAssignee||a.commonAssignee!==a.origCommonAssignee?a.commonAssignee:void 0);(a.overwriteVerifier||a.commonVerifier!==a.origCommonVerifier)&&b.set("verifier",a.commonVerifier);a.commonDuplicateOf!==a.origCommonDuplicateOf&&b.set("duplicateOfIssueId",a.commonDuplicateOf);brc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var crc=function(a){this.uploadUrl_=a};var drc=function(){Jp.call(this)};hu(drc,Jp);var PT=function(a){DB.call(this,a)};hu(PT,DB);var QT=function(a){DB.call(this,a)};hu(QT,DB);var erc=function(a,b){this.name_=a;this.inputElement_=b};erc.prototype.getName=function(){return this.name_};var frc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var RT=function(){Jp.call(this);this.name_="closure_frame"+grc++;this.iframesForDisposal_=[];hrc[this.name_]=this},ST;hu(RT,Jp);var hrc={},grc=0,irc=function(a,b){var c=Mp(a);Q3b(b,function(d,e){Array.isArray(d)||(d=[d]);ta(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=RT.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("ae");this.lastUri_=a=new Op(a);b=b?b.toUpperCase():"GET";c&&zD(a);ST||(ST=s0b("FORM"),ST.acceptCharset="utf-8",c=ST.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(ST));this.form_=ST;"GET"==b&&irc(this.form_,a.queryData_);d&&irc(this.form_,d);d=a.toString();this.form_.action=Kta(new oc(null===d?"null":void 0===d?"undefined":d,Uda));this.form_.method=b;
jrc(this);krc(this)};g.abort=function(a){if(this.active_){var b=lrc(this);if(b)if(FB(b))b.removeAllListeners();else if(b=IB(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)KB(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");mrc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();RT.superClass_.disposeInternal.call(this);this.iframe_&&nrc(this);krc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete hrc[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 d2b(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return j2b(this.lastErrorCode_)};
var jrc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Mp(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";lu?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Mp(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=w0b(a.iframe_);if(document.baseURI){var d=Oj(b);
d=uh('<head><base href="'+Oj(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Oj(b),d=uh('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(wh(d));Kp(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=SB("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,l=[];A0b(d[e],l,!1);l.join("")!=h&&($B(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=SB("SELECT",a.form_);f=SB("SELECT",
d);h=0;for(l=e.length;h<l;h++)for(var q=SB("OPTION",e[h]),t=SB("OPTION",f[h]),w=0,B=q.length;w<B;w++)t[w].selected=q[w].selected;e=SB("INPUT",a.form_);f=SB("INPUT",d);h=0;for(l=e.length;h<l;h++)if("file"==e[h].type&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),ku&&Mq(a.testForFirefoxSilentError_,250,a)}catch(D){JB(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
RT.prototype.onIframeLoaded_=function(){JB(lrc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?w0b(lrc(this)):null;this.complete_=!0;this.active_=!1;try{var b=a.body;this.lastContent_=b.textContent||b.innerText}catch(e){var c=1}var d;c||"function"!=typeof this.errorChecker_||(d=this.errorChecker_(a))&&(c=4);c?this.handleError_(c):(this.success_=!0,this.lastErrorCode_=0,this.dispatchEvent("complete"),this.dispatchEvent("success"),mrc(this))}catch(e){this.handleError_(1)}};
RT.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),mrc(this),this.errorHandled_=!0)};
var mrc=function(a){nrc(a);krc(a);a.form_=null;a.dispatchEvent("ready")},nrc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Nq(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);ku?a.iframeDisposalTimer_=Mq(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
RT.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Nq(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();YB(a)}};var krc=function(a){a.form_&&a.form_==ST&&v0b(a.form_)},lrc=function(a){return a.iframe_?w0b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
RT.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?w0b(lrc(this)):null;a&&!nQb(a,"documentUri")?(JB(lrc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Mq(this.testForFirefoxSilentError_,250,this)}};var orc=function(a,b,c,d,e){Jp.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 Op(a);xD(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new RT;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new es(this);fq(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};Y(orc,drc);g=orc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("ae");var c=new Op(this.url_||b.action);a.lastUri_=c;a.form_=b;a.form_.action=Kta(c.toString());jrc(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 PT("m"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new PT("j"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new PT("l"))};var rrc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=prc[a.name]):(this.code=a=a.code,this.name=qrc(a));ba.call(this,nSb("%s %s",this.name,b))};hu(rrc,ba);
var qrc=function(a){var b=Kda(prc,function(c){return a==c});if(void 0===b)throw Error("be`"+a);return b},TT={},prc=(TT.AbortError=3,TT.EncodingError=5,TT.InvalidModificationError=9,TT.InvalidStateError=7,TT.NotFoundError=1,TT.NotReadableError=4,TT.NoModificationAllowedError=6,TT.PathExistsError=12,TT.QuotaExceededError=10,TT.SecurityError=2,TT.SyntaxError=8,TT.TypeMismatchError=11,TT);var src=function(a,b){DB.call(this,a.type,b);this.event_=a};hu(src,DB);var trc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};Gp(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var urc=Gp(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===trc(b,0,1)?!1:!0});var vrc=function(){Jp.call(this);this.reader_=new FileReader;this.reader_.onloadstart=fu(this.dispatchProgressEvent_,this);this.reader_.onprogress=fu(this.dispatchProgressEvent_,this);this.reader_.onload=fu(this.dispatchProgressEvent_,this);this.reader_.onabort=fu(this.dispatchProgressEvent_,this);this.reader_.onerror=fu(this.dispatchProgressEvent_,this);this.reader_.onloadend=fu(this.dispatchProgressEvent_,this)};hu(vrc,Jp);g=vrc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new rrc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new rrc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new src(a,this))};g.disposeInternal=function(){vrc.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 wrc=function(a){var b=new HP;a.listen("loadend",gu(function(c,d){var e=d.reader_.result,f=d.getError();null==e||f?(Tgc(c),IP(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var UT=function(){Lq.call(this)};Y(UT,Lq);UT.prototype.createXhr=function(){var a=Lq.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=fu(this.onProgress_,this));return a};UT.prototype.onProgress_=function(a){this.dispatchEvent(a)};var xrc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},zrc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=Mq(function(){a.delayCallId_=null;b()},yrc(a),a);a.attempt_=c;return!0};xrc.prototype.reset=function(){this.delayCallId_&&Nq(this.delayCallId_);this.attempt_=-1};var yrc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var QUa=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var Arc=function(a){Jp.call(this);a=a||new frc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new xrc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new es(this);fq(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};hu(Arc,drc);g=Arc.prototype;g.run=function(){VT(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("Response received"!=this.state_&&"Error"!=this.state_){this.eventHandler_.removeAll();this.request_&&this.request_.abort();this.retryIterator_.reset();var a="Paused"===this.state_?this.stateAfterUnpausing_:this.state_;if("Upload"===a||"Query"===a)a=new UT,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new PT("m"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,Brc(this))};
var VT=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):zrc(a.retryIterator_,function(){return Brc(a)})||WT(a,1,"Transfer encountered too many consecutive failures.")},Brc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(urc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=trc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new UT;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=fu(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new QT("o"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("ce");}},WT=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new PT("l"))};g=Arc.prototype;
g.start_=function(){this.request_=new UT;var a=lc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=RUa(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 QT("o"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new QT("p"));Crc(b)?Drc(this,b):Erc(b)?(b=cq(a.target.getAllResponseHeaders()),this.dispatchEvent(new PT("k")),a=dq(b,"X-Goog-Upload-URL"),b=(b=dq(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,void 0===a||isNaN(b)||0>=b?WT(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new crc(a),this.dispatchEvent(new PT("n")),this.state_=
"Upload",this.retryIterator_.reset(),VT(this))):VT(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new PT("i"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return me(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new QT("p"));if(d.retryOnHttpClientErrorEnabled_?Frc(e)||404==e.getStatus():Crc(e))return d.bytesTransferred_=a,Drc(d,e),h.return();if(Erc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return oe(h,Grc(d),4);case 4:f=h.yieldResult;case 3:if(f)return WT(d,3,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";VT(d);return h.return();case 2:if(b)return WT(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();VT(d);return h.return()}})};
g.query_=function(){this.request_=new UT;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 QT("o"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new QT("p"));Crc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),Drc(this,b)):Erc(b)?(a=cq(a.target.getAllResponseHeaders()),a=parseInt(dq(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?WT(this,5,"Server did not respond with current offset."):a<this.offset_?WT(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?WT(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",VT(this))):VT(this)};
var Drc=function(a,b){a.responseCode_=b.getStatus();var c=cq(b.getAllResponseHeaders());a.responseHeaders_=SUa(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new PT("j"))},Erc=function(a){var b=a.getStatus();a=cq(a.getAllResponseHeaders());a=dq(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},Frc=function(a){a=cq(a.getAllResponseHeaders());return"final"===dq(a,"X-Goog-Upload-Status")},Crc=function(a){if(Frc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},Grc=function(a){var b;return me(function(c){if(1==c.nextAddress){if(!a.blob_||0>=a.originalBlobSize_)return c.return(!1);if(a.blob_.size!==a.originalBlobSize_)return c.return(!0);ne(c,2);if(b=trc(a.blob_,0,1)){var d=new vrc,e=wrc(d);d.readAsBinaryString(b);c=oe(c,e,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);re(c);return c.return(!0)})};var Hrc=function(a,b,c,d,e,f){Jp.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 pi;this.boundary_="uploader-"+kv()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new es(this);fq(this,this.eventHandler_)};Y(Hrc,drc);g=Hrc.prototype;
g.run=function(){var a=lc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=RUa(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new UT;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(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new PT("m")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new PT("i"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new PT("l"))):(this.responseCode_=b,a=a.target,b=cq(a.getAllResponseHeaders()),this.responseHeaders_=SUa(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new PT("j")))};var Irc=function(){},Jrc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof erc)return new orc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new Hrc(a,"POST",b,c,d);var f=new Arc(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 Krc=new rd("ScottyUploaderConfigFactory"),Lrc=new rd("ScottyUploader",{factory:function(){return new Irc}}),XT=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new X.Subject;this.transferStatus=xr(this.internalTransferStatus)};
XT.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=Jrc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,X.merge)((0,X.fromEvent)(a,"k"),(0,X.fromEvent)(a,"i"),(0,X.fromEvent)(a,"n"),(0,X.fromEvent)(a,"l"),(0,X.fromEvent)(a,"j"),(0,X.fromEvent)(a,"m")).pipe(xf((0,X.fromEvent)(a,"j").pipe(kf(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};XT.\u0275fac=function(a){return new (a||XT)(p(Lrc),p(Krc))};XT.\u0275prov=Pc({token:XT,factory:XT.\u0275fac});var Mrc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};Mrc.prototype.getDirectory=function(a){return this.directoryMap_[a]};Mrc.prototype.getName=function(){return this.name_};var Orc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;Jp.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:Mj(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=Nrc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};Y(Orc,Jp);
var Nrc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");Kp(e,"change",a.onFilesSelected_,!1,a);"multiple_file"===c&&(e.multiple="true");"single_directory"===c&&(e.webkitdirectory="true");0<d.length&&e.setAttribute("accept",d.join(","));e.style.position="absolute";e.style.overflow="hidden";e.style.height="0px";e.style.width="0px";e.style.opacity="0";e.setAttribute("aria-hidden","true");e.setAttribute("tabIndex",-1);if(null!=a.overlayTarget_)return e.style.height=
b.offsetHeight+"px",e.style.width=b.offsetWidth+"px",a.parentOverlay_&&(a.parentOverlay_.style.position="relative"),b.parentNode&&b.parentNode.insertBefore(e,b.nextSibling),ps(e,new ms(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};Orc.prototype.click=function(){this.overlay_.click()};
Orc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(t){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(lu||ju)){b=new Mrc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),f=b,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){"."!=l&&f.files_.push(d);break}var q=f.getDirectory(l);void 0==q&&(l=q=new Mrc(l),f.directoryMap_[l.getName()]=
l,f.directories_.push(l));f=q}b=b.directories_}this.dispatchEvent(new Prc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new Prc([],[],new erc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=Nrc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var Qrc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},Prc=function(a,b){DB.call(this,"u");this.files=a;this.directories=b};Y(Prc,DB);var YT=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new X.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Uv;this.maxFileSize=null;this.fileSizeRejected=new Uv;this.fileSelected=new Uv;this.fileNameLengthRejected=new Uv};
YT.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(wf(function(b){return(0,X.merge)((0,X.fromEvent)(b,"q"),(0,X.fromEvent)(b,"u"))}),xf(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(-1!==e?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=k(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=k(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){(0,X.fromEvent)(b,"s").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,X.fromEvent)(b,
"t").subscribe(function(){a.ngZone.run(function(){})})})};YT.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};YT.\u0275fac=function(a){return new (a||YT)(C(Wd),C(He))};YT.\u0275dir=jd({type:YT,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var ZT=function(a,b){YT.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};Y(ZT,YT);
ZT.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,X.merge)((0,X.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,X.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(pf(),xf(a.destroyed),z(function(){a.fileSelectorOverlay=new Orc(a.elementRef.nativeElement,a.selectorType,Rrc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),tf(1))}));return this.overlay};
ZT.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var Rrc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};ZT.\u0275fac=function(a){return new (a||ZT)(C(Wd),C(He))};ZT.\u0275dir=jd({type:ZT,hostBindings:function(a,b){a&1&&N("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[Ff]});var $T=function(a,b,c){ZT.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};Y($T,ZT);
$T.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(xf(this.destroyed),Ce(function(){return!a.disableAutoUpload})).subscribe(function(b){b=k(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};Ac.Object.defineProperties($T.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=lh(a)}}});
$T.\u0275fac=function(a){return new (a||$T)(C(Wd),C(He),C(XT,8))};$T.\u0275dir=jd({type:$T,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[Ff]});var aU=function(){this.SelectorType=Qrc;this.includeTextLabel=this.disabled=!1;this.onSelect=new Uv},TUa=function(a,b){if(b=b.files){b=k(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};aU.\u0275fac=function(a){return new (a||aU)};
aU.\u0275cmp=r({type:aU,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},decls:4,vars:2,consts:[["fullButton",""],[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected",4,"ngIf","ngIfElse"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments",
"aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"],["svgIcon","attachment"],["mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"]],template:function(a,b){a&1&&(G(0,"div",1),E(1,UUa,2,3,"button",2),I(),E(2,VUa,3,3,"ng-template",null,0,Eg));a&2&&(a=R(3),A(),F("ngIf",!b.includeTextLabel)("ngIfElse",a))},dependencies:[zw,nB,CA,nE,OC,$T],encapsulation:2});var Src=function(a,b){jic.call(this,a.size,a.name);var c=this;this.destroyed$=new X.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "i":case "k":case "n":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "l":c.handleError(e);break;case "j":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&200!=d?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "m":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(xf(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};Y(Src,jic);
Src.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){Ek("Unable to extract error message",b,d);var c;this.errorMessage=null!=(c=a.getErrorDescription())?c:""}this.errorMessage||(this.errorMessage="Error while uploading.")};Src.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};
Src.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var bU=function(a){this.activeSession=a};
bU.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var f=b.charCodeAt(e);128>f?c[d++]=f:(2048>f?c[d++]=f>>6|192:(55296==(f&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(f=65536+((f&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=f>>18|240,c[d++]=f>>12&63|128):c[d++]=f>>12|224,c[d++]=f>>6&63|128),c[d++]=f&63|128)}b=Laa(c);a=FFa(a.name)?a.name:b;return{url:xD(X3b().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};bU.\u0275fac=function(a){return new (a||bU)(p(Zr))};bU.\u0275prov=Pc({token:bU,factory:bU.\u0275fac,providedIn:"root"});var cU=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};cU.prototype.create=function(){return new XT(this.uploader,this.uploaderConfigFactory)};cU.\u0275fac=function(a){return new (a||cU)(p(Lrc),p(bU))};cU.\u0275prov=Pc({token:cU,factory:cU.\u0275fac,providedIn:"root"});var ZUa=function(a){return{"attachment-error":a}},dU=function(a){Z.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new Uv;this.onUploadComplete=new Uv;this.uploadStates=kic};Y(dU,Z);dU.\u0275dir=Z.\u0275dir;dU.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
dU.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new Src(a,c.transferStatus);c.transferStatus.pipe(xf(this.destroyed$)).subscribe(function(d){"j"===d.type&&b.onUploadComplete.emit()});return a};dU.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};dU.\u0275fac=function(a){return new (a||dU)(C(cU))};
dU.\u0275cmp=r({type:dU,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[Ff],decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live",
"assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"click","matTooltip"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&E(0,aVa,2,1,"div",0);a&2&&F("ngIf",0<b.uploads.length)},dependencies:[Cw,Dw,zw,nB,nE,OC,$K],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 Trc=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 Urc=function(a){jic.call(this,a.size,a.name);this.attachment=a};Y(Urc,jic);var Vrc=function(a,b){a.state=1;gic(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=Xn(c)?Yn(c):"Error while uploading."})};var eU=function(a){this.id_=a;this.opts={}};g=eU.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};g.toArray=function(){var a=ic(this.opts,function(c){return null!==c});a=jc(a)?null:a;a=[this.id_,this.label_,a];var b=yaa(a,i0b);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+kQb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return lc(this.opts)};g.getQuery=function(){return this.opts.query};var fU=function(a){eU.call(this,a||"all")};hu(fU,eU);var Wrc=function(){var a=(new fU("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=fU.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setLabel=function(a){fU.superClass_.setLabel.call(this,a);return this};g.setQuery=function(a){fU.superClass_.setQuery.call(this,a);return this};
g.setParent=function(a){fU.superClass_.setParent.call(this,a)};var Xrc=function(){eU.call(this,"image-search")};Y(Xrc,eU);g=Xrc.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){eU.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){eU.prototype.setQuery.call(this,a);return this};g.setParent=function(a){eU.prototype.setParent.call(this,a)};var gU=function(){eU.call(this,"maps")};Y(gU,eU);gU.prototype.setMode=function(a){this.opts.mode=a;return this};gU.prototype.setLabel=function(a){eU.prototype.setLabel.call(this,a);return this};gU.prototype.setQuery=function(a){eU.prototype.setQuery.call(this,a);return this};gU.prototype.setParent=function(a){eU.prototype.setParent.call(this,a)};var Yrc=function(){eU.call(this,"photos")};Y(Yrc,eU);g=Yrc.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){eU.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){eU.prototype.setQuery.call(this,a);return this};g.setParent=function(a){eU.prototype.setParent.call(this,a)};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var hU=function(){eU.call(this,"url")};Y(hU,eU);hU.prototype.setType=function(a){this.opts.type=a;return this};hU.prototype.setLabel=function(a){eU.prototype.setLabel.call(this,a);return this};hU.prototype.setQuery=function(a){eU.prototype.setQuery.call(this,a);return this};hU.prototype.setParent=function(a){eU.prototype.setParent.call(this,a)};var Zrc=function(){eU.call(this,"video-search")};Y(Zrc,eU);Zrc.prototype.setLabel=function(a){eU.prototype.setLabel.call(this,a);return this};Zrc.prototype.setQuery=function(a){eU.prototype.setQuery.call(this,a);return this};Zrc.prototype.setParent=function(a){eU.prototype.setParent.call(this,a)};var $rc=function(){eU.call(this,"web")};Y($rc,eU);$rc.prototype.setLabel=function(a){eU.prototype.setLabel.call(this,a);return this};$rc.prototype.setQuery=function(a){eU.prototype.setQuery.call(this,a);return this};$rc.prototype.setParent=function(a){eU.prototype.setParent.call(this,a)};var asc=function(){this.root_=void 0;this.items_=[];this.opts={}},bsc=function(a){switch(a){case "image-search":return new Xrc;case "maps":return new gU;case "photos":return new Yrc;case "url":return new hU;case "video-search":return new Zrc;case "web":return new $rc}return new eU(a)};asc.prototype.addView=function(a){this.items_.push("string"===typeof a?bsc(a):a);return this};
var csc=function(a){return"("+kQb(a.items_,function(b){return b.toString()}).join(",")+")"},dsc=function(a){a=ic(a.opts,function(b){return null!==b});return(a=jc(a)?null:a)?JSON.stringify(Gda(a,function(b){return b.toString()})):""};asc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",csc(this)],b=dsc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return csc(this)};asc.prototype.getOptions=function(){return lc(this.opts)};var esc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new asc};g=esc.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getBaseUrl=function(){return this.basePickerUrl_};g.getDomHelper=function(){return this.domHelper_};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var fsc=function(a){esc.call(this,a)};hu(fsc,esc);var iU=function(a){Jp.call(this);this.dom_=a||Mp();this.rightToLeft_=gsc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};hu(iU,Jp);iU.prototype.idGenerator_=is.getInstance();var gsc=!1;g=iU.prototype;g.getId=function(){return this.id_||(this.id_=as(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){kc(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&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 es(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("de");if(a&&this.parent_&&this.id_&&Dec(this.parent_,this.id_)&&this.parent_!=a)throw Error("de");this.parent_=a;iU.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("ee");iU.superClass_.setParentEventTarget.call(this,a)};g.getDomHelper=function(){return this.dom_};g.createDom=function(){this.element_=this.dom_.createElement("DIV")};
g.render=function(a){if(this.inDocument_)throw Error("fe");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};g.decorate=function(a){if(this.inDocument_)throw Error("fe");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=QB(a);this.dom_&&this.dom_.document_==b||(this.dom_=Mp(a));this.decorateInternal(a);this.enterDocument()}else throw Error("ge");};
g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;hsc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};g.exitDocument=function(){hsc(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_);hsc(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&YB(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;iU.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("fe");if(0>a||a>(this.children_?this.children_.length:0))throw Error("he");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;wa(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("Y`"+c);b[c]=void 0}(void 0).setParent(this);Daa(this.children_,
a,0,void 0);(void 0).inDocument_&&this.inDocument_&&(void 0).getParent()==this?(b=this.getContentElement(),(b.childNodes[a]||null)!=(void 0).getElement()&&((void 0).getElement().parentElement==b&&b.removeChild((void 0).getElement()),a=b.childNodes[a]||null,b.insertBefore((void 0).getElement(),a))):this.inDocument_&&!(void 0).inDocument_&&(void 0).element_&&(void 0).element_.parentNode&&1==(void 0).element_.parentNode.nodeType&&(void 0).enterDocument()};g.getContentElement=function(){return this.element_};
g.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=TS(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var Dec=function(a,b){return a.childIndex_&&b?Nda(a.childIndex_,b)||null:null},hsc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
iU.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=Dec(this,c);c&&a&&(kc(this.childIndex_,c),wa(this.children_,a),b&&(a.exitDocument(),a.element_&&YB(a.element_)),a.setParent(null))}if(!a)throw Error("ie");return a};iU.prototype.removeChildren=function(a){for(var b=[];this.hasChildren();){var c=b,d=c.push;var e=this.removeChild(this.children_?this.children_[0]||null:null,a);d.call(c,e)}return b};hu(cVa,bVa);var isc=function(a){bVa.call(this,"visibility");this.visible=a};hu(isc,bVa);var jsc=Xt(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),ksc=Xt(["//apis.google.com/js/rpc.js"]),lsc=Ah(jsc),msc=Ah(ksc),eVa=null;var nsc=function(a){Jp.call(this);this.element_=a;a=bs?"focusout":"blur";this.listenKeyIn_=Kp(this.element_,bs?"focusin":"focus",this,!bs);this.listenKeyOut_=Kp(this.element_,a,this,!bs)};hu(nsc,Jp);nsc.prototype.handleEvent=function(a){var b=new EB(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};nsc.prototype.disposeInternal=function(){nsc.superClass_.disposeInternal.call(this);KB(this.listenKeyIn_);KB(this.listenKeyOut_);delete this.element_};var osc=new Map;osc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");osc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");osc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var psc=new Set;psc.add("application/vnd.google-apps.kix");psc.add("application/vnd.google-apps.ritz");psc.add("application/vnd.google-apps.punch");var Asc=function(a,b,c){var d=c&&ec(c,1);if(c){var e=ec(c,3);e=e&&JSON.parse(e)||{};c={0:ec(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return qsc(a,b,d,c);case 3:return rsc(a,b,d,c);case 10:return ssc(a,b,d,c);case 12:return tsc(a,b);case 2:return usc(a,b,d,c);case 5:return vsc(a,b,d,c);case 9:return wsc(a,b,d,c);case 6:return xsc(a,b,d,c);case 25:return ysc(a,b,d,c);case 1:return Ui(a[0],DRb,26)?zsc(a,b,d,c):ssc(a,b,d,c);default:return{}}},xsc=function(a,b,c,d){a=
a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:jU(e),lastEditedUtc:Gi(e,aj,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:ec(e,13),thumbnails:kU(Uu(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},usc=function(a,b,c,d){var e=a.map(function(f){var h={id:f.getId().getId(),serviceId:"docs",mimeType:f.getMimeType(),name:f.getName(),
type:jU(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:tRb(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:kU(Uu(f)),isShared:Gi(f,Vu,21).getShared(),downloadUrl:Gi(f,Vu,21).getDownloadUrl(),embedUrl:ec(f,13),copyable:Li(Gi(f,Vu,21),9),resourceKey:ec(Gi(f,Vu,21),11)};Li(Gi(f,Vu,21),12)&&(h.uploadState="success");if(Gi(f,Vu,21).hasVideoMetadata()){f=Gi(f,Vu,21).getVideoMetadata();if(Ui(f,nl,2)){var l=f.getDuration().getSeconds_asLegacyNumberOrString()+
f.getDuration().getNanos()/1E9;h.duration=l}h.aspectRatio=Kl(f,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:Bsc(a),v2Translated:!0}},vsc=function(a,b,c,d){a=a.map(function(e){var f=Gi(Gi(e,KRb,15),Pu,1);Wq(e,10,Pu,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:jU(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:kU(Uu(e))}});return{action:b,
docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},wsc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:Uu(e)[0].getUrl().split("/").pop(),type:jU(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:kU(Uu(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},zsc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",
name:e.getName(),type:jU(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:kU(Uu(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},ssc=function(a,b,c,d){return{action:b,docs:a.map(Csc),viewToken:d,view:Dsc(c||"upload",a),extraUserInputs:Bsc(a),v2Translated:!0}},Dsc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=Gi(c,Su,30))?void 0:Qi(d,3,0))})?a+"/gmailphotos":a},rsc=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:jU(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:tRb(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:kU(Uu(f)),mediaKey:f.getId().getId(),parentId:f.getParentId()},l,q=null==(l=Gi(f,FRb,18))?void 0:Gi(l,ERb,3);q&&(h.latitude=Kl(q,1),h.longitude=Kl(q,2));var t;
(f=null==(t=Gi(f,FRb,18))?void 0:Zi(t,6))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:Bsc(a),v2Translated:!0}},qsc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:Uu(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:kU(Uu(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},
ysc=function(a,b,c,d){a=a.map(function(e){var f=e.getId().getId(),h=d["2"];return{id:f,serviceId:"gmail_themes"!==h.type&&"6226252643674576769"===h.parent?"picasa":"static_themes",name:e.getName(),mimeType:e.getMimeType(),type:jU(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:kU(Uu(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},tsc=function(a,b){a=a.map(function(c){var d=
Gi(c,Ru,27);d=gi(d,1,hi())[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}},kU=function(a,b){b=void 0===b?"":b;if(!a.length)return null;"etjpg"==b&&(a=a.filter(function(c){return c.getUrl().includes("w1200-h300")}));return a.map(function(c){return{url:c.getUrl(),height:c.getHeight(),width:c.getWidth(),type:b}})},
Bsc=function(a){return{isAttachment:a.some(function(b){return Li(b,31)})}},Csc=function(a){var b={id:a.getId().getId(),serviceId:Esc(a),mimeType:a.getMimeType(),name:a.getName(),type:jU(a),sizeBytes:tRb(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:kU(Uu(a)),isNew:!0},c=Gi(a,Su,30);if(c){b.dataUrl=ec(c,1)||null;a:{var d=Gi(a,Su,30);switch(Qi(d,3,0)){case 9:d=Ll(d,IRb,2,Tu);d={remoteRefs:d&&ec(d,1)};break a;case 10:case 15:d=
Ll(d,HRb,4,Tu);var e=Uu(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:1===a.getType()?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};break a}d=null}b.uploadMetadata=d}(d=c&&Ll(c,HRb,4,Tu))&&(b.id=d.getPhotoId());(d=c&&Ll(c,JRb,5,Tu))&&(b.contentId=ec(d,1));(d=c&&Ll(c,GRb,6,Tu))&&(b.contentId=ec(d,1));1===(null==c?void 0:Qi(c,3,0))&&(b.mediaKey=a.getId().getId());return b},Esc=function(a){var b;switch((null==(b=Gi(a,Su,
30))?void 0:Qi(b,3,0))||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},jU=function(a){switch(a.getType()){case 1:case 21:return"photo";case 2:return"video";case 6:return"folder";case 13:return"calendar";case 14:return"album";case 19:return"contact";case 3:case 4:case 5:case 7:case 12:return a.getMimeType().startsWith("application/vnd.google-apps.")?
"document":"file";default:return"file"}};var Fsc=function(a){this.obj_=a};g=Fsc.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 Gsc=function(a){this.obj_=a||{}};g=Gsc.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 Hsc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new Fsc(a.obj_.attributes)},Jnc=function(a){return(a=a.obj_.timeout)?a:null};var Isc=function(){Gsc.apply(this,arguments)};Y(Isc,Gsc);var Jsc=Xt(["https://apis.google.com/js/api.js"]),Ksc=Ah(Jsc),Osc=function(a,b){var c=!1,d=Lsc(a,b).then(function(f){c=!0;return f}),e=k1b(5E3).then(function(){return c?Lsc(a,b):Msc(b).then(function(f){return Nsc(f,a)})});return X0b([d,e])},Lsc=function(a,b){return Psc(b).then(function(c){return Nsc(c,a)})},Nsc=function(a,b){var c=0==b.lastIndexOf("gapi.",0)?b.slice(5):b;return a[c]?dC(a[c]):new cC(function(d,e){var f=Mq(function(){e(Error("je"))},3E4);a.load(b,{callback:function(){Nq(f);d(a[c])},
onerror:function(h){Nq(f);e(h)}})})},Psc=function(a){return a.gapi&&a.gapi.load?dC(a.gapi):Msc(a)},Msc=function(a){return ZMa(Ksc,{document:a.document}).then(function(){return a.gapi})},Qsc=function(){};Qsc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return Osc(a,b).then(function(d){var e=Date.now();return{library:d,loadStartMs:c,loadEndMs:e}},function(d){throw d instanceof Error?d:Error(String(d));})};var Rsc=function(){CB.call(this);this.gapiLoader_=new Qsc;this.origin_=null;this.gapiPickerIframeResolver_=Z0b();this.gapiIframesResolver_=Z0b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};Y(Rsc,CB);
var Ssc=function(a,b){var c=Cp("gapi.iframes",b);return c?(a=Date.now(),dC({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},Tsc=function(a,b,c,d,e,f){var h=!0;h=void 0===h?!1:h;Ssc(a,XB(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var t=l.resolve,w=h;w=void 0===w?!1:w;var B={};B["host-message-handler"]=c;a.hostMessageHandlerInternal_=B;var D=AD(d);D=AD(D);D=rD(qD(new Op,D.scheme_),D.getDomain()).setPort(D.getPort()).toString();
a.origin_=D;D=(new Isc).setUrl(d);D.obj_.where=b;D.obj_.allowPost=w;D.obj_.messageHandlers=B;w=Cp("makeWhiteListIframesFilter",q)([a.origin_]);D.obj_.messageHandlersFilter=w;null!=e&&D.setId(e);null!=f&&(D.obj_.rpctoken=f);Hsc(D).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");Hsc(D).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(D.value());t.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});return a.gapiPickerIframeResolver_.promise},
Usc=function(a,b){return W0b([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,Cp("makeWhiteListIframesFilter",c)([a.origin_])):S0b(Error("ke"))})};Rsc.prototype.disposeInternal=function(){Vsc(this);CB.prototype.disposeInternal.call(this)};var Vsc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var Wsc=function(){this.nextId=0};Wsc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var Ysc=function(a,b){switch(a.action){case "select-contacts":a=Xsc(a.contacts);break;case "visibility":a=a.visible;a=(new Yu).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?Usc(b,a):dC()},Xsc=function(a){if(!a||0==a.length)return null;var b=new Yu;b.setCommand(11);var c=new Wsc;a.forEach(function(d){if(d.email){var e=(new vu).setName(d.name?d.name:d.email);var f=new Ru;d=Ub(f,1,sb,d.email);e=hj(e,Ru,27,d).setId((new Ou).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var lU=function(a,b,c){Jp.call(this);this.target=a;this.handle=b||a;this.limits=c||new OS(NaN,NaN,NaN,NaN);this.document_=QB(a);this.eventHandler_=new es(this);fq(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;Kp(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=Zsc};hu(lU,Jp);
var Zsc=da.document&&da.document.documentElement&&!!da.document.documentElement.setCapture&&!!da.document.releaseCapture;g=lU.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){lU.superClass_.disposeInternal.call(this);JB(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
g.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||hs&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new mU("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(XB(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=WB(Mp(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new mU("end",this,a.clientX,a.clientY,a,$sc(this,this.deltaX),atc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new mU("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=btc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new mU("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(ctc(this,a,b,c),a.preventDefault())};var btc=function(a,b,c){var d=WB(Mp(a.document_).document_);b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new ms($sc(a,a.deltaX),atc(a,a.deltaY))};lU.prototype.onScroll_=function(a){var b=btc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;ctc(this,a,b.x,b.y)};
var ctc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new mU("drag",a,b.clientX,b.clientY,b,c,d))},$sc=function(a,b){var c=a.limits;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))},atc=function(a,b){var c=a.limits;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))};lU.prototype.isDragging=function(){return this.dragging_};
var mU=function(a,b,c,d,e,f,h){DB.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==f?f:b.deltaX;this.top=void 0!==h?h:b.deltaY};hu(mU,DB);var nU=function(a){this.map_=new Map;var b=arguments.length;if(1<b){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=nU.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a,b){var c=this;b=void 0===b?function(d,e){return d===e}:b;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.map_.get(d),a.get(d))})};g.isEmpty=function(){return 0==this.map_.size};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof nU){a=k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new nU(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 dtc=[[],[]],etc=0,ftc=!1,gtc=0,itc=function(a,b){var c=gtc++,d={measureTask:{id:c,fn:a.measure,context:b},mutateTask:{id:c,fn:a.mutate,context:b},state:{},args:void 0,isScheduled:!1};return function(){0<arguments.length?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&0!=d.args.length?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.isScheduled||(d.isScheduled=!0,dtc[etc].push(d));ftc||(ftc=!0,window.requestAnimationFrame(htc))}},htc=
function(){ftc=!1;var a=dtc[etc],b=a.length;etc=(etc+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 jtc=bs?zh(gv(new fv(ev,'javascript:""'))):zh(gv(new fv(ev,"about:blank")));wc(jtc);var ktc=bs?zh(gv(new fv(ev,'javascript:""'))):zh(gv(new fv(ev,"javascript:undefined")));wc(ktc);var ltc=function(a,b){this.element_=a;this.dom_=b};var oU=function(a,b){iU.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=itc({mutate:this.resizeBackground_},this);itc({mutate:this.updateModalAndBackground_},this)};hu(oU,iU);g=oU.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(){oU.superClass_.createDom.call(this);var a=this.getElement();MS(a,ti(this.getCssClass()).split(" "));a.tabIndex=0;SS(a,!1);mtc(this);ntc(this)};
var mtc=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=wc(jtc).toString();a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";SS(a.bgIframeEl_,!1);Zoc(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),SS(a.bgEl_,!1))},ntc=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),SS(a.tabCatcherElement_,!1),
a.tabCatcherElement_.tabIndex=0,a.tabCatcherElement_.style.position="absolute")};g=oU.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&"DIV"==a.tagName};g.decorateInternal=function(a){oU.superClass_.decorateInternal.call(this,a);a=ti(this.getCssClass()).split(" ");MS(this.getElement(),a);mtc(this);ntc(this);this.getElement().tabIndex=0;SS(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);oU.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new nsc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);otc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Xh(this.focusHandler_);oU.superClass_.exitDocument.call(this);YB(this.bgIframeEl_);YB(this.bgEl_);YB(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_&&otc(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_);ptc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)HB(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_)HB(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 otc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new ltc(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_||l8b(d,"hidden")||(FF(d,"hidden",!0),a.hiddenElements_.push(d))}}else if(a.hiddenElements_){for(c=0;c<a.hiddenElements_.length;c++)a.hiddenElements_[c].removeAttribute("aria-hidden");a.hiddenElements_=null}};
oU.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var ptc=function(a,b){a.bgIframeEl_&&SS(a.bgIframeEl_,b);a.bgEl_&&SS(a.bgEl_,b);SS(a.getElement(),b);SS(a.tabCatcherElement_,b)};g=oU.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){ptc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&SS(this.bgIframeEl_,!1);this.bgEl_&&SS(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=qtc(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_&&(SS(this.bgIframeEl_,!0),Yoc(this.bgIframeEl_,c,a));this.bgEl_&&(SS(this.bgEl_,!0),Yoc(this.bgEl_,c,a))};
g.reposition=function(){if("fixed"==gq(this.getElement(),"position"))var a=0,b=0;else b=WB(this.getDomHelper().document_),a=b.x,b=b.y;var c=os(this.getElement());var d=qtc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);ps(this.getElement(),a,b);ps(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Mq(this.focusElement_,0,this)};
g.focusElement_=function(){try{bs&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var qtc=function(a){a=a.getDomHelper().document_;return UB(XB(a)||window)};oU.prototype.disposeInternal=function(){Xh(this.popupShowTransition_);this.popupShowTransition_=null;Xh(this.popupHideTransition_);this.popupHideTransition_=null;Xh(this.bgShowTransition_);this.bgShowTransition_=null;Xh(this.bgHideTransition_);this.bgHideTransition_=null;oU.superClass_.disposeInternal.call(this)};var rU=function(a,b,c){oU.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=pU(pU(new qU,rtc,!0),stc,!1,!0)};hu(rU,oU);g=rU.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_&&$B(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var ttc=function(a){a.getElement()||a.render();return a.getElement()};rU.prototype.getBackgroundElement=function(){this.getElement()||this.render();return rU.superClass_.getBackgroundElement.call(this)};
var utc=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&Zoc(b,a.backgroundElementOpacity_)};rU.prototype.handleDrag=function(){};
var vtc=function(a,b){var c=ti(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?MS(a.titleEl_,c):Soc(a.titleEl_,c));b&&!a.dragger_?(b=new lU(a.getElement(),a.titleEl_),a.dragger_=b,MS(a.titleEl_,c),Kp(a.dragger_,"start",a.setDraggerLimits_,!1,a),Kp(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=rU.prototype;
g.createDom=function(){rU.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"));u0b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));EF(this.titleTextEl_,"heading");EF(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;m8b(this.titleCloseEl_,"Close");EF(a,"dialog");FF(a,"labelledby",this.titleTextId_||"");SS(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());SS(this.buttonEl_,!!this.buttons_);utc(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){rU.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=TB(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_=TB(document,null,b,a)[0])?(this.titleTextEl_=TB(document,null,c,this.titleEl_)[0],this.titleCloseEl_=TB(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=B0b(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=s0b("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;FF(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
SS(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=TB(document,null,b,a)[0])?(this.buttons_=new qU(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()),SS(this.buttonEl_,!!this.buttons_));utc(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){rU.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_);vtc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();EF(a,"dialog");""!==this.titleTextEl_.id&&FF(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()&&otc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);vtc(this,!1);rU.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),rU.superClass_.setVisible.call(this,a))};g.onShow=function(){rU.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){rU.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=UB(XB(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=os(this.getElement());"fixed"==gq(this.getElement(),"position")?this.dragger_.limits=new OS(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new OS(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){wtc(this)};var wtc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new xtc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},ytc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&SS(a.titleCloseEl_,a.hasTitleCloseButton_)};rU.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};rU.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;rU.superClass_.disposeInternal.call(this)};
rU.prototype.onButtonClick_=function(a){a:{for(a=a.target;null!=a&&a!=this.buttonEl_;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new xtc(a,b))&&this.setVisible(!1)}};
rU.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type)if(this.escapeToCancel_&&27==a.keyCode){var f=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new xtc(f,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(w){}Mq(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)wtc(this);else if(d){var h=d.defaultButton_,l;if(l=h)a:{l=SB("BUTTON",d.element_);for(var q=0,t;t=l[q];q++)if(t.name==h||t.id==h){l=t;break a}l=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!l||l.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new xtc(f,String(d.get(f)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||wtc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var xtc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};hu(xtc,DB);var qU=function(a){nU.call(this);this.dom_=a||Mp();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};hu(qU,nU);qU.prototype.clear=function(){nU.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};qU.prototype.set=function(a,b,c,d){nU.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var pU=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};qU.prototype.render=function(){if(this.element_){$Qa(this.element_,Sr);var a=Mp(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)}};
qU.prototype.decorate=function(a){if(a&&1==a.nodeType){this.element_=a;a=SB("BUTTON",this.element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=B0b(c)||c.value,d){var f=0==b;this.set(d,e,f,"cancel"==c.name);f&&Qoc(c,this.class_+"-default")}}};qU.prototype.getElement=function(){return this.element_};qU.prototype.getDomHelper=function(){return this.dom_};
var rtc={key:"ok",caption:"OK"},stc={key:"cancel",caption:"Cancel"},ztc={key:"yes",caption:"Yes"},Atc={key:"no",caption:"No"},Btc={key:"save",caption:"Save"},Ctc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(pU(new qU,rtc,!0,!0),pU(pU(new qU,rtc,!0),stc,!1,!0),pU(pU(new qU,ztc,!0),Atc,!1,!0),pU(pU(pU(new qU,ztc),Atc,!0),stc,!1,!0),pU(pU(pU(new qU,Ctc),Btc),stc,!0,!0));var Dtc=function(a,b,c){rU.call(this,a,b,c)};hu(Dtc,rU);var eq=function(a,b){Jp.call(this);this.element_=a;a=ZB(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&TS(a);this.listenKey_=Kp(this.element_,ku?"DOMMouseScroll":"mousewheel",this,b)};hu(eq,Jp);
eq.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=Etc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=Etc(-d.wheelDeltaX),c=Etc(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.maxDeltaX_&&(b=Math.min(Math.max(b,-this.maxDeltaX_),this.maxDeltaX_));"number"===typeof this.maxDeltaY_&&(c=Math.min(Math.max(c,-this.maxDeltaY_),this.maxDeltaY_));this.isRtl_&&(b=-b);b=new Ftc(a,d,b,c);this.dispatchEvent(b)};
var Etc=function(a){return lu&&(hs||rQb)&&0!=a%40?a:a/40};eq.prototype.disposeInternal=function(){eq.superClass_.disposeInternal.call(this);KB(this.listenKey_);this.listenKey_=null};var Ftc=function(a,b,c,d){EB.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};hu(Ftc,EB);var Gtc;var Htc=Xt(["https://about:blank"]),Itc=Xt(['javascript:""']),Jtc=Xt(["about:blank"]),sU=function(a,b,c,d,e,f,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;rU.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);v2b(a,"protocol");this.iframeManager_=new Rsc;this.targetId_=kv();this.rpcToken_=kv();this.useGapi_=!q&&!0;a=AD(a);yD(a,"hostId");l&&xD(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=yD(AD(a.toString()),
"hostId"),Gtc||(Gtc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!Gtc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b="true"==yD(AD(this.url_),"grugl")?msc:lsc,dVa(h)||(h=h||Mp(document),d=h.createElement("SCRIPT"),xc(d,b),d.type="text/javascript",h.document_.body.appendChild(d)));b=a.toString();h=null;a=b.indexOf("/picker?");
-1<a?h=b.substring(0,a+8-1):iu(b,"/picker")&&(h=b);h&&this.setRelayUrl(h+"/resources/rpc_relay.html");this.escapeToCancel_=!1;this.buttons_=null;this.buttonEl_&&(this.buttons_?(b=this.buttons_,b.element_=this.buttonEl_,b.render()):$Qa(this.buttonEl_,Sr),SS(this.buttonEl_,!!this.buttons_))};hu(sU,Dtc);g=sU.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){sU.superClass_.enterDocument.call(this);hVa(this.getBackgroundElement(),this.getHandler())};g.render=function(a){var b=this;sU.superClass_.render.call(this,a);this.useGapi_?Ssc(this.iframeManager_,window).then(function(){return Ktc(b)}).then(null,function(c){return void b.handleError_(c)}):Ltc(this)};
var Ktc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);SS(b,!1);a.getContentElement().appendChild(b);return Tsc(a.iframeManager_,b,function(c){var d=NRb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=Gi(d,LRb,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList(zi);d=0===f.length?{action:e}:Asc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:ytc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();Mtc(a);SS(a.iframe_.parentElement,!0);Qoc(a.getElement(),"picker-dialog");Ntc(a);return c})},Ltc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Zda(a.iframe_,Otc(a));Qoc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void Mtc(a)});
a.iframe_.src=a.url_;Ntc(a)},Qtc=function(a){Ptc(a,fu(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},Ntc=function(a){var b=yD(AD(a.url_),"title");b&&a.setTitle(b)},Otc=function(a){return 7<=taa()&&0==a.url_.lastIndexOf("https",0)?Ah(Htc):bs?Ah(Itc):Ah(Jtc)},Mtc=function(a){Qtc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};sU.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};
var Ptc=function(a,b){var c=a.gadgetsDomHelper_;fVa(function(){b(c.getWindow().gadgets.rpc)},c)};sU.prototype.setUrl=function(a){a=xD(new Op(a),"rpcService",this.targetId_);xD(a,"rpctoken",this.rpcToken_);tD(a,"rpctoken="+this.rpcToken_);qD(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};sU.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&Rtc(this)};
sU.prototype.setCallback=function(a){this.callback_=a;Ptc(this,fu(function(b){b.register(this.targetId_,fu(this.handlePickerAction_,this))},this))};sU.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new isc(this.isVisible())),Rtc(this),ytc(this),this.getHandler().unlisten(this.getDomHelper().getWindow(),"keydown",this.handleKeydown_),this.iframe_.tabIndex=0);"picked"!=b&&"cancel"!=b||this.setVisible(!1);this.callback_(a)};
var Rtc=function(a){a.appId_&&a.sendCommand(new cVa(a.appId_,window.location.protocol+"//"+window.location.host))};g=sU.prototype;g.setRelayUrl=function(a){Ptc(this,fu(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&Ysc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});Ptc(this,fu(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=XB(a)||window;if("true"==yD(AD(this.url_),"ignoreLimits"))a=new OB(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==yD(AD(this.url_),"shadeDialog")){var b=dpc(ttc(this)),c=UB(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 OB(0<a?a:0,0<c?c:0)}else{b=this.preferredDialogWidth_;if(b){b=Math.max(320,Math.min(1051,b));c=this.preferredDialogHeight_;
c||(c=UB(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=UB(a),b=.618*c.width,d=b<c.height?Math.round(Math.max(480,Math.min(650,.85*b))):Math.round(Math.max(480,Math.min(650,.85*c.height))),b=Math.round(d/.618);c=UB(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new OB(b,d)}Yoc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if("true"==yD(AD(this.url_),"shadeDialog")){var a=os(this.getElement()),b=UB(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=dpc(ttc(this))){var c=b.left?b.left:0;c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=WB(this.getDomHelper().document_).y;ps(this.getElement(),a,b)}else sU.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_))}sU.superClass_.setVisible.call(this,a);this.sendCommand(new isc(a))};
g.focus=function(){sU.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 tU=function(a,b){b=void 0===b?sU:b;esc.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(tU,fsc);tU.prototype.disposeOnHide_=!1;
tU.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(tD(sD(AD(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("le");var a=new this.pickerConstructor(Stc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.appId_);a.setCallback(this.callback_);return a};
var Ttc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=tU.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 Utc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=tU.prototype;
g.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};g.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};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 Stc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",csc(a.nav_));var b=new Op(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){xD(b,d,c)});return b};var uU=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new Uv;this.onCloneBlob=new Uv;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
uU.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=Utc(Ttc(Ttc(Ttc(Ttc((new tU(this.onePickUrl)).addView(Wrc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=k(c.docs),e=d.next();!e.done;e=d.next())e=new Trc(e.value),c.extraUserInputs.isAttachment?(e=new Urc(e),Vrc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};uU.\u0275fac=function(a){return new (a||uU)(C(Zr),C(qQ))};
uU.\u0275cmp=r({type:uU,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"click","disabled"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"button",1),N("click",function(){return b.showDialog()}),K(2,"mat-icon",2),I()());a&2&&(A(),F("disabled",
b.disabled))},dependencies:[nB,CA,nE,OC],encapsulation:2});var vU=function(a,b,c){Z.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new Uv;this.el=a.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility="hidden";this.cloneEl.style.position=
"absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};Y(vU,Z);vU.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&Vtc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){Vtc(a,2)}))};vU.prototype.onInput=function(){Vtc(this,1)};
var Vtc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=k("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=hq(d.getPropertyValue("border-top-width"))+hq(d.getPropertyValue("padding-top"))+c.scrollHeight+hq(d.getPropertyValue("padding-bottom"))+hq(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=hq(d.getPropertyValue("max-height")),d=hq(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})))};vU.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};vU.\u0275fac=function(a){return new (a||vU)(C(Wd),C(nH),C(JN))};
vU.\u0275dir=jd({type:vU,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&N("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[Ff]});var Wtc=["el"],wU=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};wU.prototype.getNgContentParentEl=function(){return this.el.nativeElement};wU.prototype.hide=function(){this.opened=!1};wU.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};wU.\u0275fac=function(a){return new (a||wU)(C(mR),C(lI),C(XN))};
wU.\u0275cmp=r({type:wU,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&lg(Wtc,7);if(a&2){var c;pg(c=qg())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},ngContentSelectors:["*"],decls:8,vars:3,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["svgIcon","link-off",1,"broken","icon-s"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],[1,"b-bubble","flex-kids-y",3,"clickOutside"],[1,"flex-kids-x"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"],[3,"click","href"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"a",2,0);N("click",function(d){x(c);d.preventDefault();d.stopPropagation();b.opened=!b.opened;return y()});G(2,"b-glue");K(3,"mat-icon",3);I();G(4,"span",null,1);dg(6);I()();E(7,mVa,11,4,"ng-template",4)}a&2&&(a=R(1),
A(7),F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[nB,Xy,Wy,cP,GN,CA,nE,OC],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 Xtc=function(){this.checked=!1};Xtc.\u0275fac=function(a){return new (a||Xtc)};Xtc.\u0275cmp=r({type:Xtc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[[3,"disabled","checked"]],template:function(a,b){a&1&&K(0,"mat-checkbox",0);a&2&&F("disabled",!0)("checked",b.checked)},dependencies:[KM,LM],encapsulation:2,changeDetection:0});var Ytc=["el"],xU=function(a,b,c){Z.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};Y(xU,Z);xU.\u0275dir=Z.\u0275dir;xU.prototype.ngOnInit=function(){};xU.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(xf(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};xU.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var Ztc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=kVa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};xU.prototype.hide=function(){this.opened=!1};var oVa=function(a,b){lVa(b)||(b.preventDefault(),b.stopPropagation(),iq(a.domSafe,a.href))};xU.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var qVa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},pVa=function(a,b){if(b.shiftKey&&"Tab"===b.key&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var c=a.querySelector("button");c&&setTimeout(function(){c.focus()})}};xU.\u0275fac=function(a){return new (a||xU)(C(XN),C(mR),C(lI))};
xU.\u0275cmp=r({type:xU,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(lg(Ytc,7),lg(Xy,7));if(a&2){var c;pg(c=qg())&&(b.el=c.first);pg(c=qg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[Ff],ngContentSelectors:["*"],decls:7,vars:8,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","",1,"keep-focus-ring",3,"click","href","rel"],[4,"ngIf"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",
3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["svgIcon","link",1,"icon-s"],[1,"b-bubble",3,"clickOutside"],[1,"gmat-caption"],["target","_blank",1,"keep-focus-ring",3,"click","keydown","href","rel"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"keydown.Tab","click"],["svgIcon","copy"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"a",2,0);N("click",function(d){x(c);lVa(d)||(d.preventDefault(),d.stopPropagation(),
Ztc(b)?b.opened=!b.opened:oVa(b,d));return y()});E(2,nVa,2,0,"b-glue",3);G(3,"span",null,1);dg(5);I()();E(6,rVa,6,3,"ng-template",4)}a&2&&(a=R(1),Qf("needs-user-confirm",Ztc(b)),F("href",b.originalHref,Ye)("rel",b.EXTERNAL_LINK_REL),A(2),F("ngIf",Ztc(b)),A(4),F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[zw,nB,Xy,Wy,cP,GN,CA,nE,OC],styles:[".tooltip-panel{display:inline-block;margin:.1em}[_nghost-%COMP%] > a.needs-user-confirm[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}.b-bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-width:1px;border-style:solid;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;box-shadow:0 4px 8px 3px rgba(60,64,67,.15);padding:9px;background-color:#fff;background-color:var(--surface-default)}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px}"],
changeDetection:0});var $tc=["child"],yU=function(a){this.codefont=a};yU.prototype.ngOnInit=function(){};yU.prototype.ngOnChanges=function(){jVa(this.child.nativeElement,this.content.content)};yU.\u0275fac=function(a){return new (a||yU)(C(eP))};
yU.\u0275cmp=r({type:yU,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&lg($tc,7);if(a&2){var c;pg(c=qg())&&(b.child=c.first)}},inputs:{content:"content"},features:[xd],decls:3,vars:4,consts:[["child",""],[1,"type-m","child"]],template:function(a,b){a&1&&(K(0,"div",1,0),V(2,"async"));a&2&&Qf("codefont",W(2,2,b.codefont.codefont$))},dependencies:[Iw],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var zU=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(z(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),lf());this.textDisplayPreferences$.pipe(z(function(c){return c.lastPublishMode===w5b}),lf());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(z(function(c){return c.commentDisplayOverride}),lf())};zU.\u0275fac=function(a){return new (a||zU)(p(Zr),p(zF))};
zU.\u0275prov=Pc({token:zU,factory:zU.\u0275fac,providedIn:"root"});var auc=new rd("IssueCard");var AU=function(){};AU.prototype.visit=function(){};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275prov=Pc({token:AU,factory:AU.\u0275fac,providedIn:"root"});var buc=["el"],BU=function(a){this.viewContainerRef=a};BU.\u0275fac=function(a){return new (a||BU)(C(jg))};BU.\u0275dir=jd({type:BU,selectors:[["","issueCardHost",""]]});var CU=function(a,b){Z.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new X.ReplaySubject(1)};Y(CU,Z);CU.\u0275dir=Z.\u0275dir;CU.prototype.ngOnInit=function(){};
CU.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(xf(this.destroyed$)).subscribe(function(b){a.issueCard&&0!==b.length&&(b=a.issueCardHost.first.viewContainerRef.createComponent(a.issueCard),b.instance.issueId=a.issueId,b.instance.init.pipe(mf(),xf(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
CU.prototype.visit=function(a){if(!lVa(a))if(this.commentNumber)this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+this.commentNumber,event:a});else{var b=this.href.indexOf("#");if(-1!==b&&(b=this.href.slice(b+1))){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:b,event:a});return}this.issueReferenceResolver.visit({issueId:this.issueId,event:a})}};CU.\u0275fac=function(a){return new (a||CU)(C(AU),C(auc,8))};
CU.\u0275cmp=r({type:CU,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(lg(buc,7),lg(BU,5));if(a&2){var c;pg(c=qg())&&(b.el=c.first);pg(c=qg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[Ff],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=v();cg();G(0,"onedev-hovercard",null,0);E(2,sVa,2,1,"div",2);I();G(3,"a",3,1);N("click",function(d){x(c);return y(b.visit(d))});dg(5);I()}a&2&&(a=R(1),A(3),F("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.issueCard)("href",b.href,Ye))},dependencies:[JL,KL,OL,LL,BU],encapsulation:2,changeDetection:0});var DU=function(){this.isMentioningMe=!1};DU.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};DU.\u0275fac=function(a){return new (a||DU)};
DU.\u0275cmp=r({type:DU,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},decls:6,vars:5,consts:[["el",""],["card",""],[1,"mention",3,"onedevHovercardTrigger"],[3,"email"]],template:function(a,b){a&1&&(G(0,"span",2,0),S(2),I(),G(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",3),I());a&2&&(a=R(4),Qf("me",b.isMentioningMe),F("onedevHovercardTrigger",a),A(2),T("@",b.username,""),A(3),F("email",b.email))},dependencies:[LQ,JL,OL],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 cuc=Symbol(),duc=Symbol(),euc=Symbol(),fuc=Symbol(),guc=Symbol(),huc=Symbol(),EU=function(a,b,c){this.appRef=a;this.flags=b;this.session=c;this.allComponentRefs=[];this.secureImageRefs=[];this.snipItImageRefs=[];this.mentionChipRefs=[];this.checkboxRefs=[];this.externalHyperlinkRefs=[];this.brokenLinkRefs=[];this.issueReferenceRefs=[]},kuc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var f=d[e],h=f.dataset.bId;h&&(f.id=h)}d=k(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&EKa(h)&&e&&kVa(e)&&h===e.textContent&&(f=e.nextSibling,iuc(a,e,h,void 0,c),h=void 0,null!=(h=f)&&h.textContent&&(h=f.textContent.match(/(^[^\w]+)/))))h=h[1],f.textContent=f.textContent.substring(h.length),f=document.createElement("span"),f.textContent=h,e.insertAdjacentElement("afterend",f);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(h=d[e],h.dataset.bWidget){case "image":f=a;var l=h,q=c;h=l.dataset.bImgSrc;var t=l.dataset.bImgRedirectedSrc;
tVa(l);if(h){var w=l.dataset.bImgAlt;if(EKa(h))iuc(f,l,h,w,q,!0);else if(hE(f.flags.session,"enableMarkdownInlineImages"))l=f.createComponent(NN,l,q),q=l.instance,q.src=h,w&&(q.alt=w),f.secureImageRefs.push(l);else{var B=document.createElement("a");w?B.appendChild(document.createTextNode(w)):B.appendChild(document.createTextNode(h));l.appendChild(B);juc(f,B,h,t||h,q)}}break;case "checkbox":f=a;w=h;l=c;h=null!=w.dataset.bCheckboxChecked;tVa(w);w=f.createComponent(Xtc,w,l);w.instance.checked=h;f.checkboxRefs.push(w);
break;case "url":f=a;w=c;l=h.dataset.bOriginalHref;q=h.dataset.bRedirectedHref;l&&q&&(h.removeAttribute("href"),juc(f,h,l,q,w));break;case "broken-url":f=a;w=h;q=c;if(l=w.dataset.bOriginalHref){h=Array.from(w.childNodes);w=f.createComponent(wU,w,q);q=w.instance;q.originalHref=l;l=q.getNgContentParentEl();h=k(h);for(q=h.next();!q.done;q=h.next())l.appendChild(q.value);f.brokenLinkRefs.push(w)}break;case "mention":a.session.isInternalSession()&&(w=void 0,f=a,l=h,q=c,h="","@"===(null==(w=l.textContent)?
void 0:w[0])&&(h=l.textContent.slice(1)),tVa(l),w=f.createComponent(DU,l,q),l=w.instance,l.email=h,l.isMentioningMe=f.session.getUserEmail()===h,f.mentionChipRefs.push(w));break;case "issue-reference":t=void 0;f=a;var D=c;w=h.href;l=h.dataset.bIssueId;q=h.dataset.bCommentNumber;if(w&&l){B=Number(q);q=Array.from(h.childNodes);var J=document.createElement("span");null==(t=h.parentNode)||t.insertBefore(J,h);t=f.createComponent(CU,J,D);D=t.instance;D.href=w;D.issueId=l;D.commentNumber=B;w=D.el.nativeElement;
l=k(q);for(q=l.next();!q.done;q=l.next())w.appendChild(q.value);h.remove();f.issueReferenceRefs.push(t)}}a=b.querySelectorAll("a");for(c=0;c<a.length;c++)d=a[c],d.getAttribute("target")||d.setAttribute("target","_self");a=b.querySelectorAll("table");for(c=0;c<a.length;c++)d=a[c],d.parentNode&&(e=document.createElement("div"),e.classList.add("table-overflow"),e.tabIndex=-1,d.parentNode.insertBefore(e,d),e.appendChild(d));b=k(b.querySelectorAll("pre"));for(a=b.next();!a.done;a=b.next())a.value.tabIndex=
-1};EU.prototype.ngOnDestroy=function(){luc(this)};
var iuc=function(a,b,c,d,e,f){f=void 0===f?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(PN,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},juc=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(xU,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=k(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
EU.prototype.createComponent=function(a,b,c){a=Pma(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);tUb(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};
var luc=function(a){for(var b=k(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};EU.prototype[cuc]=function(){return this.secureImageRefs.slice()};EU.prototype[duc]=function(){return this.snipItImageRefs.slice()};EU.prototype[euc]=function(){return this.checkboxRefs.slice()};EU.prototype[fuc]=function(){return this.externalHyperlinkRefs.slice()};
EU.prototype[guc]=function(){return this.brokenLinkRefs.slice()};EU.prototype[huc]=function(){return this.issueReferenceRefs.slice()};EU.\u0275fac=function(a){return new (a||EU)(p(sw),p(zU),p(Zr))};EU.\u0275prov=Pc({token:EU,factory:EU.\u0275fac});var muc=["child"],nuc=Symbol(),FU=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};FU.prototype.ngOnInit=function(){};FU.prototype.ngOnChanges=function(){luc(this.dynamicComponents);var a=this.child.nativeElement;jVa(a,this.content.content);kuc(this.dynamicComponents,a,this.viewContainerRef)};FU.prototype.ngOnDestroy=function(){luc(this.dynamicComponents)};FU.prototype[nuc]=function(){return this.dynamicComponents};
FU.\u0275fac=function(a){return new (a||FU)(C(EU,2),C(eP),C(jg))};
FU.\u0275cmp=r({type:FU,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&lg(muc,7);if(a&2){var c;pg(c=qg())&&(b.child=c.first)}},inputs:{content:"content"},features:[wg([{provide:EU,useClass:EU}]),xd],decls:3,vars:4,consts:[["child",""],[1,"type-m","markdown-display"]],template:function(a,b){a&1&&(K(0,"div",1,0),V(2,"async"));a&2&&Qf("codefont",W(2,2,b.codefont.codefont$))},dependencies:[Iw],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 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-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body:not(.dark-mode) .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body:not(.dark-mode) .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body:not(.dark-mode) .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr,body:not(.dark-mode) .markdown-display .g3mark-callout-summary{border-color:#669df6;background:#e8f0fe;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-tip,body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice{border-color:#5bb974;background:#e6f4ea;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-note{border-color:#bdc1c6;background:#f8f9fa;color:#202124;background:#f1f3f4}body:not(.dark-mode) .markdown-display .g3mark-callout-warning{border-color:#ee675c;background:#fce8e6;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-important{border-color:#fa903e;background:#feefe3;color:#202124}body.dark-mode .markdown-display .stx-plain{color:inherit}body.dark-mode .markdown-display .stx-keyword{color:#d8884b}body.dark-mode .markdown-display .stx-keyword-strong{color:inherit}body.dark-mode .markdown-display .stx-string{color:#97c67b}body.dark-mode .markdown-display .stx-comment{color:#8c9292}body.dark-mode .markdown-display .stx-number{color:#79a9c4}body.dark-mode .markdown-display .stx-macro{color:#9dbed9}body.dark-mode .markdown-display .stx-class{color:inherit}body.dark-mode .markdown-display .stx-const{color:inherit}body.dark-mode .markdown-display .stx-escape-sequence{color:inherit}body.dark-mode .markdown-display .stx-deprecated{text-decoration:inherit}body.dark-mode .markdown-display .stx-doc-tag{text-decoration:inherit}body.dark-mode .markdown-display .stx-task-tag{font-weight:inherit}body.dark-mode .markdown-display .stx-atom{color:#cf7ea9}body.dark-mode .markdown-display .stx-definition{color:#75b3db}body.dark-mode .markdown-display .stx-type-id{color:#eede7b}body.dark-mode .markdown-display .stx-qualifier{color:#97c67b}body.dark-mode .markdown-display .stx-local-ref{color:#aac6e3}body.dark-mode .markdown-display .stx-md-entity{color:#d8884b}body.dark-mode .markdown-display .stx-md-bold{font-weight:bold}body.dark-mode .markdown-display .stx-md-italic{font-style:italic}body.dark-mode .markdown-display .stx-md-link{color:#d8884b}body.dark-mode .markdown-display .stx-md-code{color:#d8884b}body.dark-mode .markdown-display .stx-comment .stx-md-link,body.dark-mode .markdown-display .stx-comment .stx-md-code{color:#89b2cd}body.dark-mode .markdown-display 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-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body.dark-mode .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body.dark-mode .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body.dark-mode .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body.dark-mode .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body.dark-mode .markdown-display .g3mark-callout-tldr,body.dark-mode .markdown-display .g3mark-callout-tip,body.dark-mode .markdown-display .g3mark-callout-note,body.dark-mode .markdown-display .g3mark-callout-warning{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],encapsulation:2,
changeDetection:0});var ouc=["child"],puc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},GU=function(a){this.codefont=a};GU.prototype.ngOnInit=function(){};GU.\u0275fac=function(a){return new (a||GU)(C(eP))};
GU.\u0275cmp=r({type:GU,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},decls:3,vars:5,consts:[[1,"type-m"],[4,"ngFor","ngForOf"],[3,"section"]],template:function(a,b){a&1&&(G(0,"div",0),V(1,"async"),E(2,uVa,2,1,"ng-container",1),I());a&2&&(Qf("codefont",W(1,3,b.codefont.codefont$)),A(2),F("ngForOf",b.content.plainSection))},dependencies:function(){return[Dw,HU,Iw]},styles:[puc()],changeDetection:0});var HU=function(){};HU.prototype.ngOnInit=function(){};
HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275cmp=r({type:HU,selectors:[["b-plain-format-section"]],inputs:{section:"section"},decls:3,vars:2,consts:[[3,"section",4,"ngIf"],[3,"section"]],template:function(a,b){a&1&&(L(0),E(1,vVa,1,1,"b-plain-format-quoted-section",0)(2,wVa,1,1,"b-plain-format-unquoted-section",0),M());a&2&&(A(),F("ngIf",b.section.isQuoted),A(),F("ngIf",!b.section.isQuoted))},dependencies:function(){return[zw,IU,JU]},encapsulation:2,changeDetection:0});
var IU=function(){this.showQuote=!1;quc++;this.childId="plainFormatQuotedSection"+quc};IU.prototype.ngOnInit=function(){};IU.prototype.ngOnChanges=function(){xVa(this)};var xVa=function(a){var b=a.child.nativeElement;if(a.showQuote)jVa(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};IU.\u0275fac=function(a){return new (a||IU)};
IU.\u0275cmp=r({type:IU,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&lg(ouc,7);if(a&2){var c;pg(c=qg())&&(b.child=c.first)}},inputs:{section:"section"},features:[xd],decls:5,vars:3,consts:[["child",""],["class","showhide muted","tabindex","0","role","button","aria-expanded","false",3,"click",4,"ngIf"],["class","showhide muted","tabindex","0","role","button","aria-expanded","true",3,"click",4,"ngIf"],[1,"child",3,"id"],["tabindex","0","role","button","aria-expanded","false",
1,"showhide","muted",3,"click"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(G(0,"div"),E(1,yVa,2,1,"a",1)(2,zVa,2,1,"a",2),K(3,"div",3,0),I());a&2&&(A(),F("ngIf",!b.showQuote),A(),F("ngIf",b.showQuote),A(),F("id",b.childId))},dependencies:[zw],styles:[puc()],changeDetection:0});var quc=0,JU=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};JU.prototype.ngOnInit=function(){};
JU.prototype.ngOnChanges=function(){luc(this.dynamicComponents);var a=this.child.nativeElement;jVa(a,this.section.content);kuc(this.dynamicComponents,a,this.viewContainerRef)};JU.\u0275fac=function(a){return new (a||JU)(C(EU,2),C(jg))};
JU.\u0275cmp=r({type:JU,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&lg(ouc,7);if(a&2){var c;pg(c=qg())&&(b.child=c.first)}},inputs:{section:"section"},features:[wg([{provide:EU,useClass:EU}]),xd],decls:2,vars:0,consts:[["child",""],[1,"child"]],template:function(a){a&1&&K(0,"div",1,0)},encapsulation:2,changeDetection:0});var KU=function(){};KU.prototype.ngOnInit=function(){};KU.\u0275fac=function(a){return new (a||KU)};
KU.\u0275cmp=r({type:KU,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&E(0,AVa,2,1,"ng-container",0)(1,BVa,2,1,"ng-container",0)(2,CVa,2,1,"ng-container",0);a&2&&(F("ngIf",b.formattedComment.literalFormat),A(),F("ngIf",b.formattedComment.markdownFormat),A(),F("ngIf",b.formattedComment.plainFormat))},dependencies:[zw,yU,FU,GU],encapsulation:2,changeDetection:0});var ruc=function(a){this.internalArray_=m(a)};Y(ruc,n);g=ruc.prototype;g.getFormattingMode=function(){return Qi(this,1,0)};g.setFormattingMode=function(a){return zl(this,1,a)};g.getSource=function(){return ec(this,2)};g.setSource=function(a){return yl(this,2,a)};g.getIssueId=function(){return Zi(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,3)};g.getIssueId_asString=function(){return Eu(this,3)};g.setIssueId=function(a){return xl(this,3,a)};
g.getIdPrefix=function(){return ec(this,4)};g.setIdPrefix=function(a){return yl(this,4,a)};g.setAudience=function(a){return zl(this,6,a)};var suc=function(a){this.internalArray_=m(a,0,suc.messageId)};Y(suc,n);g=suc.prototype;g.getFormattingMode=function(){return Qi(this,1,0)};g.setFormattingMode=function(a){return jj(this,1,a)};g.getSource=function(){return ec(this,2)};g.setSource=function(a){return Zh(this,2,a)};g.hasSource=function(){return Ni(this,2)};g.getSourceOrUndefined=function(){return Ju(this,2)};g.getIssueId=function(){return Zi(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,3)};
g.getIssueId_asString=function(){return Eu(this,3)};g.setIssueId=function(a){return pj(this,3,a)};g.getIdPrefix=function(){return ec(this,4)};g.setIdPrefix=function(a){return Zh(this,4,a)};g.setAudience=function(a){return jj(this,6,a)};g.setCurrentTrackerId=function(a){oj(this,7,a)};g.getIt=function(){return Gi(this,ruc,8)};g.setIt=function(a){return hj(this,ruc,8,a)};g.hasIt=function(){return Ui(this,ruc,8)};suc.messageId="b.FormatCommentRequest";var LU=function(a){this.internalArray_=m(a)};Y(LU,n);LU.prototype.getFormattedComment=function(){return Gi(this,km,1)};LU.prototype.hasFormattedComment=function(){return Ui(this,km,1)};LU.prototype.getMentionsList=function(a){return Ii(this,UD,2,hi(a))};LU.repeatedFields_=[2];var MU=function(a){this.internalArray_=m(a,0,MU.messageId)};Y(MU,n);MU.prototype.getIt=function(){return Gi(this,LU,3)};MU.prototype.setIt=function(a){return hj(this,LU,3,a)};MU.prototype.hasIt=function(){return Ui(this,LU,3)};MU.messageId="b.FormatCommentResponse";var NU=function(a,b){this.executor=a;this.activeSession=b};NU.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?DVa(a):tuc(this,a).pipe(z(Xza))};
var tuc=function(a,b){var c,d=(new suc).setSource(b.comment).setIssueId(null!=(c=Bi(b.issueId))?c:0).setAudience(X4b[b.audience]).setFormattingMode(em(b.formattingMode)).setIdPrefix(b.idPrefix),e;(b=null==(e=a.activeSession.getTracker())?void 0:e.trackerId)&&d.setCurrentTrackerId(b);return a.executor.post({url:"action/formatComment",body:d,responseConstructor:MU})};NU.\u0275fac=function(a){return new (a||NU)(p(HE),p(Zr))};NU.\u0275prov=Pc({token:NU,factory:NU.\u0275fac,providedIn:"root"});var OU=function(a){Z.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL";this.formattingMode="LITERAL";this.params$=new X.ReplaySubject(1);this.formattedResult$=this.params$.pipe(jf(200),wf(function(c){return b.formatter.format(c).pipe(uuc,gf(function(){var d={literalFormat:{content:vh(c.comment)}};return(0,X.of)({formattedComment:d,isFallback:!0})}))}))};Y(OU,Z);OU.\u0275dir=Z.\u0275dir;
OU.prototype.ngOnInit=function(){var a=this;this.comment$&&this.subscriptions.add(this.comment$.subscribe(function(b){a.params$.next({comment:b,issueId:a.issueId,audience:null!=a.audience?a.audience:"EXTERNAL",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};OU.prototype.ngOnChanges=function(){null!=this.comment&&this.params$.next({comment:this.comment,issueId:this.issueId,audience:null!=this.audience?this.audience:"EXTERNAL",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
OU.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};OU.\u0275fac=function(a){return new (a||OU)(C(NU))};
OU.\u0275cmp=r({type:OU,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[Ff,xd],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(E(0,EVa,3,5,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.formattedResult$))},dependencies:[zw,KU,Iw],styles:["[_nghost-%COMP%]{display:block}.md-preview[_ngcontent-%COMP%]{min-height:32px;margin-top:16px}.md-preview[_ngcontent-%COMP%]{box-sizing:border-box;padding:8px;background-color:#f8f9fa;background-color:var(--c50);border-radius:4px}.md-preview.error[_ngcontent-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);box-shadow:inset 0 0 0 1px #ea4335;box-shadow:inset 0 0 0 1px var(--bad)}[_nghost-%COMP%]     .markdown-display pre, [_nghost-%COMP%]     .markdown-display code{background-color:#f1f3f4;background-color:var(--c100)}.bv2-note-container-note   [_nghost-%COMP%]   .md-preview[_ngcontent-%COMP%]{min-height:0;margin-top:0;padding:0;background-color:rgba(0,0,0,0)}/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var uuc=z(function(a){return{formattedComment:a,isFallback:!1}});var PU=function(a,b,c){Z.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new Uv;this.checkedSubject=new X.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(xf(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(xf(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};Y(PU,Z);PU.\u0275dir=Z.\u0275dir;PU.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};PU.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};PU.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(xf(this.destroyed$)).subscribe()};PU.\u0275fac=function(a){return new (a||PU)(C(zF),C(zU),C(TM))};
PU.\u0275cmp=r({type:PU,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[Ff,xd],decls:4,vars:4,consts:[["aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"change","checked"],["mat-icon-button","","matTooltip","Markdown Help","class","help small","aria-label","Markdown Help","target","_blank",3,"href","disableRipple",4,"ngIf"],["mat-icon-button","","matTooltip","Markdown Help","aria-label","Markdown Help",
"target","_blank",1,"help","small",3,"href","disableRipple"],["svgIcon","help-outline",1,"icon-xs"]],template:function(a,b){a&1&&(G(0,"mat-checkbox",0),V(1,"async"),N("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?w5b:e?e:x5b;b.save({lastPublishMode:d});b.change.emit(Ji(d))}),S(2," Markdown "),I(),E(3,FVa,2,2,"a",1));if(a&2){var c;F("checked",null!==(c=W(1,2,b.checkedSubject))&&void 0!==c?c:!1);A(3);F("ngIf",b.mdHelpLink)}},dependencies:[KM,LM,zw,nB,DA,nE,OC,Iw],encapsulation:2,
changeDetection:0});var QU=function(a,b){Z.call(this);var c=this;this.appEvents=b;this.init=new Uv;this.FormattingMode=SD;a.textDisplayPreferencesSubject$.pipe(xf(this.destroyed$)).subscribe(function(d){switch(d.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":c.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":c.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":c.formattingModeOverride="PLAIN";break;case void 0:c.formattingModeOverride=void 0;break;default:vc(d.commentDisplayOverride)}})};
Y(QU,Z);QU.\u0275dir=Z.\u0275dir;QU.prototype.ngOnInit=function(){};QU.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL":"EXTERNAL";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};QU.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
QU.\u0275fac=function(a){return new (a||QU)(C(zF),C(gH))};
QU.\u0275cmp=r({type:QU,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[Ff,xd],decls:5,vars:2,consts:[["livePreview",""],[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment",4,"ngIf","ngIfElse"],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(G(0,"div",1)(1,"div",2),E(2,
GVa,1,1,"b-formatted-comment-presenter",3),I()(),E(3,HVa,1,5,"ng-template",null,0,Eg));if(a&2){a=R(4);A(2);var c;if(c=b.note.formattedComment)c=b.note.formattedComment,c=!c||b.formattingModeOverride?!1:c.literalFormat&&"LITERAL"===b.formattingMode||c.plainFormat&&"PLAIN"===b.formattingMode||c.markdownFormat&&"MARKDOWN"===b.formattingMode?!0:!1;F("ngIf",c)("ngIfElse",a)}},dependencies:[zw,KU,OU],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 vuc=new rd("GMAT_TABS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1,appearance:"primary"}}});var wuc=function(a){this._items=a};wuc.prototype.hide=function(){this._items.forEach(function(a){return xuc(a)})};
var zuc=function(a,b){var c=a._items.find(function(h){return h.elementRef.nativeElement===b}),d=a._currentItem;if(c!==d&&(null==d||xuc(d),c)){var e,f;d=null==d?void 0:null==(f=(e=d.elementRef.nativeElement).getBoundingClientRect)?void 0:f.call(e);yuc(c,d);a._currentItem=c}},RU=function(){this._elementRef=bd(Wd);this._fitToContent=!1},yuc=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")},xuc=function(a){a._elementRef.nativeElement.classList.remove("mdc-tab-indicator--active")};RU.prototype.ngOnInit=function(){this._createInkBarElement()};
RU.prototype.ngOnDestroy=function(){var a;null==(a=this._inkBarElement)||a.remove();this._inkBarElement=this._inkBarContentElement=null};RU.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()};
RU.prototype._appendInkBarElement=function(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)};Ac.Object.defineProperties(RU.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitToContent},set:function(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}}});RU.\u0275fac=function(a){return new (a||RU)};
RU.\u0275dir=jd({type:RU,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Ng]},features:[Gf]});new rd("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Auc=new rd("MatTabContent"),SU=function(a){this.template=a};SU.\u0275fac=function(a){return new (a||SU)(C(ig))};SU.\u0275dir=jd({type:SU,selectors:[["","matTabContent",""]],standalone:!0,features:[wg([{provide:Auc,useExisting:SU}])]});var Buc=Bh("translateTab",[Fh("center, void, left-origin-center, right-origin-center",Eh({transform:"none"})),Fh("left",Eh({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Fh("right",Eh({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Hh("* => left, * => right, left => center, right => center",Ch("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Hh("void => left-origin-center",[Eh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
Ch("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Hh("void => right-origin-center",[Eh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Ch("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Cuc=function(a){return{animationDuration:a}},Duc=function(a,b){return{value:a,params:b}},TU=function(a,b,c,d){ry.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=X.Subscription.EMPTY};Y(TU,ry);
TU.prototype.ngOnInit=function(){var a=this;ry.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(vf(this._host._isCenterPosition(this._host._position))).subscribe(function(b){b&&!a.hasAttached()&&a.attach(a._host._content)});this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){a._host.preserveContent||a.detach()})};TU.prototype.ngOnDestroy=function(){ry.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
TU.\u0275fac=function(a){return new (a||TU)(C(qv),C(jg),C(Yc(function(){return UU})),C(qh))};TU.\u0275dir=jd({type:TU,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[Ff]});
var UU=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=X.Subscription.EMPTY;this._translateTabComplete=new X.Subject;this._onCentering=new Uv;this._beforeCentering=new Uv;this._afterLeavingCenter=new Uv;this._onCentered=new Uv(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(lf(function(e,f){return e.fromState===
f.fromState&&e.toState===f.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};g=UU.prototype;g.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
g._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};g._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
g._computePositionAnimationState=function(a){a=void 0===a?this._getLayoutDirection():a;this._position=0>this._positionIndex?"ltr"==a?"left":"right":0<this._positionIndex?"ltr"==a?"right":"left":"center"};g._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};Ac.Object.defineProperties(UU.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
UU.\u0275fac=function(a){return new (a||UU)(C(Wd),C(ty,8),C(Pg))};
UU.\u0275cmp=r({type:UU,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&lg(ry,5);if(a&2){var c;pg(c=qg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[yg],decls:3,
vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,b){if(a&1){var c=v();G(0,"div",1,0);N("@translateTab.start",function(d){x(c);return y(b._onTranslateTabStarted(d))})("@translateTab.done",function(d){x(c);return y(b._translateTabComplete.next(d))});E(2,IVa,0,0,"ng-template",2);I()}a&2&&F("@translateTab",Bg(3,Duc,b._position,Ag(1,Cuc,b.animationDuration)))},dependencies:[TU,Ey],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}\n'],
encapsulation:2,data:{animation:[Buc]}});var Euc=new rd("MAT_TABS_CONFIG");var Fuc=fh({passive:!0}),VU=function(a,b,c,d,e,f,h){var l=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=f;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new X.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new X.Subject;this.disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new Uv;this.indexFocused=new Uv;
this._sharedResizeObserver=bd($A);this._injector=bd(Ie);e.runOutsideAngular(function(){(0,X.fromEvent)(a.nativeElement,"mouseleave").pipe(xf(l._destroyed)).subscribe(function(){l._stopInterval()})})};g=VU.prototype;g.ngAfterViewInit=function(){var a=this;(0,X.fromEvent)(this._previousPaginator.nativeElement,"touchstart",Fuc).pipe(xf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,X.fromEvent)(this._nextPaginator.nativeElement,"touchstart",Fuc).pipe(xf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,X.of)("ltr"),c=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(jf(32),xf(this._destroyed)),d=this._viewportRuler.change(150).pipe(xf(this._destroyed)),e=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=dy(ey(hy(gy(new ky(this._items),this._getLayoutDirection()))),function(){return!1});iy(this._keyManager,this._selectedIndex);Ne(e,{injector:this._injector});(0,X.merge)(b,
d,c,this._items.changes,this._itemsResized()).pipe(xf(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));e()})});gy(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(f){a.indexFocused.emit(f);a._setTabFocus(f)})};
g._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?X.EMPTY:this._items.changes.pipe(vf(this._items),wf(function(b){return new X.Observable(function(c){return a._ngZone.runOutsideAngular(function(){var d=new ResizeObserver(function(e){return c.next(e)});b.forEach(function(e){return d.observe(e.elementRef.nativeElement)});return function(){d.disconnect()}})})}),uf(1),Ce(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
g.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!jh(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){var b=this._items.get(this.focusIndex);b&&!b.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:this._keyManager.onKeydown(a)}};
g._onContentChanges=function(){var a=this,b=this._elementRef.nativeElement.textContent;b!==this._currentTextContent&&(this._currentTextContent=b||"",this._ngZone.run(function(){a.updatePagination();a._alignInkBarToSelectedTab();a._changeDetectorRef.markForCheck()}))};g.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};g._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
g._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
g._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round("ltr"===this._getLayoutDirection()?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};g._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
g._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
g._scrollToLabel=function(a){if(!this.disablePagination){var b=this._items?this._items.toArray()[a]:null;if(b){a=this._tabListContainer.nativeElement.offsetWidth;var c=b.elementRef.nativeElement;b=c.offsetLeft;var d=c.offsetWidth;"ltr"==this._getLayoutDirection()?c=b+d:(c=this._tabListInner.nativeElement.offsetWidth-b,b=c-d);d=this.scrollDistance;a=this.scrollDistance+a;b<d?this.scrollDistance-=d-b: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;a||(this.scrollDistance=0);a!==this._showPaginationControls&&this._changeDetectorRef.markForCheck();this._showPaginationControls=a}};
g._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};g._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
g._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?zuc(this._inkBar,a):this._inkBar.hide()};g._stopInterval=function(){this._stopScrolling.next()};
g._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,X.timer)(650,100).pipe(xf((0,X.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
g._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
Ac.Object.defineProperties(VU.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&&iy(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)}}});VU.\u0275fac=function(a){return new (a||VU)(C(Wd),C(Pg),C(Hy),C(ty,8),C(He),C(Ax),C(sv,8))};VU.\u0275dir=jd({type:VU,inputs:{disablePagination:[2,"disablePagination","disablePagination",Ng],selectedIndex:[2,"selectedIndex","selectedIndex",Og]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Gf]});var WU=function(a){RU.call(this);this.elementRef=a;this.disabled=!1};Y(WU,RU);WU.prototype.focus=function(){this.elementRef.nativeElement.focus()};WU.\u0275fac=function(a){return new (a||WU)(C(Wd))};WU.\u0275dir=jd({type:WU,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Hf("aria-disabled",!!b.disabled),Qf("mat-mdc-tab-disabled",b.disabled))},inputs:{disabled:[2,"disabled","disabled",Ng]},standalone:!0,features:[Gf,Ff]});var Guc=["tabListContainer"],Huc=["tabList"],Iuc=["tabListInner"],Juc=["nextPaginator"],Kuc=["previousPaginator"],XU=function(a,b,c,d,e,f,h){VU.call(this,a,b,c,d,e,f,h);this.disableRipple=!1};Y(XU,VU);XU.\u0275dir=VU.\u0275dir;XU.prototype.ngAfterContentInit=function(){this._inkBar=new wuc(this._items);VU.prototype.ngAfterContentInit.call(this)};XU.prototype._itemSelected=function(a){a.preventDefault()};XU.\u0275fac=function(a){return new (a||XU)(C(Wd),C(Pg),C(Hy),C(ty,8),C(He),C(Ax),C(sv,8))};
XU.\u0275cmp=r({type:XU,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&mg(c,WU,4);if(a&2){var d;pg(d=qg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(lg(Guc,7),lg(Huc,7),lg(Iuc,7),lg(Juc,5),lg(Kuc,5));if(a&2){var c;pg(c=qg())&&(b._tabListContainer=c.first);pg(c=qg())&&(b._tabList=c.first);pg(c=qg())&&(b._tabListInner=c.first);pg(c=qg())&&(b._nextPaginator=c.first);pg(c=qg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(a,
b){a&2&&Qf("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{disableRipple:[2,"disableRipple","disableRipple",Ng]},standalone:!0,features:[Gf,Ff,yg],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",
3,"click","mousedown","touchend","matRippleDisabled","disabled"],[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"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"button",
5,0);N("click",function(){x(c);return y(b._handlePaginatorClick("before"))})("mousedown",function(d){x(c);return y(b._handlePaginatorPress("before",d))})("touchend",function(){x(c);return y(b._stopInterval())});K(2,"div",6);I();G(3,"div",7,1);N("keydown",function(d){x(c);return y(b._handleKeydown(d))});G(5,"div",8,2);N("cdkObserveContent",function(){x(c);return y(b._onContentChanges())});G(7,"div",9,3);dg(9);I()()();G(10,"button",10,4);N("mousedown",function(d){x(c);return y(b._handlePaginatorPress("after",
d))})("click",function(){x(c);return y(b._handlePaginatorClick("after"))})("touchend",function(){x(c);return y(b._stopInterval())});K(12,"div",6);I()}a&2&&(Qf("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),A(3),Qf("_mat-animation-noopable","NoopAnimations"===b._animationMode),A(7),Qf("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),F("matRippleDisabled",b._disableScrollAfter||
b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[hz,Sx],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;background:none;border:none;outline:0;padding: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-header-inactive-ripple-color)}.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-header-pagination-icon-color)}.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-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{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-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.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}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}\n"],
encapsulation:2});var Luc=new rd("MatTabLabel"),Muc=new rd("MAT_TAB"),YU=function(a,b,c){ny.call(this,a,b);this._closestTab=c};Y(YU,qy);YU.\u0275fac=function(a){return new (a||YU)(C(ig),C(jg),C(Muc,8))};YU.\u0275dir=jd({type:YU,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[wg([{provide:Luc,useExisting:YU}]),Ff]});var Nuc=new rd("MAT_TAB_GROUP"),ZU=function(a,b){this._viewContainerRef=a;this._closestTabGroup=b;this.disabled=!1;this._explicitContent=void 0;this.textLabel="";this._contentPortal=null;this._stateChanges=new X.Subject;this.origin=this.position=null;this.isActive=!1};ZU.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};ZU.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
ZU.prototype.ngOnInit=function(){this._contentPortal=new ny(this._explicitContent||this._implicitContent,this._viewContainerRef)};ZU.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};Ac.Object.defineProperties(ZU.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}}});
ZU.\u0275fac=function(a){return new (a||ZU)(C(jg),C(Nuc,8))};
ZU.\u0275cmp=r({type:ZU,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(mg(c,YU,5),mg(c,SU,7,ig));if(a&2){var d;pg(d=qg())&&(b.templateLabel=d.first);pg(d=qg())&&(b._explicitContent=d.first)}},viewQuery:function(a,b){a&1&&lg(ig,7);if(a&2){var c;pg(c=qg())&&(b._implicitContent=c.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",Ng],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",
bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[wg([{provide:Muc,useExisting:ZU}]),Gf,xd,yg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),E(0,JVa,1,0,"ng-template"))},encapsulation:2});var Ouc=["tabBodyWrapper"],Puc=["tabHeader"],Quc=0,$U=function(a,b,c,d){this._elementRef=a;this._changeDetectorRef=b;this._animationMode=d;this._tabs=new kg;this._indexToSelect=0;this._lastFocusedTabIndex=null;this._tabBodyWrapperHeight=0;this._tabLabelSubscription=this._tabsSubscription=X.Subscription.EMPTY;this._fitInkBarToContent=!1;this.stretchTabs=!0;this.dynamicHeight=!1;this._selectedIndex=null;this.headerPosition="above";this.preserveContent=this.disableRipple=this.disablePagination=!1;this.selectedIndexChange=
new Uv;this.focusChange=new Uv;this.animationDone=new Uv;this.selectedTabChange=new Uv(!0);this._isServer=!bd(Ax).isBrowser;this._groupId=Quc++;this.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";this.disablePagination=c&&null!=c.disablePagination?c.disablePagination:!1;this.dynamicHeight=c&&null!=c.dynamicHeight?c.dynamicHeight:!1;null!=(null==c?void 0:c.contentTabIndex)&&(this.contentTabIndex=c.contentTabIndex);this.preserveContent=!(null==c||!c.preserveContent);this.fitInkBarToContent=
c&&null!=c.fitInkBarToContent?c.fitInkBarToContent:!1;this.stretchTabs=c&&null!=c.stretchTabs?c.stretchTabs:!0};g=$U.prototype;
g.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=null==this._selectedIndex;if(!c){this.selectedTabChange.emit(this._createChangeEvent(b));var d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(function(){a._tabs.forEach(function(e,f){return e.isActive=f===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
f){e.position=f-b;null==a._selectedIndex||0!=e.position||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
g.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(vf(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));og(a._tabs)})};g.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};g.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};g._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
g._createChangeEvent=function(a){var b=new Ruc;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=X.merge.apply(null,u(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
g._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};g._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};g._setTabBodyWrapperHeight=function(a){if(this.dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
g._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
Ac.Object.defineProperties($U.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}}});
$U.\u0275fac=function(a){return new (a||$U)(C(Wd),C(Pg),C(Euc,8),C(sv,8))};
$U.\u0275cmp=r({type:$U,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&mg(c,ZU,5);if(a&2){var d;pg(d=qg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(lg(Ouc,5),lg(Puc,5));if(a&2){var c;pg(c=qg())&&(b._tabBodyWrapper=c.first);pg(c=qg())&&(b._tabHeader=c.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(a,b){a&2&&(Rf("mat-"+(b.color||"primary")),Pf("--mat-tab-animation-duration",b.animationDuration),Qf("mat-mdc-tab-group-dynamic-height",b.dynamicHeight)("mat-mdc-tab-group-inverted-header",
"below"===b.headerPosition)("mat-mdc-tab-group-stretch-tabs",b.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Ng],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Ng],dynamicHeight:[2,"dynamicHeight","dynamicHeight",Ng],selectedIndex:[2,"selectedIndex","selectedIndex",Og],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Og],disablePagination:[2,"disablePagination","disablePagination",
Ng],disableRipple:[2,"disableRipple","disableRipple",Ng],preserveContent:[2,"preserveContent","preserveContent",Ng],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[wg([{provide:Nuc,useExisting:$U}]),Gf,yg],ngContentSelectors:["*"],decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused",
"selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab",
"mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","ngClass","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","id","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"mat-tab-header",3,0);N("indexFocused",function(d){x(c);
return y(b._focusChanged(d))})("selectFocusedIndex",function(d){x(c);return y(b.selectedIndex=d)});Wf(2,NVa,8,16,"div",4,Vf);I();E(4,OVa,1,0);G(5,"div",5,1);Wf(7,PVa,1,12,"mat-tab-body",6,Vf);I()}a&2&&(F("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),A(2),Xf(b._tabs),A(2),Uf(b._isServer?4:-1),A(),Qf("_mat-animation-noopable","NoopAnimations"===b._animationMode),A(2),Xf(b._tabs))},dependencies:[XU,WU,Lx,Cw,hz,ry,UU],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.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__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.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{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__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.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;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.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-header-disabled-ripple-color)}.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-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);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-header-inactive-ripple-color)}.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-header-with-background-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-header-with-background-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-header-with-background-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-header-with-background-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-header-with-background-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-mdc-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-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-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-header-with-background-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-header-with-background-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 Ruc=function(){};var Suc=["tabListContainer"],Tuc=["tabList"],Uuc=["tabListInner"],Vuc=["nextPaginator"],Wuc=["previousPaginator"],Xuc=["*"],Yuc=0,aV=function(a,b,c,d,e,f,h,l){VU.call(this,a,d,e,b,c,f,h);this._fitInkBarToContent=new X.BehaviorSubject(!1);this.stretchTabs=!0;this.disableRipple=!1;this.color="primary";this.disablePagination=l&&null!=l.disablePagination?l.disablePagination:!1;this.fitInkBarToContent=l&&null!=l.fitInkBarToContent?l.fitInkBarToContent:!1;this.stretchTabs=l&&null!=l.stretchTabs?l.stretchTabs:
!0};Y(aV,VU);aV.\u0275dir=VU.\u0275dir;aV.prototype._itemSelected=function(){};aV.prototype.ngAfterContentInit=function(){var a=this;this._inkBar=new wuc(this._items);this._items.changes.pipe(vf(null),xf(this._destroyed)).subscribe(function(){Zuc(a)});VU.prototype.ngAfterContentInit.call(this)};aV.prototype.ngAfterViewInit=function(){VU.prototype.ngAfterViewInit.call(this)};
var Zuc=function(a){if(a._items){for(var b=a._items.toArray(),c=0;c<b.length;c++)if(b[c].active){a.selectedIndex=c;a._changeDetectorRef.markForCheck();a.tabPanel&&(a.tabPanel._activeTabId=b[c].id);return}a.selectedIndex=-1;a._inkBar.hide()}};aV.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
Ac.Object.defineProperties(aV.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}}});aV.\u0275fac=function(a){return new (a||aV)(C(Wd),C(ty,8),C(He),C(Pg),C(Hy),C(Ax),C(sv,8),C(Euc,8))};
aV.\u0275cmp=r({type:aV,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&mg(c,bV,5);if(a&2){var d;pg(d=qg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(lg(Suc,7),lg(Tuc,7),lg(Uuc,7),lg(Vuc,5),lg(Wuc,5));if(a&2){var c;pg(c=qg())&&(b._tabListContainer=c.first);pg(c=qg())&&(b._tabList=c.first);pg(c=qg())&&(b._tabListInner=c.first);pg(c=qg())&&(b._nextPaginator=c.first);pg(c=qg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,
hostBindings:function(a,b){a&2&&(Hf("role",b._getRole()),Pf("--mat-tab-animation-duration",b.animationDuration),Qf("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==b._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",b.stretchTabs)("mat-primary","warn"!==b.color&&"accent"!==b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===b.color)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{fitInkBarToContent:[2,
"fitInkBarToContent","fitInkBarToContent",Ng],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Ng],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",Ng],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],standalone:!0,features:[Gf,Ff,yg],attrs:["mat-tab-nav-bar",""],ngContentSelectors:Xuc,decls:13,vars:8,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",
""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[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"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",
3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"button",5,0);N("click",function(){x(c);return y(b._handlePaginatorClick("before"))})("mousedown",function(d){x(c);return y(b._handlePaginatorPress("before",d))})("touchend",function(){x(c);return y(b._stopInterval())});K(2,"div",6);I();G(3,"div",7,1);N("keydown",function(d){x(c);return y(b._handleKeydown(d))});G(5,"div",8,2);N("cdkObserveContent",function(){x(c);return y(b._onContentChanges())});
G(7,"div",9,3);dg(9);I()()();G(10,"button",10,4);N("mousedown",function(d){x(c);return y(b._handlePaginatorPress("after",d))})("click",function(){x(c);return y(b._handlePaginatorClick("after"))})("touchend",function(){x(c);return y(b._stopInterval())});K(12,"div",6);I()}a&2&&(Qf("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),A(10),Qf("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),
F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[hz,Sx],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.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__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.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{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__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.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;background:none;border:none;outline:0;padding: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-header-inactive-ripple-color)}.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-header-pagination-icon-color)}.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-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{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}.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-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.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-header-with-background-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-header-with-background-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-header-with-background-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-header-with-background-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-header-with-background-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-mdc-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-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-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-header-with-background-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-header-with-background-foreground-color)}\n"],
encapsulation:2});var bV=function(a,b,c,d,e,f){RU.call(this);var h=this;this._tabNavBar=a;this.elementRef=b;this._focusMonitor=e;this._destroyed=new X.Subject;this.disableRipple=this.disabled=this._isActive=!1;this.tabIndex=0;this.id="mat-tab-link-"+Yuc++;this.rippleConfig=c||{};this.tabIndex=parseInt(d)||0;"NoopAnimations"===f&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0});a._fitInkBarToContent.pipe(xf(this._destroyed)).subscribe(function(l){h.fitInkBarToContent=l})};Y(bV,RU);
bV.\u0275dir=RU.\u0275dir;g=bV.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();RU.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(32===a.keyCode||13===a.keyCode)this.disabled?a.preventDefault():this._tabNavBar.tabPanel&&(32===a.keyCode&&a.preventDefault(),this.elementRef.nativeElement.click())};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};
g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex};
Ac.Object.defineProperties(bV.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a!==this._isActive&&(this._isActive=a,Zuc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});bV.\u0275fac=function(a){return new (a||bV)(C(aV),C(Wd),C(gz,8),Od("tabindex"),C(Jx),C(sv,8))};
bV.\u0275cmp=r({type:bV,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&N("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hf("aria-controls",b._getAriaControls())("aria-current",b._getAriaCurrent())("aria-disabled",b.disabled)("aria-selected",b._getAriaSelected())("id",b.id)("tabIndex",b._getTabIndex())("role",b._getRole()),
Qf("mat-mdc-tab-disabled",b.disabled)("mdc-tab--active",b.active))},inputs:{active:[2,"active","active",Ng],disabled:[2,"disabled","disabled",Ng],disableRipple:[2,"disableRipple","disableRipple",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:Og(a)}],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[Gf,Ff,yg],attrs:["mat-tab-link",""],ngContentSelectors:Xuc,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&&(cg(),K(0,"span",0)(1,"div",1),G(2,"span",2)(3,"span",3),dg(4),I()());a&2&&(A(),F("matRippleTrigger",b.elementRef.nativeElement)("matRippleDisabled",b.rippleDisabled))},dependencies:[hz],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;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.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-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.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-header-disabled-ripple-color)}.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-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);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-header-inactive-ripple-color)}.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 $uc=function(){this.id="mat-tab-nav-panel-"+Yuc++};$uc.\u0275fac=function(a){return new (a||$uc)};
$uc.\u0275cmp=r({type:$uc,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(a,b){a&2&&Hf("aria-labelledby",b._activeTabId)("id",b.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[yg],ngContentSelectors:Xuc,decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},encapsulation:2,changeDetection:0});var cV=function(){};cV.\u0275fac=function(a){return new (a||cV)};cV.\u0275mod=hd({type:cV});cV.\u0275inj=Rc({imports:[Zy,Zy]});var dV=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabGroup=c;this.appearance=this.options.appearance};Ac.Object.defineProperties(dV.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance===a||this.options.disableGmatStyle||(this.cachedAppearance=a,this.tabGroup.fitInkBarToContent="primary"===a,this.changeDetectorRef.markForCheck())}}});dV.\u0275fac=function(a){return new (a||dV)(C(vuc),C(Pg),C($U))};
dV.\u0275dir=jd({type:dV,selectors:[["mat-tab-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&"primary"===b.appearance)("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&"secondary"===b.appearance)},inputs:{appearance:"appearance"}});var eV=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabNav=c;this.appearance=this.options.appearance};
Ac.Object.defineProperties(eV.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance===a||this.options.disableGmatStyle||(this.cachedAppearance=a,this.tabNav.fitInkBarToContent="primary"===a,this.changeDetectorRef.markForCheck())}}});eV.\u0275fac=function(a){return new (a||eV)(C(vuc),C(Pg),C(aV))};
eV.\u0275dir=jd({type:eV,selectors:[["","mat-tab-nav-bar",""]],hostVars:4,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&"primary"===b.appearance)("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&"secondary"===b.appearance)},inputs:{appearance:"appearance"}});var fV=function(){};fV.\u0275fac=function(a){return new (a||fV)};fV.\u0275mod=hd({type:fV});fV.\u0275inj=Rc({imports:[cV]});var gV=function(){};gV.\u0275fac=function(a){return new (a||gV)};gV.\u0275mod=hd({type:gV});gV.\u0275inj=Rc({imports:[PM,PK,rE,Yy,dP,QN,hR,fV,cD,vE,QQ,SQ,yM]});var avc=["textarea"],bvc=["hiddenInput"],cvc=["autocompleteUnderlay"],dvc=Symbol(),hV=function(a,b,c){Z.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new Uv;this.focus=new Uv;this.blur=new Uv;this.autoResize=new Uv;this.manualResize$=new Uv;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};Y(hV,Z);hV.\u0275dir=Z.\u0275dir;hV.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?jq(a).classList.add("codefont"):jq(a).classList.remove("codefont")}))};hV.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};hV.prototype.setValue=function(a){jq(this).value!==a&&(jq(this).value=a,this.manualResize$.next())};
hV.prototype.getValue=function(){return jq(this).value};var jq=function(a){return a.textareaRef.nativeElement},kq=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},QVa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL"===a.audience},evc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},fvc=function(a){var b=jq(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
hV.prototype.findWord=function(a,b){var c=a.slice(0,b).search(/(?!(.*\s))/);b+=a.slice(b).search(/(\s|$)/);return{wordStart:c,wordEnd:b,word:a.slice(c,b)}};
var gvc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},hvc=function(a){var b=evc(a);a=jq(a);b&&a&&(b.scrollTop=a.scrollTop)},RVa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},SVa=function(a,b){b=void 0===b?!1:b;var c=jq(a),d=jq(a).value,e,f=null==(e=kq(a))?void 0:e.value;e=null==f?void 0:f.length;fvc(a);var h=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=a.wordInfo.word.slice(1)===f?d.slice(a.textAreaLastAtSymbolLocation+
f.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=h.length+e);b?(b=h+f+" "+d,a.textAreaLastCursorLocation+=1):b=h+f+d;c.value=b};hV.prototype[dvc]=function(){return this.findWord};hV.\u0275fac=function(a){return new (a||hV)(C(eP),C(Zr),C(nH))};
hV.\u0275cmp=r({type:hV,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(lg(avc,7),lg(bvc,5),lg(cvc,5));if(a&2){var c;pg(c=qg())&&(b.textareaRef=c.first);pg(c=qg())&&(b.hiddenInputRef=c.first);pg(c=qg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&N("click",function(){RVa(b)},!1,aha)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(RVa(b),jq(b).focus())},!1,aha)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[Ff],decls:7,vars:11,consts:[["commentBoxContainer",""],["textarea",""],["hiddenInput",""],["autocompleteUnderlay",""],[1,"pos-rel","comment-box-container",3,"keydown"],["aria-label","Comment box - add your comment","cdkFocusInitial","",3,"input","focus","blur","onAutoResize","keydown","keyup","scroll",
"autoResize","ngClass","disabled"],[1,"autocomplete-input-container"],["type","text","bContactAutocomplete","SINGLE","class","autocomplete-hidden-input","tabIndex","-1","aria-hidden","true",3,"value","change","keyup",4,"ngIf"],["class","autocomplete-underlay","contentEditable","true",4,"ngIf"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"change","keyup","value"],["contentEditable","true",1,"autocomplete-underlay"]],template:function(a,
b){if(a&1){var c=v();G(0,"div",4,0);N("keydown",function(d){x(c);"Escape"===d.key&&(RVa(b),jq(b).focus());return y()});G(2,"textarea",5,1);N("input",function(){x(c);b.contentChange.emit(b.getValue());return y()})("focus",function(d){x(c);return y(b.focus.emit(d))})("blur",function(d){x(c);return y(b.blur.emit(d))})("onAutoResize",function(d){x(c);return y(b.autoResize.emit(d))})("keydown",function(d){x(c);if(QVa(b)&&gvc(d)&&b.taggingInProgress){null==d||d.preventDefault();var e;null==(e=kq(b))||e.focus();
e=d.code;var f=d.key,h=d.keyCode,l=d.which;d=new KeyboardEvent("keydown",{charCode:d.charCode,metaKey:d.metaKey,type:d.type,code:"Enter"===f?"Tab":e,key:"Enter"===f?"Tab":f,keyCode:"Enter"===f?9:h,which:"Enter"===f?9:l});var q;null==(q=kq(b))||q.dispatchEvent(d)}return y()})("keyup",function(d){x(c);if(QVa(b)){var e=jq(b),f=null==e?void 0:e.value;b.textAreaLastCursorLocation=e.selectionStart;b.textAreaLastAtSymbolLocation=f.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!gvc(d)){d=d.target;
b.scrollPosition=d.scrollTop;fvc(b);var h=b.wordInfo.word;e="@"===h;f=h.startsWith("@");var l=h.slice(h.length-1).match(/[a-z]/i);h=ABa.test(h.slice(1));if(e||f&&l&&!h){d=d.selectionStart;if(!b.taggingInProgress){if(e=evc(b)){e.textContent=b.getValue();f=evc(b);l=jq(b);h="height width font-family margin line-height padding border".split(" ");if(f&&l){l=b.window.getComputedStyle(l);h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=l.getPropertyValue(q);f.style.setProperty(q,t)}}hvc(b)}e=
null==e?void 0:e.firstChild;f=null==e?void 0:e.textContent;e&&f&&d&&(f=new Range,f.setStart(e,d),f.setEnd(e,d),d=document.createElement("span"),f.deleteContents(),f.insertNode(d),e=d.getBoundingClientRect(),b.autocompleteTop=e.top,b.autocompleteLeft=e.left,d.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var w;null==(w=kq(b))||w.dispatchEvent(new KeyboardEvent("keydown"))}}}return y()})("scroll",function(){x(c);
return y(hvc(b))});I();G(4,"span",6);E(5,TVa,2,1,"input",7);I();E(6,UVa,2,0,"div",8);I()}a&2&&(A(2),F("autoResize",b.manualResize$)("ngClass",b.textareaClass)("disabled",b.disabled),Hf("placeholder",b.placeholder)("id",b.idForAriaLabel),A(2),Pf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),A(),F("ngIf",b.taggingInProgress),A(),F("ngIf",QVa(b)))},dependencies:[Cw,zw,$S,vU],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}/*# sourceMappingURL=comment_draft_textarea.css.map */"],
changeDetection:0});var ivc=function(a){return{"draft-markdown":a}},iV=function(a,b,c){Z.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};Y(iV,Z);iV.\u0275dir=Z.\u0275dir;iV.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
iV.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};iV.\u0275fac=function(a){return new (a||iV)(C(ME,2),C(Wd),C(gH))};
iV.\u0275cmp=r({type:iV,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&lg($U,7);if(a&2){var c;pg(c=qg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[wg([ME]),Ff],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&&(G(0,"mat-tab-group",
0),N("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),G(1,"mat-tab",1),E(2,VVa,1,0,"ng-container",2),I(),G(3,"mat-tab",3),E(4,WVa,1,0,"ng-container",2),I()());a&2&&(F("dynamicHeight",!1)("selectedIndex",b.selectedIndex),A(2),F("ngTemplateOutlet",b.editArea),A(),F("disabled",b.previewDisabled),A(),F("ngTemplateOutlet",b.previewArea))},dependencies:[Hw,dV,ZU,$U],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var jV=function(a,b,c,d){Z.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(z(function(e){return e===w5b}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL";this.init=new Uv;this.contentChange=new Uv;this.focus=new Uv;this.blur=new Uv;this.autoResize=new Uv;this.onSubmit=new Uv};Y(jV,Z);jV.\u0275dir=Z.\u0275dir;
jV.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
jV.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 jvc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&jq(a.commentDraftTextarea).focus()})};jV.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};jV.\u0275fac=function(a){return new (a||jV)(C(eP),C(He),C(zF),C(HF))};
jV.\u0275cmp=r({type:jV,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(lg(hV,5),lg(iV,5));if(a&2){var c;pg(c=qg())&&(b.commentDraftTextarea=c.first);pg(c=qg())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel"},outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},features:[Ff,
xd],decls:2,vars:10,consts:[[3,"autoResize","keydown.control.enter","keydown.meta.enter","textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience"]],template:function(a,b){a&1&&(G(0,"b-comment-draft-textarea",0),V(1,"async"),N("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()}),I());a&2&&F("textareaClass",b.textareaClass)("ngClass",
Ag(8,ivc,W(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[Cw,hV,Iw],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 kV=function(){};kV.\u0275fac=function(a){return new (a||kV)};kV.\u0275mod=hd({type:kV});kV.\u0275inj=Rc({imports:[PM,rE,aT,yx,Yy,dP,QN,hR,fV,cD,vE]});var lV=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new Uv};Y(lV,Z);lV.\u0275dir=Z.\u0275dir;lV.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&Wo(this.analytics,sq.EDIT_ISSUE,"view","commentAndVoteBanner")};
lV.prototype.onClick=function(){var a=Gk(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(s$b(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(xf(this.destroyed$)).subscribe(),Wo(this.analytics,sq.EDIT_ISSUE,"click","commentAndVote"))};lV.\u0275fac=function(a){return new (a||lV)(C(CQ),C(PI),C(ZI))};
lV.\u0275cmp=r({type:lV,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[Ff,xd],decls:1,vars:1,consts:[["class","callout",4,"ngIf"],[1,"callout"],["svgIcon","info",1,"info-icon",3,"matTooltip"],["role","alert",1,"content"],[1,"actions"],["mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&E(0,XVa,7,1,"div",0);a&2&&F("ngIf",b.isPlusOneText)},dependencies:[zw,nB,CA,nE,OC],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 kvc=["commentBoxContainer"],lvc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],mvc=function(a){return{focused:a}},nvc=function(a,b){return[a,b]},mV=function(a,b,c,d,e){this.analytics=a;this.hotkeys=b;this.activeSession=c;this.appEvents=d;this.currentTracker=e;this.MARKDOWN="MARKDOWN";this.commentChange=new Uv;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=
!1;this.onPlusOneTextEntered=new Uv;this.onChange=new Uv;this.onFocusEvent=new Uv;this.onSubmit=new Uv;this.onRestrict=new Uv;this.focused=!1;this.commentRebound$=new X.ReplaySubject(1);this.destroyed$=new X.ReplaySubject(1);this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds()};g=mV.prototype;g.ngOnDestroy=function(){var a;null==(a=this.comment)||lic(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(xf(this.destroyed$)).subscribe(function(b){svb(a,b)});this.appEvents.scrollToCommentBox.pipe(xf(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};g.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};g.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED";return XEa(c)};
g.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var svb=function(a,b){(b=void 0===b?"":b)&&Wo(a.analytics,"commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;null==(c=a.commentDraftComponent)||jvc(c)})};g=mV.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&&wa(this.comment.uploads,a)};g.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||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()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a))};mV.\u0275fac=function(a){return new (a||mV)(C(ZI),C(HF),C(Zr),C(gH),C(hM))};
mV.\u0275cmp=r({type:mV,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(lg(jV,5),lg(kvc,5),lg(dU,5));if(a&2){var c;pg(c=qg())&&(b.commentDraftComponent=c.first);pg(c=qg())&&(b.commentBoxContainer=c.first);pg(c=qg())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",componentId:"componentId",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",warn:"warn",showToolbar:"showToolbar",
idForAriaLabel:"idForAriaLabel",attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions",isPlusOneCalloutEnabled:"isPlusOneCalloutEnabled"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[xd],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],decls:10,vars:16,consts:[["commentBoxContainer",""],["restrictedFlatButton",
""],[1,"bv2-comment-box-container",3,"ngClass"],[1,"bv2-comment-textarea-wrapper"],[3,"contentChange","focus","blur","keydown","paste","content","placeholder","disabled","textareaClass","audience","idForAriaLabel"],[4,"ngIf"],[3,"onUploadCancel","onUploadComplete","uploads"],["class","bv2-comment-toolbar",4,"ngIf"],[3,"onSubmitComment","isPlusOneText"],[1,"bv2-comment-toolbar"],[3,"onSelect","disabled"],[3,"disabled","onPickDoc","onCloneBlob",4,"ngIf"],["class","goog-inline-block vertical-centered restriction-button",
4,"ngIf"],[3,"onPickDoc","onCloneBlob","disabled"],[1,"goog-inline-block","vertical-centered","restriction-button"],[4,"ngIf","ngIfElse"],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"click","disabled"],["svgIcon","restricted"],["mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text",3,"click"],[3,"comment","issueId","audience","formattingMode"]],
template:function(a,b){if(a&1){var c=v();cg(lvc);G(0,"div",2,0)(2,"div",3)(3,"b-comment-draft",4);N("contentChange",function(d){x(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("+1"===d.trim()))}return y()})("focus",function(){x(c);return y(b.onFocus())})("blur",function(){x(c);return y(b.onBlur())})("keydown",function(d){x(c);return y(b.onKeydown(d))})("paste",function(d){x(c);
if(d&&null!=d.clipboardData){var e=d.clipboardData;for(var f=!1,h=!1,l=0,q=0;q<e.items.length;q++)"string"===e.items[q].kind&&"text/plain"===e.items[q].type?f=!0:"file"===e.items[q].kind&&(h=!0,l=q);h&&e.items&&e.files?(h=e.files[0],l=e.items[l].type.replace(/^.*[/]/,""),f?(e=e.getData("text/plain"),e=e.replace(/^.*[\\\/]/,"")):e=(new Date).toString()+"."+l,e={file:h,filename:e}):e=void 0;e&&(d.preventDefault(),d=new File([e.file],e.filename,{type:e.file.type}),b.uploadFile(d))}return y()});I();E(4,
YVa,2,1,"ng-container",5);I();dg(5);G(6,"b-attachment-uploader",6);N("onUploadCancel",function(d){x(c);b.removeUpload(d);return y(b.onChange.emit())})("onUploadComplete",function(){x(c);return y(b.onChange.emit())});I();dg(7,1);E(8,cWa,6,5,"div",7);I();E(9,dWa,2,4,"div",5)}a&2&&(F("ngClass",Ag(11,mvc,b.focused)),A(3),F("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",Bg(13,nvc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",
b.audience)("idForAriaLabel",b.idForAriaLabel),A(),F("ngIf",b.isPlusOneCalloutEnabled),A(2),F("uploads",b.comment.uploads),A(2),F("ngIf",b.showToolbar),A(),F("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[Cw,zw,nB,jV,nE,OC,OU,uU,aU,dU,CA,lV,Iw],encapsulation:2});var ovc=["multiUserInput"],nV=function(a,b,c,d,e,f){Z.call(this);var h=this;this.element=a;this.principalTypes=b;this.activeSession=c;this.documentationLinks=d;this.appEvents=e;this.usersChange=new Uv(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new Uv;this.typedText="";this.items=[];this.chipifyFn=function(){pvc(h)};this.additionalContactsFn=function(){return qvc(h)};this.isFocused=
!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){h.typedText=""}));this.subscriptions.add(IF(f,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};Y(nV,Z);nV.\u0275dir=Z.\u0275dir;
nV.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return rvc(c)},validateInternalAccessLevel:function(b,c){return svc(a,c)},validateExternalAccessLevel:function(b,c){return tvc(a,c)}},this.customValidators)};nV.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=uvc(this,this.users),oV(this)};
var oV=function(a){var b=[].concat(u(a.items)),c=vvc(b),d=wvc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&ki(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
nV.prototype.validate=function(a,b,c){for(var d=new Set,e=k(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=k(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=k(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var gWa=function(a){!a.isWidgetDisabled()&&xvc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},eWa=function(a){lq(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};nV.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var xvc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
nV.prototype.removeItem=function(a){this.isWidgetDisabled()||!lq(this,a)||this.items[a].isReadonly||(eWa(this),this.items.splice(a,1),oV(this))};nV.prototype.setAccessLevel=function(a){this.accessLevel=a};
var qvc=function(a){return yvc(a).map(function(b){return{text:jsa(b),id:tp({alias:b})}})},yvc=function(a){if(!a.includeAliases||gE(a.activeSession))return[];var b=["googlers_unrestricted"];if(void 0===a.accessLevel||"EXTERNAL_PUBLIC"===a.accessLevel)b.push("public_non_google"),a.includeViewAliases&&b.push("public");return b},pvc=function(a){setTimeout(function(){a.typedText&&la(a.typedText,",")&&hWa(a,a.typedText.split(",")[0].trim())})},hWa=function(a,b){b&&(b=skc.test(b)?zvc(a,b):Avc(a,b),a.items.push(b));
a.typedText="";oV(a)},lq=function(a,b){return 0<=b&&b<a.items.length},zvc=function(a,b){var c=void 0===c?!1:c;var d=vp(b);if(void 0===d.alias)throw Error("Ld`"+b);b=d.alias;d=jsa(b);return new pV("ALIAS",b,d,null,c,a)},Bvc=function(a,b){b=dp(b);var c=new pV("GROUP",b,b,null,!1,a);KE(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;oV(a)});return c},Cvc=function(a,b){var c=void 0===c?!1:c;b=dp(b);var d=new pV("USER",b,b,null,c,a);KE(a.principalTypes,b,!0).then(function(e){d.detailedUserType=
e.detailedUserType;oV(a)});return d},Avc=function(a,b){var c=void 0===c?!1:c;b=dp(b);var d=new pV("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);KE(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;oV(a)});return d},Dvc=function(a,b,c){return new pV("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};nV.prototype.getAccessLevel=function(){return this.accessLevel};nV.prototype.getAppName=function(){return this.activeSession.getAppName()};
nV.prototype.onKeyDown=function(a){8===a.keyCode?lq(this,this.selectedChipIndex)?(lq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex),a.stopPropagation(),a.preventDefault()):""===this.typedText&&0<this.items.length&&this.removeItem(this.items.length-1):46===a.keyCode?lq(this,this.selectedChipIndex)&&lq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):39===a.keyCode&&gWa(this)};
var uvc=function(a,b){b=(b||[]).map(function(d){return Evc(a,d)});if(a.containerChips){var c=a.containerChips.filter(function(d){return void 0!==d.values&&Array.isArray(d.values)&&0<d.values.length}).map(function(d){return Dvc(a,d.displayText,d.values.map(function(e){return Evc(a,e)}))});return[].concat(u(c),u(b))}return b},Evc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("me`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("me`"+b);return"ALIAS"===d?zvc(a,b):"USER"===
d?Cvc(a,c[1]):Bvc(a,c[1])},vvc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},wvc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},rvc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},svc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
tvc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};nV.\u0275fac=function(a){return new (a||nV)(C(Wd),C(JE),C(Zr),C(TM),C(gH),C(HF))};
nV.\u0275cmp=r({type:nV,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&lg(ovc,5);if(a&2){var c;pg(c=qg())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&N("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[Ff,xd],decls:13,vars:12,consts:[["multiUserInput",""],["tabindex","0","role","listbox","aria-describedby","input-description",1,"bv2-multi-user-input","keep-focus-ring",3,"click"],["id","input-description","hidden","",1,"screen-reader-only"],["class","bv2-user-chip","role","listitem",4,"ngFor","ngForOf"],["class","bv2-multi-user-embedded-input","b-adaptive-width-input","","tabindex","0",3,"bContactAutocomplete",
"additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur",4,"ngIf"],["role","alert",1,"bv2-multi-user-errors"],[4,"ngIf"],["role","listitem",1,"bv2-user-chip"],[3,"chipSelection","chipClear","chipRemove","isReadonly","isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"autocompleteActive","ngModelChange","focus",
"blur","bContactAutocomplete","additionalContactsCallback","ngModel","disabled"],["target","_blank"]],template:function(a,b){a&1&&(G(0,"div",1),N("click",function(){return gWa(b)}),G(1,"div",2),S(2," Press tab to navigate through users and right arrow to go to input section "),I(),G(3,"div"),E(4,fWa,2,9,"div",3)(5,iWa,2,4,"input",4),I()(),G(6,"div",5),E(7,jWa,4,1,"span",6)(8,kWa,2,0,"span",6)(9,lWa,2,0,"span",6)(10,mWa,2,0,"span",6)(11,nWa,2,0,"span",6)(12,oWa,2,0,"span",6),I());a&2&&(Qf("focused",
b.isFocused),Hf("aria-label",b.idForInputBox),A(4),F("ngForOf",b.items),A(),F("ngIf",xvc(b)),A(),Hf("aria-hidden",0===b.violations.size),A(),F("ngIf",b.violations.has("noRestrictedPlusGroups")),A(),F("ngIf",b.violations.has("validateGaia")),A(),F("ngIf",b.violations.has("validateInternalAccessLevel")),A(),F("ngIf",b.violations.has("validateExternalAccessLevel")),A(),F("ngIf",b.violations.has("sloLeadNotUser")),A(),F("ngIf",b.violations.has("sloLeadNotGoogler")))},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:auto;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=multi_user_input.css.map */"]});
var pV=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=pV.prototype;
g.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.parentController.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All users, excluding the google.com domain.";case "public":return"All users";default:throw Error("ne`"+this.value);}};g.isGroupChip=function(){return"GROUP"===this.principalType};
g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};g.isContainerChip=function(){return null!==this.nestedChips};
g.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};g.isUserChip=function(){return"USER"===this.principalType};var qV=function(a,b,c,d){Z.call(this);var e=this;this.accessIndicatorService=a;this.documentationLinks=b;this.issueFridge=c;this.issueResources=d;this.compactMode=!1;this.issueId$=new X.ReplaySubject;this.accessIndicator$=this.issueId$.pipe(wf(function(f){return Uac(e.accessIndicatorService,f)}));this.chipClass$=this.accessIndicator$.pipe(z(function(f){return f.type}));this.chipText$=this.accessIndicator$.pipe(z(function(f){return e.compactMode?f.displayTextCompact||f.displayText:f.displayText}));
this.bubbleText$=this.accessIndicator$.pipe(z(function(f){return f.explanation}));this.shouldShowIndicator$=this.accessIndicator$.pipe(z(function(f){return"no_indicator"!==f.type}));this.issue$=this.issueId$.pipe(wf(function(f){return e.issueFridge.watch(f)}));this.viewers$=(0,X.combineLatest)([this.issue$,this.accessIndicator$]).pipe(jf(0,X.asapScheduler),wf(function(f){var h=k(f);f=h.next().value;h=h.next().value;if(!f||!uWa(h.type))return(0,X.of)([]);var l,q;return e.issueResources.getRetainedAccessPrincipals(null==
f?void 0:f.issueId,null!=(q=null==f?void 0:null==(l=f.snapshot[0])?void 0:l.issueAccessLimitLevel)?q:"LIMIT_NONE",[],[]).pipe(z(function(t){t=[].concat(u(xp(t.writers)),u(xp(t.appenders)),u(xp(t.readers)));return[].concat(u(new Set(t)))}))}),tf({refCount:!0,bufferSize:1}));this.showHovercard$=this.viewers$.pipe(z(function(f){return!!f.length}),Ce(Boolean),z(function(){}));this.loadTooltip$=new X.ReplaySubject(1);this.tooltipText$=this.loadTooltip$.pipe(wf(function(){return e.viewers$}),z(function(f){return f.length?
"Press Alt + Right arrow for more details":""}));this.loadTooltipOnce=no(function(){e.loadTooltip$.next()})};Y(qV,Z);qV.\u0275dir=Z.\u0275dir;qV.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.tooltipText$.subscribe(function(b){b&&(a.matTooltip.message=b,a.matTooltip.show())}))};Ac.Object.defineProperties(qV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});qV.\u0275fac=function(a){return new (a||qV)(C(vK),C(TM),C(iJ),C(eH))};
qV.\u0275cmp=r({type:qV,selectors:[["b-issue-visibility-chip"]],viewQuery:function(a,b){a&1&&lg(OC,5);if(a&2){var c;pg(c=qg())&&(b.matTooltip=c.first)}},inputs:{issueId:"issueId",compactMode:"compactMode"},features:[Ff],decls:2,vars:3,consts:[["tooltip","matTooltip"],["card","onedevHovercard"],[4,"ngIf"],["tabindex","0",1,"chippy","rounded","nowrap","keep-focus-ring",3,"focus","blur","onedevHovercardTrigger","matTooltipDisabled","matTooltip","ngClass"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],
[1,"issue-visibility-chip-bubble"],["target","_blank",3,"href",4,"ngIf"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],["target","_blank",3,"href"],[3,"onedevIsHovercardReady"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(E(0,tWa,16,17,"ng-container",2),V(1,"async"));a&2&&F("ngIf",W(1,1,b.shouldShowIndicator$))},dependencies:[Cw,zw,nV,JL,KL,OL,LL,nE,OC,Iw],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.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 rV=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};rV.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Pn(this.email)};rV.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};rV.\u0275fac=function(a){return new (a||rV)(C(Zr))};
rV.\u0275cmp=r({type:rV,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[["content",""],["card",""],[4,"ngIf","ngIfElse"],["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"],["class","bv2-group-email-card-links-container",4,"ngIf"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"],[4,"ngIf"]],template:function(a,b){a&1&&(cg(),E(0,AWa,17,5,"ng-container",2)(1,BWa,1,0,"ng-template",null,0,Eg));a&2&&(a=R(2),F("ngIf",!!Pn(b.email))("ngIfElse",a))},dependencies:[zw,Hw,nB,JL,OL],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{--onedev-card-background: var(--surface-default, rgb(255, 255, 255));--onedev-card-title-text: var(--text-default, rgb(32, 33, 36));--onedev-card-icon: var(--icon, rgb(95, 99, 104));--onedev-card-secondary-text: var(--text-secondary, rgb(95, 99, 104));--onedev-card-link-color: var(--primary-default, rgb(26, 115, 232))}.onedev-hovercard-content[_ngcontent-%COMP%]{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]{padding:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--onedev-card-link-color)}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]{display:grid;grid-template-columns:48px auto;column-gap:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{grid-row:1/span 2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{grid-row:2;grid-column:2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .chips[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .detail[_ngcontent-%COMP%]{margin-top:2px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]:empty{margin-top:0px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .subcontent[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline}.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bv2-group-email-card[_ngcontent-%COMP%]{margin:-15px -20px -20px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]{padding:15px 60px 20px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;vertical-align:middle}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   .bv2-group-email-card-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:10px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:hover, .bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:active{text-decoration:underline}/*# sourceMappingURL=group_email_card.css.map */"]});
var sV=function(){};sV.\u0275fac=function(a){return new (a||sV)};sV.\u0275mod=hd({type:sV});sV.\u0275inj=Rc({imports:[rE,yM]});var rma=function(a,b,c,d,e,f){return{"bv2-user-chip-external":a,"bv2-user-chip-non-gaia":b,"bv2-user-chip-not-accessible":c,"bv2-user-chip-container":d,selected:e,readonly:f}},tV=function(a){Z.call(this);this.activeSession=a;this.isReadonly=!0;this.isSelected=!1;this.isWidgetDisabled=!0;this.nestedChips=this.detailedUserType=this.principalType=null;this.displayText=this.value="";this.accessLevel=void 0;this.chipSelection=new Uv;this.chipClear=new Uv;this.chipRemove=new Uv};Y(tV,Z);tV.\u0275dir=Z.\u0275dir;
g=tV.prototype;g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};g.isContainerChip=function(){return null!==this.nestedChips};g.isUserChip=function(){return"USER"===this.principalType};g.isGroupChip=function(){return"GROUP"===this.principalType};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};g.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
g.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All users, excluding the google.com domain.";case "public":return"All users";default:throw Error("ne`"+this.value);}};
var Fvc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};tV.\u0275fac=function(a){return new (a||tV)(C(Zr))};
tV.\u0275cmp=r({type:tV,selectors:[["b-contact-chip"]],inputs:{isReadonly:"isReadonly",isSelected:"isSelected",isWidgetDisabled:"isWidgetDisabled",principalType:"principalType",detailedUserType:"detailedUserType",nestedChips:"nestedChips",value:"value",displayText:"displayText",accessLevel:"accessLevel"},outputs:{chipSelection:"chipSelection",chipClear:"chipClear",chipRemove:"chipRemove"},features:[Ff],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"focus","blur","ngClass","matTooltip"],[1,"alias-icon"],
[3,"svgIcon",4,"ngIf"],[1,"user-chip-name"],[3,"email",4,"ngIf"],[4,"ngIf"],["role","button","tabindex","0","class","user-chip-x keep-focus-ring",3,"matTooltip","click","keydown.enter",4,"ngIf"],["class","bv2-user-chip-nested-content-container",4,"ngIf"],[3,"svgIcon"],[3,"email"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"click","keydown.enter","matTooltip"],["svgIcon","close"],[1,"bv2-user-chip-nested-content-container"],[1,"bv2-user-chip-nested-content"],[1,"jfk-bubble"],
["class","bv2-user-chip",4,"ngFor","ngForOf"],[1,"jfk-bubble-arrow","jfk-bubble-arrowup"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(G(0,"span",0),N("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),G(1,"span",1),E(2,CWa,1,1,"mat-icon",2),I(),G(3,"div",3),E(4,DWa,2,2,"b-person-hovercard",4)(5,EWa,2,2,"b-group-email-card",
4)(6,FWa,2,1,"div",5),I(),E(7,GWa,2,3,"div",6)(8,IWa,7,1,"div",7),I());a&2&&(F("ngClass",sma(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),A(2),F("ngIf",Fvc(b)),A(2),F("ngIf",b.isUserChip()),A(),F("ngIf",b.isGroupChip()),A(),F("ngIf",!b.isUserChip()&&!b.isGroupChip()),A(),F("ngIf",!b.isReadonly&&!b.isWidgetDisabled),A(),F("ngIf",b.isContainerChip()))},dependencies:[Cw,
Dw,zw,nB,nE,OC,bQ,rV,tV],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%]{margin-top:10px;position:relative;white-space:normal}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%]{position:absolute;width:600px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%]{z-index:900 !important;padding:10px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .bv2-user-chip[_ngcontent-%COMP%] > span.bv2-user-chip-item[_ngcontent-%COMP%]:active{border-color:#3c4043;border-color:var(--gfx)}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplbefore[_ngcontent-%COMP%]{left:-1px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplafter[_ngcontent-%COMP%]{left:0}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}/*# sourceMappingURL=contact_chip.css.map */"]});var uV=function(){};uV.\u0275fac=function(a){return new (a||uV)};uV.\u0275mod=hd({type:uV});uV.\u0275inj=Rc({imports:[rE,yx,vE,QQ,sV,fL,aT,zR]});vma(nV,[Dw,zw,bh,cx,jx,$S,yR,tV],[]);var vV=function(){};vV.\u0275fac=function(a){return new (a||vV)};vV.\u0275mod=hd({type:vV});vV.\u0275inj=Rc({imports:[rE,mN,uV,yM,vE]});var wV=function(a){this.activeSession=a;this.externalWarnings=[];this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips")};wV.\u0275fac=function(a){return new (a||wV)(C(Zr))};
wV.\u0275cmp=r({type:wV,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},decls:1,vars:1,consts:[[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&E(0,OWa,8,1,"div",0);a&2&&Uf(0<b.externalWarnings.length?0:-1)},dependencies:[VM,qV],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],changeDetection:0});var xV=function(){};
xV.\u0275fac=function(a){return new (a||xV)};xV.\u0275mod=hd({type:xV});xV.\u0275inj=Rc({imports:[oN,vV]});var Gvc=["captchaContainer"],yV=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new Uv;this.destroyed$=new X.ReplaySubject(1)};yV.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(xf(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
yV.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;null==(b=this.window.recaptchaAsync)||b.then(function(c){var d=a.darkmodeService.clientDarkmodeSubject.getValue();a.widgetId=c.render(a.captchaContainer.nativeElement,{sitekey:"6Ley9F4iAAAAAIwZf9W4ujzph90roM2zldPodcjv",callback:function(e){a.ngZone.run(function(){a.onUpdate.emit(e);Wo(a.analytics,sq.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");Wo(a.analytics,sq.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};yV.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};yV.prototype.reset=function(){var a=this;if(void 0!==this.widgetId){var b;null==(b=this.window.recaptchaAsync)||b.then(function(c){c.reset(a.widgetId)})}};yV.\u0275fac=function(a){return new (a||yV)(C(He),C(nH),C(wN),C(gH),C(ZI))};
yV.\u0275cmp=r({type:yV,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&lg(Gvc,5);if(a&2){var c;pg(c=qg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&K(0,"div",null,0)},encapsulation:2});var Hvc=["dialog"],zV=function(a,b,c,d){Z.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new Uv;this.close=new Uv;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=Ivc;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&hE(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new uQ;var e;this.comment.formattingMode=Ji(null==(e=AF(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=v8b};Y(zV,Z);zV.\u0275dir=Z.\u0275dir;
zV.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new Zqc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&PWa(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});this.matDialogRef.afterClosed().pipe(xf(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};
zV.\u0275fac=function(a){return new (a||zV)(C(QA),C(Zr),C(HF),C(zF))};
zV.\u0275cmp=r({type:zV,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&lg(Hvc,5);if(a&2){var c;pg(c=qg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[Ff],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["statusMenu",""],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button",
"",1,"gmat-button","medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","","type","button",3,"click","disabled"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"onSubmit","comment","showToolbar"],[1,"float-clear"],[3,"externalWarnings"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],[1,"bv2-multiple-user-chip"],
["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModelChange","ngModel","bContactAutocomplete"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModelChange","ngModel","required","bContactAutocomplete"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModelChange","ngModel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&E(0,cXa,14,5,"ng-template",null,0,Eg)},dependencies:[Dw,
zw,Ew,Fw,Gw,RA,SA,TA,UA,kx,bh,cx,dx,ux,jx,hx,CA,iE,mE,IC,HC,JC,$S,mV,yV,wV],encapsulation:2});var Ivc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var tq={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var qq=function(a){this.internalArray_=m(a)};Y(qq,n);g=qq.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.setMaxResults=function(a){return kl(this,5,a)};var pq=function(a){this.internalArray_=m(a,0,pq.messageId)};Y(pq,n);pq.prototype.getIt=function(){return Gi(this,qq,1)};pq.prototype.setIt=function(a){return hj(this,qq,1,a)};pq.prototype.hasIt=function(){return Ui(this,qq,1)};pq.messageId="b.LookupSimilarIssuesRequest";var Jvc=function(a){this.internalArray_=m(a)};Y(Jvc,n);g=Jvc.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getScore=function(){return Kl(this,2)};g.setScore=function(a){return sm(this,2,a)};var AV=function(a){this.internalArray_=m(a)};Y(AV,n);AV.prototype.getSimilarIssuesList=function(){return Ii(this,wm,1,hi())};AV.prototype.getScoresList=function(){return Ii(this,Jvc,2,hi())};AV.repeatedFields_=[1,2];var BV=function(a){this.internalArray_=m(a,0,BV.messageId)};Y(BV,n);g=BV.prototype;g.getSimilarIssuesList=function(){return Ii(this,rn,1,hi())};g.getScoresList=function(){return Ii(this,Jvc,2,hi())};g.getIt=function(){return Gi(this,AV,3)};g.setIt=function(a){return hj(this,AV,3,a)};g.hasIt=function(){return Ui(this,AV,3)};BV.repeatedFields_=[1,2];BV.messageId="b.LookupSimilarIssuesResponse";var Kvc={},Lvc=(Kvc[tq.queryAtom]=!0,Kvc),CV=function(a,b){this.executor=a;this.activeSession=b},Mvc=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:fXa(b),responseConstructor:BV}).pipe(z(function(c){if(hE(a.activeSession,"enableLeanFeC")&&c.getIt()){var d=c.getIt().getSimilarIssuesList().map(vm);c=c.getIt().getScoresList().map(function(e){return e.getScore()});return{similarIssues:d,scores:c}}d=c.getSimilarIssuesList().map(function(e){return zn(e)});c=c.getScoresList().map(function(e){return e.getScore()});
return{similarIssues:d,scores:c}}))},Nvc=function(a,b,c,d){d=void 0===d?new Set:d;d={maxResults:7,scope:oq.apply(null,[b?nq("-id",b):void 0,nq("modified","365d")].concat(u(Array.from(d).map(function(e){return e.queryAtom})))),scopeSortOrder:"vote_count desc"};null==c?d.issueId=Number(b):d.keyword=c;return Mvc(a,d)},Ovc=function(a,b,c,d){d=void 0===d?new Set:d;return Mvc(a,{issueId:Number(b),maxResults:7,scope:oq.apply(null,[nq("-id",b),nq("id",c)].concat(u(Array.from(d).map(function(e){return e.queryAtom}).filter(function(e){return Lvc[e]}))))})};
CV.\u0275fac=function(a){return new (a||CV)(p(HE),p(Zr))};CV.\u0275prov=Pc({token:CV,factory:CV.\u0275fac,providedIn:"root"});var Pvc=Nm(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Om),Qvc=new Set([tq]),DV=function(a,b){this.issueFridge=a;this.similarIssuesApi=b;this.recentlyViewedIds$=this.issueFridge.watchMany({custom:"viewed",pageSize:50}).pipe(z(function(c){return c.results.map(function(d){return d.issueId})}));this.componentIdToRecentCanonicals=new Map},Rvc=function(a,b,c){c=void 0===c?Qvc:c;var d=Nvc(a.similarIssuesApi,b,void 0,c),e=a.recentlyViewedIds$.pipe(wf(function(f){return Ovc(a.similarIssuesApi,
b,f,c)}));return(0,X.combineLatest)([d,e]).pipe(z(function(f){var h=k(f);f=h.next().value;h=h.next().value;return gXa(f,h).similarIssues.slice(0,7)}))},Tvc=function(a,b,c,d,e){c=void 0===c?Qvc:c;return b.trim()?"canonical"===d?Nvc(a.similarIssuesApi,null==e?void 0:e.id,b,c).pipe(z(function(f){return f.similarIssues})):Svc(a,b):(0,X.of)(void 0)};
DV.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,X.of)(void 0);if("canonical"===b){b=Uvc(this,a,d);d=Vvc(this,d).pipe(wf(function(h){return e.issueFridge.watchMany({filter:oq(a,nq("-id",null==c?void 0:c.id),nq("status","open"),nq("componentid",h)),pageSize:10})}),z(function(h){return null==h?void 0:h.results}));var f=this.issueFridge.watchMany({filter:oq(a,nq("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(z(function(h){return null==h?void 0:h.results}),
vf([]));return(0,X.combineLatest)([b,d,f]).pipe(z(function(h){return Qj(h.flat(),function(l){return l.issueId})}),z(function(h){return h.slice(0,10)}),z(function(h){return Pvc(h,"desc")}))}return Svc(this,a)};
var Svc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(z(function(c){return null==c?void 0:c.results}))},Uvc=function(a,b,c){return c?Wvc(a,c).pipe(wf(function(d){return 0===d.length?(0,X.of)([]):a.issueFridge.watchMany({filter:oq(b,nq("id",d),nq("status","open")),pageSize:10}).pipe(z(function(e){return null==e?void 0:e.results}))})):(0,X.of)([])},Wvc=function(a,b){if(!b)return(0,X.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);
var c=a.issueFridge.watchMany({filter:oq(nq("componentid",b,!0),nq("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(z(function(d){return null==d?void 0:d.results}),z(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),z(function(d){return Rj(d.filter(Ei))}),tf({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Vvc=function(a,b){return b?Wvc(a,b).pipe(wf(function(c){return a.issueFridge.watchSet(c)}),z(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),
z(function(c){return[b].concat(u(c.filter(Ei)))}),z(Rj),tf({bufferSize:1,refCount:!0})):(0,X.of)([])};DV.\u0275fac=function(a){return new (a||DV)(p(iJ),p(CV))};DV.\u0275prov=Pc({token:DV,factory:DV.\u0275fac,providedIn:"root"});var EV=function(){};EV.\u0275fac=function(a){return new (a||EV)};EV.\u0275cmp=r({type:EV,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(cg(),E(0,hXa,1,0,"div",0)(1,iXa,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),A(),F("ngIf",b.isReady))},dependencies:[zw],encapsulation:2});var FV=function(){this.mode="datetime";this.isDataLoaded=!1};FV.prototype.ngOnChanges=function(){var a;if(null==(a=this.issue)?0:a.aggregatedData){var b;this.createdTime=(null==(b=this.issue)?NaN:b.aggregatedData.createdTimeMicros)/1E3}this.isDataLoaded=null!=this.issue};FV.\u0275fac=function(a){return new (a||FV)};
FV.\u0275cmp=r({type:FV,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[xd],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx",4,"ngIf","ngIfElse"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,jXa,1,3,"b-formatted-date-time",2),I(),E(2,kXa,1,0,"ng-template",null,0,Eg));a&2&&(a=R(3),F("isReady",b.isDataLoaded),A(),F("ngIf",b.createdTime)("ngIfElse",a))},
dependencies:[EV,zw,iO],encapsulation:2,changeDetection:0});var GV=function(a,b,c,d){Z.call(this);this.activeSession=a;this.currentTracker=b;this.clipboard=c;this.butterBar=d;this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=br};Y(GV,Z);GV.\u0275dir=Z.\u0275dir;GV.prototype.copyIssueId=function(){this.clipboard.copy(this.issueId);wr(this.butterBar,"Issue ID copied",2E3)};var rq=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
GV.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};GV.prototype.getAppBaseUrl=function(a){return iM(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};GV.\u0275fac=function(a){return new (a||GV)(C(Zr),C(hM),C(mR),C(pI))};
GV.\u0275cmp=r({type:GV,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&lg(rO,5);if(a&2){var c;pg(c=qg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[Ff],decls:4,vars:6,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["issueIdField",""],["issueUrlField",""],["urlAndTitleField",
""],["issueShortlinkField",""],["issueEmailField",""],["todoCommentField",""],["matTooltip","Copy issue ID","matTooltipShowDelay","750","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click"],["svgIcon","copy","class","icon-xs invisible",4,"ngIf"],[4,"ngIf"],["svgIcon","copy",1,"icon-xs","invisible"],["matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed",
"click","onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["class","issue-id-picker-popup","cdkTrapFocus","",3,"cdkTrapFocusAutoCapture",4,"ngIf"],["cdkTrapFocus","",1,"issue-id-picker-popup",3,"cdkTrapFocusAutoCapture"],[1,"id-details-row"],[3,"htmlFor"],["cdkFocusInitial","","type","text","readonly","","id","id-details-issue-id-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["class","muted shortcut",4,"ngIf"],["mat-icon-button",
"","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["svgIcon","copy",1,"icon-s"],["class","id-details-row",4,"ngIf"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly",
"","id","id-details-url-and-title-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],[1,"muted","shortcut"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",
1,"gmat-button","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"],["mat-icon-button","","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"gmat-button","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"],["mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"]],template:function(a,b){a&1&&(G(0,"button",8),N("click",function(){return b.copyIssueId()}),S(1),E(2,lXa,1,0,"mat-icon",9),I(),E(3,wXa,7,5,"ng-container",10));a&2&&(Qf("square-right",b.showCopyOptions),Hf("aria-label","Copy issue number "+b.issueId),A(),T(" ",b.issueId," "),A(),F("ngIf",
!b.showCopyOptions),A(),F("ngIf",b.showCopyOptions))},dependencies:[Gx,zw,nB,JF,CA,nE,OC,qO,rO],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)}"],
changeDetection:0});var HV=function(){};HV.prototype.ngOnInit=function(){};HV.prototype.onClick=function(a){a.stopPropagation()};HV.\u0275fac=function(a){return new (a||HV)};
HV.\u0275cmp=r({type:HV,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&N("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),E(1,xXa,1,2,"b-issue-id-picker",1),I());a&2&&(F("isReady",!!b.id),A(),F("ngIf",b.id))},dependencies:[EV,zw,GV],encapsulation:2,changeDetection:0});var IV=function(){},Xvc=function(a){a=a.issuePriority;if(null==a)return"";switch(a){case "P0":return"priority-1";case "P1":return"priority-2";case "P2":return"priority-3";case "P3":return"priority-4";case "P4":return"priority-5";default:return""}};IV.\u0275fac=function(a){return new (a||IV)};
IV.\u0275cmp=r({type:IV,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(G(0,"span",0),S(1),I());a&2&&(F("ngClass",Xvc(b)),A(),a=b.issuePriority,T(" ",null==a?"--":p5b[a]," "))},dependencies:[Cw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var JV=function(){this.priority=this.issue=null;this.isDataLoaded=!1};JV.prototype.ngOnChanges=function(){var a,b;this.priority=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.priority)||null;this.isDataLoaded=null!==this.issue};JV.\u0275fac=function(a){return new (a||JV)};
JV.\u0275cmp=r({type:JV,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[xd],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],[3,"issuePriority"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,yXa,2,1,"ng-container",2)(2,zXa,1,0,"ng-template",null,0,Eg),I());a&2&&(a=R(3),F("isReady",b.isDataLoaded),A(),F("ngIf",b.priority)("ngIfElse",a))},dependencies:[EV,zw,IV],encapsulation:2,changeDetection:0});var KV=function(a){this.changelistFridge=a;this.IssueStatus=i5b;this.STATUS_JS_FULL_TEXT=Tk;this.STATUS_JS_TERSE=m5b;this.issue=null;this.isDataLoaded=!1};KV.prototype.ngOnChanges=function(){if(this.showPendingFix&&this.issue){var a=this.changelistFridge.peekAllRecords(),b;this.pendingFixCl=EXa(a,null==(b=this.issue)?void 0:b.issueId)}var c,d;this.status=(null==(c=this.issue)?void 0:null==(d=c.snapshot[0])?void 0:d.status)||void 0;this.isDataLoaded=null!==this.issue};
KV.\u0275fac=function(a){return new (a||KV)(C(PH))};
KV.\u0275cmp=r({type:KV,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue",showPendingFix:"showPendingFix"},features:[xd],decls:5,vars:2,consts:[["noData",""],[3,"isReady"],["target","_blank",3,"class","href","matTooltip"],[3,"class","title"],["target","_blank",3,"href","matTooltip"],[3,"class","title",4,"ngIf","ngIfElse"],[3,"title"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,AXa,2,8,"a",2)(2,CXa,1,2,"div",3)(3,DXa,1,0,"ng-template",null,0,Eg),I());if(a&2){var c;F("isReady",
b.isDataLoaded);A();Uf((c=b.pendingFixCl)?1:2,c)}},dependencies:[EV,zw,nE,OC],encapsulation:2,changeDetection:0});var LV=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new Uv};LV.prototype.ngOnInit=function(){};
LV.prototype.toggle=function(){var a=this;Wo(this.analytics,"issueCard","click","cc "+(this.ccState?"REMOVE":"ADD"));this.onCc.emit(!this.ccState);this.ccState?(this.ccState=!1,this.issueApi.unCcUser(this.issueId).then(function(){}).catch(function(b){a.ccState=!0;a.errorHandler.errorHandler(null,b)})):(this.ccState=!0,this.issueApi.updateIssue(this.issueId,{issueId:this.issueId,actions:[{fieldName:"ccs",value:this.activeSession.getUserEmail(),actionType:"ADD"}]}).then(function(){}).catch(function(b){a.ccState=
!1;a.errorHandler.errorHandler(null,b)}))};LV.\u0275fac=function(a){return new (a||LV)(C(Zr),C(fH),C(ZI),C(qI))};
LV.\u0275cmp=r({type:LV,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},decls:3,vars:1,consts:[["mat-button","",1,"gmat-button","medium",3,"click"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"button",0),N("click",function(){return b.toggle()}),E(1,FXa,2,0,"ng-container",1),S(2,"CC me\n"),I());a&2&&(A(),F("ngIf",b.ccState))},dependencies:[zw,CA],encapsulation:2});var MV=function(a,b){Z.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new Uv;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};Y(MV,Z);MV.\u0275dir=Z.\u0275dir;
MV.prototype.onClick=function(){var a=this;if(null!=this.issueId&&!this.isSaving){var b=(this.upvoted=!this.upvoted)?1:-1;this.voteCount+=b;this.onVote.emit(this.upvoted);this.isSaving=!0;L$b(this.issueFridge,String(this.issueId),this.upvoted).pipe(mf(),xf(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};MV.\u0275fac=function(a){return new (a||MV)(C(qI),C(iJ))};
MV.\u0275cmp=r({type:MV,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[Ff],decls:4,vars:6,consts:[["mat-button","",1,"gmat-button","small",3,"click","matTooltip"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(G(0,"button",0),N("click",function(){return b.onClick()}),K(1,"mat-icon",1),G(2,"output",
2),S(3),I()());a&2&&(F("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),Hf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),A(2),eg("title","",b.voteCount," votes on this issue"),A(),T(" ",99999<b.voteCount?"99999+":b.voteCount," "))},dependencies:[nB,CA,nE,OC],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-button[_ngcontent-%COMP%]{box-sizing:border-box;height:24px;line-height:24px;min-width:42px;border-radius:12px;padding:0 4px;font-size:.8125rem;text-align:center;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.gmat-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px}.gmat-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse);box-shadow:none}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-button.mat-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-button:not(.mat-icon-button).small{padding:0 4px}output[_ngcontent-%COMP%]{display:inline-block;box-sizing:border-box;height:20px;line-height:20px;min-width:20px;border-radius:10px;margin-left:4px;margin-right:-16px;transform:translate(0, -33%);padding:0 4px;font-weight:500;font-size:.75rem;text-align:center;background-color:#188038;background-color:var(--good-bg-inverse);color:#fff;color:var(--text-inverse);box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--background);position:relative;z-index:1}[_nghost-%COMP%], output[_ngcontent-%COMP%]{transition:margin-right .1s ease-out}.no-votes[_nghost-%COMP%]{margin-right:2px}.no-votes[_nghost-%COMP%]   output[_ngcontent-%COMP%]{margin-right:-22px;visibility:hidden}/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var VXa=function(){return[]},NV=function(a,b,c,d,e,f){Z.call(this);var h=this;this.cdr=a;this.activeSession=b;this.analytics=c;this.relationshipService=d;this.issueFridge=e;this.butterBar=f;this.STATUS_JS_FULL_TEXT=Tk;this.ISSUE_PRIORITY_TEXT_JS=p5b;this.ISSUE_PRIORITY_ENUM=a5b;this.providedIssueId$=new X.ReplaySubject(1);this.issue$=this.providedIssueId$.pipe(wf(function(l){return h.issueFridge.watch(l)}),Ce(Ei));this.editIssue=el;this.FormattingMode=SD;this.enableNewVisibilityChips=hE(this.activeSession,
"enableNewVisibilityChips");this.init=new X.ReplaySubject(1)};Y(NV,Z);NV.\u0275dir=Z.\u0275dir;NV.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issue$.pipe(xf(this.destroyed$)).subscribe(function(b){a.issue=b;a.firstEvent=b.description&&EAa(b.description,b);a.cdr.markForCheck();a.init.next()})};NV.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
NV.prototype.getNote=function(){var a,b;return{commentNumber:1,unlinkifiedComment:(null==(a=this.firstEvent)?void 0:a.unlinkifiedComment)||"",formattedComment:null==(b=this.firstEvent)?void 0:b.formattedComment}};
var UXa=function(a,b){return Wk(b).includes(a.activeSession.getUserEmail())},PXa=function(a,b){var c;return me(function(d){if(1==d.nextAddress)return c=a.issueId,CH(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);0>f||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),ne(d,2,3),oe(d,(0,X.firstValueFrom)(a.relationshipService.delete(c,"CHILD",b)),3);if(2!=d.nextAddress)return pe(d),a.issueFridge.poke(b),qe(d,0);re(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
NV.\u0275fac=function(a){return new (a||NV)(C(ME,2),C(Zr),C(ZI),C(zJ),C(iJ),C(pI))};
NV.\u0275cmp=r({type:NV,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[wg([ME]),Ff],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"issueId"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],
[1,"issue-card-buttons","margin-y"],[3,"onCc","issueId","ccState"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"gmat-button","medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[1,"bv2-issue-card-comment"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,
b){a&1&&(G(0,"div",0),E(1,WXa,24,16,"ng-container",1),I());a&2&&(A(),F("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[Cw,zw,Ew,Fw,Gw,VM,CA,nE,OC,NQ,iO,QU,MV,qV,LV],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 OV=function(a){this.appEvents=a;this.issue=null;this.enableHovercard=this.useButtonToNavigate=!1;this.title="";this.isDataLoaded=!1;this.link=""};OV.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||"";this.isDataLoaded=null!==this.issue;var c,d;this.link=this.getIssueUrl(null!=(d=null==(c=this.issue)?void 0:c.issueId)?d:"")};OV.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):el(a)};
var XXa=function(a){var b,c=null==(b=a.issue)?void 0:b.issueId;null!=c&&a.appEvents.didShowIssueHovercard.next(c)};OV.\u0275fac=function(a){return new (a||OV)(C(gH))};
OV.\u0275cmp=r({type:OV,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget",enableHovercard:"enableHovercard",trailingChip:"trailingChip"},features:[xd],decls:9,vars:7,consts:[["useLinkToNavigate",""],["issueHovercard","onedevHovercard"],[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["class","b-chip s margin-s-left",
3,"class","matTooltip",4,"ngIf"],[3,"issueId",4,"ngIf"],[1,"line-clamp-3",3,"onedevHovercardShown","onedevHovercardTrigger","onedevHovercardActive"],["mat-icon-button","","tabindex","0","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","visible-on-row-active","hover-link",3,"keydown","click","routerLink","target","matTooltipShowDelay"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3","break-word",3,"keydown","click","onedevHovercardShown","routerLink","target",
"onedevHovercardTrigger","onedevHovercardActive"],[1,"b-chip","s","margin-s-left",3,"matTooltip"],[3,"issueId"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",2),K(1,"b-tracker-chip-smart",3),E(2,YXa,5,6,"ng-container",4)(3,ZXa,2,5,"ng-template",null,0,Eg)(5,$Xa,2,7,"span",5),I(),G(6,"onedev-hovercard",null,1),E(8,aYa,1,1,"b-issue-card",6),I());a&2&&(a=R(4),F("isReady",b.isDataLoaded),A(),F("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0),A(),F("ngIf",b.useButtonToNavigate)("ngIfElse",
a),A(3),F("ngIf",b.trailingChip),A(3),F("ngIf",b.issue))},dependencies:[EV,zw,nB,DA,nE,OC,oF,ZM,NV,JL,OL],styles:[".title[_ngcontent-%COMP%]{padding-top:7px;padding-bottom:6px;display:flex;flex-direction:row;align-items:center}a[_ngcontent-%COMP%]{color:inherit}"],changeDetection:0});var PV=function(a,b){this.checker=a;this.document=b};PV.prototype.focusFirstFocusableElement=function(a){(a=Yvc(this,a,!0))&&a.focus()};var Yvc=function(a,b,c){if((void 0===c||c)&&a.checker.isFocusable(b))return b;b=b.children||b.childNodes;for(c=0;c<b.length;c++){var d=b[c].nodeType===a.document.ELEMENT_NODE?Yvc(a,b[c]):null;if(d)return d}return null};PV.\u0275fac=function(a){return new (a||PV)(p(Bx),p(qh))};PV.\u0275prov=Pc({token:PV,factory:PV.\u0275fac,providedIn:"root"});var QV=function(a,b){this.elementRef=a;this.interactivityHelper=b};QV.prototype.ngOnInit=function(){};QV.prototype.focus=function(){this.interactivityHelper.focusFirstFocusableElement(this.elementRef.nativeElement)};Ac.Object.defineProperties(QV.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});QV.\u0275fac=function(a){return new (a||QV)(C(Wd),C(PV))};QV.\u0275dir=jd({type:QV,selectors:[["tr","row",""]],inputs:{row:"row"}});var RV=function(){};RV.\u0275fac=function(a){return new (a||RV)};RV.\u0275mod=hd({type:RV});RV.\u0275inj=Rc({});var Zvc=function(a,b){ky.call(this,a);this.directives=a;this.isEqual=b};Y(Zvc,ky);var vq=function(a,b){var c;return me(function(d){if(1==d.nextAddress)return oe(d,(0,X.firstValueFrom)(a.directives.changes.pipe(vf(a.directives.toArray()),z(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),Ce(Boolean),Ee(3E3))),2);c=d.yieldResult;iy(a,c);se(d)})};var $vc=new rd("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var SV=function(a){this.options=a};SV.\u0275fac=function(a){return new (a||SV)(C($vc))};
SV.\u0275dir=jd({type:SV,selectors:[["mat-chip"],["mat-basic-chip"],["mat-chip-row"],["mat-basic-chip-row"],["mat-chip-option"],["mat-basic-chip-option"]],hostVars:16,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-chip",!b.options.disableGmatStyle)("gmat-input-chip","input"===b.appearance)("gmat-filter-chip","hairline-filter"===b.appearance||"protected-filter"===b.appearance)("gmat-suggestive-chip","hairline-suggestive"===b.appearance||"protected-suggestive"===b.appearance)("gmat-assistive-chip","hairline-assistive"===
b.appearance||"protected-assistive"===b.appearance)("gmat-hairline-chip","input"===b.appearance||"hairline-filter"===b.appearance||"hairline-suggestive"===b.appearance||"hairline-assistive"===b.appearance)("gmat-protected-chip","protected-filter"===b.appearance||"protected-suggestive"===b.appearance||"protected-assistive"===b.appearance)("gmat-selectable-chip","input"===b.appearance||"hairline-filter"===b.appearance||"protected-filter"===b.appearance)},inputs:{appearance:"appearance"}});var awc=new rd("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var TV=function(a){this.options=a};TV.\u0275fac=function(a){return new (a||TV)(C(awc))};TV.\u0275dir=jd({type:TV,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-table",!b.options.disableGmatStyle)}});var bwc=new rd("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),cwc=new rd("MatChipAvatar"),dwc=new rd("MatChipTrailingIcon"),ewc=new rd("MatChipRemove"),fwc=new rd("MatChip");var UV=function(a,b){this._elementRef=a;this._parentChip=b;this._isPrimary=this.isInteractive=!0;this._disabled=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button")};g=UV.prototype;g._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};g._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};g.focus=function(){this._elementRef.nativeElement.focus()};
g._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};g._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
Ac.Object.defineProperties(UV.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=a}}});UV.\u0275fac=function(a){return new (a||UV)(C(Wd),C(fwc))};
UV.\u0275dir=jd({type:UV,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&N("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),Qf("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--presentational",!b.isInteractive)("mdc-evolution-chip__action--trailing",
!b._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?-1:Og(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[Gf]});var VV=function(){UV.apply(this,arguments);this._isPrimary=this.isInteractive=!1};Y(VV,UV);VV.\u0275fac=function(){var a;return function(b){return(a||(a=Td(VV)))(b||VV)}}();VV.\u0275dir=jd({type:VV,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"],standalone:!0,features:[wg([{provide:dwc,useExisting:VV}]),Ff]});var gwc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],hwc=0,WV=function(a,b,c,d,e,f,h,l){this._changeDetectorRef=a;this._elementRef=b;this._ngZone=c;this._focusMonitor=d;this._globalRippleOptions=h;this._onFocus=new X.Subject;this._onBlur=new X.Subject;this.role=null;this._hasFocusInternal=!1;this.id="mat-mdc-chip-"+hwc++;this.ariaDescription=this.ariaLabel=null;this._ariaDescriptionId=this.id+"-aria-description";
this.removable=!0;this.disabled=this.disableRipple=this.highlighted=!1;this.tabIndex=-1;this.removed=new Uv;this.destroyed=new Uv;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=bd(nz);this._injector=bd(Ie);this._document=e;this._animationsDisabled="NoopAnimations"===f;if(null!=l){var q;this.tabIndex=null!=(q=parseInt(l))?q:-1}this._monitorFocus();var t;null==(t=this._rippleLoader)||ZWb(t,this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};
g=WV.prototype;g._hasFocus=function(){return this._hasFocusInternal};g.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.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=(0,X.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g.ngDoCheck=function(){aXb(this._rippleLoader,this._elementRef.nativeElement,this._isRippleDisabled())};
g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._rippleLoader)||YWb(a,this._elementRef.nativeElement);var b;null==(b=this._actionChanges)||b.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};g.remove=function(){this.removable&&this.removed.emit({chip:this})};g._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!(null==(a=this._globalRippleOptions)||!a.disabled)};
g._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};g._handleKeydown=function(a){if(8===a.keyCode||46===a.keyCode)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.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};g._handlePrimaryActionInteraction=function(){};g._getTabIndex=function(){return this.role?this.disabled?-1:this.tabIndex:null};
g._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=null!==b;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):Ne(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})},{injector:a._injector}))})};
Ac.Object.defineProperties(WV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return void 0!==this._value?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},ripple:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this._rippleLoader)?void 0:$Wb(a,this._elementRef.nativeElement)},set:function(a){var b;null==(b=this._rippleLoader)||bXb(b,this._elementRef.nativeElement,a)}}});
WV.\u0275fac=function(a){return new (a||WV)(C(Pg),C(Wd),C(He),C(Jx),C(qh),C(sv,8),C(gz,8),Od("tabindex"))};
WV.\u0275cmp=r({type:WV,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(mg(c,cwc,5),mg(c,dwc,5),mg(c,ewc,5),mg(c,cwc,5),mg(c,dwc,5),mg(c,ewc,5));if(a&2){var d;pg(d=qg())&&(b.leadingIcon=d.first);pg(d=qg())&&(b.trailingIcon=d.first);pg(d=qg())&&(b.removeIcon=d.first);pg(d=qg())&&(b._allLeadingIcons=d);pg(d=qg())&&(b._allTrailingIcons=d);pg(d=qg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&lg(UV,5);if(a&2){var c;
pg(c=qg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(a,b){a&1&&N("keydown",function(c){return b._handleKeydown(c)});a&2&&(Zf("id",b.id),Hf("role",b.role)("tabindex",b._getTabIndex())("aria-label",b.ariaLabel),Rf("mat-"+(b.color||"primary")),Qf("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",Ng],highlighted:[2,"highlighted","highlighted",Ng],disableRipple:[2,"disableRipple","disableRipple",Ng],disabled:[2,"disabled","disabled",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?void 0:Og(a)}]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[wg([{provide:fwc,useExisting:WV}]),Gf,yg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],
decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[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-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(cg(gwc),K(0,"span",0),G(1,"span",1)(2,"span",2),E(3,
bYa,2,0,"span",3),G(4,"span",4),dg(5),K(6,"span",5),I()()(),E(7,cYa,2,0,"span",6));a&2&&(A(2),F("isInteractive",!1),A(),Uf(b.leadingIcon?3:-1),A(4),Uf(b._hasTrailingIcon()?7:-1))},dependencies:[UV],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-selected:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{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--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.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(--mdc-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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.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}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var iwc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],XV=function(){WV.apply(this,arguments);this._defaultOptions=bd(bwc,{optional:!0});this.chipListSelectable=!0;this._chipListMultiple=!1;var a,b;this._chipListHideSingleSelectionIndicator=null!=(b=null==(a=this._defaultOptions)?void 0:a.hideSingleSelectionIndicator)?b:!1;this._selectable=!0;this._selected=!1;this.basicChipAttrName="mat-basic-chip-option";this.selectionChange=
new Uv};Y(XV,WV);g=XV.prototype;g.ngOnInit=function(){WV.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())};
Ac.Object.defineProperties(XV.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}}});
XV.\u0275fac=function(){var a;return function(b){return(a||(a=Td(XV)))(b||XV)}}();
XV.\u0275cmp=r({type:XV,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&&(Zf("id",b.id),Hf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),Qf("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",Ng],selected:[2,"selected","selected",Ng]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[wg([{provide:WV,useExisting:XV},{provide:fwc,useExisting:XV}]),Gf,Ff,yg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell",
"mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_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-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[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&&(cg(iwc),K(0,"span",0),G(1,"span",1)(2,"button",2),E(3,dYa,5,0,"span",3),G(4,"span",4),dg(5),K(6,"span",5),I()()(),E(7,eYa,2,0,"span",6),G(8,"span",7),S(9),I());a&2&&(A(2),F("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),Hf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),
A(),Uf(b._hasLeadingGraphic()?3:-1),A(4),Uf(b._hasTrailingIcon()?7:-1),A(),F("id",b._ariaDescriptionId),A(),rg(b.ariaDescription))},dependencies:[UV],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-selected:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{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--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.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(--mdc-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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.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}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var YV=function(a,b,c){this._elementRef=a;this._changeDetectorRef=b;this._dir=c;this._lastDestroyedFocusedChipIndex=null;this._destroyed=new X.Subject;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new kg};g=YV.prototype;g.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||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;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._changeDetectorRef.markForCheck()})};g.focus=function(){};g._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
g._isValidIndex=function(a){return 0<=a&&a<this._chips.length};g._allowFocusEscape=function(){var a=this;if(-1!==this.tabIndex){var b=this.tabIndex;this.tabIndex=-1;setTimeout(function(){return a.tabIndex=b})}};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe(vf(null),wf(function(){return X.merge.apply(null,u(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(vf(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);og(a._chipActions)});this._keyManager=dy(hy(gy(fy(new ky(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(xf(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
iy(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(xf(this._destroyed)).subscribe(function(c){return gy(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(vf(null),xf(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(xf(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip);a._isValidIndex(c)&&b.chip._hasFocus()&&(a._lastDestroyedFocusedChipIndex=c)})};
g._redirectDestroyedChipFocus=function(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){var a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1);a=this._chips.toArray()[a];a.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}};
Ac.Object.defineProperties(YV.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||
0===this._chips.length}},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()}}});YV.\u0275fac=function(a){return new (a||YV)(C(Wd),C(Pg),C(ty,8))};
YV.\u0275cmp=r({type:YV,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&mg(c,WV,5);if(a&2){var d;pg(d=qg())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&N("keydown",function(c){return b._handleKeydown(c)});a&2&&Hf("role",b.role)},inputs:{disabled:[2,"disabled","disabled",Ng],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:Og(a)}]},standalone:!0,features:[Gf,yg],ngContentSelectors:["*"],
decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(cg(),G(0,"div",0),dg(1),I())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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}\n"],
encapsulation:2,changeDetection:0});var jwc=function(a,b){this.source=a;this.value=b},kwc={provide:Bw,useExisting:Yc(function(){return ZV}),multi:!0},ZV=function(){YV.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=bd(bwc,{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=null!=(b=null==(a=this._defaultOptions)?void 0:
a.hideSingleSelectionIndicator)?b:!1;this.change=new Uv;this._chips=void 0};Y(ZV,YV);g=ZV.prototype;
g.ngAfterContentInit=function(){var a=this;void 0!==this._pendingInitialValue&&Promise.resolve().then(function(){a._setSelectionByValue(a._pendingInitialValue,!1);a._pendingInitialValue=void 0});this._chips.changes.pipe(vf(null),xf(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(xf(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(xf(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():0<this._chips.length?this._keyManager._setActiveItemByIndex(0,1):this._elementRef.nativeElement.focus()}};g.writeValue=function(a){this._chips?this._setSelectionByValue(a,!1):null!=a&&(this._pendingInitialValue=a)};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=void 0===b?!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){9===a.keyCode&&YV.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 jwc(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 null!=e.value&&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(a){return!a.isInteractive};
Ac.Object.defineProperties(ZV.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.writeValue(a);
this._value=a}}});ZV.\u0275fac=function(){var a;return function(b){return(a||(a=Td(ZV)))(b||ZV)}}();
ZV.\u0275cmp=r({type:ZV,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&mg(c,XV,5);if(a&2){var d;pg(d=qg())&&(b._chips=d)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&N("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Zf("tabIndex",b.disabled||b.empty?-1:b.tabIndex),Hf("role",b.role)("aria-describedby",b._ariaDescribedby||null)("aria-required",
b.role?b.required:null)("aria-disabled",b.disabled.toString())("aria-multiselectable",b.multiple)("aria-orientation",b.ariaOrientation),Qf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",Ng],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",Ng],compareWith:"compareWith",required:[2,"required","required",Ng],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
Ng],value:"value"},outputs:{change:"change"},standalone:!0,features:[wg([kwc]),Gf,Ff,yg],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(cg(),G(0,"div",0),dg(1),I())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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}\n"],
encapsulation:2,changeDetection:0});var lwc=["input"],mwc=["formField"],nwc=0,owc=function(a,b){this.source=a;this.value=b},pwc={provide:Bw,useExisting:Yc(function(){return $V}),multi:!0},qwc=new rd("MatRadioGroup"),rwc=new rd("mat-radio-default-options",{providedIn:"root",factory:fYa}),$V=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+nwc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=
function(){};this.change=new Uv};g=$V.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;null==(a=this._buttonChanges)||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=null!==this._selected&&this._selected.value===this._value;this._radios&&!b&&(this._selected=null,this._radios.forEach(function(c){c.checked=a.value===c.value;c.checked&&(a._selected=c)}))};g._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new owc(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()};
Ac.Object.defineProperties($V.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._updateRadioButtonNames()}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition},set:function(a){this._labelPosition="before"===a?"before":"after";this._markRadiosForCheck()}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==a&&(this._value=a,this._updateSelectedRadioFromValue(),
this._checkSelectedRadioButton())}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this.value=(this._selected=a)?a.value:null;this._checkSelectedRadioButton()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=a;this._markRadiosForCheck()}}});
$V.\u0275fac=function(a){return new (a||$V)(C(Pg))};
$V.\u0275dir=jd({type:$V,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&mg(c,aW,5);if(a&2){var d;pg(d=qg())&&(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",Ng],required:[2,"required","required",Ng]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[wg([pwc,{provide:qwc,useExisting:$V}]),Gf]});
var aW=function(a,b,c,d,e,f,h,l){this._elementRef=b;this._changeDetector=c;this._focusMonitor=d;this._radioDispatcher=e;this._providerOverride=h;this.id=this._uniqueId="mat-radio-"+ ++nwc;this.disableRipple=!1;this.tabIndex=0;this.change=new Uv;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this.radioGroup=a;this._noopAnimations="NoopAnimations"===f;l&&(this.tabIndex=Og(l,0))};g=aW.prototype;
g.focus=function(a,b){b?Kx(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};g._emitChangeEvent=function(){this.change.emit(new owc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputClick=function(a){a.stopPropagation()};
g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};g._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this.radioGroup;a=a&&a.selected&&!this.disabled?a.selected===this?this.tabIndex:-1:this.tabIndex;if(a!==this._previousTabIndex){var b,c=null==(b=this._inputElement)?void 0:b.nativeElement;c&&(c.setAttribute("tabindex",a+""),this._previousTabIndex=a)}};
Ac.Object.defineProperties(aW.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,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===a),this.checked&&(this.radioGroup.selected=this)))}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(a){this._labelPosition=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(a){this._setDisabled(a)}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=a}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(a){this._color=a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});
aW.\u0275fac=function(a){return new (a||aW)(C(qwc,8),C(Wd),C(Pg),C(Jx),C(Gy),C(sv,8),C(rwc,8),Od("tabindex"))};
aW.\u0275cmp=r({type:aW,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(lg(lwc,5),lg(mwc,7,Wd));if(a&2){var c;pg(c=qg())&&(b._inputElement=c.first);pg(c=qg())&&(b._rippleTrigger=c.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(a,b){a&1&&N("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(Hf("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Qf("mat-primary","primary"===b.color)("mat-accent",
"accent"===b.color)("mat-warn","warn"===b.color)("mat-mdc-radio-checked",b.checked)("_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",Ng],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:Og(a)}],checked:[2,"checked","checked",Ng],value:"value",labelPosition:"labelPosition",
disabled:[2,"disabled","disabled",Ng],required:[2,"required","required",Ng],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[Gf,yg],ngContentSelectors:["*"],decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",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-mdc-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=v();cg();G(0,"div",2,0)(2,"div",3)(3,"div",4);N("click",function(d){x(c);return y(b._onTouchTargetClick(d))});I();G(4,"input",5,1);N("change",function(d){x(c);return y(b._onInputInteraction(d))});I();G(6,"div",6);K(7,"div",7)(8,
"div",8);I();G(9,"div",9);K(10,"div",10);I()();G(11,"label",11);dg(12);I()()}a&2&&(F("labelPosition",b.labelPosition),A(2),Qf("mdc-radio--disabled",b.disabled),A(2),F("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required),Hf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby),A(5),F("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",
!0),A(2),F("for",b.inputId))},dependencies:[hz,fz],styles:['.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}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.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 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.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.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.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._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 .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var bW=new rd("CDK_TABLE");new rd("text-column-options");var cW=function(a){this.template=a};cW.\u0275fac=function(a){return new (a||cW)(C(ig))};cW.\u0275dir=jd({type:cW,selectors:[["","cdkCellDef",""]],standalone:!0});var dW=function(a){this.template=a};dW.\u0275fac=function(a){return new (a||dW)(C(ig))};dW.\u0275dir=jd({type:dW,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});var eW=function(a){this.template=a};eW.\u0275fac=function(a){return new (a||eW)(C(ig))};eW.\u0275dir=jd({type:eW,selectors:[["","cdkFooterCellDef",""]],standalone:!0});
var fW=function(a){this._table=a;this._stickyEnd=this._sticky=this._hasStickyChanged=!1};fW.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};fW.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};fW.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};fW.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
Ac.Object.defineProperties(fW.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)}}});
fW.\u0275fac=function(a){return new (a||fW)(C(bW,8))};fW.\u0275dir=jd({type:fW,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(mg(c,cW,5),mg(c,dW,5),mg(c,eW,5));if(a&2){var d;pg(d=qg())&&(b.cell=d.first);pg(d=qg())&&(b.headerCell=d.first);pg(d=qg())&&(b.footerCell=d.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Ng],stickyEnd:[2,"stickyEnd","stickyEnd",Ng]},standalone:!0,features:[wg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:fW}]),Gf]});
var gW=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,u(a._columnCssClassName))},hW=function(a,b){gW.call(this,a,b)};Y(hW,gW);hW.\u0275fac=function(a){return new (a||hW)(C(fW),C(Wd))};hW.\u0275dir=jd({type:hW,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[Ff]});
var iW=function(a,b){gW.call(this,a,b);var c;(a=null==(c=a._table)?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(iW,gW);iW.\u0275fac=function(a){return new (a||iW)(C(fW),C(Wd))};iW.\u0275dir=jd({type:iW,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[Ff]});var jW=function(a,b){gW.call(this,a,b);var c;(a=null==(c=a._table)?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(jW,gW);
jW.\u0275fac=function(a){return new (a||jW)(C(fW),C(Wd))};jW.\u0275dir=jd({type:jW,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[Ff]});var swc=function(){this.tasks=[];this.endTasks=[]},twc=new rd("_COALESCED_STYLE_SCHEDULER"),kW=function(){this._currentSchedule=null;this._ngZone=bd(He)};kW.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};
kW.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new swc,this._ngZone.runOutsideAngular(function(){return queueMicrotask(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new swc;for(var c=k(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=k(b.endTasks);for(c=b.next();!c.done;c=b.next())c=c.value,c()}a._currentSchedule=null})}))};
kW.\u0275fac=function(a){return new (a||kW)(p(He))};kW.\u0275prov=Pc({token:kW,factory:kW.\u0275fac});var lW=function(a,b){this.template=a;this._differs=b};lW.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};lW.\u0275fac=function(a){return new (a||lW)(C(ig),C(vw))};lW.\u0275dir=jd({type:lW,features:[xd]});var mW=function(a,b,c){lW.call(this,a,b);this._table=c;this._sticky=this._hasStickyChanged=!1};Y(mW,lW);
mW.prototype.ngOnChanges=function(a){lW.prototype.ngOnChanges.call(this,a)};mW.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};mW.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};Ac.Object.defineProperties(mW.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});
mW.\u0275fac=function(a){return new (a||mW)(C(ig),C(vw),C(bW,8))};mW.\u0275dir=jd({type:mW,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Ng]},standalone:!0,features:[Gf,Ff,xd]});var nW=function(a,b,c){lW.call(this,a,b);this._table=c;this._sticky=this._hasStickyChanged=!1};Y(nW,lW);nW.prototype.ngOnChanges=function(a){lW.prototype.ngOnChanges.call(this,a)};
nW.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};nW.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};Ac.Object.defineProperties(nW.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});nW.\u0275fac=function(a){return new (a||nW)(C(ig),C(vw),C(bW,8))};
nW.\u0275dir=jd({type:nW,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Ng]},standalone:!0,features:[Gf,Ff,xd]});var oW=function(a,b,c){lW.call(this,a,b);this._table=c};Y(oW,lW);oW.\u0275fac=function(a){return new (a||oW)(C(ig),C(vw),C(bW,8))};oW.\u0275dir=jd({type:oW,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[Ff]});
var pW=function(a){this._viewContainer=a;uwc=this};pW.prototype.ngOnDestroy=function(){uwc===this&&(uwc=null)};var uwc=null;pW.\u0275fac=function(a){return new (a||pW)(C(jg))};pW.\u0275dir=jd({type:pW,selectors:[["","cdkCellOutlet",""]],standalone:!0});var qW=function(){};qW.\u0275fac=function(a){return new (a||qW)};
qW.\u0275cmp=r({type:qW,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[yg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Yf(0,0)},dependencies:[pW],encapsulation:2});var rW=function(){};rW.\u0275fac=function(a){return new (a||rW)};
rW.\u0275cmp=r({type:rW,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[yg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Yf(0,0)},dependencies:[pW],encapsulation:2});var sW=function(){};sW.\u0275fac=function(a){return new (a||sW)};
sW.\u0275cmp=r({type:sW,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[yg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Yf(0,0)},dependencies:[pW],encapsulation:2});var tW=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};tW.\u0275fac=function(a){return new (a||tW)(C(ig))};tW.\u0275dir=jd({type:tW,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});var vwc=new rd("CDK_SPL");var wwc=["top","bottom","left","right"],xwc=function(a,b,c,d,e,f,h){e=void 0===e?!0:e;f=void 0===f?!0:f;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=f;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},ywc=function(a,b,c){var d=[];b=k(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var f=0;f<e.children.length;f++)d.push(e.children[f])}a._coalescedStyleScheduler.schedule(function(){for(var h=k(d),l=h.next();!l.done;l=h.next())a._removeStickyStyle(l.value,c)})},zwc=function(a,b,c,d,e){e=void 0===e?!0:e;b.length&&a._isBrowser&&(c.some(function(f){return f})||d.some(function(f){return f}))?a._coalescedStyleScheduler.schedule(function(){var f=b[0],h=f.children.length;f=a._getCellWidths(f,e);var l=a._getStickyStartColumnPositions(f,
c),q=a._getStickyEndColumnPositions(f,d),t=c.lastIndexOf(!0),w=d.indexOf(!0),B="rtl"===a.direction,D=B?"right":"left";B=B?"left":"right";for(var J=k(b),H=J.next();!H.done;H=J.next()){H=H.value;for(var O=0;O<h;O++){var P=H.children[O];c[O]&&a._addStickyStyle(P,D,l[O],O===t);d[O]&&a._addStickyStyle(P,B,q[O],O===w)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===t?[]:f.slice(0,t+1).map(function(U,aa){return c[aa]?U:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
w?[]:f.slice(w).map(function(U,aa){return d[aa+w]?U:null}).reverse()}))}):a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},Awc=function(a,b,c,d){a._isBrowser&&a._coalescedStyleScheduler.schedule(function(){for(var e="bottom"===d?b.slice().reverse():b,f="bottom"===d?c.slice().reverse():c,h=[],l=[],q=[],t=0,w=0;t<e.length;t++)if(f[t]){h[t]=w;var B=e[t];q[t]=a._isNativeHtmlTable?Array.from(B.children):[B];B=B.getBoundingClientRect().height;
w+=B;l[t]=B}t=f.lastIndexOf(!0);for(w=0;w<e.length;w++)if(f[w]){B=h[w];for(var D=w===t,J=k(q[w]),H=J.next();!H.done;H=J.next())a._addStickyStyle(H.value,d,B,D)}if("top"===d){var O;null==(O=a._positionListener)||O.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var P;null==(P=a._positionListener)||P.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})},Bwc=function(a,b,c){a._isNativeHtmlTable&&a._coalescedStyleScheduler.schedule(function(){var d=b.querySelector("tfoot");d&&(c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1))})};g=xwc.prototype;g._removeStickyStyle=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);wwc.some(function(e){return-1===b.indexOf(e)&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=k(wwc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
g._getCellWidths=function(a,b){if(void 0!==b&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(a[c].getBoundingClientRect().width);return this._cachedCellWidths=b};g._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};g._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;0<e;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var Cwc=[[["caption"]],[["colgroup"],["col"]],"*"],uW=function(a,b){this.viewContainer=a;this.elementRef=b;a=bd(bW);a._rowOutlet=this;a._outletAssigned()};uW.\u0275fac=function(a){return new (a||uW)(C(jg),C(Wd))};uW.\u0275dir=jd({type:uW,selectors:[["","rowOutlet",""]],standalone:!0});var vW=function(a,b){this.viewContainer=a;this.elementRef=b;a=bd(bW);a._headerRowOutlet=this;a._outletAssigned()};vW.\u0275fac=function(a){return new (a||vW)(C(jg),C(Wd))};
vW.\u0275dir=jd({type:vW,selectors:[["","headerRowOutlet",""]],standalone:!0});var wW=function(a,b){this.viewContainer=a;this.elementRef=b;a=bd(bW);a._footerRowOutlet=this;a._outletAssigned()};wW.\u0275fac=function(a){return new (a||wW)(C(jg),C(Wd))};wW.\u0275dir=jd({type:wW,selectors:[["","footerRowOutlet",""]],standalone:!0});var xW=function(a,b){this.viewContainer=a;this.elementRef=b;a=bd(bW);a._noDataRowOutlet=this;a._outletAssigned()};xW.\u0275fac=function(a){return new (a||xW)(C(jg),C(Wd))};
xW.\u0275dir=jd({type:xW,selectors:[["","noDataRowOutlet",""]],standalone:!0});
var yW=function(a,b,c,d,e,f,h,l,q,t,w){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=t;this._stickyPositioningListener=w;this._onDestroy=new X.Subject;this._columnDefsByName=new Map;this._customColumnDefs=new Set;this._customRowDefs=new Set;this._customHeaderRowDefs=new Set;this._customFooterRowDefs=new Set;this._forceRecalculateCellWidths=this._stickyColumnStylesNeedReset=this._footerRowDefChanged=
this._headerRowDefChanged=!0;this._cachedRenderRowsMap=new Map;this.stickyCssClass="cdk-table-sticky";this.needsPositionStickyOnElement=!0;this._hasInitialized=this._hasAllOutlets=this._isShowingNoDataRow=!1;this._cellRoleInternal=void 0;this._fixedLayout=this._multiTemplateDataRows=!1;this.contentChanged=new Uv;this._injector=bd(Ie);d||c.nativeElement.setAttribute("role","table");this._document=f;this._isServer=!h.isBrowser;this._isNativeHtmlTable="TABLE"===c.nativeElement.nodeName};g=yW.prototype;
g._getCellRole=function(){if(void 0===this._cellRoleInternal){var a=this._elementRef.nativeElement.getAttribute("role");a="grid"===a||"treegrid"===a?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===a?null:a}return this._cellRoleInternal};
g.ngOnInit=function(){var a=this;this._setupStickyStyler();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(xf(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,b,c;[null==(a=this._rowOutlet)?void 0:a.viewContainer,null==(b=this._headerRowOutlet)?void 0:b.viewContainer,null==(c=this._footerRowOutlet)?void 0:c.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(d){null==d||d.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();
Loa(this.dataSource)&&this.dataSource.disconnect(this)};
g.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;lWb(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();FUb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();Ne(function(){Dwc(a)},{injector:this._injector})}else this._updateNoDataRow();
this.contentChanged.next()};
var Ewc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=kYa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});ywc(a._stickyStyler,b,["top"]);Awc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Fwc=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=kYa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});ywc(a._stickyStyler,b,["bottom"]);Awc(a._stickyStyler,b,c,"bottom");Bwc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Dwc=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)ywc(a._stickyStyler,[].concat(u(b),u(c),
u(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=yW.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&&0<this._rowDefs.length&&!this._renderChangeSubscription?
this._observeRenderChanges():this._stickyColumnStylesNeedReset&&Dwc(this);this._checkStickyStates()};
g._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var c=0;c<this._data.length;c++){var d=this._data[c],e=this._getRenderRowsForData(d,c,b.get(d));this._cachedRenderRowsMap.has(d)||this._cachedRenderRowsMap.set(d,new WeakMap);for(d=0;d<e.length;d++){var f=e[d],h=this._cachedRenderRowsMap.get(f.data);h.has(f.rowDef)?h.get(f.rowDef).push(f):h.set(f.rowDef,[f]);a.push(f)}}return a};
g._getRenderRowsForData=function(a,b,c){return this._getRowDefs(a,b).map(function(d){var e=c&&c.has(d)?c.get(d):[];return e.length?(d=e.shift(),d.dataIndex=b,d):{data:a,rowDef:d,dataIndex:b}})};g._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();jYa(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=jYa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=jYa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=jYa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
g._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
g._switchDataSource=function(a){this._data=[];Loa(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;Loa(this.dataSource)?b=this.dataSource.connect(this):(0,X.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,X.of)(this.dataSource));this._renderChangeSubscription=b.pipe(xf(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
g._forceRenderHeaderRows=function(){var a=this;0<this._headerRowOutlet.viewContainer.length&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});Ewc(this)};g._forceRenderFooterRows=function(){var a=this;0<this._footerRowOutlet.viewContainer.length&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});Fwc(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});zwc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(1==this._rowDefs.length)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._renderRow=function(a,b,c,d){d=void 0===d?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=k(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,uwc&&uwc._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
g._updateRowIndexContext=function(){for(var a=this._rowOutlet.viewContainer,b=0,c=a.length;b<c;b++){var d=a.get(b).context;d.count=c;d.first=0===b;d.last=b===c-1;d.even=0===b%2;d.odd=!d.even;this.multiTemplateDataRows?(d.dataIndex=this._renderRows[b].dataIndex,d.renderIndex=b):d.index=this._renderRows[b].dataIndex}};
g._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof mW?c.headerCell.template:a instanceof nW?c.footerCell.template:c.cell.template}):[]};g._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};
g._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&Ewc(this);this._footerRowDefs.reduce(a,!1)&&Fwc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,Dwc(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new xwc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener);(this._dir?this._dir.change:(0,X.of)()).pipe(xf(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;Dwc(a)})};g._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
g._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=0===this._rowOutlet.viewContainer.length;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;if(b){c=c.createEmbeddedView(a.templateRef);var d=c.rootNodes[0];1===c.rootNodes.length&&(null==d?void 0:d.nodeType)===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(a._contentClassName))}else c.clear();this._isShowingNoDataRow=b;this._changeDetectorRef.markForCheck()}}};
Ac.Object.defineProperties(yW.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(),Dwc(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});yW.\u0275fac=function(a){return new (a||yW)(C(vw),C(Pg),C(Wd),Od("role"),C(ty,8),C(qh),C(Ax),C(jWb),C(twc),C(Hy),C(vwc,12),C(He,8))};
yW.\u0275cmp=r({type:yW,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(mg(c,tW,5),mg(c,fW,5),mg(c,oW,5),mg(c,mW,5),mg(c,nW,5));if(a&2){var d;pg(d=qg())&&(b._noDataRow=d.first);pg(d=qg())&&(b._contentColumnDefs=d);pg(d=qg())&&(b._contentRowDefs=d);pg(d=qg())&&(b._contentHeaderRowDefs=d);pg(d=qg())&&(b._contentFooterRowDefs=d)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Ng],fixedLayout:[2,"fixedLayout","fixedLayout",Ng]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[wg([{provide:bW,useExisting:yW},{provide:jWb,useClass:kWb},{provide:twc,useClass:kW},{provide:vwc,useValue:null}]),Gf,yg],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a,b){a&1&&(cg(Cwc),dg(0),dg(1,1),E(2,gYa,1,0)(3,hYa,7,0)(4,iYa,4,0));a&2&&(A(2),Uf(b._isServer?2:-1),A(),Uf(b._isNativeHtmlTable?3:4))},dependencies:[vW,uW,xW,wW],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var zW=function(){};zW.\u0275fac=function(a){return new (a||zW)};zW.\u0275mod=hd({type:zW});zW.\u0275inj=Rc({imports:[Jy]});var AW=function(){cW.apply(this,arguments)};Y(AW,cW);AW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(AW)))(b||AW)}}();AW.\u0275dir=jd({type:AW,selectors:[["","matCellDef",""]],standalone:!0,features:[wg([{provide:cW,useExisting:AW}]),Ff]});var BW=function(){dW.apply(this,arguments)};Y(BW,dW);BW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(BW)))(b||BW)}}();
BW.\u0275dir=jd({type:BW,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[wg([{provide:dW,useExisting:BW}]),Ff]});var CW=function(){eW.apply(this,arguments)};Y(CW,eW);CW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(CW)))(b||CW)}}();CW.\u0275dir=jd({type:CW,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[wg([{provide:eW,useExisting:CW}]),Ff]});var DW=function(){fW.apply(this,arguments)};Y(DW,fW);
DW.prototype._updateColumnCssClassName=function(){fW.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};Ac.Object.defineProperties(DW.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});DW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(DW)))(b||DW)}}();
DW.\u0275dir=jd({type:DW,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[wg([{provide:fW,useExisting:DW},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:DW}]),Ff]});var EW=function(){hW.apply(this,arguments)};Y(EW,hW);EW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(EW)))(b||EW)}}();
EW.\u0275dir=jd({type:EW,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[Ff]});var FW=function(){iW.apply(this,arguments)};Y(FW,iW);FW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(FW)))(b||FW)}}();FW.\u0275dir=jd({type:FW,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[Ff]});
var GW=function(){jW.apply(this,arguments)};Y(GW,jW);GW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(GW)))(b||GW)}}();GW.\u0275dir=jd({type:GW,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[Ff]});var HW=function(){mW.apply(this,arguments)};Y(HW,mW);HW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(HW)))(b||HW)}}();HW.\u0275dir=jd({type:HW,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Ng]},standalone:!0,features:[wg([{provide:mW,useExisting:HW}]),Gf,Ff]});var IW=function(){nW.apply(this,arguments)};Y(IW,nW);IW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(IW)))(b||IW)}}();
IW.\u0275dir=jd({type:IW,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",Ng]},standalone:!0,features:[wg([{provide:nW,useExisting:IW}]),Gf,Ff]});var JW=function(){oW.apply(this,arguments)};Y(JW,oW);JW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(JW)))(b||JW)}}();
JW.\u0275dir=jd({type:JW,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[wg([{provide:oW,useExisting:JW}]),Ff]});var KW=function(){};Y(KW,qW);KW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(KW)))(b||KW)}}();
KW.\u0275cmp=r({type:KW,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[wg([{provide:qW,useExisting:KW}]),Ff,yg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Yf(0,0)},dependencies:[pW],encapsulation:2});var LW=function(){};Y(LW,rW);LW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(LW)))(b||LW)}}();
LW.\u0275cmp=r({type:LW,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[wg([{provide:rW,useExisting:LW}]),Ff,yg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Yf(0,0)},dependencies:[pW],encapsulation:2});var MW=function(){};Y(MW,sW);MW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(MW)))(b||MW)}}();
MW.\u0275cmp=r({type:MW,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[wg([{provide:sW,useExisting:MW}]),Ff,yg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Yf(0,0)},dependencies:[pW],encapsulation:2});var NW=function(){tW.apply(this,arguments);this._contentClassName="mat-mdc-no-data-row"};Y(NW,tW);
NW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(NW)))(b||NW)}}();NW.\u0275dir=jd({type:NW,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[wg([{provide:tW,useExisting:NW}]),Ff]});var Gwc=[[["caption"]],[["colgroup"],["col"]],"*"],OW=function(){yW.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};Y(OW,yW);OW.\u0275fac=function(){var a;return function(b){return(a||(a=Td(OW)))(b||OW)}}();
OW.\u0275cmp=r({type:OW,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[wg([{provide:yW,useExisting:OW},{provide:bW,useExisting:OW},{provide:twc,useClass:kW},{provide:jWb,useClass:kWb},{provide:vwc,useValue:null}]),Ff,yg],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&&(cg(Gwc),dg(0),dg(1,1),E(2,lYa,1,0)(3,mYa,7,0)(4,nYa,4,0));a&2&&(A(2),Uf(b._isServer?2:-1),A(),Uf(b._isNativeHtmlTable?3:4))},dependencies:[vW,uW,xW,wW],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, 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, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);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)}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 Hwc=["searchInput"],pYa=function(a){return[a]},Iwc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Jwc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},Kwc={},Lwc=(Kwc["Similar issues"]="similar",Kwc["Search results"]="exact",Kwc["Semantic search results"]="semantic",Kwc["Issue IDs"]="id",Kwc),Mwc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},PW=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);
var w=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issuePickerSearchService=d;this.analytics=e;this.activeSession=f;this.componentFridge=h;this.teamFridge=l;this.featureTooltipService=q;this.domSafe=t;this.isSimilarIssuesUiEnabled=this.activeSession.isInternalSession();this.data=Object.assign({},Iwc,this.initialData);var B;this.currentComponentId=null!=(B=this.data.componentId)?B:void 0;this.currentIssueId$=(0,X.defer)(function(){var D;return"issue"===(null==(D=w.data.currentResource)?
void 0:D.type)?(0,X.of)(w.data.currentResource.id):X.NEVER});this.currentIssue$=this.currentIssueId$.pipe(wf(this.issueFridge.watch),tf({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(Ce(function(D){return!!(D&&D.aggregatedData&&D.aggregatedData.teamId)}),wf(function(D){return w.teamFridge.watch(D.aggregatedData.teamId)}),tf({bufferSize:1,refCount:!0}));this.component$=this.componentFridge.watch(this.currentComponentId);this.selectedIssues=new GQ;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");
this.issueUrlFactory=el;this.trackByIssueId=function(D,J){return J.issueId};this.searchText$=new X.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(z(function(D){return D.trim()}),lf());this.idsInSearchText$=this.searchTextTrimmed$.pipe(z(IFa),z(Rj),lf(ki));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(wf(function(D){return w.issueFridge.watchSet(D)}),yf(function(){w.isLoading=!1}));this.openFilter=tq;this.teamFilter=this.componentFilter=void 0;this.includeDescendants=!1;this.selectedFilters$=
new GQ([this.openFilter]);this.similarIssues$=(0,X.combineLatest)([this.currentIssue$.pipe(Ce(Ei)),this.selectedFilters$.value$,this.searchTextTrimmed$]).pipe(Ce(function(){return w.isSimilarIssuesUiEnabled}),Ce(function(D){D=k(D);D.next();D.next();return""===D.next().value}),yf(function(){w.isLoading=!0}),wf(function(D){var J=k(D);D=J.next().value;J=J.next().value;return Rvc(w.issuePickerSearchService,D.issueId,J)}),yf(function(){w.isLoading=!1}),tf({bufferSize:1,refCount:!0}));this.SearchSource=
Mwc;this.selectedSearchSource$=new X.BehaviorSubject(this.isSimilarIssuesUiEnabled?"Smart search":"Exact match");this.searchResults$=(0,X.combineLatest)([this.searchTextTrimmed$.pipe(yf(function(){w.isLoading=!0}),jf(200)),this.selectedFilters$.value$.pipe(yf(function(){w.isLoading=!0})),this.selectedSearchSource$]).pipe(wf(function(D){D=k(D);var J=D.next().value,H=D.next().value;return"Smart search"===D.next().value?(Wo(w.analytics,"assistive-issue-picker","semantic-search-"+w.data.edgeType),Tvc(w.issuePickerSearchService,
J,H,w.data.edgeType,w.data.currentResource)):w.issuePickerSearchService.search(J,w.data.edgeType,w.data.currentResource,w.currentComponentId)}),yf(function(){w.isLoading=!1}),tf({bufferSize:1,refCount:!0}));this.TOOLTIP_ISSUE_PICKER_SIMILAR_ISSUE="tooltipIdIssuePickerSimilarIssueHovercard";this.TOOLTIP_POSITIONS=sB;this.showFeatureTooltip$=O2b(this.featureTooltipService,"HIDDEN",["tooltipIdIssuePickerSimilarIssueHovercard"]).pipe(Ce(function(D){return 0===D.length}),kf(1E3),z(function(){}));this.idsToAutoSelect$=
this.issuesWithIdMatches$.pipe(z(function(D){return 1!==D.length||4>D[0].issueId.length?[]:[D[0].issueId]}),lf(ki),yf(function(D){0===D.length&&(w.isPasteResultInSuggestion=!1);var J,H=null!=(J=Gk(w.similarIssues$))?J:[];w.isPasteResultInSuggestion=H.map(function(O){return O.issueId}).includes(D[0])}));this.TableDataSource=Jwc;this.tableDataSource="Search results";this.issues$=(0,X.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(vf([])),this.selectedSearchSource$]).pipe(wf(function(D){var J=
k(D);D=J.next().value;var H=J.next().value,O=J.next().value;J=J.next().value;return H.length?(w.tableDataSource="Issue IDs",w.issuesWithIdMatches$):D?(w.tableDataSource="Smart search"===J?"Semantic search results":"Search results",w.searchResults$):O?(0<O.length&&(w.tableDataSource="Similar issues"),w.similarIssues$):(0,X.of)(void 0)}),lf());this.correctedDisplayedRows=new kg;this.isPasteResultInSuggestion=this.isLoading=!1};Y(PW,Z);PW.\u0275dir=Z.\u0275dir;
PW.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.component$.pipe(mf()).subscribe(function(b){b&&(a.componentFilter=eXa(b,!1),a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter))}));this.subscriptions.add(this.team$.pipe(mf()).subscribe(function(b){b&&(a.teamFilter=dXa(b,!1))}));"canonical"===this.data.edgeType&&this.subscriptions.add(Wvc(this.issuePickerSearchService,
this.currentComponentId).subscribe())};PW.prototype.ngAfterViewInit=function(){this.focusManager=hy(new Zvc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};
var wYa=function(a,b){if(a.componentFilter&&a.teamFilter&&a.selectedScopeFilter!==b){a.selectedScopeFilter=b;var c=new Set(Gk(a.selectedFilters$.value$));b===a.componentFilter?(c.add(a.componentFilter),c.delete(a.teamFilter)):(c.add(a.teamFilter),c.delete(a.componentFilter));a.selectedFilters$.reset(c)}},$Ya=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress)return oe(e,Zo(),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(Ei);
a.correctedDisplayedRows.reset(d);og(a.correctedDisplayedRows);se(e)})};PW.prototype.onPressConfirm=function(){var a=this,b,c;return me(function(d){if(!a.selectedIssues.size)return d.return();b=[].concat(u(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);Nwc(a,b[0]);return oe(d,Owc(a,b[0]),0)})};PW.prototype.onPressCancel=function(){this.dialogRef.close()};PW.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
PW.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Owc=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress)return oe(e,Pwc(a,b),2);c=e.yieldResult;d=Lwc[a.tableDataSource];Wo(a.analytics,"assistive-issue-picker","picked-c-"+a.data.edgeType,c?d+"-hit":d+"-miss",c?1:0);se(e)})},Nwc=function(a,b){if(a.isSimilarIssuesUiEnabled){var c,d=null!=(c=Gk(a.similarIssues$))?c:[],e=d.map(function(f){return f.issueId});c=Lwc[a.tableDataSource];b=e.includes(b);0===d.length?Wo(a.analytics,"assistive-issue-picker","empty-hit-rate-"+a.data.edgeType,
c+"-empty"):Wo(a.analytics,"assistive-issue-picker","hit-rate-"+a.data.edgeType,b?c+"-hit":c+"-miss",b?1:0)}},Pwc=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(!1);c=Set;return oe(e,(0,X.firstValueFrom)(Wvc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};PW.prototype.openLearnMore=function(){this.domSafe.openInNewTab("http://go/b-mark-as-duplicate")};
PW.\u0275fac=function(a){return new (a||PW)(C(NA),C(PA),C(iJ),C(DV),C(ZI),C(Zr),C(ZH),C(oK),C(zC),C(XN))};
PW.\u0275cmp=r({type:PW,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(lg(Hwc,5),lg(QV,5));if(a&2){var c;pg(c=qg())&&(b.inputEl=c.first);pg(c=qg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&N("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},features:[Ff],decls:24,vars:19,consts:[["searchInput",""],["teamComponentMenu","matMenu"],["menuTrigger","matMenuTrigger"],["mat-dialog-title",
""],["class","heading flex-kids-y gap-s border-bottom padded-bottom margin-s-bottom",4,"ngIf"],[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",3,"onedevFeatureTooltip"],[3,"showTooltip$",4,"ngIf"],["placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input"],["class","padded-s",3,"value","selectionChange",4,
"ngIf"],[4,"ngIf"],["class","center-text padded margined pos-rel",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","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"],[3,"showTooltip$"],[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],["svgIcon","search_spark_24px",
1,"icon-m"],["svgIcon","search",1,"icon-m"],[1,"padded-s",3,"selectionChange","value"],["matTooltip","Searches by semantic similarity of the query. Does not support search atoms (like 'status:open')","matTooltipShowDelay","750","matTooltipPosition","left",3,"value"],["matTooltip","Searches by the exact query text. Supports search atoms (like 'status:open')","matTooltipShowDelay","750","matTooltipPosition","left",3,"value"],[1,"flex-kids-x","align-items-center","margin-s-bottom","gap-s"],["aria-label",
"Filter open issues",3,"change"],["appearance","hairline-filter",3,"selected","value"],[3,"matTooltip"],["aria-label","Scope search to component or team",3,"selectable",4,"ngIf"],["xPosition","before"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","click",4,"ngIf"],["aria-label","Include subcomponents or subteams",3,"change"],["appearance","hairline-filter",1,"include-descendants-chip"],["matTooltip","Include subcomponents or subteams"],["mat-icon-button",
"","matTooltip","Learn more","aria-label","help",1,"gmat-button",3,"click"],["svgIcon","help-outline"],["aria-label","Scope search to component or team",3,"selectable"],["appearance","hairline-filter","aria-label","Select search scope","selected","","color","primary","role","button",1,"team-component-filters",3,"keydown.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click",
"matTooltip"],["svgIcon","done"],[1,"center-text","padded","margined","pos-rel"],["text","Finding similar issues...",3,"large"],["text","Searching..."],["ariaLabel","Loading results",1,"margined","inline-block"],["mat-dialog-content",""],["messageType","info","iconOverride","lightbulb_24px",4,"ngIf"],[1,"heading-xs"],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",4,"ngIf"],["class","center-text padded",4,"ngIf"],["messageType","info","iconOverride","lightbulb_24px"],
["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,"center-text","padded"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=v();G(0,"div",3);E(1,oYa,5,1,"div",4);V(2,"async");G(3,"div",5);K(4,"mat-icon",6);G(5,"span");S(6,"Close as duplicate of:");I()();G(7,"header",7);E(8,qYa,6,5,"onedev-feature-tooltip-controller",8)(9,tYa,2,1);V(10,"async");G(11,"input",9,0);N("keydown.arrowdown",function(){x(c);return y(b.focusManager.setActiveItem(0))})("input",function(){x(c);var e=R(12);return y(b.searchText$.next(e.value))});
I();E(13,uYa,6,7,"mat-select",10);I();E(14,BYa,3,3,"ng-container",11);I();E(15,FYa,5,3,"div",12)(16,cZa,6,4,"ng-container",11);V(17,"async");G(18,"div",13)(19,"button",14);N("click",function(){x(c);return y(b.onPressCancel())});S(20," Cancel ");I();G(21,"button",15);V(22,"async");N("click",function(){x(c);return y(b.onPressConfirm())});S(23," Close as duplicate ");I()()}if(a&2){var d;A();F("ngIf",W(2,11,b.currentIssue$));A(6);F("onedevFeatureTooltip",b.TOOLTIP_ISSUE_PICKER_SIMILAR_ISSUE);A();F("ngIf",
b.isSimilarIssuesUiEnabled);A();Uf((d=W(10,13,b.selectedSearchSource$))?9:-1,d);A(2);Qf("additional-padding-right",b.isSimilarIssuesUiEnabled);A(2);F("ngIf",b.isSimilarIssuesUiEnabled);A();F("ngIf",b.isSimilarIssuesUiEnabled);A();F("ngIf",b.isLoading);A();F("ngIf",W(17,15,b.issues$));A(5);F("disabled",!W(22,17,b.selectedIssues.size$))}},dependencies:[zw,nB,SV,ZV,XV,VV,FV,HV,JV,KV,OV,CA,SA,TA,UA,mE,IC,HC,JC,$V,aW,gR,aR,jz,TV,OW,BW,HW,DW,AW,JW,EW,GW,KW,MW,nE,OC,uM,GL,QV,wB,BC,EC,FC,BE,CE,Iw],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-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}.search-field[_ngcontent-%COMP%]   input.additional-padding-right[_ngcontent-%COMP%]{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-dialog-actions[_ngcontent-%COMP%]     button.gmat-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]   .mat-dialog-actions[_ngcontent-%COMP%]     button.gmat-button:focus{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}[_nghost-%COMP%]   .mat-dialog-actions[_ngcontent-%COMP%]     button.gmat-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}[_nghost-%COMP%]   .mat-dialog-actions[_ngcontent-%COMP%]     button.gmat-button:not([disabled]):focus.confirm .mat-button-focus-overlay{background-color:#174ea6;background-color:var(--primary-c900);opacity:0}[_nghost-%COMP%]     .mat-dialog-content{margin:unset;padding:unset;max-height:46vh}.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}\n/*# sourceMappingURL=assistive_issue_picker_dialog.css.map */"],
changeDetection:0});var QW=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new Uv;this.title=""};QW.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};QW.\u0275fac=function(a){return new (a||QW)};
QW.\u0275cmp=r({type:QW,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[xd],decls:4,vars:5,consts:[[1,"flex-kids-x","align-items-center"],["mat-icon-button","","class","gmat-button medium expander",3,"collapsed","click",4,"ngIf"],["class","leaf",4,"ngIf"],[3,"issue"],["mat-icon-button","",1,"gmat-button","medium","expander",3,"click"],["name","arrow-dropdown","size",
"small"],[1,"leaf"]],template:function(a,b){a&1&&(G(0,"div",0),E(1,dZa,2,3,"button",1)(2,eZa,1,0,"div",2),K(3,"b-issue-title-cell",3),I());a&2&&(Pf("margin-left",24*b.level,"px"),A(),F("ngIf",b.expandable),A(),F("ngIf",!b.expandable),A(),F("issue",b.issue))},dependencies:[zw,iE,CA,OV],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 RW=function(){this.issue=null;this.isDataLoaded=!1};RW.prototype.ngOnChanges=function(){var a;this.assignee=wFa(Zk(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};RW.\u0275fac=function(a){return new (a||RW)};
RW.\u0275cmp=r({type:RW,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[xd],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],[3,"email"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,fZa,2,2,"b-person-hovercard",2)(2,gZa,1,0,"ng-template",null,0,Eg),I());a&2&&(a=R(3),F("isReady",b.isDataLoaded),A(),F("ngIf",b.assignee)("ngIfElse",a))},dependencies:[EV,zw,bQ],encapsulation:2,changeDetection:0});var SW=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};SW.prototype.ngOnChanges=function(){var a,b,c;this.teamId=(null==(a=this.issue)?void 0:null==(b=a.aggregatedData)?void 0:null==(c=b.teamId)?void 0:c.toString())||"";var d,e;this.componentId=String(null==(d=this.issue)?void 0:null==(e=d.snapshot[0])?void 0:e.componentId)||"";this.isDataLoaded=null!==this.issue};SW.\u0275fac=function(a){return new (a||SW)};
SW.\u0275cmp=r({type:SW,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[xd],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled",4,"ngIf","ngIfElse"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,hZa,1,3,"b-team-display",2)(2,iZa,1,0,"ng-template",null,0,Eg),I());a&2&&(a=R(3),F("isReady",b.isDataLoaded),A(),
F("ngIf",b.teamId)("ngIfElse",a))},dependencies:[EV,zw,pT],encapsulation:2,changeDetection:0});var TW=function(){this.type=this.issue=null;this.isDataLoaded=!1};TW.prototype.ngOnChanges=function(){var a,b;this.type=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.type)||null;this.isDataLoaded=null!==this.issue};TW.\u0275fac=function(a){return new (a||TW)};
TW.\u0275cmp=r({type:TW,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[xd],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,jZa,3,3,"ng-container",2)(2,kZa,1,0,"ng-template",null,0,Eg),I());a&2&&(a=R(3),F("isReady",b.isDataLoaded),A(),F("ngIf",b.type)("ngIfElse",a))},dependencies:[EV,zw,VK],encapsulation:2,changeDetection:0});var UW=function(){};UW.\u0275fac=function(a){return new (a||UW)};UW.\u0275mod=hd({type:UW});UW.\u0275inj=Rc({imports:[rE,cD,vE]});var VW=function(){};VW.\u0275fac=function(a){return new (a||VW)};VW.\u0275mod=hd({type:VW});VW.\u0275inj=Rc({providers:[{provide:auc,useValue:NV}],imports:[rE,oN,cD,vE,VQ,yO,gV,UW,vV]});var WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=hd({type:WW});WW.\u0275inj=Rc({imports:[rE]});var XW=function(){};XW.\u0275fac=function(a){return new (a||XW)};XW.\u0275mod=hd({type:XW});XW.\u0275inj=Rc({imports:[Vx,rE,KF,cD,vE,ZO]});var YW=function(){this.issue=null;this.isDataLoaded=!1};YW.prototype.ngOnChanges=function(){var a;this.reporter=wFa(Zk(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};YW.\u0275fac=function(a){return new (a||YW)};
YW.\u0275cmp=r({type:YW,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[xd],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],[3,"email"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,lZa,2,2,"b-person-hovercard",2)(2,mZa,1,0,"ng-template",null,0,Eg),I());a&2&&(a=R(3),F("isReady",b.isDataLoaded),A(),F("ngIf",b.reporter)("ngIfElse",a))},dependencies:[EV,zw,bQ],encapsulation:2,changeDetection:0});var Qwc=["theInput"],ZW=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new Uv;this.commit=new Uv};ZW.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};ZW.\u0275fac=function(a){return new (a||ZW)};
ZW.\u0275cmp=r({type:ZW,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&lg(Qwc,5);if(a&2){var c;pg(c=qg())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},decls:2,vars:7,consts:[["theInput",""],["type","text",3,"keydown.enter","ngModelChange","placeholder","disabled","ngModel"]],template:function(a,b){if(a&1){var c=v();G(0,"input",1,0);N("keydown.enter",function(d){x(c);
b.readonly||b.commit.emit(d);return y()})("ngModelChange",function(d){x(c);return y(b.valueChange.emit(d))});I()}a&2&&(Qf("readonly",b.readonly)("override",b.readonly),F("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[bh,cx,jx],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 $W=function(){};$W.\u0275fac=function(a){return new (a||$W)};$W.\u0275mod=hd({type:$W});$W.\u0275inj=Rc({imports:[rE]});var aX=function(){};aX.\u0275fac=function(a){return new (a||aX)};aX.\u0275mod=hd({type:aX});aX.\u0275inj=Rc({imports:[$W,fL,rE,yO,yx,tE,XW,WW,cD,vE,QQ,BR,sF,qT,pN,VW,yM]});var bX=function(){};bX.\u0275fac=function(a){return new (a||bX)};bX.\u0275mod=hd({type:bX});bX.\u0275inj=Rc({providers:[ez,{provide:bwc,useValue:{separatorKeyCodes:[13]}}],imports:[Zy,kz,Zy]});var cX=function(){};cX.\u0275fac=function(a){return new (a||cX)};cX.\u0275mod=hd({type:cX});cX.\u0275inj=Rc({imports:[bX]});var dX=function(){};dX.\u0275fac=function(a){return new (a||dX)};dX.\u0275mod=hd({type:dX});dX.\u0275inj=Rc({imports:[Zy,zW,Zy]});var eX=function(){};eX.\u0275fac=function(a){return new (a||eX)};eX.\u0275mod=hd({type:eX});eX.\u0275inj=Rc({imports:[dX]});var fX=function(){};fX.\u0275fac=function(a){return new (a||fX)};fX.\u0275mod=hd({type:fX});fX.\u0275inj=Rc({imports:[Zy,Qw,kz,aW,Zy]});var gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275mod=hd({type:gX});gX.\u0275inj=Rc({imports:[rE,cX,fV,aX,cD,VA,uE,fX,hR,eX,vE,wM,RV,dD,NK]});var hX=function(a){this.issuesApi=a};hX.prototype.get=function(a){return this.issuesApi.getRelatedIssues({resourceType:void 0===a.resourceType?null:a.resourceType,resourceId:void 0===a.resourceId?null:a.resourceId,q:a.query,trackerId:void 0===a.trackerId?null:a.trackerId,s:void 0===a.sort?null:a.sort,count:void 0===a.count?null:a.count,p:void 0===a.page?null:a.page})};hX.\u0275fac=function(a){return new (a||hX)(p(fH))};hX.\u0275prov=Pc({token:hX,factory:hX.\u0275fac,providedIn:"root"});var iX=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=f;this.currentTracker=h;this.STATUS_ICON=r5b;this.entrySelect=new Uv;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new Uv;this.getTextToPutInInputOnSelect=function(){return l.query}};Y(iX,Z);iX.\u0275dir=Z.\u0275dir;
iX.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(jf(250),xf(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};iX.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(u(this.defaultChoices),u(this.asyncChoices)))};iX.prototype.selectIssue=function(a){Rwc(this,[a])};
var Twc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Swc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return Xo(b)?[b]:[]},Swc=function(a){return!a.some(function(b){return!Xo(b)})};iX.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
iX.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)Uwc(this);else{var b=Twc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",Vwc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var Uwc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Rwc(a,[])},Rwc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||Fbb(c)},Vwc=function(a,b,c){var d;"issue"===(null==(d=a.currentResource)?void 0:d.type)&&1===b.length&&b[0]===a.currentResource.id?(a.searchingForSelf=!0,Uwc(a)):(a.choices=Wwc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(mf(),xf(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,l){var q=sa(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Eaa(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(u(a.choices),u(a.asyncChoices));Rwc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
iX.prototype.searchAsync=function(a){var b=this;this.choices=Xwc(this,a);this.hasLoadedResults=!1;if(Rk(a))this.hasLoadedResults=!0;else{var c=Ywc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:Bi(null==(e=this.currentResource)?void 0:e.id),nonParallelRequest:!0}).then(function(f){b.currentQuery===a&&(f=f.issueDigests.map(function(h){return{resourceId:h.issueId,displayText:h.title,
status:h.status,relations:[]}}),b.choices=[].concat(u(b.choices),u(f)),b.cdr.detectChanges())},function(f){b.errorHandler.errorHandler(null,f)}).finally(function(){b.hasLoadedResults=!0})}};var Wwc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Xwc=function(a,b){return Rk(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};iX.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var sZa=function(a){return a.relations.map(function(b){return Zwc.get(b)}).filter(function(b){return!!b}).join("/")},Ywc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};iX.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};Ac.Object.defineProperties(iX.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
iX.\u0275fac=function(a){return new (a||iX)(C(ME,2),C(RF),C(iJ),C(hX),C(qI),C(XN),C(hM))};
iX.\u0275cmp=r({type:iX,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&lg(RL,5);if(a&2){var c;pg(c=qg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[wg([hX,ME]),Ff,xd],decls:9,vars:8,consts:[["auto","matAutocomplete"],["issueHovercard","onedevHovercard"],["cardBody",""],[1,"bv2-issue-picker"],[4,"ngIf"],[1,"bv2-resource-picker",
"bv2-picker"],["type","text","placeholder","Type issue ID or search query...","autocomplete","off","spellcheck","false","aria-autocomplete","list","role","combobox","autofocus","autofocus","cdkFocusInitial","",1,"bv2-resource-picker-input",3,"ngModelChange","keydown.enter","keydown.alt.arrowright","ngModel","matAutocomplete"],[1,"issue-picker","base-resource-picker",3,"optionActivated","optionSelected","displayWith"],["disabled","",4,"ngIf"],["disabled","","class","bv2-resource-picker-message",4,
"ngIf"],["class","bv2-resource-picker-item bv2-issue-picker-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-issue-picker-message"],["disabled",""],[1,"spinner-container"],[3,"large"],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item","bv2-issue-picker-item",3,"value"],["role","region","tabindex","0"],["class","icon-s margin-none",3,"svgIcon",4,"ngIf"],[1,"bv2-issue-picker-issue-id",3,"title"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],["mat-icon-button",
"","aria-label","Go to issue page.","data-stable","issue-pop-out","target","_blank",1,"gmat-button","small","bv2-issue-picker-pop-out",3,"click","onedevHovercardTrigger","href"],["svgIcon","pop-out",1,"icon-s"],[1,"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[1,"icon-s","margin-none",3,"svgIcon"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){if(a&1){var c=v();G(0,"div",3);E(1,nZa,3,0,"div",4);G(2,"div",5)(3,"input",6);N("ngModelChange",function(d){x(c);
return y(b.search(d))})("keydown.enter",function(d){x(c);return y(b.onEnter(d))})("keydown.alt.arrowright",function(){x(c);b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice));return y()});I();G(4,"mat-autocomplete",7,0);N("optionActivated",function(d){x(c);b.activeChoice=null==d.option?null:d.option.value;return y()})("optionSelected",function(d){x(c);return y(b.selectIssue(d.option.value))});E(6,oZa,3,1,"mat-option",8)(7,pZa,2,0,"mat-option",9)(8,tZa,14,13,"mat-option",10);I()()()}a&
2&&(a=R(5),A(),F("ngIf",b.searchingForSelf),A(2),F("ngModel",b.query)("matAutocomplete",a),Hf("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue"),A(),F("displayWith",b.getTextToPutInInputOnSelect),A(2),F("ngIf",""!==b.query&&!b.hasLoadedResults),A(),F("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length),A(),F("ngForOf",b.choices))},dependencies:[Dw,zw,nB,bh,cx,jx,JL,KL,OL,LL,NV,PL,QL,jz,RL,DA,GL,XK],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 Zwc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var jX=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1};this.isQueryRestricted=!1;this.selectedIssues=[];this.data=Object.assign({},this.DEFAULTS,b);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":""},xZa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(Jo(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};g=jX.prototype;g.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};g.onEnter=function(){if(0!==this.selectedIssues.length)this.onPressConfirm()};g.onEscape=function(){this.dialogRef.close()};g.onPressConfirm=function(){var a,b={selectedIssueIds:this.selectedIssues.map(function(c){return c.resourceId}),lastSearchType:null==(a=this.issuePicker)?void 0:a.lastSearchType};this.dialogRef.close(b)};g.onPressCancel=function(){this.dialogRef.close()};
jX.\u0275fac=function(a){return new (a||jX)(C(NA),C(PA),C(tK))};
jX.\u0275cmp=r({type:jX,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&lg(iX,5);if(a&2){var c;pg(c=qg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&N("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[1,
"bv2-rel-issue-issue-picker",3,"keydown.enter","entrySelect","queryChange","defaultChoices","currentResource","allowMultipleIds"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"click","disabled"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",
1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],[1,"bv2-rel-issue-narrow-to-component"],["role","checkbox","tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"click","keyup.space","matTooltip"]],template:function(a,b){a&1&&(G(0,"h2",0),S(1),I(),G(2,"div",1)(3,"div",2),E(4,vZa,2,1,"div",3)(5,wZa,6,3,"div",3),I(),G(6,"div",4)(7,"div",5),E(8,yZa,2,2,"div",6),G(9,"b-simple-issue-picker",
7),N("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),I()()()(),G(10,"div",8)(11,"button",9),N("click",function(){return b.onPressCancel()}),S(12," Cancel "),I(),G(13,"button",10),N("click",function(){return b.onPressConfirm()}),S(14," Confirm "),I()());a&2&&(A(),T(" ",b.data.title,"\n"),A(3),F("ngIf",1<b.selectedIssues.length),A(),F("ngIf",1===b.selectedIssues.length),A(3),F("ngIf",!!b.queryRestriction),
A(),Qf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),F("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),A(4),F("disabled",!b.selectedIssues.length))},dependencies:[Dw,zw,nB,CA,SA,TA,UA,nE,OC,iX],encapsulation:2});var kX=function(){};kX.\u0275fac=function(a){return new (a||kX)};kX.\u0275mod=hd({type:kX});kX.\u0275inj=Rc({imports:[fL,rE,yx,yM,VW,AM,cD,VA,vE,wM]});var $wc=new rd("XapHatsSurveyApiKey"),axc=new rd("XapHatsSurveyLocale"),bxc=new rd("XapHatsSurveyWindow"),cxc=new rd("XapHatsSurveyListnrProductId");var dxc=new Map([[0,1],[1,2]]),lX=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=D4b(J4b,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,asxUiUri:h.asxUiUri||h.asxUiUri,environment:h.environment||h.environment,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 I4b(h)};this.helpService=e?e.runOutsideAngular(f):f()},exc=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;var e=d.anonymous?void 0:d.authUser||0;return(new X.Observable(function(f){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,
callback:function(h){null!=h.surveyData&&f.next(h.surveyData);f.complete()},authuser:e})})).pipe(wf(function(f){return new X.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?dxc.get(d.theme):1,authuser:e,customZIndex:null!=(l=d.zIndex)?l:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(f.surveyMetadata)})}))};lX.\u0275fac=function(a){return new (a||lX)(p($wc),p(cxc),p(axc,8),p(bxc,8),p(He,8))};
lX.\u0275prov=Pc({token:lX,factory:lX.\u0275fac,providedIn:"root"});var fxc=sq.ISSUE_PICKER,mX=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
mX.prototype.open=function(a,b){var c=this,d=gxc(this,a),e=d.dialog,f=d.config;return new Promise(function(h){c.dialog.open(e,f).afterClosed().subscribe(function(l){var q,t=null!=(q=null==l?void 0:l.selectedIssueIds)?q:[],w;l=null!=(w=null==l?void 0:l.lastSearchType)?w:"";w=[a.originIsBulk?"bulk":void 0,1<t.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");Wo(c.analytics,fxc,w,l);null==b||b(t);h(t);c.activeSession.isInternalSession()&&"id"===l&&exc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(mf()).subscribe()})})};
var gxc=function(a,b){var c={panelClass:"no-jitter",data:b};return hE(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:PW,config:c}):{dialog:jX,config:c}};mX.\u0275fac=function(a){return new (a||mX)(p(QA),p(ZI),p(lX),p(Zr))};mX.\u0275prov=Pc({token:mX,factory:mX.\u0275fac,providedIn:"root"});var nX=function(){};nX.\u0275fac=function(a){return new (a||nX)};nX.\u0275mod=hd({type:nX});nX.\u0275inj=Rc({imports:[kX,gX]});var oX=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};oX.prototype.enableSubmit=function(){return""!==this.reporter};oX.prototype.cancel=function(){this.dialogRef.close()};oX.prototype.save=function(){this.dialogRef.close(this.reporter)};oX.\u0275fac=function(a){return new (a||oX)(C(NA))};
oX.\u0275cmp=r({type:oX,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","subscriptSizing","dynamic"],["matInput","",3,"ngModelChange","autocompleteActive","keydown","bContactAutocomplete","ngModel"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Change Reporter"),I(),G(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),S(5,
" Reporter "),I(),G(6,"input",2),vg("ngModelChange",function(c){ug(b.reporter,c)||(b.reporter=c);return c}),N("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),I()()(),G(7,"mat-dialog-actions")(8,"button",3),N("click",function(){return b.cancel()}),S(9," Cancel "),I(),G(10,"button",4),N("click",function(){return b.save()}),S(11," Save "),I()());a&2&&(A(6),F("bContactAutocomplete","SINGLE"),tg("ngModel",
b.reporter),A(4),F("disabled",!b.enableSubmit()))},dependencies:[bh,cx,jx,CA,SA,TA,UA,JO,jB,dB,YA,HO,$S],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var hxc=["addCommentDialog"],pX=function(a,b,c,d,e,f,h,l,q,t,w,B,D){Z.call(this);var J=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.componentActions=f;this.issueTypeDialog=h;this.copyIssueIdService=l;this.matDialog=q;this.$log=t;this.issuePicker=w;this.userPreferencesManager=B;this.accessIndicatorService=D;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new X.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(wf(function(H){return J.componentFridge.watchSet(H)}),
z(function(H){return J.getCommonEffortSpec(H)}),tf({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(z(function(H){return void 0!==H}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new Uv;this.onCreateHotlist=new Uv;this.onLoadHotlist=new Uv;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&hE(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};Y(pX,Z);
var ixc=function(a){var b=new uQ,c;b.formattingMode=Ji(null==(c=AF(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};pX.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var jxc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},zZa=function(a){return jxc(a)?"Mark as read":"Mark as unread"},wq=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
pX.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=k(a),c=b.next();!c.done;c=b.next()){var d=void 0;null!=(d=c.value).hotlistId||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=kxc(a);this.uniqueComponentIds$.next(a)};
var kxc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},lxc=function(a){if(!gE(a.activeSession)){a.externalWarnings=[];var b=(0,X.combineLatest)(a.getSelectedIssues().map(function(e){return Uac(a.accessIndicatorService,e.issueId,e.componentId).pipe(z(function(f){return{issue:e,indicator:f}}))}));(0,X.firstValueFrom)(b).then(function(e){e=k(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=f.issue;"no_indicator"!==
f.indicator.type&&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=k(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$377:void 0},c=b.next())d.id$jscomp$377=c.value,a.componentActions.get(d.id$jscomp$377).then(function(e){if(a.activeSession.isInternalSession()&&$p(e)||fE(a.activeSession)&&aq(e)){var f,h={type:"component",path:yUa(null==(f=e.componentPathInfo)?void 0:f.componentPathName,
e.componentId),accessLevel:e.accessLimit.accessLevel};a.externalWarnings.push(h);a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.id$jscomp$377+".")}}(d))}};g=pX.prototype;g.getCommonEffortSpec=function(a){a=k(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":qX(this,null,0);break;case "COMPONENT":mxc(this);break;case "VERIFIER":qX(this,null,1);break;case "REPORTER":nxc(this);break;case "CHANGELIST":oxc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":pxc(this);break;case "FOUND_IN":oxc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":oxc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":oxc(this,"targetedToVersion","Targeted To");break;case "COMMENT":qxc(this);break;
case "SLO_START_TIME":rxc(this);break;case "ESTIMATED_EFFORT":sxc(this);break;case "CC":oxc(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)&&rX(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&rX(this,"severity",a);break;case "STATUS":(a=a.newValue)&&qX(this,cl[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=a.newValue)&&rX(this,"type",a);break;case "IS_ARCHIVED":rX(this,"isArchived",""+a.newValue);break;case "IN_PROD":rX(this,"inProd",""+a.newValue);break;case "CC":rX(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?sX(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):sX(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?sX(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):sX(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?sX(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):sX(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":qX(this,cl.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=jxc(this);rX(this,"readState",a?"true":"")};
var rX=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var f=wq(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&aic(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&aic(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},qX=function(a,b,c){a.hasSelectedIssues()&&(lxc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},txc=function(a){var b=a.onSave,c=b.emit,d=wq(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||PWa(e);e=k(bXa(e));for(var h=e.next();!h.done;h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;void 0!==l&&f.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},nxc=
function(a){a.hasSelectedIssues()&&(lxc(a),a.matDialog.open(oX,{width:"400px"}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&rX(a,"reporter",b)}),a.hotkeys.pause())},oxc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(a.matDialog.open(NT,{width:"400px",data:{fieldDisplayName:c}}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&uxc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},rxc=function(a){a.hasSelectedIssues()&&
(a.matDialog.open(LT,{width:"330px",data:{fieldDisplayName:"SLO Start Time"}}).afterClosed().pipe(xf(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:wq(a),actions:c}]})}}),a.hotkeys.pause())},sxc=function(a){var b=Gk(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(a.matDialog.open(MT,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:wq(a),actions:d}]})}}),a.hotkeys.pause())},uxc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Qk(c);d=Qk(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return hsa(q,h).map(function(t){return t.trim()})};Rk(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,u(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
Rk(d)||(d=l(d),f.push.apply(f,u(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:wq(a),actions:f}]})},mxc=function(a){a.hasSelectedIssues()&&(a.matDialog.open(JT,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:wq(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
Wo(a.analytics,a.controllerName,"bulkMove"))}),a.hotkeys.pause())},vxc=function(a){a.hasSelectedIssues()&&(a.matDialog.open(IT,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(Wo(a.analytics,a.controllerName,"bulkFlagAsSpam"),rX(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},qxc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=ixc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),a.addCommentDialogRef.afterClosed().pipe(xf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&nic(a.comment)&&rX(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),lxc(a))},GZa=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},pxc=function(a){a.hasSelectedIssues()&&a.matDialog.open(xO,{data:a.getSelectedIssues(),width:"500px"}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
Wo(a.analytics,a.controllerName,"bulkCustomField"))})};
pX.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;h!==b[f]&&(h?c.push(f):d.push(f),e++)});a=[];c.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:c.join(",")});d.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:d.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:wq(this),actions:a}]}),Wo(this.analytics,this.controllerName,"applyHotlists",
"numHotlists",e))};var sX=function(a,b){var c=b.actionType,d=b.fieldName;a.issuePicker.open({title:b.title,edgeType:b.edgeType,originIsBulk:!0},function(e){a.hotkeys.unpause();0!==e.length&&(e=e[0],a.onSave.emit({bulkEditOps:[{issueIds:wq(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};pX.\u0275fac=function(a){return new (a||pX)(C(ZH),C(ME),C(Zr),C(ZI),C(HF),C(SM),C(jQ),C(xR),C(QA),C(uF),C(mX),C(zF),C(vK))};
pX.\u0275dir=jd({type:pX,viewQuery:function(a,b){a&1&&(lg(hxc,5),lg(OT,5),lg(zV,5));if(a&2){var c;pg(c=qg())&&(b.addCommentDialog=c.first);pg(c=qg())&&(b.hotlistPicker=c.first);pg(c=qg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[Ff]});var tX=function(){};tX.\u0275fac=function(a){return new (a||tX)};tX.\u0275mod=hd({type:tX});tX.\u0275inj=Rc({providers:[{provide:Lrc,useFactory:function(){return new Irc}}]});var uX=function(){};uX.\u0275fac=function(a){return new (a||uX)};uX.\u0275mod=hd({type:uX});uX.\u0275inj=Rc({imports:[Qw,tX]});var vX=function(){};vX.\u0275fac=function(a){return new (a||vX)};vX.\u0275mod=hd({type:vX});vX.\u0275inj=Rc({providers:[{provide:Krc,useFactory:bU}],imports:[rE,cD,vE,uX,fL]});var wX=function(){};wX.\u0275fac=function(a){return new (a||wX)};wX.\u0275mod=hd({type:wX});wX.\u0275inj=Rc({imports:[rE,cD,vE]});var xX=function(){};xX.\u0275fac=function(a){return new (a||xX)};xX.\u0275mod=hd({type:xX});xX.\u0275inj=Rc({imports:[rE,kV,tE,vE,MK,gV,vX,cD,wX]});var yX=function(){};yX.\u0275fac=function(a){return new (a||yX)};yX.\u0275mod=hd({type:yX});yX.\u0275inj=Rc({imports:[rE,uE,cD,KO,yx,lz,vE,wE,WO,tE]});var zX=function(){};zX.\u0275fac=function(a){return new (a||zX)};zX.\u0275mod=hd({type:zX});zX.\u0275inj=Rc({});var AX=function(){};AX.\u0275fac=function(a){return new (a||AX)};AX.\u0275mod=hd({type:AX});AX.\u0275inj=Rc({imports:[rE,VA,oN,yx,cD,tE,uE,aT,xX,zX,xV]});var BX=function(a,b,c,d,e,f,h,l,q,t,w,B,D){pX.call(this,a,b,c,d,e,f,h,l,q,t,w,B,D);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};Y(BX,pX);BX.\u0275dir=pX.\u0275dir;BX.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
BX.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Eaa(a,null,function(b){return b.issueId.toString()});return a};BX.\u0275fac=function(a){return new (a||BX)(C(ZH),C(ME,2),C(Zr),C(ZI),C(HF),C(SM),C(jQ),C(xR),C(QA),C(uF),C(mX),C(zF),C(vK))};
BX.\u0275cmp=r({type:BX,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[wg([ME]),Ff,xd],decls:7,vars:5,consts:[["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[1,"bv2-appbar-menu",
3,"flagAsSpamClicked","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","readStatePrompt","enableBulkEstimatedEffortOption"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange",
"onSubmit",4,"ngIf"],[3,"externalWarnings"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=v();E(0,AZa,2,4,"b-app-bar-bulk-edit-menus",1)(1,EZa,1,2,"b-copy-issue-id-button",2)(2,
FZa,2,2,"div",3);G(3,"b-app-bar-more-menu",4);N("flagAsSpamClicked",function(){x(c);return y(vxc(b))});I();G(4,"b-state-modal",5);N("save",function(){x(c);return y(txc(b))})("close",function(){x(c);return y(b.hotkeys.unpause())});I();E(5,JZa,11,6,"ng-template",null,0,Eg)}a&2&&(F("ngIf",b.hasSelectedIssues()),A(),F("ngIf",b.hasSelectedIssues()),A(),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),A(),F("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),A(),F("externalWarnings",
b.externalWarnings))},dependencies:[qE,pE,mV,zw,lR,OT,CA,RA,SA,TA,UA,zV,yV,wV,Iw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var CX=function(){};CX.\u0275fac=function(a){return new (a||CX)};CX.\u0275mod=hd({type:CX});CX.\u0275inj=Rc({imports:[xE,MK,xX,rE,oN,wR,yX,tE,cD,VA,AX,zX,xV]});var wxc=function(a,b){this.index=a;this.editableTemplate=this.template=null;this.name=b.name||"(unnamed template)";this.issueType="--";b.snapshot?this.template=b:(this.editableTemplate=b,this.issueType=this.editableTemplate.type)},xxc=function(a,b){this.cellType=b;this.enumFields=null;this.id=a.customFieldId;this.name=a.name;this.type=a.type;if("ENUM"===this.type||"REPEATED_ENUM"===this.type)this.enumFields=(a.allowedValue||[]).map(function(c){return{displayText:c,value:c}});this.repeated=["REPEATED_TEXT",
"REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},DX=function(a,b){this.dirty=!1;this.collaboratorGroups=[];var c=b.snapshot||{};this.customFields=a;this.new=null==b.templateId;this.componentId=b.componentId;this.name=b.name||"";this.description=b.description||"";this.type=c.type||"--";this.priority=c.priority||"--";this.severity=c.severity||"--";this.assignee=Zk(c.assigneeUser)||"";this.verifier=Zk(c.verifierUser)||"";this.collaborators=Xk(c.collaboratorsUsers)||[];this.cc=Xk(c.ccUsers)||
[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=k(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=b;a=k(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,
c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=null!=c.typedDefaultValue?c.typedDefaultValue:{customFieldId:b})},zxc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;yxc(a.type)?delete c.type:c.type=a.type;yxc(a.priority)?delete c.priority:c.priority=a.priority;yxc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=bl(a.assignee);c.verifierUser=bl(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return bl(f)});
0<a.collaboratorGroups.length&&(c.collaboratorsUsers=Rwa(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.ccUsers=a.cc.map(function(f){return bl(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=k(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!Hn(e)&&c.customField.push(e);b.snapshot=c};
DX.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:vc(c,"Unexpected custom field type: "+c)}}this.dirty=!0};DX.prototype.isDirty=function(){return this.dirty};DX.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};DX.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var yxc=function(a){return Rk(a)||"--"===a};DX.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroups.length?"":1<this.collaboratorGroups.length?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};DX.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=k(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 r_a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},s_a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},Axc={value:"--",displayText:"--"};var Bxc=new Iz("M/d/yyyy"),EX=function(a){this.dateFormatter=a;this.boundValueChange=new Uv;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};EX.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=ri(this.boundValue);else{var b;a=null!=(b=En(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
EX.prototype.change=function(a,b){b=void 0===b?!1:b;var c=this.googDate;if((c&&a?!c.equals(a):c||a)&&!b){this.googDate=a;if(a)if("string"===typeof this.boundValue)a=Bxc.format(a);else{var d;a=null!=(d=dBa(Bxc.format(a)))?d:void 0}else a="string"===typeof this.boundValue?"":void 0;this.boundValue=a;this.boundValueChange.emit(this.boundValue);this.textValue=this.googDate?this.dateFormatter.formatUserCalendar(this.googDate):""}};EX.\u0275fac=function(a){return new (a||EX)(C(eO))};
EX.\u0275cmp=r({type:EX,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:[0,"bv2Id","inputId"],ariaLabelledBy:[0,"bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},decls:1,vars:4,consts:[[3,"valueChange","required","value","customFormId","customAriaLabelledBy"]],template:function(a,b){a&1&&(G(0,"b-date-time-input",0),N("valueChange",function(c){return b.change(c)}),I());a&2&&F("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[nO],encapsulation:2});var Cxc={CREATE_COMPONENT:"components/new",CREATE_ISSUE:"issues/new",DASHBOARD:function(a){return"dashboard/"+a},EDIT_COMPONENT:function(a){return"components/"+a+"/edit"},EDIT_ISSUE:function(a){return"issues/"+a},LIST_COMPONENTS:"components",LIST_ISSUES:"issues",NEEDS_ATTENTION:"attention",CREATE_BOOKMARK_GROUP:"bookmark-groups/new",VIEW_BOOKMARK_GROUP:function(a){return"bookmark-groups/"+a},VIEW_COMPONENT:function(a){return"components/"+a},VIEW_HOTLIST:function(a){return"hotlists/"+a},EDIT_HOTLIST:function(a){return"hotlists/"+
a+"/edit"},CREATE_HOTLIST:"hotlists/new",LIST_HOTLISTS:"hotlists",CREATE_SLO:"slos/new",VIEW_SLO:function(a){return"slos/"+a},EDIT_SLO:function(a){return"slos/"+a+"/edit"},LIST_SLOS:"slos",VIEW_SAVEDSEARCH:function(a){return"savedsearches/"+a},EDIT_BOOKMARK_GROUP:function(a){return"bookmark-groups/"+a+"/edit"},MANAGE_COMPONENT:function(a){return"components/"+a+"/manage"},MANAGE_COMPONENT_ACL:function(a){return"components/"+a+"/manage#access"},EDIT_SAVED_SEARCH:function(a){return"savedsearches/"+a+
"/edit"},SETTINGS:"settings"},Dxc=new rd("routes",{providedIn:"root",factory:function(){return Cxc}}),FX=function(a){this.routes=a};g=FX.prototype;g.createIssue=function(a){return xq(this.routes.CREATE_ISSUE,{params:a})};g.editIssue=function(a,b){return yq(this.routes.EDIT_ISSUE(a),{id:a,params:b})};g.listIssues=function(a){return xq(this.routes.LIST_ISSUES,{params:a})};g.viewSavedSearch=function(a){return yq(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
g.viewHotlist=function(a){return yq(this.routes.VIEW_HOTLIST(a),{id:a})};g.editHotlist=function(a){return xq(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};g.createHotlist=function(){return this.routes.CREATE_HOTLIST};g.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};g.viewBookmarkGroup=function(a){return yq(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};g.editBookmarkGroup=function(a){return xq(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
g.editSavedSearch=function(a){return xq(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};g.dashboard=function(a){return xq(this.routes.DASHBOARD(a),{id:a})};g.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=KZa(c);return vC("action/issues/csv","q",a,"s",b,"c",c,"h",d)};g.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=KZa(c))&&(c="position,"+c);return vC(a,"s",b,"c",c,"h",d)};
g.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return xq(this.routes.LIST_COMPONENTS,{params:void 0})};g.viewComponent=function(a,b){return yq(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};g.manageComponent=function(a,b){return yq(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
g.createComponent=function(a){return xq(this.routes.CREATE_COMPONENT,{params:a})};g.editComponent=function(a,b){return xq(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};g.createSlo=function(){return xq(this.routes.CREATE_SLO,{params:void 0})};g.editSlo=function(a){return xq(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};g.listSlos=function(){return xq(this.routes.LIST_SLOS,{params:void 0})};g.listHotlists=function(){return this.routes.LIST_HOTLISTS};FX.\u0275fac=function(a){return new (a||FX)(p(Dxc))};
FX.\u0275prov=Pc({token:FX,factory:FX.\u0275fac,providedIn:"root"});var GX=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new Uv};GX.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};GX.\u0275fac=function(a){return new (a||GX)(C(FX))};
GX.\u0275cmp=r({type:GX,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[["card","onedevHovercard"],[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&E(0,MZa,9,11,"ng-container",1);a&2&&F("ngIf",b.hotlist)},dependencies:[zw,nB,JL,OL,vL,CA],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}.chip.muted[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#5f6368;color:var(--text-muted)}.chip[_ngcontent-%COMP%]{background-color:#e4f7fb;background-color:var(--hotlist-chip-bg);border-radius:10px;display:inline-flex;align-items:center;height:20px;font-size:.75rem;font-weight:normal;padding:0 10px}.chip[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:50%}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var zq={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"},Exc={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"},NZa=[zq,{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"},Exc];var HX=function(){Z.call(this);var a=this;this.defaultAccessLimitLevel$=new X.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new Uv;this.selectedDisplay$=new X.BehaviorSubject(null);this.displays=NZa;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,X.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(z(function(b){var c=k(b);b=c.next().value;
c=c.next().value;return b?b:Fxc(a,c)}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(z(function(b){return b.title}));this.defaultAccessLimitLevel$.subscribe(function(b){a.selectedDisplay$.next(Fxc(a,b))})};Y(HX,Z);HX.\u0275dir=Z.\u0275dir;var Fxc=function(a,b){a=k(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return zq};
Ac.Object.defineProperties(HX.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});HX.\u0275fac=function(a){return new (a||HX)};
HX.\u0275cmp=r({type:HX,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[Ff],decls:13,vars:10,consts:[["accessLimitsMenu","matMenu"],[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-button","small",3,"matMenuTriggerFor",
"disabled"],[1,"selected-access-limit-level-title"],["svgIcon","acl-alias-domain",1,"icon-s"],[1,"selected-access-limit-level-title-text"],["svgIcon","arrow-dropdown",1,"icon-s"],["svgIcon","help-outline","class","icon-s valign-middle","tabindex","0","aria-hidden","false",3,"matTooltip",4,"ngIf"],[1,"access-limit-level-options"],["mat-menu-item","","class","access-limit-level-option",3,"click",4,"ngFor","ngForOf"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle",
3,"matTooltip"],["mat-menu-item","",1,"access-limit-level-option",3,"click"],[1,"access-limit-level-title"],[1,"icon-s",3,"svgIcon"],[1,"access-limit-level-title-text"],[1,"access-limit-level-description"]],template:function(a,b){a&1&&(G(0,"div",1)(1,"button",2),V(2,"async"),G(3,"span",3),K(4,"mat-icon",4),G(5,"span",5),S(6),V(7,"async"),I()(),K(8,"mat-icon",6),I(),E(9,OZa,1,1,"mat-icon",7),G(10,"mat-menu",8,0),E(12,PZa,7,3,"button",9),I()());if(a&2){var c;a=R(11);A();F("matMenuTriggerFor",a)("disabled",
b.disabled);Hf("aria-label","Issue Access level, "+(null!==(c=null==(c=W(2,6,b.selectedDisplay$))?null:c.title)&&void 0!==c?c:"Default access"));A(5);T(" ",W(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");A(3);F("ngIf",b.disabled);A(3);F("ngForOf",b.displays)}},dependencies:[Dw,zw,nB,CA,mE,IC,HC,JC,nE,OC,Iw],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:text-bottom;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{display:inline-flex;align-items:center;color:#202124;color:var(--text-default);font-size:small;padding-bottom:2px}.selected-access-limit-level-title-text{padding:0px 6px}\n"],
encapsulation:2});var IX=function(a){this.confirmationDialogService=a},Gxc=function(a,b,c){return me(function(d){return d.return(obc(a.confirmationDialogService,{title:b,content:vh(c)}))})},Hxc=function(a,b){return me(function(c){if(b.canEditIssuesInComponent){var d;if(d="LIMIT_VIEW"===b.issueAccessLimitLevel){d=!!b.assigneeUser;var e=!!b.verifierUser,f,h=!(null==(f=b.collaboratorsUsers)||!f.length),l;f=!(null==(l=b.ccUsers)||!l.length);d=!d&&!e&&!h&&!f}c=d?c.return(Gxc(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):"LIMIT_VIEW"===b.issueAccessLimitLevel&&QZa(b)?c.return(Gxc(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};IX.\u0275fac=function(a){return new (a||IX)(p(nL))};IX.\u0275prov=Pc({token:IX,factory:IX.\u0275fac,providedIn:"root"});var Ixc=["saveBeforeClosingDialog"],Jxc=["deleteDialog"],l_a=function(){return[]},Kxc={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?"}},
JX=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U){Z.call(this);var aa=this;this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=f;this.paths=h;this.butterBar=l;this.analytics=q;this.issueTypeDialog=t;this.componentActions=w;this.documentationLinks=B;this.appEvents=D;this.accessPolicyApi=J;this.trackerFridge=H;this.componentFridge=O;this.confirmIssueAccessLimitSettingsService=P;this.activeSession=U;this.defaultIndex=-1;this.componentId=0;this.supportCustomFields=
!1;this.templates=[];this.customFieldRows=[];this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.hotlistPickerIndex=0;this.implicitAccessEnabled=!1;this.FieldType=Mpc;this.componentId$=new X.ReplaySubject(0);this.component$=this.componentId$.pipe(wf(function(pa){return aa.componentFridge.watch(pa)}));this.trackerId$=
this.component$.pipe(z(function(pa){return null==pa?void 0:pa.trackerId}));this.tracker$=this.trackerId$.pipe(wf(function(pa){return pa&&Wn(pa)?aa.trackerFridge.watch(pa):(0,X.of)(void 0)}));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.customFieldIds=Object.create(null);this.issueTypeChoices=Lxc(this);
this.priorityChoices=Mxc(this);this.severityChoices=Nxc(this);this.subscriptions.add(this.tracker$.subscribe(function(pa){pa&&(aa.trackerCollaboratorGroups=Wk(pa.collaboratorGroups));aa.currentTemplate&&aa.currentTemplate.separateCollaboratorGroups(aa.trackerCollaboratorGroups)}))};Y(JX,Z);JX.\u0275dir=Z.\u0275dir;g=JX.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(){KX(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)});Gaa(this.selectedHotlists,function(c,d){return nr(c.name,d.name)})};
g.removeHotlist=function(a){wa(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;Wo(this.analytics,"editTemplate","createHotlist");wr(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){wr(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;hc(a.newSelectionMap,function(d,e){e=qi(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],ua(d,e)||d.push(e)):!d&&f&&wa(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
g.loadHotlist=function(a){var b=this,c=a.successCallback,d=a.errorCallback;this.hotlistApi.get(a.hotlistId).then(function(e){b.addHotlist(e);c(e);b.cdr.detectChanges()}).catch(d)};g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(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&&wa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var Lxc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:v_a(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[Axc].concat(b)},v_a=function(a){return a===Axc.value?a:ei(a)};JX.prototype.getDateValue=function(a){return a};JX.prototype.getListFieldType=function(a){return a};
var o_a=function(a){var b,c,d,e;return(null==(b=a.repeatedTextValue)?void 0:b.values)||(null==(c=a.repeatedDateValue)?void 0:c.values)||(null==(d=a.repeatedEnumValue)?void 0:d.values)||(null==(e=a.repeatedNumericValue)?void 0:e.values)||null},d_a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?aic(a.issueTypeDialog,"VULNERABILITY"===a.currentTemplateRow.issueType?"VULNERABILITY":"PRIVACY_ISSUE",function(){a.currentTemplate.type=a.currentTemplateRow.issueType;
a.currentTemplate.dirty=!0},function(){a.currentTemplateRow.issueType=a.currentTemplate.type}):(a.currentTemplate.type=a.currentTemplateRow.issueType,a.currentTemplate.dirty=!0)},Mxc=function(a){return[Axc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},Nxc=function(a){return[Axc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};JX.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var u_a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;KX(a)},UZa=function(a,b){var c=a.currentIndex;Oxc(a,function(){b.index===c?u_a(a):a.openEditor(b.index)})},Pxc=function(a){a.templateHotlistIds.push([]);Oxc(a,function(){a.openEditor()})},WZa=function(a,b){return 0<=b.index&&b.index===a.currentIndex},YZa=function(a,b){var c;return 0<=b.index&&!(null==(c=a.templates[b.index])?0:c.default)},t_a=function(a){var b,c,d,e,f,h,l,q,t,w,B,D,J,H;return me(function(O){if(1==
O.nextAddress){if(!a.currentTemplate)return O.return();c=null!=(b=a.currentTemplate.collaborators)?b:[];e=null!=(d=a.currentTemplate.collaboratorGroups)?d:[];return oe(O,Hxc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(u(c),u(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,
confirmationDialogText:Kxc}),2)}f=O.yieldResult;if(!f)return O.return();0>a.currentIndex?(l="creating",q={componentId:a.componentId,default:!1},h=function(P){wr(a.butterBar,P.name?'Template "'+P.name+'" created.':"Template created.");Wo(a.analytics,"template","create");Qxc(a,"create",P.snapshot);Rxc(a,"create",P.templateId);a.templates.push(P);a.openEditor(a.templates.length-1)}):(l="updating",t=a.currentIndex,q=a.templates[t],h=function(P){wr(a.butterBar,P.name?'Template "'+P.name+'" updated.':"Template updated.");
Wo(a.analytics,"template","update");Qxc(a,"update",P.snapshot);Rxc(a,"update",P.templateId);a.templates[t]=P;u_a(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];zxc(a.currentTemplate,q);wr(a.butterBar,"Saving template...");B=w=q;D=B.componentId;H=(J=B.templateId)&&"0"!==String(J)?a.templatesApi.update(D,J,w):a.templatesApi.create(D,w);return O.return(H.then(function(P){a.appEvents.templateModified.next(String(a.componentId));h(P);a.cdr.detectChanges()}).catch(function(P){P=
Yn(P);a.butterBar.showWarning(P?"Error "+l+" template: "+P:"There was an error "+l+" the template.",0)}))})},VZa=function(a,b){a.matDialogService.open(a.deleteDialog,{data:b}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(c){c&&Sxc(a,b)})},Sxc=function(a,b){var c=b.index,d;me(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(0>c||d.default)return e.return(Promise.resolve());va(a.templateHotlistIds,c);va(a.templates,c);a.defaultIndex=a.templates.findIndex(function(f){return f.default});
KX(a);a.cdr.detectChanges();wr(a.butterBar,"Deleting...");ne(e,2,3);return oe(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),wr(a.butterBar,"Deleted template"),Wo(a.analytics,"template","delete"),a.currentIndex===c&&u_a(a);case 3:return pe(e),oe(e,a.loadTemplates(),6);case 6:KX(a);a.cdr.detectChanges();qe(e,0);break;case 2:re(e),a.butterBar.showWarning("Error while deleting template"),e.jumpTo(3)}})},Uxc=function(a,b){b?t_a(a).then(function(){Txc(a);
a.cdr.detectChanges()}):Txc(a)},XZa=function(a,b){var c;b=(null==(c=b.template)?void 0:c.templateId)||0;c={};c=a.paths.createIssue((c.component=a.componentId?String(a.componentId):void 0,c.template=String(b),c));return a.paths.getBaseUrl()+"/"+c};
JX.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=Vxc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();KX(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else Wxc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=Vxc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
KX(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var Wxc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},Oxc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,Xxc(a)):b()},Qxc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&Wo(a.analytics,sq.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},Rxc=function(a,b,c){a.currentTemplate&&0<a.currentTemplate.collaboratorGroups.length&&Wo(a.analytics,sq.QUICK_ADD_COLLABORATORS,b,"template:"+c)},Xxc=function(a){a.matDialogService.open(a.saveBeforeClosingDialog,
{data:a.currentTemplateRow}).afterClosed().pipe(xf(a.destroyed$)).subscribe(function(b){void 0!==b&&Uxc(a,b)})},Txc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},Vxc=function(a,b){return new DX(a.customFieldIds,b)};
JX.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=k(b.componentPathInfo.allCustomField||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new xxc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):
Promise.resolve()};JX.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=k(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 KX=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,f){return new wxc(f,e)}),a.currentTemplate&&(a.currentTemplateRow=new wxc(-1,a.currentTemplate),a.templateRows.push(a.currentTemplateRow)),a.hotlistPickerIndex=a.templates.length;else{var b=a.currentIndex,c=[];var d=a.templates.slice(0,b+1);c=c.concat(d.map(function(e,f){return new wxc(f,e)}));a.currentTemplate&&(a.currentTemplateRow=new wxc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);
c=c.concat(d.map(function(e,f){return new wxc(b+f+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},TZa=function(a,b){var c,d,e,f;return me(function(h){switch(h.nextAddress){case 1:if(0>b||a.defaultIndex===b)return h.return();c=a.templates[b];if(c.default)return h.return();d=c.name;Rk(Qk(d))&&(d="(unnamed template)");a.defaultIndex=b;wr(a.butterBar,"Changing default template...");Wo(a.analytics,"template","changeDefault");ne(h,2,3);return oe(h,Yxc(a,c.templateId),5);case 5:wr(a.butterBar,
"Changed default template to "+d);case 3:return pe(h),oe(h,a.loadTemplates(),6);case 6:qe(h,0);break;case 2:e=re(h),f="Error while changing default message"+(Xn(e)?": "+Yn(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},Yxc=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress)return oe(e,(0,X.firstValueFrom)(a.component$),2);if(3!=e.nextAddress){c=e.yieldResult;if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return oe(e,a.componentActions.update(c),3)}d=e.yieldResult;
a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));se(e)})};JX.\u0275fac=function(a){return new (a||JX)(C(QA),C(ME,2),C(QI),C(dI),C(EG),C(kE),C(RF),C(pI),C(ZI),C(jQ),C(SM),C(TM),C(gH),C(TH),C(sK),C(ZH),C(IX),C(Zr))};
JX.\u0275cmp=r({type:JX,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(lg(Ixc,5),lg(Jxc,5));if(a&2){var c;pg(c=qg())&&(b.saveBeforeClosingDialog=c.first);pg(c=qg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[wg([ME]),Ff],decls:21,vars:2,consts:[["deleteDialog",""],["saveBeforeClosingDialog",""],["typeMenu",""],["priorityMenu",""],["severityMenu",""],[1,"component-banner","template-help-banner"],["target","_blank",
1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[4,"ngFor","ngForOf"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],[4,"ngIf"],["colspan","4",4,"ngIf"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"change","id","checked","aria-label","value"],["format","hairline",3,"onAction","bAriaLabel"],["format","hairline",3,"onAction",
"bAriaLabel","disabled"],["colspan","4"],[1,"template-edit-pane","template-editor-within-table"],["class","form-header",4,"ngIf"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"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"],["class","collaborator-group-field",4,"ngIf"],["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,"gmat-button","medium","primary",3,"matMenuTriggerFor"],
["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["mat-menu-item","",3,"disabled","matTooltip","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],
[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-verifier"],["id","template-verifier","type","text",1,"template-field",3,
"ngModelChange","bContactAutocomplete","ngModel"],["for","template-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["id","template-collaborators","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-cc"],["id","template-cc","type","text",1,"template-field",
3,"ngModelChange","bContactAutocomplete","ngModel"],["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"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction"],[1,"form-header"],[1,
"collaborator-group-field"],["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",4,"ngFor","ngForOf"],[3,"value"],["mat-menu-item","",3,"click","disabled","matTooltip"],["mat-menu-item","",3,"click","disabled"],[1,"bv2-hotlist-chips"],[3,"removeHotlist",
"hotlist"],[3,"for"],[3,"ngSwitch"],["class","template-field","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["class","template-field","type","number","step","any",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[3,"type","name","clearable","value","choices","valueChange",4,"ngSwitchCase"],[3,"boundValue","boundValueChange",4,"ngSwitchCase"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange",4,"ngSwitchDefault"],["type","text",1,"template-field",3,"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"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"],["mat-button",
"",1,"gmat-button","medium",3,"mat-dialog-close"],["cdkFocusInitial","","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=v();G(0,"div")(1,"div",5);S(2," A template is a set of default values for new issues created in this component. ");G(3,"a",6);S(4,"Learn more");I()();G(5,"table",7)(6,"tr")(7,"th");S(8,"TEMPLATE");I();G(9,"th",8);S(10,"DEFAULT");I();K(11,"th",8)(12,"th",8);I();E(13,x_a,3,2,"tr",9);I();G(14,"div",
10)(15,"b-button",11);N("onAction",function(){x(c);return y(Pxc(b))});S(16," Create New Template ");I()();E(17,y_a,7,3,"ng-template",null,0,Eg)(19,z_a,9,4,"ng-template",null,1,Eg);I()}a&2&&(A(3),F("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Ye),A(10),F("ngForOf",b.templateRows))},dependencies:[LK,Dw,zw,Ew,Fw,Gw,nB,PU,dT,bh,lx,cx,jx,GX,OT,EX,AT,CA,RA,TA,UA,aW,RR,$S,gR,dB,aR,bR,jz,HO,nE,OC,iE,mE,IC,HC,JC,HX],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}"]});var LX=function(){};LX.\u0275fac=function(a){return new (a||LX)};LX.\u0275mod=hd({type:LX});LX.\u0275inj=Rc({imports:[rE,GO]});var MX=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new X.ReplaySubject(1);this.removeHotlist=new Uv;this.removable=!0;this.hotlist$=this.id$.pipe(wf(this.hotlists.watch));this.isDisabled$=(0,X.combineLatest)([this.id$,this.id$.pipe(wf(this.hotlists.isSaving$))]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
MX.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(wf(function(b){return NG(a.userAccess,"appender","hotlists/"+b)})):(0,X.of)(this.removable)};Ac.Object.defineProperties(MX.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});MX.\u0275fac=function(a){return new (a||MX)(C(RI),C(LG))};
MX.\u0275cmp=r({type:MX,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},decls:4,vars:9,consts:[[3,"removeHotlist","hotlist","disabled","removable"]],template:function(a,b){a&1&&(G(0,"b-hotlist-chip",0),V(1,"async"),V(2,"async"),V(3,"async"),N("removeHotlist",function(){null==b.idInternal?Ek("Missing id"):b.removeHotlist.emit()}),I());if(a&2){var c;F("hotlist",W(1,3,b.hotlist$))("disabled",!0===W(2,5,b.isDisabled$))("removable",null!==
(c=W(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[GX,Iw],encapsulation:2,changeDetection:0});var NX=function(){};NX.\u0275fac=function(a){return new (a||NX)};NX.\u0275mod=hd({type:NX});NX.\u0275inj=Rc({imports:[rE,yM,rM,cD]});var OX=function(){};OX.\u0275fac=function(a){return new (a||OX)};OX.\u0275mod=hd({type:OX});OX.\u0275inj=Rc({imports:[rE,cD,uE,vE,tE]});var PX=function(){};PX.\u0275fac=function(a){return new (a||PX)};PX.\u0275mod=hd({type:PX});PX.\u0275inj=Rc({imports:[MK,rE,gV,eT,yx,NX,yX,LX,BT,cD,PM,VA,fX,SR,fL,aT,hR,mz,vE,tE,uE,OX]});var QX=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=hE(a,"enableEstado")};QX.prototype.openInEstado=function(){Wo(this.analytics,"listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};QX.\u0275fac=function(a){return new (a||QX)(p(Zr),p(jM),p(ZI),p(XN),p(hM))};QX.\u0275prov=Pc({token:QX,factory:QX.\u0275fac,providedIn:"root"});var RX=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=(0,X.of)("--");this.SloRuleDayType=S4b;this.iconName="slo-status-no-data"};RX.prototype.getIconName=function(a){return Zxc.has(a)?Zxc.get(a):"slo-status-no-data"};
var $xc=function(a,b,c){a.iconName=a.getIconName(b);c=null!==c?nfc(1E3*c).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";a.cardActionText="COMPLETED"===b?"ASSIGNMENT"===a.sloMetricDescription?"Assigned on:":"RESPONSE"===a.sloMetricDescription?"Responded on:":"CLOSURE"===a.sloMetricDescription?"Closed on:":"SLO fulfilled on:":"ASSIGNMENT"===a.sloMetricDescription?"Assign by:":"RESPONSE"===a.sloMetricDescription?"Respond by:":"CLOSURE"===a.sloMetricDescription?"Close by:":"Due by:";switch(b){case "COMPLETED":a.timeDisplayText=
"ASSIGNMENT"===a.sloMetricDescription?"Issue assigned":"RESPONSE"===a.sloMetricDescription?"Response recorded":"CLOSURE"===a.sloMetricDescription?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?c+" to assign":"RESPONSE"===a.sloMetricDescription?c+" to respond":"CLOSURE"===a.sloMetricDescription?c+" to close":c+" left";break;case "OUT_OF_SLO":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?
c+" overdue for assignment":"RESPONSE"===a.sloMetricDescription?c+" overdue for response":"CLOSURE"===a.sloMetricDescription?c+" overdue for closure":c+" overdue";break;case "NO_DATA":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?"No assignment SLO":"RESPONSE"===a.sloMetricDescription?"No response SLO":"CLOSURE"===a.sloMetricDescription?"No closure SLO":"--";break;default:Ek("unknown status type: "+b)}};
RX.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&zQ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=nfc(1E3*c):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=nfc(1E3*((null!=(e=null==(d=this.sloBounds.objective)?void 0:d.seconds)?e:0)+86400*(null!=(f=this.sloBounds.businessDays)?f:0)));this.sloEndTimeDisplayText=hO(this.dateFormatter,new Date(1E3*b));c=this.sloBounds;zQ(c)&&
c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=hO(this.dateFormatter,new Date(1E3*b)),$xc(this,"COMPLETED",a-b)):b<a?$xc(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,$xc(this,259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else $xc(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
RX.\u0275fac=function(a){return new (a||RX)(C(yQ),C(gO))};
RX.\u0275cmp=r({type:RX,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[xd],decls:16,vars:13,consts:[["card",""],["dayTypeCalendar",""],[3,"ngClass","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"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&(K(0,"mat-icon",2),G(1,"span",3)(2,"span",4),S(3),I()(),G(4,"onedev-hovercard",null,0)(6,"div",5)(7,"div",6)(8,"div"),S(9),I(),G(10,"div",7),S(11),V(12,"async"),I(),E(13,A_a,5,2,"ng-container",8),I()()(),E(14,B_a,2,1,"ng-template",null,1,Eg));if(a&2){a=R(5);var c=R(15);F("ngClass",b.iconName)("svgIcon",b.iconName);Hf("aria-label","--"===
b.timeDisplayText?"No SLO data":"");A();F("onedevHovercardTrigger",a)("onedevHovercardActive",!(!b.includeObjective||!b.rawObjectiveDisplayText));A(2);rg(b.timeDisplayText);A(6);rg(b.timeDisplayText);A(2);sg(" ",b.cardActionText," ",W(12,11,b.sloEndTimeDisplayText)," ");A(2);F("ngIf",(null==b.sloBounds?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS)("ngIfElse",c)}},dependencies:[Cw,zw,nB,JL,OL,Iw],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 Zxc=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 SX=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};SX.prototype.ngOnInit=function(){ayc(this);this.hasSlo=!!this.sloStatus&&tic(this.sloStatus)};SX.prototype.ngOnChanges=function(){ayc(this)};var ayc=function(a){a.sloStatus&&(a.assignmentSlo=byc(Di(a.sloStatus.assignmentBounds)),a.responseSlo=byc(Di(a.sloStatus.responseBounds)),a.closureSlo=byc(Di(a.sloStatus.closureBounds)))};SX.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var byc=function(a){if(zQ(a))return a};SX.\u0275fac=function(a){return new (a||SX)(C(yQ))};
SX.\u0275cmp=r({type:SX,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[xd],decls:3,vars:3,consts:[[4,"ngIf"],["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&&E(0,C_a,2,4,"div",0)(1,D_a,2,4,"div",0)(2,E_a,2,4,"div",0);a&2&&(F("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),A(),F("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),A(),F("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[zw,RX],encapsulation:2,changeDetection:0});var TX=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};TX.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&uic(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),cyc(this)):this.editSloLink=null};TX.prototype.trackOpenSlo=function(){Wo(this.analytics,sq.EDIT_SLO,"open","fromSloStatusCard")};
var cyc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};TX.\u0275fac=function(a){return new (a||TX)(C(yQ),C(RF),C(ZI),C(bK))};
TX.\u0275cmp=r({type:TX,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[["card",""],[3,"onedevHovercardTrigger"],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloStartTime","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"click","href"]],template:function(a,b){a&1&&(cg(),G(0,"span",1),dg(1),I(),G(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"div",4),E(7,F_a,2,3,"div",5)(8,I_a,3,2,"div",6)(9,L_a,4,2,"span",7),I()()()());a&2&&(a=R(3),F("onedevHovercardTrigger",a),A(7),F("ngIf",b.hasSlo),A(),F("ngIf",!b.hasSlo),A(),F("ngIf",b.editSloLink))},dependencies:[zw,JL,OL,SX],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 dyc=function(a){var b=this;this.selectedCustomField=null;this.isLegalColumn=function(c){return void 0===b.columns.find(function(d){return d.name===String(c.customFieldId)})};this.column=a.column;this.columns=a.columns};dyc.\u0275fac=function(a){return new (a||dyc)(C(PA))};
dyc.\u0275cmp=r({type:dyc,selectors:[["b-column-picker-custom-dialog"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"fieldSelected","filter"],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"mat-dialog-content")(3,"b-custom-field-picker",1),N("fieldSelected",function(c){return b.selectedCustomField=c}),
I()(),G(4,"mat-dialog-actions")(5,"button",2),S(6," Cancel "),I(),G(7,"button",3),S(8," Add "),I()());a&2&&(A(),T("Insert custom field column next to ",b.column.fullLabel,""),A(2),F("filter",b.isLegalColumn),A(4),F("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[CA,RA,SA,TA,UA,ET],encapsulation:2});var M_a="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".split(" "),
eyc="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var Bq=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)};Bq.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var S_a={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},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 fyc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};fyc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var gyc=function(){this.bindings=[]};gyc.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var hyc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new gyc;this.resetDragTarget=function(){b.dragTargetElement&&(b.dragTargetElement.classList.remove("drag-over"),b.dragTargetElement.classList.remove("left"),b.dragTargetElement.classList.remove("right"));b.dragTargetElement=null};this.onDragTargetDragstart=function(c,d){b.draggedElement=d;b.dragIndex=b.params.getColumnIndexForElement(b.draggedElement);b.draggedElement.classList.add("dragging");
b.draggedElement.setAttribute("aria-grabbed","true");if(c=c.dataTransfer)c.setData("text","drag"),c.effectAllowed="move",c.dropEffect="move"};this.onDragTargetDragenter=function(c,d){b.draggedElement&&d&&d.draggable&&d!==b.draggedElement&&(b.resetDragTarget(),b.dragTargetElement=d,b.dragTargetElement&&(d=b.params.getColumnIndexForElement(b.dragTargetElement),b.dragTargetElement.classList.add("drag-over"),null!=b.dragIndex&&(d>b.dragIndex?(b.dragTargetElement.classList.remove("left"),b.dragTargetElement.classList.add("right")):
(b.dragTargetElement.classList.add("left"),b.dragTargetElement.classList.remove("right"))),b.mask.style.width=b.dragTargetElement.offsetWidth+"px",b.mask.style.height=b.dragTargetElement.offsetHeight+"px",b.mask.style.left="0",b.mask.style.top="0",b.dragTargetElement.appendChild(b.mask),b.mask.style.display="block"),c.stopPropagation(),c.preventDefault())};this.onDragTargetDragend=function(c,d){d.classList.remove("dragging");b.draggedElement&&b.draggedElement.setAttribute("aria-grabbed","false");
b.resetDragTarget();b.draggedElement=null;b.mask.style.display="none";c.stopPropagation();c.preventDefault()};this.onDragTargetSelectstart=function(c){c.currentTarget.dragDrop();c.stopPropagation();c.preventDefault()};this.onMaskDragLeave=function(c){b.resetDragTarget();b.mask.style.display="none";c.stopPropagation();c.preventDefault()};this.onMaskDragover=function(c){b.draggedElement&&(c.stopPropagation(),c.preventDefault())};this.onMaskDrop=function(c){if(b.dragTargetElement){var d=b.params.getColumnIndexForElement(b.dragTargetElement);
b.resetDragTarget();b.mask.style.display="none";b.dragIndex!==d&&b.params.ngZone.run(function(){if(null!=b.dragIndex)b.params.onDragDropColumn(b.dragIndex,d)})}c.stopPropagation();c.preventDefault()}};
hyc.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(){iyc(a,"dragstart",a.onDragTargetDragstart);iyc(a,"dragenter",a.onDragTargetDragenter);iyc(a,"dragend",a.onDragTargetDragend);iyc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new fyc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new fyc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new fyc(a.mask,"drop",a.onMaskDrop))})};var iyc=function(a,b,c){a.eventBindings.bindings.push(new fyc(a.element,b,Cq("th.drag-target",c)))};hyc.prototype.tearDown=function(){this.eventBindings.off()};var jyc=["table"],kyc=["defaultHeaderCellTemplate"],lyc=["defaultViewCellTemplate"],myc=["dataRows"],Z_a=function(a){return{column:a}},b0a=function(a,b,c){return{row:a,column:b,index:c}},UX=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new Uv;this.rowClick=new Uv;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new Uv;this.focusedRowIndexChange=new Uv;this.afterViewInit=
new Uv;this.enableDragDropHeader=!0;this.readUnreadOptOut=hE(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var f=[].concat(u(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(u(c.columns)))};this.onTdClickableClick=Cq("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!Mec(e)&&(e=e.closest("tr"))){var f,h=null!=(f=e.dataset.rowId)?f:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
UX.prototype.ngOnInit=function(){this.enableDragDropHeader&&nyc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var nyc=function(a){a.dragDropHeaderLogic=new hyc({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()};
UX.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(zKa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};UX.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
UX.prototype.ngOnDestroy=function(){var a;null==(a=this.dragDropHeaderLogic)||a.tearDown();this.tableElement.nativeElement.removeEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.removeEventListener("mouseup",this.onTdClickableClick)};var oyc=function(a){return a.columns.map(function(b){b=b.name;return null!=b?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};UX.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
UX.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};UX.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};UX.\u0275fac=function(a){return new (a||UX)(C(Zr),C(He))};
UX.\u0275cmp=r({type:UX,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(lg(jyc,7),lg(kyc,7),lg(lyc,7),lg(myc,5,Wd));if(a&2){var c;pg(c=qg())&&(b.tableElement=c.first);pg(c=qg())&&(b.defaultHeaderCellTemplate=c.first);pg(c=qg())&&(b.defaultViewCellTemplate=c.first);pg(c=qg())&&(b.dataRows=c)}},inputs:{list:"list",columns:"columns",rowLabelRenderer:"rowLabelRenderer",sort:"sort",focusedRowIndex:"focusedRowIndex",scrollContainer:"scrollContainer",enableDragDropHeader:"enableDragDropHeader"},outputs:{columnsChange:"columnsChange",
rowClick:"rowClick",sortChange:"sortChange",focusedRowIndexChange:"focusedRowIndexChange",afterViewInit:"afterViewInit"},features:[xd],decls:13,vars:3,consts:[["table",""],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],["dataRows",""],[1,"pop-grid",3,"mousedown"],[3,"class",4,"ngFor","ngForOf"],[1,"header-row"],[4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus","click","focus",4,"ngFor","ngForOf"],
["tabindex","0",3,"click","focus"],[3,"column"],[3,"row","column"]],template:function(a,b){if(a&1){var c=v();G(0,"table",4,0);N("mousedown",function(d){x(c);d.shiftKey&&window.getSelection().removeAllRanges();return y()});G(2,"colgroup");E(3,X_a,1,3,"col",5);I();G(4,"thead")(5,"tr",6);E(6,$_a,2,4,"ng-container",7);I()();G(7,"tbody");E(8,e0a,2,1,"ng-container",8);I()();E(9,f0a,2,1,"ng-template",null,1,Eg)(11,g0a,2,2,"ng-template",null,2,Eg)}a&2&&(A(3),F("ngForOf",b.columns),A(3),F("ngForOf",b.columns),
A(2),F("ngIf",oyc(b)))},encapsulation:2});var VX=function(a,b){this.templateRef=a;this.popGrid=b};VX.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};VX.\u0275fac=function(a){return new (a||VX)(C(ig),C(UX))};VX.\u0275dir=jd({type:VX,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var WX=function(a,b){this.templateRef=a;this.popGrid=b};
WX.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};WX.\u0275fac=function(a){return new (a||WX)(C(ig),C(UX))};WX.\u0275dir=jd({type:WX,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var XX=function(a,b){this.templateRef=a;this.popGrid=b};XX.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};XX.\u0275fac=function(a){return new (a||XX)(C(ig),C(UX))};
XX.\u0275dir=jd({type:XX,selectors:[["","forHeaderCellDefault",""]]});var YX=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new Uv};YX.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};YX.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
YX.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};YX.\u0275fac=function(a){return new (a||YX)};
YX.\u0275cmp=r({type:YX,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},decls:3,vars:8,consts:[["role","button","tabindex","0",1,"keep-focus-ring","pop-grid-sort-header",3,"click","keydown.enter","keydown.space"],[1,"arrow"]],template:function(a,b){a&1&&(G(0,"div",0),N("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),K(1,"span",1),S(2),I());a&2&&(Qf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),Hf("aria-label",b.ariaLabel()),A(2),T(" ",b.columnLabel," "))},encapsulation:2});var ZX=function(a,b){this.elementRef=a;this.grid=b};ZX.prototype.ngAfterViewInit=function(){if(this.column){var a=this.column;if(a.draggable){var b;a:{for(b=this.elementRef.nativeElement;b.parentElement;){if("TH"===b.parentElement.tagName){b=b.parentElement;break a}b=b.parentElement}b=void 0}if(this.cellParent=b)this.cellParent.draggable=!0,this.cellParent.classList.add("drag-target"),this.cellParent.dataset.dragTargetColumnName=a.name}}};ZX.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
ZX.\u0275fac=function(a){return new (a||ZX)(C(Wd),C(UX,8))};
ZX.\u0275cmp=r({type:ZX,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},decls:3,vars:2,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged",4,"ngIf"],["class","pop-grid-non-sort-header keep-focus-ring","tabindex","0",4,"ngIf"],[3,"sortChanged","columnLabel","columnName","defaultSortDirection","sort","matTooltip"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"]],
template:function(a,b){a&1&&(G(0,"div",0),E(1,h0a,1,5,"b-sortable-header",1)(2,j0a,3,3,"div",2),I());a&2&&(A(),F("ngIf",b.column.sortable),A(),F("ngIf",!b.column.sortable))},dependencies:[zw,nE,OC,YX],encapsulation:2});var pyc=function(){return{before:!1}},qyc=function(){return{before:!0}},q0a=function(a,b){return{columns:a,before:b}},$X=function(a,b,c,d,e,f){Z.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=f;this.selectedColumnsChange=new Uv;this.onAddTeamColumn=new Uv;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=eE.listViewPreferences;b.preferences$.pipe(xf(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||eE.listViewPreferences})};Y($X,Z);$X.\u0275dir=Z.\u0275dir;$X.prototype.ngOnChanges=function(a){a.selectedColumns&&ryc(this)};
var syc=function(a){a.selectedColumnsChange.emit([].concat(u(a.selectedColumns)));ryc(a)},l0a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=m0a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||wr(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(mf(),xf(a.destroyed$)).subscribe(function(){Wo(a.analytics,"preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||wr(a.butterBar,"Display preference saved.",
4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},t0a=function(a,b){a.hotkeys.pause();a.matDialog.open(dyc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"}).afterClosed().pipe(xf(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},ryc=function(a){for(var b={},c=k(a.selectedColumns),
d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!Jda(b,f.name)});c=[].concat(u(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(u(d),u(c));a.currentAvailableItems.sort(function(f,h){return nr(f instanceof Bq?f.fullLabel:f.label,h instanceof
Bq?h.fullLabel:h.label)});a.isRemovable=tyc(a)};$X.prototype.isIssueGridColumn=function(a){return a instanceof Bq};$X.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,syc(this),!0}return!1};
$X.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new Bq({name:a.customFieldId.toString(),label:a.name,fullLabel:a.name,sortable:!0,draggable:!0,isCustomField:!0}):a;"TEAM"===a.label&&this.onAddTeamColumn.emit();var d=this.selectedColumns.findIndex(function(e){return e.name===c.column.name});if(-1===d)return!1;b=b?d:d+1;this.selectedColumns=[].concat(u(this.selectedColumns));this.selectedColumns.splice(b,0,a);syc(this);return!0};
var tyc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};$X.\u0275fac=function(a){return new (a||$X)(C(QA),C(zF),C(pI),C(ZI),C(HF),C(Zr))};
$X.\u0275cmp=r({type:$X,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&lg(JC,5);if(a&2){var c;pg(c=qg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[Ff,xd],decls:20,vars:11,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","class","columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"click","disabled"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["matMenuContent",""],
["mat-button","","tabindex","0","role","button",1,"columnpicker-button",3,"menuOpened","menuClosed","keydown.enter","keydown.space","matMenuTriggerFor"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"click","keydown.enter","matTooltip"],["mat-menu-item","",3,"click","keydown.enter",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=v();G(0,"div",4)(1,"div",5);K(2,"pop-grid-default-th",6);I();E(3,k0a,2,5,"div",7);G(4,"mat-menu",8,0);E(6,n0a,4,3,"button",9)(7,o0a,1,0,"mat-divider",10);G(8,"button",11);N("click",function(){x(c);return y(b.remove())});S(9," Remove column ");I();G(10,"button",12);S(11," Add column right ");I();G(12,"button",
12);S(13," Add column left ");I()();G(14,"mat-menu",null,1);E(16,u0a,4,1,"ng-template",13);I();G(17,"mat-menu",null,2);E(19,w0a,1,1,"ng-template",13);I()()}a&2&&(a=R(15),A(2),F("column",b.column),A(),F("ngIf",!0),A(3),F("ngForOf",b.column.moreOptions),A(),F("ngIf",b.column.moreOptions.length),A(),F("disabled",!b.isRemovable),A(2),F("matMenuTriggerFor",a)("matMenuTriggerData",zg(9,pyc)),A(2),F("matMenuTriggerFor",a)("matMenuTriggerData",zg(10,qyc)))},dependencies:[Dw,zw,mE,IC,HC,GC,JC,oE,nE,OC,iE,
ZX],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 wyc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Cq("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=Cq("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){uyc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var f;b.dragTargetIndex=b.params.rowFinder(null!=(f=b.dragTargetRow.dataset.rowId)?f:void 0);b.dragTargetRow.classList.add("drag-over");b.dragTargetIndex>b.draggedIssueIndex?b.dragTargetRow.classList.add("below"):b.dragTargetRow.classList.add("above");a:{for(c=b.dragTargetRow.parentElement;c;){if("static"!==window.getComputedStyle(c).position)break a;
c=c.parentElement}c=void 0}c&&(d=c.scrollTop||0,c=b.dragTargetRow.getBoundingClientRect().top-c.getBoundingClientRect().top+d,b.dropzone.style.width=b.dragTargetRow.offsetWidth+"px",b.dropzone.style.height=b.dragTargetRow.offsetHeight+"px",b.dropzone.style.left="0",b.dropzone.style.top=c+"px");b.dragTargetRow.appendChild(b.dropzone);b.dropzone.style.display="block"}});this.onTrDragEnd=Cq("tr",function(){b.draggedRow&&(uyc(b.draggedRow),uyc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Cq("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Cq(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Cq(".row-dropzone",function(c){uyc(b.dragTargetRow);vyc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Cq(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Cq(".row-dropzone",function(c){vyc(b);
b.draggedIssueIndex!==b.dragTargetIndex&&b.params.ngZone.run(function(){if(null!=b.draggedIssueIndex&&null!=b.dragTargetIndex)b.params.onRowDragDrop({srcIndex:b.draggedIssueIndex,destIndex:b.dragTargetIndex})});c.stopPropagation();c.preventDefault()})};
wyc.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");vyc(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)})};
wyc.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 uyc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},vyc=function(a){a.dropzone.style.display="none"};var aY=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};aY.prototype.ngOnInit=function(){xyc(this)};aY.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&xyc(this)};var xyc=function(a){var b=vic(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
aY.\u0275fac=function(a){return new (a||aY)(C(yQ))};
aY.\u0275cmp=r({type:aY,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[xd],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&K(0,"b-slo-time-indicator",0);a&2&&F("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[RX],encapsulation:2,changeDetection:0});var yyc=function(){};yyc.\u0275fac=function(a){return new (a||yyc)};yyc.\u0275cmp=r({type:yyc,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(G(0,"span"),K(1,"mat-icon",0),S(2,"Archived "),I())},dependencies:[nB],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 bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=hd({type:bY});bY.\u0275inj=Rc({imports:[rE]});var cY=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};cY.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};cY.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};cY.\u0275fac=function(a){return new (a||cY)(C(Wd))};cY.\u0275dir=jd({type:cY,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[xd]});var dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=hd({type:dY});dY.\u0275inj=Rc({});var zyc=function(a){this.internalArray_=m(a,0,zyc.messageId)};Y(zyc,n);zyc.repeatedFields_=[1];zyc.messageId="b.ListStatusUpdateHistoryResponse";var eY=function(a){this.executor=a};eY.prototype.get=function(a,b){return this.executor.get({url:$5b(a),responseConstructor:sG,options:{params:{issueCommentView:String(Y4b[void 0===b?"MARKDOWN":b])}}}).pipe(z(AAa))};eY.prototype.update=function(a){var b=this.executor,c=b.post,d=$5b(a.issueId);a=(new sG).setIt(Fya(a));return c.call(b,{url:d,body:a,responseConstructor:sG}).pipe(z(AAa))};eY.prototype.delete=function(a){return this.executor.delete({url:$5b(a),responseConstructor:null})};
var Ayc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:zyc,options:{params:{issueCommentView:String(Y4b.MARKDOWN)}}}).pipe(z(function(c){return Ii(c,sG,1,hi()).map(AAa)}))};eY.\u0275fac=function(a){return new (a||eY)(p(HE))};eY.\u0275prov=Pc({token:eY,factory:eY.\u0275fac,providedIn:"root"});var Byc=function(a){this.internalArray_=m(a,0,Byc.messageId)};Y(Byc,n);g=Byc.prototype;g.getComponentId=function(){return Du(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Du(this,1)};g.getComponentId_asString=function(){return Ti(this,1)};g.setComponentId=function(a){return oj(this,1,a)};g.hasComponentId=function(){return null!=Si(this,1)};g.getText=function(){return ec(this,2)};g.setText=function(a){return Zh(this,2,a)};Byc.messageId="b.CheckBannedWordsRequest";var Cyc=function(a){this.internalArray_=m(a,0,Cyc.messageId)};Y(Cyc,n);Cyc.repeatedFields_=[1];Cyc.messageId="b.CheckBannedWordsResponse";var fY=function(a){this.executor=a};fY.prototype.checkBannedWords=function(a){a=(new Byc).setComponentId(a.componentId).setText(a.text);return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:Cyc}).pipe(z(x0a))};fY.\u0275fac=function(a){return new (a||fY)(p(HE))};fY.\u0275prov=Pc({token:fY,factory:fY.\u0275fac,providedIn:"root"});var gY=function(a){this.observableApi=a};gY.prototype.checkBannedWords=function(a){return(0,X.firstValueFrom)(this.observableApi.checkBannedWords(a))};
gY.\u0275fac=function(a){return new (a||gY)(p(fY))};gY.\u0275prov=Pc({token:gY,factory:gY.\u0275fac,providedIn:"root"});var hY=function(a,b,c,d){Z.call(this);this.bannedWordsApi=a;this.activeSession=b;this.errorHandler=c;this.analytics=d;this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=hE(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};Y(hY,Z);hY.\u0275dir=Z.\u0275dir;
hY.prototype.check=function(a,b,c){var d=this;return me(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(Dyc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",Wo(d.analytics,sq.BANNED_WORDS,"skipBannedWordsCheck",Dq(d)),e.return(!0);default:return e.return(!0)}})};
var Dyc=function(a,b,c){var d,e;return me(function(f){if(1==f.nextAddress)return ne(f,2),oe(f,a.bannedWordsApi.checkBannedWords({componentId:b,text:c}),4);if(2!=f.nextAddress)return d=f.yieldResult,0<d.matchedPatterns.length?(a.matchedPatterns=d.matchedPatterns,a.warningState="SHOW_WARNING",Wo(a.analytics,sq.BANNED_WORDS,"failBannedWordsCheck",Dq(a)),f.return(!1)):f.return(!0);e=re(f);sI(a.errorHandler,e);return f.return(!0)})},Dq=function(a){return a.matchedPatterns.join(", ")};
hY.prototype.showWarning=function(){return"SHOW_WARNING"===this.warningState};hY.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};hY.\u0275fac=function(a){return new (a||hY)(p(gY),p(Zr),p(qI),p(ZI))};hY.\u0275prov=Pc({token:hY,factory:hY.\u0275fac});var iY=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;null==(b=a.didConfirm)||b.call(a)}};window.addEventListener("beforeunload",this.beforeUnloadEventHandler);
window.addEventListener("unload",this.onUnload)};iY.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler);window.removeEventListener("unload",this.onUnload)};var jY=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new X.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};
iY.prototype.canDeactivate=function(a,b,c,d){a:{a=AD(c.url).getPath()===AD(d.url).getPath();b=k(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?Eyc(this)?(this.checks=[],!0):!1:!0};var Eyc=function(a){var b=window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?");if(b){var c;null==(c=a.didConfirm)||c.call(a)}return b};
iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275prov=Pc({token:iY,factory:iY.\u0275fac,providedIn:"root"});var Fyc=function(a){return[a]},kY=function(a){this.matDialog=a};kY.prototype.show=function(a,b,c){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(lY,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return(0,X.firstValueFrom)(this.dialog.afterClosed())};kY.\u0275fac=function(a){return new (a||kY)(p(QA))};kY.\u0275prov=Pc({token:kY,factory:kY.\u0275fac,providedIn:"root"});
var lY=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;this.CHAR_LIMIT=1E3;this.FormattingMode=SD;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=
li(this.origStatusUpdate);this.subscriptions.add(jY(e,function(){return h.isModified()},!1))};Y(lY,Z);lY.\u0275dir=Z.\u0275dir;var Gyc=function(a){var b,c;return null!=(c=HFa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};g=lY.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(xf(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(xf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};g.isModified=function(){return!ki(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return me(function(e){if(1==e.nextAddress)return a.isModified()?oe(e,a.bannedWordsChecker.check(a.newStatusUpdate.updateText,"EXTERNAL"===a.formattingAudience,a.data.componentId),2):e.return();b=e.yieldResult;if(!b)return null==(c=a.commentDraft)||jvc(c),e.return();null==(d=a.dialogService.dialog)||d.close(a.newStatusUpdate);se(e)})};lY.\u0275fac=function(a){return new (a||lY)(C(Zr),C(PA),C(kY),C(NA),C(iY),C(hY))};
lY.\u0275cmp=r({type:lY,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&lg(jV,5);if(a&2){var c;pg(c=qg())&&(b.commentDraft=c.first)}},features:[wg([hY]),Ff],decls:19,vars:17,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","textareaClass"],["class","char-limit-warning",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"change","initialValue"],
["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","save-button",3,"click","disabled","color"],[1,"char-limit-warning"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode",
"audience"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Editing Status Update"),I(),G(2,"section",1)(3,"p",2),S(4," Editing the Status Update will not permanently remove old ones from database history. "),K(5,"br"),S(6," For deletion of PII or other sensitive content, please "),G(7,"a",3),S(8," file a support request. "),I()(),G(9,"b-comment-draft",4),vg("contentChange",function(d){ug(b.newStatusUpdate.updateText,d)||(b.newStatusUpdate.updateText=d);return d}),N("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",
function(){return b.closeDialogForSave()}),I(),E(10,y0a,2,1,"p",5)(11,z0a,4,1,"p",6),G(12,"b-markdown-toggle",7),N("change",function(d){return b.newStatusUpdate.formattingMode=d}),I(),E(13,A0a,2,4,"div",8),I(),G(14,"footer",9)(15,"button",10),S(16," Cancel "),I(),G(17,"button",11),N("click",function(){return b.closeDialogForSave()}),S(18),I()());if(a&2){var c;A(7);F("href",b.contentRemovalRequestLink,Ye);A(2);Rf(Gyc(b));tg("content",b.newStatusUpdate.updateText);F("textareaClass",Ag(15,Fyc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":""));A();F("ngIf",1E3<b.newStatusUpdate.updateText.length);A();F("ngIf",b.bannedWordsChecker.showWarning());A();Qf("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);F("initialValue",null!==(c=b.origStatusUpdate.formattingMode)&&void 0!==c?c:b.FormattingMode.PLAIN);A();F("ngIf",b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN);A(2);F("mat-dialog-close",void 0);A(2);F("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length||
!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");A();T(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," ")}},dependencies:[RA,SA,TA,UA,zw,CA,PU,OU,jV],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 Hyc=function(a){this.internalArray_=m(a)};Y(Hyc,n);Hyc.prototype.getText=function(){return ec(this,1)};Hyc.prototype.setText=function(a){return yl(this,1,a)};var Iyc=function(a){this.internalArray_=m(a)};Y(Iyc,n);Iyc.prototype.setModel=function(a){return yl(this,1,a)};Iyc.prototype.setTemperature=function(a){lp(this,3,ib(a))};Iyc.repeatedFields_=[8,9];var C0a=function(a){this.internalArray_=m(a)};Y(C0a,n);C0a.prototype.getOutput=function(){return ec(this,1)};C0a.repeatedFields_=[2];var B0a=function(a){this.internalArray_=m(a)};Y(B0a,n);B0a.repeatedFields_=[1,2,3,4];var Jyc=function(a){this.internalArray_=m(a,0,Jyc.messageId)};Y(Jyc,n);Jyc.messageId="b.GenerateTextResponse";var mY=function(a){this.executor=a};mY.prototype.generate=function(a){var b;var c=(new Iyc).setModel(null!=(b=a.model)?b:"models/text-bison-001");b=(new Hyc).setText(a.prompt);c=hj(c,Hyc,2,b);null!=a.temperature&&c.setTemperature(a.temperature);return this.executor.post({url:"/action/palm/generate",body:c,responseConstructor:Jyc}).then(D0a)};mY.\u0275fac=function(a){return new (a||mY)(p(IE))};mY.\u0275prov=Pc({token:mY,factory:mY.\u0275fac,providedIn:"root"});var Kyc={},Lyc=(Kyc[0]="Please provide a brief summary of the topic of the following conversation using a single line.",Kyc[1]="Please provide a brief summary of the topic, any recommendations, and any status in the following conversation using up to 3 lines.",Kyc),nY=function(a,b,c){this.prompts=a;this.palmApi=b;this.issueApi=c},Nyc=function(a,b,c){var d;return me(function(e){if(1==e.nextAddress)return oe(e,(0,X.firstValueFrom)(Myc(a.prompts,b)),2);if(d=e.yieldResult){var f=e.return,h=X.firstValueFrom;
var l=a.issueApi;var q=new cH;q=jj(q,2,0===c?1:2).setIssueId(b);l=l.executor.post({url:"action/issues/"+b+"/summarize",body:q,responseConstructor:qG}).pipe(z(CAa));e=f.call(e,h.call(X,l))}else e=e.return({status:1,summary:""});return e})},Oyc=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress)return c={prompt:b},oe(e,a.palmApi.generate(c),2);d=e.yieldResult;return e.return(d.output)})};nY.\u0275fac=function(a){return new (a||nY)(p(oY),p(mY),p(eH))};
nY.\u0275prov=Pc({token:nY,factory:nY.\u0275fac,providedIn:"root"});
var oY=function(a){this.eventsForIssueFridge=a},Myc=function(a,b){return Pyc(a,b).pipe(z(function(c){return!!(c&&3<=c.commentEvents.length)}),lf())},Qyc=function(a,b,c){var d,e;return me(function(f){if(1==f.nextAddress)return oe(f,(0,X.firstValueFrom)(Pyc(a,b)),2);d=f.yieldResult;e=d.commentEvents.map(function(h){return h.userPerformingAction.split("@")[0]+": "+JSON.stringify(h.unlinkifiedComment.trim())});return f.return(Lyc[c]+"\nThe input is of the form: <speaker>: <comment>, where the comment is a JSON string.\n\n"+
e.join("\n")+"\n\nSUMMARY:")})},Pyc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(u(c.slice(0,1).filter(function(d){var e;return null==(e=d.unlinkifiedComment)?void 0:e.trim()})),u(c.slice(1).filter(E0a).filter(function(d){var e;return null==(e=d.unlinkifiedComment)?void 0:e.trim()})))}}))};oY.\u0275fac=function(a){return new (a||oY)(p(BI))};
oY.\u0275prov=Pc({token:oY,factory:oY.\u0275fac,providedIn:"root"});var Ryc=function(a){this.internalArray_=m(a)};Y(Ryc,n);Ryc.prototype.getEmail=function(){return ec(this,1)};Ryc.prototype.setEmail=function(a){return yl(this,1,a)};var Fq=function(a){this.internalArray_=m(a)};Y(Fq,n);g=Fq.prototype;g.getWorkspaceId=function(){return Zi(this,1)};g.getWorkspaceId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getName=function(){return ec(this,2)};g.setName=function(a){return yl(this,2,a)};g.getTimeZone=function(){return Gi(this,Co,8)};g.setTimeZone=function(a){return hj(this,Co,8,a)};g.hasTimeZone=function(){return Ui(this,Co,8)};g.getMembersList=function(){return Ii(this,Ryc,9,hi())};
g.setMembersList=function(a){return mm(this,9,a)};g.getUpdateTime=function(){return Gi(this,aj,12)};g.setUpdateTime=function(a){hj(this,aj,12,a)};g.hasUpdateTime=function(){return Ui(this,aj,12)};g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Zi(this,14)};g.setBookmarkGroupId=function(a){return xl(this,14,a)};g.setTeamId=function(a){return yl(this,20,a)};var Syc=gc(Fq);Fq.repeatedFields_=[5,9,13,15,17,18];var Tyc=function(a){this.internalArray_=m(a)};Y(Tyc,n);Tyc.prototype.getWorkspaceId=function(){return Zi(this,1)};Tyc.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return Zi(this,1)};var Uyc=new eD("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",Tyc,Fq,function(a){return a.serialize()},Syc);var Vyc=function(a){this.internalArray_=m(a)};Y(Vyc,n);var Xyc=function(a,b){return Ql(a,1,Wyc,b)};Vyc.repeatedFields_=[3];var Wyc=[1,2];var Yyc=function(a){this.internalArray_=m(a)};Y(Yyc,n);var Zyc=gc(Yyc);Yyc.repeatedFields_=[1,2,3];var $yc=new eD("/google.corp.devtools.worktracker.v1.WorkspaceService/List",Vyc,Yyc,function(a){return a.serialize()},Zyc);var azc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new GD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};azc.prototype.get=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Uyc)};azc.prototype.list=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},$yc)};var bzc={},czc;bzc.Authorization=null!=(czc=Dp([]))?czc:"";bzc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";bzc["X-Goog-AuthUser"]="0";var pY=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())},dzc=function(a,b){return a.activeSession.isExternalSession()?(0,X.of)([]):(0,X.from)(a.client.list(Xyc(new Vyc,"b/"+b),bzc)).pipe(z(F0a(b)),gf(function(){return(0,X.of)([])}))};
pY.prototype.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":return"https://staging-worktracker-googleapis.corp.google.com";case "PROD":return"https://worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}};pY.\u0275fac=function(a){return new (a||pY)(p(Zr),p(qY))};pY.\u0275prov=Pc({token:pY,factory:pY.\u0275fac,providedIn:"root"});var qY=function(){};qY.prototype.create=function(a){return new azc(a)};
qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275prov=Pc({token:qY,factory:qY.\u0275fac,providedIn:"root"});var ezc=[[["",8,"value-action"]]],rY=function(a){Z.call(this);var b=this;this.jspbPrincipalTypes=a;this.readonly=!1;this.collaborators=[];this.collaboratorsUsers=[];this.listFieldDisabled=!1;this.teamId="";this.isCollapsible=!1;this.valuesChange=new Uv;this.toggleAccessLimits=new Uv;this.additionAllowed=!0;this.ListFieldType=Cqc;this.userPrincipalValidator=function(c){var d,e,f;return me(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(l){return l.trim()}).filter(Boolean);
return oe(h,d6b(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;f=d.find(function(l){var q;return"USER"!==(null==(q=e[l])?void 0:q.principalType)});return h.return(f?"You can only add users to collaborators.":"")})}};Y(rY,Z);rY.\u0275dir=Z.\u0275dir;rY.\u0275fac=function(a){return new (a||rY)(C(LE))};
rY.\u0275cmp=r({type:rY,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[wg([ME]),Ff],ngContentSelectors:[".value-action"],decls:3,vars:17,consts:[["aria-label","Collaborators are people directly working on this issue.",
1,"full-width",3,"valuesChange","toggleAccessLimits","defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName"],[1,"value-action"]],template:function(a,b){a&1&&(cg(ezc),G(0,"b-list-field",0),N("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),G(1,"div",1),dg(2),I()());a&2&&(gg("collapsiblePanelTitle",
"",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),F("defaultLineCount",5)("readonly",b.readonly)("additionAllowed",b.additionAllowed)("title","Collaborators")("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",b.collaborators)("users",b.collaboratorsUsers)("inputValidator",b.userPrincipalValidator)("listFieldDisabled",b.listFieldDisabled)("teamId",b.teamId)("isExpanded",!0)("isCollapsible",b.isCollapsible)("iconName",b.isCollapsible?"groups_24px":""))},dependencies:[AT],
encapsulation:2});var sY=function(){};sY.\u0275fac=function(a){return new (a||sY)};sY.\u0275mod=hd({type:sY});sY.\u0275inj=Rc({imports:[BT,rE,vE]});var fzc=function(){var a=this;this.pressed=new Uv;this.disabled=!1;this.getTooltip=function(){return a.disabled?"Deployment status is only available for submitted Boq, Pod & Annealing CLs. For more information, go/devgraph_supported_insights.":"Open the insights graph"}};fzc.\u0275fac=function(a){return new (a||fzc)};
fzc.\u0275cmp=r({type:fzc,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},decls:14,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button",3,"click","title","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),
"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(G(0,"button",0),N("click",function(){return b.pressed.emit()}),S(1,"Insights "),Kd(),G(2,"svg",1)(3,"g",2),K(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),I()()());a&2&&(F("title",b.getTooltip())("disabled",b.disabled),Hf("aria-label",b.getTooltip()))},dependencies:[CA],styles:["button.gmat-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif}[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:text-bottom}/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var tY=function(a,b){Z.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.recentIssuesInComponent=il;this.componentId$=new X.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Ce(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Ce(Ei),wf(this.componentFridge.watch),Ce(Ei));this.component$=(0,X.merge)(this.error$,this.rawComponent$).pipe(z(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),
name:"(unknown)"}}));this.isArchived$=this.component$.pipe(z(function(d){return d.archived}));this.componentPath$=this.component$.pipe(z(function(d){d=ur(c.currentTracker,d.componentPathInfo);return sp(d)}));this.init=new X.ReplaySubject(1);this.routes$=this.componentId$.pipe(z(function(d){return{createIssue:axa(d),componentSettings:bxa(d),recentIssues:il(d)}}))};Y(tY,Z);tY.\u0275dir=Z.\u0275dir;tY.prototype.ngOnInit=function(){var a=this;this.component$.pipe(mf(),xf(this.destroyed$)).subscribe(function(){a.init.next()})};
Ac.Object.defineProperties(tY.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});tY.\u0275fac=function(a){return new (a||tY)(C(ZH),C(hM))};
tY.\u0275cmp=r({type:tY,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[Ff],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["class","component-path squared b-chip s margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","flex-kids-y padded-s-top actions",4,"ngIf"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[4,"ngFor","ngForOf"],
[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"id-text","flex-kids-x","gap-s","align-items-center"],[3,"accessLevel","labelOnlyMode"],[1,"flex-kids-y","padded-s-top","actions"],["aria-label","View recent open issues","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"gmat-button","primary",
3,"routerLinkObj"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),E(2,J0a,5,6,"div",2)(3,K0a,11,5,"ng-container",3),V(4,"async"),E(5,L0a,7,3,"div",4),V(6,"async"),I()());a&2&&(A(2),F("ngIf",!b.hidePath),A(),F("ngIf",W(4,3,b.component$)),A(2),F("ngIf",W(6,5,b.routes$)))},dependencies:[Dw,zw,nB,DA,AR,VM,Iw],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 gzc=function(a){this.internalArray_=m(a,0,gzc.messageId)};Y(gzc,n);gzc.messageId="b.CompareComponentAccessResponse";var uY=function(a){this.executor=a};uY.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:gzc}).then(Eza)};uY.\u0275fac=function(a){return new (a||uY)(p(IE))};uY.\u0275prov=Pc({token:uY,factory:uY.\u0275fac,providedIn:"root"});var vY=function(a,b,c,d,e,f){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=f},F1a=function(a,b,c){var d,e,f,h,l;me(function(q){switch(q.nextAddress){case 1:return b=String(b),yic(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?oe(q,(0,X.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return a.butterBar.showWarning("Could not load issue "+b),q.return();e=
d.snapshot[0].componentId;f=c.componentId;return e===f?q.return():oe(q,a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return oe(q,hzc(a,h),5);case 5:if(l=q.yieldResult,!l)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,f,h.isExternalMove))}})},hzc=function(a,b){return new Promise(function(c){a.matDialogService.open(FR,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}}).afterClosed().subscribe(function(){c(!1)})})};
vY.\u0275fac=function(a){return new (a||vY)(p(BQ),p(iJ),p(pI),p(uY),p(QA),p(JQ))};vY.\u0275prov=Pc({token:vY,factory:vY.\u0275fac,providedIn:"root"});var izc=function(a){this.documentationLinks=a};izc.\u0275fac=function(a){return new (a||izc)(C(TM))};
izc.\u0275cmp=r({type:izc,selectors:[["b-issue-component-retention-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(G(0,"h1",0),S(1,"Apply component retention settings?"),I(),G(2,
"div",1)(3,"p"),S(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. "),I(),G(5,"a",2),S(6,"Learn more"),I()(),G(7,"div",3)(8,"button",4),S(9," Cancel "),I(),G(10,"button",5),S(11," OK "),I()());a&2&&(A(5),F("href",Vr(),Ye),A(3),F("mat-dialog-close",!1),A(2),F("mat-dialog-close",!0))},dependencies:[RA,SA,TA,UA,CA],encapsulation:2});var jzc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};jzc.\u0275fac=function(a){return new (a||jzc)(C(PA),C(TM))};
jzc.\u0275cmp=r({type:jzc,selectors:[["b-issue-delete-attachment-dialog"]],decls:14,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"div",1)(3,"span"),S(4," Please select the reason for deleting this attachment. "),G(5,"a",2),S(6," \u00a0Learn more "),I()(),G(7,"mat-radio-group",3),vg("ngModelChange",function(c){ug(b.selectedReason,c)||(b.selectedReason=c);return c}),E(8,N0a,3,4,"mat-radio-button",4),I()(),G(9,"div",5)(10,"button",6),S(11," Cancel "),I(),G(12,"button",7),S(13," Delete "),I()());a&2&&(A(),T("Delete attachment ",
b.attachmentId,""),A(4),F("href",xdc(b.documentationLinks),Ye),A(2),tg("ngModel",b.selectedReason),A(),F("ngForOf",b.deletionReasons),A(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Dw,zw,RA,SA,TA,UA,CA,cx,jx,$V,aW],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var kzc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};kzc.\u0275fac=function(a){return new (a||kzc)(C(PA),C(TM))};
kzc.\u0275cmp=r({type:kzc,selectors:[["b-issue-delete-comment-dialog"]],decls:14,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"div",1)(3,"label"),S(4,"Please select the reason for deleting this comment."),I(),G(5,"a",2),S(6," \u00a0Learn more "),I(),G(7,"mat-radio-group",3),vg("ngModelChange",function(c){ug(b.selectedReason,c)||(b.selectedReason=c);return c}),E(8,P0a,3,4,"mat-radio-button",4),I()(),G(9,"div",5)(10,"button",6),S(11," Cancel "),I(),G(12,"button",7),S(13," Delete "),I()());a&2&&(A(),sg("Delete Comment #",b.commentNumber,
" of Issue ",b.issueId,""),A(4),F("href",xdc(b.documentationLinks),Ye),A(2),tg("ngModel",b.selectedReason),A(),F("ngForOf",b.deletionReasons),A(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Dw,zw,RA,SA,TA,UA,CA,cx,jx,$V,aW],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var lzc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=Q0a(this.activeSession.isInternalSession())};lzc.\u0275fac=function(a){return new (a||lzc)(C(TM),C(Zr))};
lzc.\u0275cmp=r({type:lzc,selectors:[["b-issue-flag-as-spam-dialog"]],decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Report spam?"),I(),G(2,"div",1)(3,
"p"),S(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, "),G(5,"a",2),S(6,"see here"),I(),S(7,". "),I(),K(8,"p"),G(9,"p"),S(10," To delete PII or other sensitive content, "),G(11,"a",2),S(12,"file a support request"),I(),S(13,". "),I()(),G(14,"div",3)(15,"button",4),S(16," Cancel "),I(),G(17,"button",5),S(18," Report spam "),I()());a&2&&(A(5),F("href",vdc(b.documentationLinks),Ye),A(6),F("href",b.REMOVAL_URL,
Ye),A(4),F("mat-dialog-close",!1),A(2),F("mat-dialog-close",!0))},dependencies:[RA,SA,TA,UA,CA],encapsulation:2});var mzc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};mzc.\u0275fac=function(a){return new (a||mzc)(C(TM))};
mzc.\u0275cmp=r({type:mzc,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"change","checked"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Retain issue indefinitely?"),
I(),G(2,"div",1)(3,"p"),S(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),I(),G(5,"p")(6,"b"),S(7,"Please note indefinite retention is not appropriate in many circumstances."),I(),K(8,"br"),S(9," Before selecting this option, you should make sure at least one of the following is true: "),I(),G(10,"ul")(11,"li"),S(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),I(),G(13,"li"),
S(14," You have a process in place to manually delete this issue within an approved period of time. "),I(),G(15,"li"),S(16," Legal and Privacy have approved this non-standard retention period. "),I()(),K(17,"p"),G(18,"p")(19,"a",2),S(20,"Learn more"),I()(),G(21,"mat-checkbox",3),N("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),S(22," I acknowledge "),I()(),G(23,"div",4)(24,"button",5),S(25," Cancel "),I(),G(26,"button",6),S(27," OK "),I()());a&2&&(A(19),F("href",Vr(),Ye),
A(2),F("checked",b.indefiniteRetentionAcknowledged),A(3),F("mat-dialog-close",!1),A(2),F("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[RA,SA,TA,UA,CA,KM,LM],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var wY=function(a){Z.call(this);this.userPreferencesManager=a;this.timestamps$=this.userPreferencesManager.preferences$.pipe(z(function(b){var c;return null!=(c=b.dismissalTimestamps)?c:void 0}));this.timestampsSubject$=Fk(this.timestamps$.pipe(xf(this.destroyed$)),{})};Y(wY,Z);wY.\u0275dir=Z.\u0275dir;var nzc=function(a,b){return a.timestamps$.pipe(z(function(c){return c?!!c[b]:!1}))};wY.prototype.isDismissed=function(a){return!!Gk(nzc(this,a))};
wY.prototype.dismiss=function(a){var b={};b={dismissalTimestamps:Object.assign({},this.timestampsSubject$.value,(b[a]=new Date(Date.now()),b))};return this.userPreferencesManager.save(b).pipe(z(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};wY.\u0275fac=function(a){return new (a||wY)(p(zF))};wY.\u0275prov=Pc({token:wY,factory:wY.\u0275fac,providedIn:"root"});var xY=function(a,b,c){Z.call(this);this.data=a;this.dialogRef=b;this.dismissalService=c;this.dontShowAgain=!1};Y(xY,Z);xY.\u0275dir=Z.\u0275dir;xY.prototype.confirm=function(){var a=this,b;return me(function(c){if(1==c.nextAddress){if(!a.dontShowAgain)return c.jumpTo(2);b=R0a(a.data.action);return oe(c,(0,X.firstValueFrom)(a.dismissalService.dismiss(b)),2)}a.dialogRef.close(!0);se(c)})};xY.\u0275fac=function(a){return new (a||xY)(C(PA),C(NA),C(wY))};
xY.\u0275cmp=r({type:xY,selectors:[["b-share-email-confirmation-dialog"]],features:[Ff],decls:9,vars:2,consts:[["mat-dialog-content",""],[3,"innerHTML"],[3,"change","checked"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(G(0,"div",0),K(1,"div",1),G(2,"mat-checkbox",2),N("change",function(c){return b.dontShowAgain=c.checked}),S(3," Don't show this again "),
I()(),G(4,"div",3)(5,"button",4),N("click",function(){return b.dialogRef.close(!1)}),S(6," Cancel "),I(),G(7,"button",5),N("click",function(){return b.confirm()}),S(8," Confirm "),I()());a&2&&(A(),F("innerHTML",b.data.content,Xe),A(),F("checked",b.dontShowAgain))},dependencies:[TA,UA,CA,KM,LM],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var yY=function(){};yY.\u0275fac=function(a){return new (a||yY)};yY.\u0275mod=hd({type:yY});yY.\u0275inj=Rc({imports:[rE,VA,cD,KO,yx,IO,fX,wM,fV,PM]});var zY=function(a){this.internalArray_=m(a)};Y(zY,n);zY.prototype.getContentJudgement=function(){return Gi(this,wl,1)};zY.prototype.setContentJudgement=function(a){return hj(this,wl,1,a)};var AY=function(a){this.internalArray_=m(a,0,AY.messageId)};Y(AY,n);AY.prototype.getIt=function(){return Gi(this,zY,4)};AY.prototype.setIt=function(a){return hj(this,zY,4,a)};AY.prototype.hasIt=function(){return Ui(this,zY,4)};AY.messageId="b.CreateContentJudgementRequest";var BY=function(a){this.internalArray_=m(a)};Y(BY,n);BY.prototype.getContentJudgementsList=function(){return Ii(this,wl,1,hi())};BY.repeatedFields_=[1];var CY=function(a){this.internalArray_=m(a,0,CY.messageId)};Y(CY,n);CY.prototype.getContentJudgementsList=function(){return Ii(this,mp,1,hi())};CY.prototype.getIt=function(){return Gi(this,BY,2)};CY.prototype.setIt=function(a){return hj(this,BY,2,a)};CY.prototype.hasIt=function(){return Ui(this,BY,2)};CY.repeatedFields_=[1];CY.messageId="b.ListContentJudgementsResponse";var DY=function(a){this.internalArray_=m(a)};Y(DY,n);DY.prototype.getContentJudgement=function(){return Gi(this,wl,1)};DY.prototype.setContentJudgement=function(a){return hj(this,wl,1,a)};var ozc=function(a){this.internalArray_=m(a,0,ozc.messageId)};Y(ozc,n);g=ozc.prototype;g.getContentJudgement=function(){return Gi(this,mp,1)};g.setContentJudgement=function(a){return hj(this,mp,1,a)};g.getIt=function(){return Gi(this,DY,2)};g.setIt=function(a){return hj(this,DY,2,a)};g.hasIt=function(){return Ui(this,DY,2)};ozc.messageId="b.UpdateContentJudgementRequest";var EY=function(a){this.executor=a};EY.prototype.create=function(a,b,c){var d=new AY,e=d.setIt,f=new zY,h=f.setContentJudgement;a=zl(Cxa({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0,contentJudge:""}),5,2);a=zl(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:mp}).pipe(z(YEa))};
EY.prototype.update=function(a){var b=a.contentJudgementId,c=new ozc,d=c.setContentJudgement;a=(new mp).setIt(Cxa(a));c=d.call(c,a);d=zl(c.getContentJudgement().getIt(),5,2);lp(d,8);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:mp}).pipe(z(YEa))};
EY.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:CY}).pipe(z(function(b){var c;return(null!=(c=b.getContentJudgementsList())?c:[]).map(YEa)}))};EY.\u0275fac=function(a){return new (a||EY)(p(HE))};EY.\u0275prov=Pc({token:EY,factory:EY.\u0275fac,providedIn:"root"});var GY=function(a,b,c,d,e){var f=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=f5b;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var l="RESTRICTION_SEVERITY_UNSPECIFIED";h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,
q.contentJudge===f.activeSession.getUserEmail()?pzc(f,q):FY(q.severity,l)&&(l=q.severity);f.minimumSeverity=l;FY(f.minimumSeverity,f.severity)&&(f.severity=f.minimumSeverity);f.loaded=!0}):(pzc(this,e.contentJudgement),this.loaded=!0)};GY.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var FY=function(a,b){return S0a(a)>S0a(b)},pzc=function(a,b){if(a.judgement=b)a.severity=b.severity},qzc=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.";
FY(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};GY.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"RESTRICTION_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
GY.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(null==this.judgement){this.contentJudgements.create(this.data.resourcePath,this.severity,"None specified").subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});return}if(this.judgement.severity!==this.severity||"None specified"!==this.judgement.judgementReason){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};GY.prototype.onNoClick=function(){this.dialogRef.close(null)};GY.\u0275fac=function(a){return new (a||GY)(C(NA),C(TM),C(EY),C(Zr),C(PA))};
GY.\u0275cmp=r({type:GY,selectors:[["b-content-judgement-dialog"]],decls:28,vars:11,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["id","restriction-radio-group-label"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-focus-ring",3,"rel"],["aria-labelledby","restriction-radio-group-label",3,"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"],["mat-button","",1,"gmat-button","medium","content-judgement-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","content-judgement-dialog-confirm",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"header",0)(1,"h1"),K(2,"mat-icon",1),G(3,"div"),S(4," Set restriction "),I()()(),G(5,"section",2)(6,"label",3),S(7),G(8,"a",4),S(9," Learn More "),I()(),
G(10,"mat-radio-group",5),vg("ngModelChange",function(c){ug(b.severity,c)||(b.severity=c);return c}),G(11,"mat-radio-button",6),S(12," No restriction "),G(13,"div"),S(14,' Users with "View issues" can access. '),I()(),G(15,"mat-radio-button",7),S(16," Restricted "),G(17,"div"),S(18,' Users with "View restricted content" can access. '),I()(),G(19,"mat-radio-button",8),S(20," Restricted+ "),G(21,"div"),S(22,' Users with "View restricted+ content" can access. '),I()()()(),G(23,"mat-dialog-actions")(24,
"button",9),N("click",function(){return b.onNoClick()}),S(25," Cancel "),I(),G(26,"button",10),N("click",function(){return b.onSaveClick()}),S(27," Set "),I()());a&2&&(A(7),T(" ",qzc(b)," "),A(),F("rel",b.EXTERNAL_LINK_REL),Hf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ye),A(2),tg("ngModel",b.severity),A(),F("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||FY(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),A(4),F("value",b.RestrictionSeverity.RESTRICTED)("disabled",
!b.canInteract()||FY(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED)),A(4),F("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||FY(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),A(7),F("disabled",!b.canInteract()))},dependencies:[nB,CA,SA,TA,UA,$V,aW,cx,jx],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 HY=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.acknowledgeToMatchIssueRetention=!1;this.resource=c.resource;this.piiRetention=c.piiRetention};HY.prototype.canInteract=function(){return!IY(this)||this.acknowledgeToMatchIssueRetention};var IY=function(a){return"INDEFINITE"===a.piiRetention};HY.prototype.onSaveClick=function(){this.dialogRef.close(1)};HY.prototype.onNoClick=function(){this.dialogRef.close(0)};
HY.\u0275fac=function(a){return new (a||HY)(C(NA),C(TM),C(PA))};
HY.\u0275cmp=r({type:HY,selectors:[["b-update-retention-dialog"]],decls:19,vars:8,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],[4,"ngIf"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","update-retention-dialog-cancel",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",
"medium","update-retention-dialog-confirm",3,"click","disabled"],[3,"ngModelChange","ngModel"]],template:function(a,b){a&1&&(G(0,"h1",0),K(1,"mat-icon",1),G(2,"div"),E(3,T0a,2,1,"span",2)(4,U0a,2,0,"span",2),I()(),G(5,"div",3),E(6,V0a,8,1,"span",2)(7,W0a,3,2,"span",2),G(8,"span")(9,"a",4),S(10," Learn More "),I()()(),G(11,"div")(12,"span"),E(13,X0a,2,1,"mat-checkbox",5),I()(),G(14,"div",6)(15,"button",7),N("click",function(){return b.onNoClick()}),S(16," Cancel "),I(),G(17,"button",8),N("click",function(){return b.onSaveClick()}),
S(18," Save "),I()());a&2&&(A(3),F("ngIf",IY(b)),A(),F("ngIf",!IY(b)),A(2),F("ngIf",IY(b)),A(),F("ngIf",!IY(b)),A(2),F("rel",b.EXTERNAL_LINK_REL),Hf("href",Vr(),Ye),A(4),F("ngIf",IY(b)),A(4),F("disabled",!b.canInteract()))},dependencies:[zw,nB,CA,SA,TA,UA,KM,LM,cx,jx],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var JY=function(a,b,c,d,e,f,h,l){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h;this.formattedCommentsForIssueFridge=l},rzc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,f=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;me(function(t){switch(t.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),
t.return();HQ(l,"commentEdit");wr(a.butterBar,"Saving comment edit...",0);yic(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});ne(t,2,3);return oe(t,a.issueCommentsService.update(c,d,e,f,h),5);case 5:wr(a.butterBar,"Comment edit successful.",4E3),CH(a.eventsForIssueFridge,c,function(w){w.events=NCa(w.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.issueFridge.poke(c),a.formattedCommentsForIssueFridge.invalidate(c+"-"+d),a.eventsForIssueFridge.poke(c);
case 3:pe(t);IQ(l,"commentEdit");qe(t,0);break;case 2:q=re(t),sI(a.errorHandler,q),t.jumpTo(3)}})};JY.\u0275fac=function(a){return new (a||JY)(p(qI),p(BI),p(iJ),p(HK),p(BQ),p(pI),p(JQ),p(HI))};JY.\u0275prov=Pc({token:JY,factory:JY.\u0275fac,providedIn:"root"});var szc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},tzc=function(){},uzc=function(a){this.timestampMicros=a};Y0a.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var vzc=function(a){var b=0;if(a.inRetryMode_){b=Math.ceil(a.random_()*a.currentMaxDelayMs_);var c=1024*a.initialMaxDelayMs_;a.currentMaxDelayMs_<=c&&(a.currentMaxDelayMs_*=2,a.currentMaxDelayMs_>c&&(a.currentMaxDelayMs_=c))}a.inRetryMode_=!0;return b};var Pq=function(a){this.internalArray_=m(a)};Y(Pq,n);var d1a=[1,2,3,15];var Rq=function(a){this.internalArray_=m(a)};Y(Rq,n);var Tq=[1,2,3,4,5,6,7,8,9,10,11,12];var Qq=function(a){this.internalArray_=m(a)};Y(Qq,n);Qq.repeatedFields_=[1];var Oq=function(a){this.internalArray_=m(a)};Y(Oq,n);Oq.prototype.getName=function(){return so(this,1,wzc)};Oq.prototype.setName=function(a){return Ql(this,1,wzc,a)};Oq.prototype.hasName=function(){return null!=so(this,1,wzc)};Oq.prototype.getNameOrUndefined=function(){return Ju(this,Fl(this,wzc,1))};var wzc=[1,2];var xzc=function(a){this.internalArray_=m(a)};Y(xzc,n);g=xzc.prototype;g.setProject=function(a){hj(this,Oq,1,a)};g.getOwner=function(){return Gi(this,Pq,2)};g.setOwner=function(a){return hj(this,Pq,2,a)};g.getPath=function(){return Gi(this,Qq,3)};g.setPath=function(a){return hj(this,Qq,3,a)};g.hasPath=function(){return Ui(this,Qq,3)};var yzc=function(a){this.internalArray_=m(a)};Y(yzc,n);g=yzc.prototype;g.setProject=function(a){hj(this,Oq,1,a)};g.getOwner=function(){return Gi(this,Pq,2)};g.setOwner=function(a){return hj(this,Pq,2,a)};g.getPrefix=function(){return Gi(this,Qq,3)};g.setPrefix=function(a){hj(this,Qq,3,a)};var KY=function(a){this.internalArray_=m(a)};Y(KY,n);KY.prototype.getVersion=function(){return zu(this,1)};KY.prototype.setVersion=function(a){return gj(this,1,a)};KY.prototype.getVersionOrUndefined=function(){return Hu(this,1)};var LY=function(a){this.internalArray_=m(a)};Y(LY,n);LY.prototype.getHeader=function(){return Gi(this,KY,4)};LY.prototype.getPrefix=function(){return Ll(this,yzc,6,zzc)};LY.prototype.setPrefix=function(a){Rl(this,6,zzc,a)};var zzc=[2,3,6];var Azc=function(a){this.internalArray_=m(a)};Y(Azc,n);var Bzc=function(a){this.internalArray_=m(a)};Y(Bzc,n);Bzc.prototype.setAffinitization=function(a){jj(this,2,a)};Bzc.prototype.getAffinitizationOrUndefined=function(){return Ot(this,2)};var Czc=function(a){this.internalArray_=m(a)};Y(Czc,n);var Dzc=function(a){this.internalArray_=m(a)};Y(Dzc,n);g=Dzc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return Si(this,1)};g.setStreamId=function(a){oj(this,1,a)};g.getClose=function(){return Ll(this,Czc,3,Ezc)};g.setClose=function(a){Rl(this,3,Ezc,a)};g.hasClose=function(){return Zl(this,Czc,3,Ezc)};g.setAffinitization=function(a){jj(this,4,a)};g.getAffinitizationOrUndefined=function(){return Ot(this,4)};var Ezc=[2,3];var MY=function(a){this.internalArray_=m(a)};Y(MY,n);MY.prototype.setRequestsList=function(a){return mm(this,1,a)};MY.prototype.addAndReturnRequests=function(){return Tca(this,1,Dzc)};MY.repeatedFields_=[1];var NY=function(a){this.internalArray_=m(a)};Y(NY,n);NY.prototype.getCode=function(){return yo(this,1)};NY.prototype.getCode_legacyNullable=function(){return yo(this,1)};NY.prototype.setCode=function(a){return jj(this,1,a)};var Fzc=function(a){this.internalArray_=m(a)};Y(Fzc,n);var Gzc=function(a){this.internalArray_=m(a)};Y(Gzc,n);Gzc.prototype.getVersion=function(){return Si(this,3)};Gzc.prototype.setVersion=function(a){return oj(this,3,a)};Gzc.prototype.getVersionOrUndefined=function(){var a=Si(this,3);return null==a?void 0:a};var Hzc=function(a){this.internalArray_=m(a)};Y(Hzc,n);Hzc.repeatedFields_=[1];var Izc=function(a){this.internalArray_=m(a)};Y(Izc,n);var OY=function(a){this.internalArray_=m(a)};Y(OY,n);OY.prototype.getStart=function(){return Ll(this,Izc,1,PY)};OY.prototype.setStart=function(a){return Rl(this,1,PY,a)};OY.prototype.getChanges=function(){return Ll(this,Hzc,2,PY)};OY.prototype.hasChanges=function(){return Zl(this,Hzc,2,PY)};var PY=[1,2,3,5];var QY=function(a){this.internalArray_=m(a)};Y(QY,n);QY.prototype.getStatus=function(){return Gi(this,cv,1)};QY.prototype.setStatus=function(a){return hj(this,cv,1,a)};QY.prototype.hasStatus=function(){return Ui(this,cv,1)};var Jzc=function(a){this.internalArray_=m(a)};Y(Jzc,n);g=Jzc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return Si(this,1)};g.setStreamId=function(a){oj(this,1,a)};g.getClose=function(){return Ll(this,QY,3,Kzc)};g.setClose=function(a){Rl(this,3,Kzc,a)};g.hasClose=function(){return Zl(this,QY,3,Kzc)};var Kzc=[2,3,4];var RY=function(a){this.internalArray_=m(a)};Y(RY,n);RY.prototype.getResponsesList=function(){return Ii(this,Jzc,1,hi())};RY.prototype.getStatus=function(){return Gi(this,NY,2)};RY.prototype.setStatus=function(a){return hj(this,NY,2,a)};RY.prototype.hasStatus=function(){return Ui(this,NY,2)};RY.repeatedFields_=[1];var Lzc=function(){DB.call(this,"y")};hu(Lzc,DB);var Mzc=function(){DB.call(this,"x")};hu(Mzc,DB);var Nzc=function(a,b,c){this.path=a;this.authMethod=b;this.useFetchApi=c},Ozc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new es;this.channel=this.createWebChannel(e)};
Ozc.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()),useFetchStreams:this.config.useFetchApi,messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"v",function(){b.channelStatusHandler.onOpen()});
this.channelHandler.listen(a,"w",function(){b.channelStatusHandler.onClose((new Pzc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"y",function(c){(c=c.data)&&1===c.length&&b.channelMessageHandler(new RY(c[0]))});this.channelHandler.listen(a,"x",function(c){b.channelStatusHandler.onError(c,(new Pzc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
Ozc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};Ozc.prototype.close=function(){2!==this.state&&this.channel.close()};Ozc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var Qzc,Rzc=(new KY).setVersion(7);Qzc=jj(Rzc,2,5);var Vq=function(a){this.rep=a};Vq.prototype.equals=function(a){return this.rep===a.rep};var Szc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};Szc.prototype.update=function(){var a=Date.now();a=Math.floor((a-this.lastAddedTimestampMs)/3E5);this.tokens=Math.min(this.tokens+a,this.max);this.lastAddedTimestampMs+=3E5*a};var Uq=function(a,b){this.seconds=a;this.nanos=b},f1a=function(a){var b=new aj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},k1a=function(a){try{var b=a.getSeconds_asLegacyNumberOrString(),c=a.getNanos();if(-62135596800>b)throw Error("qe`"+b);if(253402300800<=b)throw Error("re`"+b);if(0>c)throw Error("se`"+c);if(1E9<=c)throw Error("te`"+c);if(!Number.isInteger(b))throw Error("ue`"+b);if(!Number.isInteger(c))throw Error("ve`"+c);return new Uq(b,c)}catch(d){return null}};
Uq.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Sq=function(a,b){this.low_=a|0;this.high_=b|0},Tzc=function(a){return 4294967296*a.high_+(a.low_>>>0)};g=Sq.prototype;g.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
g.toString=function(a){a=a||10;if(2>a||36<a)throw Error("we`"+a);if(this.isSafeInteger()){var b=Tzc(this);return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=SY(c,c/4294967296);c=TY(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(UY(d));e=f.call(e,Tzc(d));f=10==a?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=Tzc(c);return(10==a?e:e.toString(a))+f};g.isZero=function(){return 0==this.low_&&0==this.high_};
g.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};g.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};var UY=function(a){var b=~a.low_+1|0;return SY(b,~a.high_+!b|0)};
Sq.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 SY((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
Sq.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var t=(q>>>16)+d*a;var w=t>>>16;t=(t&65535)+e*l;w+=t>>>16;w+=c*a;var B=w>>>16;w=(w&65535)+d*l;B+=w>>>16;w=(w&65535)+e*h;B=B+(w>>>16)+(b*a+c*l+d*h+e*f)&65535;return SY((t&65535)<<16|q&65535,B<<16|w&65535)};
var TY=function(a,b){if(b.isZero())throw Error("xe");if(0>a.high_){if(a.equals(Uzc)){if(b.equals(Vzc)||b.equals(Wzc))return Uzc;if(b.equals(Uzc))return Vzc;var c=a.high_;c=SY(a.low_>>>1|c<<31,c>>1);c=TY(c,b).shiftLeft(1);if(c.equals(VY))return 0>b.high_?Vzc:Wzc;var d=b.multiply(c);a=a.add(UY(d));return c.add(TY(a,b))}return 0>b.high_?TY(UY(a),UY(b)):UY(TY(UY(a),b))}if(a.isZero())return VY;if(0>b.high_)return b.equals(Uzc)?VY:UY(TY(a,UY(b)));for(d=VY;0<=a.compare(b);){c=Math.max(1,Math.floor(Tzc(a)/
Tzc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var f=WY(c),h=f.multiply(b);0>h.high_||0<h.compare(a);)c-=e,f=WY(c),h=f.multiply(b);f.isZero()&&(f=Vzc);d=d.add(f);a=a.add(UY(h))}return d};Sq.prototype.and=function(a){return SY(this.low_&a.low_,this.high_&a.high_)};Sq.prototype.or=function(a){return SY(this.low_|a.low_,this.high_|a.high_)};Sq.prototype.xor=function(a){return SY(this.low_^a.low_,this.high_^a.high_)};
Sq.prototype.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?SY(b<<a,this.high_<<a|b>>>32-a):SY(0,b<<a-32)};
var WY=function(a){return 0<a?0x7fffffffffffffff<=a?Xzc:new Sq(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?Uzc:UY(new Sq(-a,-a/4294967296)):VY},SY=function(a,b){return new Sq(a,b)},Yq=function(a,b){if("-"==a.charAt(0))return UY(Yq(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new Sq(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("ye");if(0<=a.indexOf("-"))throw Error("ze`"+a);b=b||10;if(2>b||36<b)throw Error("we`"+b);c=WY(Math.pow(b,8));for(var d=VY,e=0;e<a.length;e+=
8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);8>f?d=d.multiply(WY(Math.pow(b,f))).add(WY(h)):(d=d.multiply(c),d=d.add(WY(h)))}return d},VY=SY(0,0),Vzc=SY(1,0),Wzc=SY(-1,-1),Xzc=SY(4294967295,2147483647),Uzc=SY(0,2147483648);var Gq=function(a,b){this.value=a;this.isDecreasing=!!b};
Gq.prototype.equals=function(a){if(this.isDecreasing!==a.isDecreasing)var b=!1;else if("string"===typeof this.value||"number"===typeof this.value)b=this.value===a.value;else if(this.value instanceof Sq)b=a.value instanceof Sq?this.value.equals(a.value):!1;else if(this.value instanceof Vq)b=a.value instanceof Vq?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 Uq?a.value instanceof Uq?this.value.equals(a.value):!1:!1;return b};var Xq=function(a,b){this.parts=a;this.isPrivate=b},h1a=function(){for(var a=[],b=k(pd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Gq?a.push(c):a.push(new Gq(c));return new Xq(a,!1)};
Xq.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 Yzc=function(){},Kq=function(a,b){this.apiKey=a;this.authUser=b};Kq.prototype.getHeaders=function(){var a={},b;(b=Dp([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;null!=b&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};Kq.prototype.getQueryParameters=function(){return{key:this.apiKey}};Kq.prototype.domainType=function(){return 0};Kq.prototype.usesCredentialedRequests=function(){return!0};var Iq=function(a){this.oauthTokens=a};
Iq.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};Iq.prototype.getQueryParameters=function(){return{}};Iq.prototype.domainType=function(){return 1};Iq.prototype.usesCredentialedRequests=function(){return!0};var Jq=function(a,b){this.apiKey=a;this.appAuthTokens=b};Jq.prototype.getHeaders=function(){return{}};Jq.prototype.getQueryParameters=function(){return{key:this.apiKey}};Jq.prototype.domainType=function(){return 1};
Jq.prototype.usesCredentialedRequests=function(){return!1};var Zzc=function(a,b,c){this.code=a;this.message=b;this.status=c},$zc=function(a,b){b=void 0===b?a1a():b;this.baseUri=a;this.xhrIo=b};$zc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
$zc.prototype.request=function(a,b,c,d,e){var f=this,h=new Op(this.baseUri);h.setPath(b);if(e.queryParams){b=k(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;xD(h,l,q)}}var t={"Content-type":"application/json+protobuf"};Object.assign(t,e.extraHeaders);var w=c.serialize();return new Promise(function(B,D){var J;f.xhrIo.send(h,function(){var H=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{B(Fda(d,this.getResponseText()))}catch(O){D(new Zzc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),H))}else D(new Zzc(this.getLastErrorCode(),this.getLastError(),H))},a,w,t,null!=(J=e.timeoutMs)?J:2E4,e.withCredentials)})};var aAc=function(a,b,c){CB.call(this);this.listener_=null!=c?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};Y(aAc,CB);g=aAc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(Nq(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};g.pause=function(){this.pauseCount_++};
g.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};g.disposeInternal=function(){CB.prototype.disposeInternal.call(this);this.stop()};g.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};g.doAction_=function(){var a=this;this.timer_=Mq(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var bAc=null,cAc=function(){return bAc=bAc||new Jp},dAc=function(a){DB.call(this,"serverreachability",a)};hu(dAc,DB);var eAc=function(a){var b=cAc();b.dispatchEvent(new dAc(b,a))},fAc=function(a,b){DB.call(this,"statevent",a);this.stat=b};hu(fAc,DB);var XY=function(a){var b=cAc();b.dispatchEvent(new fAc(b,a))},gAc=function(a,b,c){DB.call(this,"timingevent",a);this.size=b;this.rtt=c};hu(gAc,DB);
var hAc=function(a,b,c){var d=cAc();d.dispatchEvent(new gAc(d,a,b,c))},iAc=function(a,b){if("function"!==typeof a)throw Error("Be");return da.setTimeout(function(){a()},b)};var YY=function(){this.redactEnabled_=!0};YY.prototype.disableRedact=function(){this.redactEnabled_=!1};
var jAc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var l=f.split("&"),q=0;q<l.length;q++){var t=l[q].split("=");if(1<t.length){var w=t[0];t=t[1];var B=w.split("_");h=2<=B.length&&"type"==B[1]?h+(w+"="+t+"&"):h+(w+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},kAc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},ZY=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+lAc(a,c)+(d?" "+d:"")})},mAc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};YY.prototype.debug=function(){};YY.prototype.info=function(){};YY.prototype.warning=function(){};
var lAc=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(2>e.length)){var f=e[1];if(Array.isArray(f)&&!(1>f.length)){var h=f[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var l=1;l<f.length;l++)f[l]=""}}}return(new e2b).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var $Y=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 es(this);this.timeout_=45E3;a=Nj?125:void 0;this.pollingTimer_=new fC(a);this.extraHeaders_=null;this.successful_=!1;this.postData_=this.requestUri_=this.baseUri_=this.type_=this.requestStartTime_=this.watchDogTimeoutTime_=this.watchDogTimerId_=null;this.pendingMessages_=[];this.xmlHttp_=null;this.xmlHttpChunkStart_=0;this.lastError_=this.verb_=null;this.lastStatusCode_=
-1;this.cancelled_=!1;this.readyStateChangeThrottleMs_=0;this.readyStateChangeThrottle_=null;this.firstByteReceived_=this.initialResponseDecoded_=this.decodeInitialResponse_=this.decodeChunks_=!1;this.fetchResponseState_=new nAc},nAc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},oAc=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"}},
pAc={},qAc={};$Y.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};$Y.prototype.setTimeout=function(a){this.timeout_=a};$Y.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};$Y.prototype.getPendingMessages=function(){return this.pendingMessages_};
var sAc=function(a,b,c){a.type_=1;a.baseUri_=zD(b.clone());a.postData_=c;a.decodeChunks_=!0;rAc(a,null)},rAc=function(a,b){a.requestStartTime_=Date.now();tAc(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 nAc;a.xmlHttp_=uAc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new aAc(fu(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?lc(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));eAc(1);jAc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
$Y.prototype.readyStateChangeHandler_=function(a){a=a.target;var b=this.readyStateChangeThrottle_;b&&3==a.getReadyState()?(this.channelDebug_.debug("Throttling readystatechange."),b.fire()):this.xmlHttpHandler_(a)};$Y.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?vAc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),wAc(this)}finally{}};
var vAc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!Nj&&!wAc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?eAc(3):eAc(2));xAc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=yAc(a);wAc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;kAc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
zAc(a))ZY(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,AAc(a,d);else{a.successful_=!1;a.lastError_=3;XY(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");aZ(a);BAc(a);return}a.decodeChunks_?(CAc(a,b,c),Nj&&a.successful_&&3==b&&DAc(a)):(ZY(a.channelDebug_,a.rid_,c,null),AAc(a,c));4==b&&aZ(a);a.successful_&&!a.cancelled_&&(4==b?EAc(a.channel_,a):(a.successful_=!1,tAc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,XY(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,XY(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),aZ(a),BAc(a)}},zAc=function(a){return a.xmlHttp_&&(a=ai(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Rk(a)?a:null},yAc=function(a){if(!FAc(a))return a.xmlHttp_.getResponseText();var b=a.xmlHttp_.getResponse(),c="",d=b.length,e=4==a.xmlHttp_.getReadyState();if(!a.fetchResponseState_.textDecoder){if("undefined"===
typeof TextDecoder)return aZ(a),BAc(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},wAc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},FAc=
function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},CAc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=GAc(a,c),e==qAc){4==b&&(a.lastError_=4,XY(14),d=!1);ZY(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==pAc){a.lastError_=4;XY(15);ZY(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else ZY(a.channelDebug_,a.rid_,e,null),AAc(a,e);FAc(a)&&0!=a.xmlHttpChunkStart_&&(a.fetchResponseState_.responseBuffer=
a.fetchResponseState_.responseBuffer.slice(a.xmlHttpChunkStart_),a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,XY(16),d=!1);a.successful_=a.successful_&&d;d?0<c.length&&!a.firstByteReceived_&&(a.firstByteReceived_=!0,b=a.channel_,b.backChannelRequest_==a&&b.detectBufferingProxy_&&!b.bpDetectionDone_&&(b.channelDebug_.info("Great, no buffering proxy detected. Bytes received: "+c.length),HAc(b),b.bpDetectionDone_=!0,XY(11))):(ZY(a.channelDebug_,
a.rid_,c,"[Invalid Chunked Response]"),aZ(a),BAc(a))};$Y.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(xAc(this),CAc(this,a,b),this.successful_&&4!=a&&tAc(this))}};
var DAc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},GAc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return qAc;c=Number(b.substring(c,d));if(isNaN(c))return pAc;d+=1;if(d+c>b.length)return qAc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};$Y.prototype.cancel=function(){this.cancelled_=!0;aZ(this)};
var tAc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;IAc(a,a.timeout_)},IAc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("Ce");a.watchDogTimerId_=iAc(fu(a.onWatchDogTimeout_,a),b)},xAc=function(a){a.watchDogTimerId_&&(da.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
$Y.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(mAc(this.channelDebug_,this.requestUri_),2!=this.type_&&(eAc(3),XY(17)),aZ(this),this.lastError_=2,BAc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),IAc(this,this.watchDogTimeoutTime_-a))};
var BAc=function(a){a.channel_.isClosed()||a.cancelled_||EAc(a.channel_,a)},aZ=function(a){xAc(a);Xh(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.pollingTimer_.stop();a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};$Y.prototype.getLastError=function(){return this.lastError_};$Y.prototype.getLastStatusCode=function(){return this.lastStatusCode_};$Y.prototype.getRequestId=function(){return this.rid_};$Y.prototype.getXhr=function(){return this.xmlHttp_};
var AAc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||JAc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&JAc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(aa){d=null}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[0])a:if(c.channelDebug_.debug("Server claims our backchannel is missing."),c.backChannelTimerId_)c.channelDebug_.debug("But we are currently starting the request.");else{if(c.backChannelRequest_)if(c.backChannelRequest_.requestStartTime_+
3E3<a.requestStartTime_)KAc(c),LAc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");MAc(c);XY(18)}else{c.lastPostResponseArrayId_=e[1];var f=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<f){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+f+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=iAc(fu(c.onBackChannelDead_,c),6E3))}}if(1>=NAc(c.forwardChannelRequestPool_)&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(aa){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),bZ(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&KAc(c),!Rk(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var l=e[f];c.lastArrayId_=l[0];l=l[1];if(2==c.state_)if("c"==l[0]){c.sid_=l[1];c.hostPrefix_=c.correctHostPrefix(l[2]);var q=l[3];null!=q&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var t=l[4];null!=t&&(c.serverVersion_=t,c.channelDebug_.info("SVER="+c.serverVersion_));var w=l[5];null!=w&&"number"===typeof w&&0<w&&(h=1.5*w,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var B=a.getXhr();if(B){var D=ai(B,"X-Client-Wire-Protocol");if(D){var J=h.forwardChannelRequestPool_;b=D;!J.requestPool_&&(la(b,"spdy")||la(b,"quic")||la(b,"h2"))&&(J.maxSize_=J.maxPoolSizeConfigured_,J.requestPool_=new Set,J.request_&&(J.addRequest(J.request_),
J.request_=null))}if(h.httpSessionIdParam_){var H=ai(B,"X-HTTP-Session-Id");H?(h.httpSessionId_=H,xD(h.forwardChannelUri_,h.httpSessionIdParam_,H)):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 O=d=h,P=OAc(O,O.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);O.channelDebug_.debug("GetBackChannelUri: "+
P);d.backChannelUri_=P;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");PAc(h.forwardChannelRequestPool_,b);d=b;var U=h.backChannelRequestTimeoutMs_;U&&d.setTimeout(U);d.watchDogTimerId_&&(xAc(d),tAc(d));h.backChannelRequest_=b}else QAc(h);0<c.outgoingMaps_.length&&RAc(c)}else"stop"!=l[0]&&"close"!=l[0]||bZ(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?bZ(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}eAc(4)}catch(aa){}};var SAc=function(a,b){this.mapId=a;this.map=b;this.context=null};var TAc=function(a){this.maxPoolSizeConfigured_=a||10;da.PerformanceNavigationTiming?(a=da.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(da.chrome&&da.chrome.loadTimes&&da.chrome.loadTimes()&&da.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},UAc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},NAc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},JAc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};TAc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var PAc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
TAc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
TAc.prototype.getPendingMessages=function(){if(null!=this.request_)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(null!=this.requestPool_&&0!==this.requestPool_.size){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return ya(this.pendingMessages_)};var VAc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var WAc=function(a,b){var c=new YY;c.debug("TestLoadImage: loading "+a);if(da.Image){var d=new Image;d.onload=gu(cZ,c,"TestLoadImage: loaded",!0,b,d);d.onerror=gu(cZ,c,"TestLoadImage: error",!1,b,d);d.onabort=gu(cZ,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=gu(cZ,c,"TestLoadImage: timeout",!1,b,d);da.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},XAc=function(a,b){var c=new YY,d=new AbortController,e=setTimeout(function(){d.abort();cZ(c,"TestPingServer: timeout",!1,
b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?cZ(c,"TestPingServer: ok",!0,b):cZ(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);cZ(c,"TestPingServer: error",!1,b)})},cZ=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 YAc=function(){this.replacer_=void 0};YAc.prototype.stringify=function(a){return da.JSON.stringify(a,this.replacer_)};YAc.prototype.parse=function(a){return da.JSON.parse(a,void 0)};var ZAc=function(){this.parser_=new YAc},$Ac=function(a,b,c){var d=c||"";try{Q3b(a,function(e,f){var h=e;Ba(e)&&(h=(new e2b).serialize(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var aBc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},dZ=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new YY;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_=aBc("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_=aBc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=aBc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=aBc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
aBc("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 TAc(a&&a.concurrentRequestLimit);this.wireCodec_=new ZAc;this.fastHandshake_=a&&a.fastHandshake||!1;this.encodeInitMessageHeaders_=
a&&a.encodeInitMessageHeaders||!1;this.fastHandshake_&&this.encodeInitMessageHeaders_&&(this.channelDebug_.warning("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.encodeInitMessageHeaders_=!1);this.blockingHandshake_=a&&a.blockingHandshake||!1;a&&a.disableRedact&&this.channelDebug_.disableRedact();a&&a.forceLongPolling&&(this.allowStreamingMode_=!1);this.detectBufferingProxy_=!this.fastHandshake_&&this.allowStreamingMode_&&a&&a.detectBufferingProxy||!1;this.longPollingTimeout_=
void 0;a&&a.longPollingTimeout&&0<a.longPollingTimeout&&(this.longPollingTimeout_=a.longPollingTimeout);this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.nonAckedMapsAtChannelClose_=this.bpDetectionTimerId_=null};dZ.prototype.channelVersion_=8;dZ.prototype.state_=1;
dZ.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");XY(0);this.path_=a;this.extraParams_=b||{};c&&void 0!==d&&(this.extraParams_.OSID=c,this.extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.channelDebug_.debug("connectChannel_()");a=OAc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;RAc(this)};
dZ.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");bBc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();xD(b,"SID",this.sid_);xD(b,"RID",a);xD(b,"TYPE","terminate");cBc(this,b);a=new $Y(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=zD(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_=uAc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();tAc(a)}dBc(this)};var LAc=function(a){a.backChannelRequest_&&(HAc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},bBc=function(a){LAc(a);a.backChannelTimerId_&&(da.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);KAc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&da.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=dZ.prototype;g.setExtraHeaders=function(a){this.extraHeaders_=a};g.getHttpSessionId=function(){return this.httpSessionId_};g.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};g.getHandler=function(){return this.handler_};g.isClosed=function(){return 0==this.state_};g.getState=function(){return this.state_};g.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var RAc=function(a){UAc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,aC(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},fBc=function(a,b){if(NAc(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(1==a.state_||
2==a.state_||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=iAc(fu(a.onStartForwardChannelTimer_,a,b),eBc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
dZ.prototype.onStartForwardChannelTimer_=function(a){if(this.forwardChannelTimerId_)if(this.forwardChannelTimerId_=null,this.channelDebug_.debug("startForwardChannel_"),1==this.state_){if(!a){this.channelDebug_.debug("open_()");this.nextRid_=Math.floor(1E5*Math.random());a=this.nextRid_++;var b=new $Y(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=lc(c),Pda(c,this.initHeaders_)):c=this.initHeaders_);null!==this.httpHeadersOverwriteParam_||this.encodeInitMessageHeaders_||
(b.setExtraHeaders(c),c=null);var d;if(this.fastHandshake_)a:{for(var e=d=0;e<this.outgoingMaps_.length;e++){b:{var f=this.outgoingMaps_[e];if("__data__"in f.map&&(f=f.map.__data__,"string"===typeof f)){f=f.length;break b}f=void 0}if(void 0===f)break;d+=f;if(4096<d){d=e;break a}if(4096===d||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=gBc(this,b,d);e=this.forwardChannelUri_.clone();xD(e,"RID",a);0<this.clientVersion_&&xD(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
xD(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);cBc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(Z3b(c)))+"&"+d:this.httpHeadersOverwriteParam_&&$3b(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&xD(e,"TYPE","init");this.fastHandshake_?(xD(e,"$req",d),xD(e,"SID","null"),b.decodeInitialResponse_=!0,sAc(b,e,null)):sAc(b,e,d);this.state_=2}}else 3==this.state_&&(a?hBc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):UAc(this.forwardChannelRequestPool_)||(hBc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var hBc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();xD(d,"SID",a.sid_);xD(d,"RID",c);xD(d,"AID",a.lastArrayId_);cBc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&$3b(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new $Y(a,a.channelDebug_,a.sid_,c,a.forwardChannelRetryCount_+1);null===a.httpHeadersOverwriteParam_&&c.setExtraHeaders(a.extraHeaders_);b&&(a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_));b=gBc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);sAc(c,d,b)},cBc=function(a,b){a.extraParams_&&hc(a.extraParams_,function(c,d){xD(b,d,c)});a.handler_&&Q3b({},function(c,d){xD(b,d,c)})},gBc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?fu(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];-1==f?0<c?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+
f);for(var l=!0,q=0;q<c;q++){var t=e[q].mapId,w=e[q].map;t-=f;if(0>t)f=Math.max(0,e[q].mapId-100),l=!1;else try{$Ac(w,h,"req"+t+"_")}catch(B){d&&d(w)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},QAc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,aC(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},MAc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=iAc(fu(a.onStartBackChannelTimer_,a),eBc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
dZ.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;iBc(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(null==this.backChannelRequest_||0>=this.handshakeRttMs_)this.channelDebug_.warning("Skip bpDetectionTimerId_ "+this.backChannelRequest_+" "+this.handshakeRttMs_);else{var a=2*this.handshakeRttMs_;this.channelDebug_.info("BP detection timer enabled: "+a);this.bpDetectionTimerId_=iAc(fu(this.onBpDetectionTimer_,this),a)}};
dZ.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.channelDebug_.info("BP detection timeout reached.");if(null!=this.backChannelRequest_.getXhr()){var a=this.backChannelRequest_.getXhr().getResponseText();a&&this.channelDebug_.warning("Timer should have been cancelled : "+a)}this.channelDebug_.info("Buffering proxy detected and switch to long-polling!");this.enableStreaming_=!1;this.bpDetectionDone_=!0;XY(10);LAc(this);iBc(this)}else this.channelDebug_.warning("Invalid operation.")};
var HAc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),da.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},iBc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new $Y(a,a.channelDebug_,a.sid_,"rpc",a.backChannelAttemptId_);null===a.httpHeadersOverwriteParam_&&a.backChannelRequest_.setExtraHeaders(a.extraHeaders_);a.backChannelRequest_.setReadyStateChangeThrottle(a.readyStateChangeThrottleMs_);var b=
a.backChannelUri_.clone();xD(b,"RID","rpc");xD(b,"SID",a.sid_);xD(b,"AID",a.lastArrayId_);xD(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&xD(b,"TO",a.longPollingTimeout_);xD(b,"TYPE","xmlhttp");cBc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&$3b(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=zD(b.clone());
c.postData_=null;c.decodeChunks_=!0;rAc(c,d);a.channelDebug_.debug("New Request created")};dZ.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};dZ.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,LAc(this),MAc(this),XY(19))};
var KAc=function(a){null!=a.deadBackChannelTimerId_&&(da.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},EAc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){KAc(a);HAc(a);a.backChannelRequest_=null;var d=2}else if(JAc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),PAc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(hAc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),RAc(a)):QAc(a);else{var e=b.getLastStatusCode(),f=b.getLastError();if(3==f||0==f&&0<e)a.channelDebug_.debug("Not retrying due to error type"),200<e&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+oAc(f,a.errorResponseStatusCode_)});if(1==d&&fBc(a,b)||2==d&&MAc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&VAc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:bZ(a,5);break;case 4:bZ(a,10);break;case 3:bZ(a,6);break;default:bZ(a,2)}}},eBc=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},bZ=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=fu(a.testNetworkCallback_,a),d=a.networkTestUrl_,e=!d;d=new Op(d||"//www.google.com/images/cleardot.gif");da.location&&"http"==da.location.protocol||qD(d,"https");zD(d);e?WAc(d.toString(),
c):XAc(d.toString(),c)}else XY(2);a.onError_(b)};dZ.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),XY(2)):(this.channelDebug_.info("Failed to ping google.com"),XY(1))};dZ.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);dBc(this);bBc(this)};
var dBc=function(a){a.state_=0;a.nonAckedMapsAtChannelClose_=[];if(a.handler_){var b=a.forwardChannelRequestPool_.getPendingMessages();if(0!=b.length||0!=a.outgoingMaps_.length)a.channelDebug_.debug(function(){return"Number of undelivered maps, pending: "+b.length+", outgoing: "+a.outgoingMaps_.length}),Baa(a.nonAckedMapsAtChannelClose_,b),Baa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,ya(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
OAc=function(a,b,c){var d=AD(c);""!=d.getDomain()?(b&&rD(d,b+"."+d.getDomain()),d.setPort(d.getPort())):(d=da.location,d=X3b(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&xD(d,b,c);xD(d,"VER",a.channelVersion_);cBc(a,d);return d},uAc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("De");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new Lq(new lD({streamBinaryChunks:c})):new Lq(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};dZ.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var jBc=function(){};g=jBc.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 kBc=function(){if(bs&&!(10<=Number(mu)))throw Error("Ee");};kBc.prototype.createWebChannel=function(a,b){return new eZ(a,b)};
var eZ=function(a,b){Jp.call(this);this.channel_=new dZ(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)&&!Rk(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Rk(b)&&(this.channel_.httpSessionIdParam_=b,Jda(this.messageUrlParams_,b)&&kc(this.messageUrlParams_,b));this.channelHandler_=new fZ(this)};hu(eZ,Jp);
eZ.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};eZ.prototype.close=function(){this.channel_.disconnect()};eZ.prototype.send=function(a){var b=this.channel_;if("string"===typeof a){var c={};c.__data__=a;a=c}else this.sendRawJson_&&(c={},c.__data__=(new e2b).serialize(a),a=c);b.outgoingMaps_.push(new SAc(b.nextMapId_++,a));3==b.state_&&RAc(b)};
eZ.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;eZ.superClass_.disposeInternal.call(this)};var lBc=function(a){Lzc.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)?Nda(b,this.metadataKey):b}else this.data=a};hu(lBc,Lzc);
var mBc=function(a){Mzc.call(this);this.status=1;this.errorCode=a};hu(mBc,Mzc);var fZ=function(a){this.channel_=a};hu(fZ,jBc);fZ.prototype.channelOpened=function(){this.channel_.dispatchEvent("v")};fZ.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new lBc(a))};fZ.prototype.channelError=function(a){this.channel_.dispatchEvent(new mBc(a))};fZ.prototype.channelClosed=function(){this.channel_.dispatchEvent("w")};var Pzc=function(a){this.channel_=a};
Pzc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};Pzc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};Pzc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var nBc=function(){this.changeList=[]};nBc.prototype.add=function(a){this.changeList.push(a)};
var oBc=function(a,b,c){this.authMethod=b;this.jspbClient=new $zc(a,c)},pBc=function(a,b){var c,d,e,f,h;return me(function(l){if(1==l.nextAddress){var q=new Azc;c=hj(q,LY,1,b);q=a.jspbClient;var t=q.post;var w=a.authMethod;w={queryParams:w.getQueryParameters(),extraHeaders:w.getHeaders(),withCredentials:w.usesCredentialedRequests()};return oe(l,t.call(q,"/punctual/v1/chooseServer",c,Bzc,w),2)}d=l.yieldResult;e=wj(d,1);if(null==e)throw Error("Fe");return l.return({gsessionid:e,affinitization:null!=
(f=d.getAffinitizationOrUndefined())?f:0,initialConnectionDelayMillis:null!=(h=zu(d,3))?h:0})})},qBc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},gZ=function(a,b){this.channelDeps=a;this.options=b;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new X.Subject;this.streamNumber=0;this.rawStatus=new X.Subject;this.status=new X.BehaviorSubject(new hD);this.skipBackoff=
new Szc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(bka(function(e){return 0===e.getCode()?Promise.resolve():new Promise(function(f){Mq(f,500)})})).subscribe(this.status);this.delayGenerator=new Y0a;var c,d;this.reconnectHint=null!=(d=null==(c=b.reconnectHint)?void 0:c.pipe(gf(function(){return X.NEVER}),$ja(X.NEVER)))?d:X.NEVER;rBc(this)},sBc=function(a,b,c){b=b.then(function(d){switch(d.domainType()){case 2:case 0:var e=a.firstPartyUri;break;case 1:e=a.thirdPartyUri;break;default:e=
new Op}var f=e.clone().setPath("/punctual/multi-watch/channel"),h=new Nzc(f.toString(),d,void 0!==c.xmlHttpFactory);return{serverChooser:new oBc(e,d,a1a(c.xmlHttpFactory)),channelCreator:function(l,q,t){l=new Ozc(l,q,h,function(w,B){return(new kBc).createWebChannel(w,B)},t);l.open();return l}}});return new gZ(b,c)};
gZ.prototype.handleClose=function(a,b){var c=this.causalStreams.get(a)||this.limboStreams.get(a)||this.nonCausalStreams.get(a);c&&(0===b.getCode_legacyNullable()?c.observer.complete():c.observer.error(b),this.causalStreams.delete(a),this.limboStreams.delete(a),this.nonCausalStreams.delete(a))};
var tBc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},uBc=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 Xq&&d instanceof Xq?c.equals(d):!1;return d})};gZ.prototype.onOpen=function(){var a=new hD;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};gZ.prototype.onClose=function(){this.channelState=void 0;rBc(this)};
gZ.prototype.onError=function(a,b){a=new hD;a.setCode($0a(b));try{this.rawStatus.next(a)}catch(c){}b=k(this.causalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2;b=k(this.nonCausalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2};
var xBc=function(a,b,c){if(a.channelState){var d=vBc(c.project,c.interestSet);c instanceof wBc&&(oj(d,1,c.knowledgeTimestamp.toString()),$h(d,8,c.knowledgeTimestampChosenByPunctual));jj(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new MY;var e=c.addAndReturnRequests();e.setStreamId(b.toString());Rl(e,2,Ezc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},vBc=function(a,b){var c=new LY;c=hj(c,KY,4,Qzc);if(b instanceof Xq){var d=new xzc;null!=a&&d.setProject(c1a(a));
d.setOwner(e1a(b));d.setPath(g1a(b));Rl(c,2,zzc,d)}else d=new yzc,null!=a&&d.setProject(c1a(a)),d.setOwner(e1a(b.root)),d.setPrefix(g1a(b.root)),c.setPrefix(d);return c},yBc=function(a,b){var c=new MY,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new Czc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},rBc=function(a){var b=vzc(a.delayGenerator);b1a(b).pipe(zka(a.reconnectHint.pipe(pf(function(){var c=
a.skipBackoff;c.update();0<c.tokens?(c.tokens--,c=!0):c=!1;return c})))).subscribe(function(){a.channelDeps.then(function(c){zBc(a,c.serverChooser).then(function(d){Mq(function(){a.hasConnected=!0;ABc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){rBc(a)})},function(c){c=(new hD).setCode(13).setMessage(c.toString());a.rawStatus.next(c)})})},zBc=function(a,b){var c,d,e,f,h,l;return me(function(q){if(1==q.nextAddress)return oe(q,BBc(a),2);c=q.yieldResult;d=k(c);
e=d.next().value;f=d.next().value;h=e;l=f;return q.return(pBc(b,vBc(h,l)))})},BBc=function(a){var b,c,d,e,f,h,l;return me(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=k(e.values()),h=f.next();!h.done;)return l=h.value,q.return([l.project,l.interestSet]);return oe(q,dTb(xr(a.newStreamSubject).pipe(pf())),1)})},ABc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=k(f.getResponsesList()),l=h.next();!l.done;l=
h.next()){var q=a,t=l.value;if(l=t.getStreamId_legacyNullable_asLegacyNumberOrString())if(l=Number(l),t.hasClose()){a:{if(t=t.getClose())if(t=t.getStatus())break a;t=void 0}t&&q.handleClose(l,t)}else if(t=Ll(t,OY,2,Kzc))switch(tm(t,PY)){case 1:if(t=q.causalStreams.get(l)){try{t.observer.next(new tzc)}catch(O){}q.causalStreams.delete(l);q.limboStreams.set(l,t.start())}break;case 3:a:{if(t=Ll(t,Fzc,3,PY))if(t=Si(t,1)){var w=new uzc(Yq(t));break a}w=void 0}if(w&&(t=l,l=w,(w=q.limboStreams.get(t))?(w=
w.advance(l.timestampMicros),q.limboStreams.delete(t),q.nonCausalStreams.set(t,w),q=w):q=q.nonCausalStreams.get(t),q)){t=q;w=l.timestampMicros;w>t.knowledgeTimestamp&&(t.knowledgeTimestamp=w,t.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(O){}}break;case 2:l=q.nonCausalStreams.get(l)||q.limboStreams.get(l);if(!l)break;q=l.interestSet;if(w=t.getChanges()){t=new nBc;w=k(Ii(w,Gzc,1,hi()));for(var B=w.next();!B.done;B=w.next()){var D=B.value,J=Gi(D,Qq,6);B=Si(D,3);if(J&&B){var H=
void 0;D=null==(H=$q(D,2))?void 0:j1a(H);H=null===D?void 0:D;(J=l1a(q,J))&&t.add(new szc(J,Yq(B),H))}}q=t}else q=void 0;if(q)for(q=k(q.changeList),t=q.next();!t.done;t=q.next()){t=t.value;t=new szc(t.objectId,t.version,t.payload);try{l.observer.next(t)}catch(O){}}break;case 5:if(l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof wBc&&(tBc(q),(t=uBc(q,l))?(t.hasRecurred=!0,t.knowledgeTimestamp=l.knowledgeTimestamp,t.resyncMillis=Date.now()):q.recentResyncs.push(new qBc(l.project,
l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(O){}}}}if(f.hasStatus())switch(f.getStatus().getCode_legacyNullable()){case 1:f=k(a.causalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;f=k(a.nonCausalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(f,h){return f[0]-h[0]});b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;xBc(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Mq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
gZ.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new X.Observable(function(d){var e=++c.streamNumber,f,h=null!=(f=b.projectOverride)?f:c.options.defaultProject;d=new CBc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});xBc(c,e,d);return function(){yBc(c,e)}})};
gZ.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new X.Observable(function(e){var f=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.options.defaultProject,q=new wBc(e,l,a,b,!1);tBc(d);if((e=uBc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var t=!0;Mq(function(){t&&q.observer.complete()},6E4);return function(){t=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});xBc(d,f,q);return function(){yBc(d,f)}})};
var CBc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};CBc.prototype.start=function(){return new DBc(this.observer,this.project,this.interestSet)};var DBc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};DBc.prototype.advance=function(a){return new wBc(this.observer,this.project,this.interestSet,a,!0)};
var wBc=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 EBc={firstPartyUri:new Op("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Op("https://signaler-pa.googleapis.com")},FBc={firstPartyUri:new Op("https://punctual-dev.corp.google.com"),thirdPartyUri:new Op("https://signaler-staging.sandbox.google.com")},GBc=new Map(Object.entries({prod:EBc,ytprod:{firstPartyUri:new Op("https://signaler-pa.youtube.com"),thirdPartyUri:new Op("https://signaler-pa.googleapis.com")},dev:FBc}));var HBc=function(a){this.projectPath=a;this.authParams=new Yzc;this.fetchApi=!1};HBc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};HBc.prototype.useFetchApi=function(a){this.fetchApi=!0;this.worker=a;return this};
HBc.prototype.build=function(){var a=Z0a(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Ge`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("He`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Op(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=GBc.get(c);if(!d)throw Error("Ie`"+c);c=d}var e;this.fetchApi&&(e=new lD({worker:this.worker}));return sBc(c,a,{reconnectHint:this.reconnectHint,
defaultProject:b,xmlHttpFactory:e})};var IBc={watch:function(){return(0,X.of)()},watchWithStartTime:function(){return(0,X.of)()},status:(0,X.of)()},hZ=function(a){this.activeSession=a;if(hE(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",
b="/punctual/dev/buganizer-test"}this.punctualClient=(new HBc(b)).setApiKey(a).build()}else this.punctualClient=IBc},JBc=function(a,b){return a.punctualClient.watch(h1a("new-comment-issue",b)).pipe(Ce(function(c){return c instanceof szc}))};hZ.\u0275fac=function(a){return new (a||hZ)(p(Zr))};hZ.\u0275prov=Pc({token:hZ,factory:hZ.\u0275fac,providedIn:"root"});var iZ=function(a){this.punctualService=a;this.stream=new X.Subject;this.isPaused=!1;this.closeStream$=new X.Subject};iZ.prototype.resume=function(){this.isPaused=!1};var KBc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new X.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};iZ.prototype.watch=function(a){var b=this;return JBc(this.punctualService,a).pipe(Ce(function(){var c=!b.isPaused;b.resume();return c}),jf(1E3),xf(this.closeStream$))};
iZ.\u0275fac=function(a){return new (a||iZ)(p(hZ))};iZ.\u0275prov=Pc({token:iZ,factory:iZ.\u0275fac,providedIn:"root"});var LBc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var MBc=function(a){return[a]},jZ=function(a){this.matDialog=a};jZ.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(kZ,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:a,componentId:d,audience:b,id:null!=c.unlinkifiedComment?c.commentNumber:1,text:c.unlinkifiedComment||"",formattingMode:c.formattingMode||"PLAIN"}});return(0,X.firstValueFrom)(this.dialog.afterClosed())};jZ.\u0275fac=function(a){return new (a||jZ)(p(QA))};
jZ.\u0275prov=Pc({token:jZ,factory:jZ.\u0275fac,providedIn:"root"});
var kZ=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;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.newComment=Object.assign({},this.origComment);
this.subscriptions.add(jY(e,function(){return h.isModified()},!1))};Y(kZ,Z);kZ.\u0275dir=Z.\u0275dir;g=kZ.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(xf(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(xf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};
g.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};g.isModified=function(){return!ki(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c,d;return me(function(e){if(1==e.nextAddress){if(!a.isModified())return e.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return oe(e,a.bannedWordsChecker.check(a.newComment.text,"EXTERNAL"===a.newComment.audience,a.newComment.componentId),2)}(b=e.yieldResult)?null==(d=a.dialogService.dialog)||d.close(a.newComment):null==(c=a.commentDraft)||jvc(c);se(e)})};
kZ.\u0275fac=function(a){return new (a||kZ)(C(Zr),C(PA),C(jZ),C(NA),C(iY),C(hY))};
kZ.\u0275cmp=r({type:kZ,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&lg(jV,5);if(a&2){var c;pg(c=qg())&&(b.commentDraft=c.first)}},features:[wg([hY]),Ff],decls:19,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","audience","textareaClass"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"change","initialValue"],[3,"comment","issueId",
"audience","formattingMode",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",3,"click","disabled","color"],[1,"banned-words-warning","break-word"],["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","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(G(0,
"h1",0),S(1),I(),G(2,"section",1)(3,"p",2),S(4," Editing comments will not permanently remove old ones from database history. "),K(5,"br"),S(6," For deletion of PII or other sensitive content, please "),G(7,"a",3),S(8," file a support request."),I()(),G(9,"b-comment-draft",4),vg("contentChange",function(c){ug(b.newComment.text,c)||(b.newComment.text=c);return c}),N("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),I(),E(10,m1a,4,1,"p",
5),G(11,"b-markdown-toggle",6),N("change",function(c){return b.newComment.formattingMode=c}),I(),E(12,n1a,1,4,"b-live-preview",7),I(),E(13,o1a,3,0,"section",8),G(14,"footer",9)(15,"button",10),S(16," Cancel "),I(),G(17,"button",11),N("click",function(){return b.closeDialogForSave()}),S(18),I()());a&2&&(A(),sg("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),A(6),F("href",b.contentRemovalRequestLink,Ye),A(2),tg("content",b.newComment.text),F("audience",b.origComment.audience)("textareaClass",
Ag(16,MBc,b.bannedWordsChecker.showWarning()?"banned-words-warning":"")),A(),F("ngIf",b.bannedWordsChecker.showWarning()),A(),Qf("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),F("initialValue",b.origComment.formattingMode),A(),F("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),A(),F("ngIf",b.enableRecaptcha),A(2),F("mat-dialog-close",void 0),A(2),F("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?
"warn":"primary"),A(),T(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," "))},dependencies:[RA,SA,TA,UA,zw,CA,PU,OU,jV,yV],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 lZ=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya){this.dismissalService=a;this.editIssueService=b;this.butterBar=c;this.issuePermissionService=d;this.issueCommentService=e;this.editCommentDialogService=f;this.issueFridge=h;this.matDialogService=l;this.paths=q;this.analytics=t;this.domSafe=w;this.confirmationDialogService=B;this.issueComments=D;this.errorHandler=J;this.eventsForIssueFridge=H;this.componentFridge=O;this.commentFormatter=P;this.confirmNoAccessService=U;this.activeSession=
aa;this.appEvents=pa;this.issuePicker=ka;this.eventsForIssueWatcher=Aa;this.issueInteractionsTracking=Ya},Jr=function(a,b,c){var d,e,f,h,l,q,t;return me(function(w){if(1==w.nextAddress)return oe(w,(0,X.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=w.nextAddress){d=w.yieldResult;f=null==(e=d)?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return w.return();a.butterBar.dismiss();q=null!=(l=a.issuePermissionService.audience())?l:"EXTERNAL";return oe(w,
a.editCommentDialogService.show(b,q,c,f),3)}t=w.yieldResult;if(null==t)return w.return();rzc(a.issueCommentService,{issueId:b,newCommentId:t.id,newComment:t.text,newCommentFormattingMode:t.formattingMode,recaptchaToken:t.recaptchaToken});se(w)})},OBc=function(a,b,c){var d,e,f;return me(function(h){if(1==h.nextAddress)return c?oe(h,NBc(a,b),2):h.return();if(3!=h.nextAddress)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResource:{id:b,type:"issue"},edgeType:"copyComment"},
oe(h,a.issuePicker.open(d),3);e=h.yieldResult;if(null==(f=e)?0:f.length){var l=a.paths.editIssue(e[0],{template_issue:b,template_comment:c,do_attribution:!0});Wo(a.analytics,sq.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(l)}se(h)})},NBc=function(a,b){function c(U){return B.get(U)}var d,e,f,h,l,q,t,w,B,D,J,H,O,P;return me(function(U){if(1==U.nextAddress)return oe(U,(0,X.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=U.nextAddress){d=U.yieldResult;if(!d)return U.return([]);f=null!=(e=d.snapshot[0].duplicateIssueId)?
e:[];l=null!=(h=d.snapshot[0].blockingIssueId)?h:[];t=null!=(q=d.snapshot[0].blockedByIssueId)?q:[];return oe(U,(0,X.firstValueFrom)(a.issueFridge.watchSet(Rj([].concat(u(f),u(l),u(t))))),3)}w=U.yieldResult;B=new Map(w.map(function(aa){return[aa.issueId,aa]}));D=t.map(c).filter(Ei).map(p1a("BLOCKED_BY"));J=l.map(c).filter(Ei).map(p1a("BLOCKING"));H=f.map(c).filter(Ei).map(p1a("DUPLICATE"));O=[].concat(u(D),u(J),u(H));P=q1a(O);return U.return(P)})},QBc=function(a,b,c){var d;return me(function(e){return 1==
e.nextAddress?c?oe(e,obc(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:vh("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?oe(e,PBc(a,b,c),0):e.return()})},PBc=function(a,b,c){var d,e;return me(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();wr(a.butterBar,"Restoring comment...",0);ne(f,2,3);HQ(d,"commentUndelete");return oe(f,a.issueComments.undelete(b,c),5);case 5:wr(a.butterBar,
"Comment restored successfully.");case 3:pe(f);IQ(d,"commentUndelete");a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b);qe(f,0);break;case 2:e=re(f),wr(a.butterBar,"Comment restoration failed."),sI(a.errorHandler,e),f.jumpTo(3)}})},TBc=function(a,b,c,d){var e,f,h,l;return me(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():oe(q,RBc(a,b),2)}return 3!=q.nextAddress?(f=q.yieldResult,a.butterBar.dismiss(),oe(q,(0,X.firstValueFrom)(a.matDialogService.open(kzc,
{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}).afterClosed()),3)):(h=q.yieldResult)?oe(q,SBc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},SBc=function(a,b,c,d,e){var f,h;return me(function(l){switch(l.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return l.return();ne(l,2,3);wr(a.butterBar,"Deleting comment...",0);HQ(f,"commentDelete");return oe(l,a.issueComments.delete(b,c,d,e),5);case 5:wr(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:pe(l);IQ(f,"commentDelete");a.issueFridge.poke(b);qe(l,0);break;case 2:h=re(l),wr(a.butterBar,"Comment deletion failed."),sI(a.errorHandler,h),l.jumpTo(3)}})},RBc=function(a,b){var c,d,e,f,h,l,q,t;return me(function(w){switch(w.nextAddress){case 1:return oe(w,(0,X.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=w.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;w.jumpTo(3);break}return oe(w,(0,X.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:f=w.yieldResult;case 3:return h=f,l=new LBc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new LBc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),t=new LBc("Personally Identifiable Information","RESTRICTED"),w.return([t,q,l])}})},UBc=function(a,b,c){var d,e;return me(function(f){if(1==f.nextAddress)return d=
DQ(a.issuePermissionService,Zk(c.userPerformingActionUser)),Wo(a.analytics,sq.RESTRICTED_CONTENT,"updateContentJudgement","comment"),oe(f,a.showContentJudgementDialog({severity:Io(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.issueFridge.poke(b),a.eventsForIssueFridge.poke(b),kJ(a.issueFridge,[b],{markRead:!0,
userActivityType:"EDIT"});se(f)})};lZ.prototype.showContentJudgementDialog=function(a){return(0,X.firstValueFrom)(this.matDialogService.open(GY,{panelClass:"no-jitter",width:"500px",data:a}).afterClosed())};
var VBc=function(a,b,c){var d;return me(function(e){if(1==e.nextAddress)return oe(e,(0,X.firstValueFrom)(a.matDialogService.open(HY,{width:"500px",data:{resource:b,piiRetention:c}}).afterClosed()),2);d=e.yieldResult;return e.return(1===d)})},WBc=function(a,b,c,d){var e;me(function(f){if(1==f.nextAddress){if(null==d)return f.return();Wo(a.analytics,sq.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return oe(f,a.showContentJudgementDialog({severity:Io(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.issueFridge.poke(b),a.eventsForIssueFridge.poke(b),kJ(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});se(f)})};
lZ.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,l,q,t;me(function(w){if(1==w.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return w.return();e=X;f=e.firstValueFrom;h=c.matDialogService;l=h.open;q=jzc;return oe(w,RBc(c,a),3)}return 2!=w.nextAddress?oe(w,f.call(e,l.call(h,q,{width:"560px",data:{deletionReasons:w.yieldResult,attachmentId:b.attachmentId}}).afterClosed()),2):(t=w.yieldResult)?oe(w,Zic(c.editIssueService,a,b,t.value),
0):w.jumpTo(0)})};
var XBc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,f,h,l;return me(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);ne(q,2);var t=X.firstValueFrom;var w=a.commentFormatter;var B={comment:e.value,issueId:c,audience:null!=(f=a.issuePermissionService.audience())?f:"EXTERNAL",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};w="LITERAL"===
B.formattingMode||""===B.comment.trim()?(0,X.of)([]):tuc(w,B).pipe(z(Wza));return oe(q,t.call(X,w),4)}if(2!=q.nextAddress)return h=q.yieldResult,q.return(iic(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=re(q);sI(a.errorHandler,l);return q.return(!1)})},YBc=function(a,b){b=void 0===b?"comment":b;var c,d;return me(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||
fE(a.activeSession)||a.dismissalService.isDismissed(R0a(b)))return e.return(!0);switch(b){case "comment":d=vh("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=vh("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:vc(b)}return e.return((0,X.firstValueFrom)(a.matDialogService.open(xY,{width:"500px",data:{content:d,action:b}}).afterClosed()))})};
lZ.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,l,q;return me(function(t){if(1==t.nextAddress){f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!nic(c)||f.get("comment"))return t.return();HQ(f,"comment");h=function(){IQ(f,"comment")};return oe(t,XBc(e,{issueId:b,componentId:a,comment:c}),2)}if(3!=t.nextAddress)return l=t.yieldResult,l?oe(t,YBc(e),3):(h(),t.return());q=t.yieldResult;if(!q)return h(),t.return();Wo(e.analytics,sq.EDIT_ISSUE,"addComment",
"MARKDOWN"===c.formattingMode?"markdown":"non markdown");yic(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return t.return(e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}))})};
lZ.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,l;return me(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(f=null==(e=d)?void 0:e.severity)?f:"NONE_DETECTED",oe(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.setJudgementForNewContent(l.contentJudgement);se(q)})};
lZ.prototype.updateCommentReaction=function(a){var b=this,c;return me(function(d){return 1==d.nextAddress?a.hasReacted?oe(d,YBc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};lZ.\u0275fac=function(a){return new (a||lZ)(p(wY),p(JQ),p(pI),p(EQ),p(JY),p(jZ),p(iJ),p(QA),p(RF),p(ZI),p(XN),p(nL),p(HK),p(qI),p(BI),p(ZH),p(NU),p(tQ),p(Zr),p(gH),p(mX),p(iZ),p(BQ))};lZ.\u0275prov=Pc({token:lZ,factory:lZ.\u0275fac,providedIn:"root"});var mZ=function(a,b,c,d){this.editIssueService=a;this.issuePicker=b;this.analytics=c;this.butterBar=d},ZBc=function(a,b){var c,d,e,f,h,l,q;return me(function(t){if(1==t.nextAddress)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(),oe(t,a.issuePicker.open(e),2);h=t.yieldResult;if(null==(l=h)||
!l.length)return c.status=d,t.return();if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),t.return();q=(new Date).getTime()-f;Wo(a.analytics,sq.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);Wo(a.analytics,sq.EDIT_ISSUE,"setCanonicalIssue");return t.return(Ric(a.editIssueService,b,h[0]))})};mZ.\u0275fac=function(a){return new (a||mZ)(p(JQ),p(mX),p(ZI),p(pI))};mZ.\u0275prov=Pc({token:mZ,factory:mZ.\u0275fac,providedIn:"root"});var nZ=function(a,b,c,d){var e=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.activeSession=d;this.componentId$=new X.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new X.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(wf(function(f){return e.componentFridge.watch(f).pipe(vf(void 0))}));this.isArchived$=this.component$.pipe(z(function(f){return null==f?void 0:f.archived}));this.showPublicIndicator$=this.component$.pipe(z(function(f){var h;
f=null==f?void 0:null==(h=f.accessLimit)?void 0:h.accessLevel;return!hE(e.activeSession,"enableNewVisibilityChips")||null==f||e.activeSession.isExternalSession()?!1:e.activeSession.isInternalSession()||fE(e.activeSession)?"EXTERNAL_PUBLIC"===f:!1}));this.showPartnerIndicator$=this.component$.pipe(z(function(f){var h;f=null==f?void 0:null==(h=f.accessLimit)?void 0:h.accessLevel;return!hE(e.activeSession,"enableNewVisibilityChips")||null==f||e.activeSession.isExternalSession()||fE(e.activeSession)?
!1:e.activeSession.isInternalSession()?"EXTERNAL_PARTNER"===f:!1}));this.folder$=(0,X.combineLatest)([this.showPublicIndicator$,this.showPartnerIndicator$,this.currentTracker.inTracker$]).pipe(z(function(f){var h=k(f);f=h.next().value;var l=h.next().value;h=h.next().value;return f?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:l?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:h?{icon:"folder_special_24px",
tooltip:"This component is inside a tracker"}:{icon:"folder",tooltip:""}}),vf({icon:"folder",tooltip:""}));this.componentPath$=(0,X.combineLatest)([this.componentId$,this.component$,this.compactMode$]).pipe(z(function(f){var h=k(f);f=h.next().value;var l=h.next().value;h=h.next().value;if(null==l)return sp({componentPathId:[Number(f)]});f=ur(e.currentTracker,l.componentPathInfo);f=sp(f);if(h){h=[];l=0;for(var q=f.length-1;0<=q;q--){var t=f[q],w=q===f.length-1?48:32;if(l>=w)break;var B=String(t.name),
D=void 0;if(l+[].concat(u(B)).length>w){var J=w-l;w="";B=void 0===B?"":B;J=void 0===J?48:J;w=void 0===w?"...":w;D=[].concat(u(B));D.length<=J||(B=J-[].concat(u(w)).length,B=D.slice(-B).join(""),null!=String.prototype.trimStart&&(B=B.trimStart()),B=w+B);D=!0}l+=[].concat(u(B)).length;h.unshift(Object.assign({},t,{name:B,isTruncated:D}));if(D)break}f.length>h.length&&(h[0].isSpliced=!0);f=h}return f}));this.isEmpty$=this.component$.pipe(z(function(f){return!f}));this.isThinkingAndEmpty$=(0,X.combineLatest)([this.componentFridge.thinking$,
this.isEmpty$]).pipe(z(function(f){var h=k(f);f=h.next().value;h=h.next().value;return f&&h}));this.isReady$=this.isThinkingAndEmpty$.pipe(z(function(f){return!f}))};nZ.prototype.ngOnInit=function(){};Ac.Object.defineProperties(nZ.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.componentId$.next(a)}},compactMode:{configurable:!0,enumerable:!0,set:function(a){this.compactMode$.next(a)}}});nZ.\u0275fac=function(a){return new (a||nZ)(C(ZH),C(vY),C(hM),C(Zr))};
nZ.\u0275cmp=r({type:nZ,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[["componentPicker",""],["viewOnlyComponent",""],["card",""],["cardBody",""],[3,"isReady",4,"ngIf","ngIfElse"],[3,"isReady"],[1,"b-chip","squared","s"],["class","icon-xs","title","Component folder path",3,"svgIcon","matTooltip",4,"ngIf"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button",
"","class","edit-btn","aria-label","Change Component","matTooltip","Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small pop-out-btn","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link","role",
"button",3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],[4,"onedevHovercardLazyBody"],["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon",
"edit-outline",1,"icon-xxs"],["mat-icon-button","","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",1,"gmat-button","small","pop-out-btn",3,"routerLinkObj"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponentChange","dropdownClosed","selectedComponent","isRequired","shouldFocus"]],template:function(a,b){a&1&&E(0,E1a,13,22,"b-async-data-placeholder",4)(1,G1a,2,5,"ng-template",null,0,Eg);a&2&&(a=R(2),F("ngIf",
!b.editing)("ngIfElse",a))},dependencies:[EV,Dw,zw,nB,CA,DA,gN,JL,KL,OL,LL,nE,OC,tY,AR,Iw],styles:["[_nghost-%COMP%]     b-async-data-placeholder{display:inline-block;height:22px}a[_ngcontent-%COMP%], .view-only-component[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%], .edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{vertical-align:middle}mat-icon[_ngcontent-%COMP%]:first-of-type{margin-right:3px}.b-chip[_ngcontent-%COMP%]{margin-right:0}.edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{height:22px;width:22px;line-height:22px;margin-right:-4px;margin-left:4px;border-radius:4px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}.edit-btn[_ngcontent-%COMP%]:hover, .pop-out-btn[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.edit-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-top:-3px}.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 oZ=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J){Z.call(this);var H=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.eventsForIssueFridge=f;this.issuePermissionService=h;this.snackBar=l;this.dialogRef=q;this.data=t;this.analytics=w;this.confirmationDialogService=D;this.jspbPrincipalTypes=J;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.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;this.issue$=this.issueFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(z(function(O){var P;return null!=(P=null==O?void 0:O.snapshot[0].issueAccessLimitLevel)?P:H.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new X.BehaviorSubject(this.defaultAccessLimitLevel);
this.hasAccessLimitLevelSelectionChanged$=(0,X.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(z(function(O){var P=k(O);O=P.next().value;P=P.next().value;return O!==P}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(z(function(O){return null==O?void 0:O.trackerId}));this.tracker$=this.trackerId$.pipe(wf(function(O){return Wn(O)?H.trackerFridge.watch(O):(0,X.of)(void 0)}));
this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(z(function(O){return O?"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."}));this.currentUserEmail=B.getUserEmail()};
Y(oZ,Z);oZ.\u0275dir=Z.\u0275dir;
oZ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);H1a(a,b)}));this.subscriptions.add((0,X.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=k(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}));Wo(this.analytics,sq.ISSUE_ACCESS_LIMITS,"view",
"issue_access_limits_dialog:"+this.issueId)};
oZ.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;me(function(l){if(1==l.nextAddress){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=k(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?oe(l,$Bc(c,b.snapshot[0].collaboratorsUsers),
3):l.jumpTo(0)}h=l.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});se(l)})};
var $Bc=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress)return c=b.map(function(f){return f.emailAddress}).filter(Ei),oe(e,d6b(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(f){if(!f.emailAddress)return!1;var h;return"GROUP"===(null==(h=d[f.emailAddress])?void 0:h.principalType)}))})},aCc=function(a){return a?"Expanded access on":"Expanded access off"},K1a=function(a,b){return 0<a.addedCollaboratorGroups.size||0<a.removedCollaboratorGroups.size||!0===
b},H1a=function(a,b){0<a.addedCollaboratorGroups.size&&Wo(a.analytics,sq.QUICK_ADD_COLLABORATORS,"update","idp_added_dryrun:"+a.issueId);0<a.removedCollaboratorGroups.size&&Wo(a.analytics,sq.QUICK_ADD_COLLABORATORS,"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=xp(c.writers);a.appenders=xp(c.appenders);a.readers=xp(c.readers)},function(c){sI(a.errorHandler,
c)})};g=oZ.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=tp({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?";0===this.writers.length&&0===this.appenders.length&&0===this.readers.length&&(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:vh(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();Wo(a.analytics,sq.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);0<a.addedCollaboratorGroups.size&&Wo(a.analytics,sq.QUICK_ADD_COLLABORATORS,"update","idp_added:"+a.issueId);0<a.removedCollaboratorGroups.size&&
Wo(a.analytics,sq.QUICK_ADD_COLLABORATORS,"update","idp_removed:"+a.issueId)},function(b){sI(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};oZ.\u0275fac=function(a){return new (a||oZ)(C(qI),C(fH),C(iJ),C(ZH),C(sK),C(BI),C(EQ),C(lI),C(NA),C(PA),C(ZI),C(Zr),C(nL),C(LE))};
oZ.\u0275cmp=r({type:oZ,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&N("keydown.escape",function(){return b.onEscape()})},features:[Ff],decls:38,vars:43,consts:[["closeButton",""],[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden",
"false","aria-label","Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[4,"ngIf"],[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",""],[4,"ngIf","ngIfElse"],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"collaborator-group-checkbox",3,"click","change","id","name","checked"],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"click","disabled"],["mat-button","",1,"gmat-button","medium","close",3,"click"]],template:function(a,b){if(a&1){var c=v();G(0,
"div",1)(1,"span",2);K(2,"mat-icon",3);I();G(3,"h2",4);S(4,"Issue access level");I()();G(5,"div");K(6,"b-component-breadcrumb-chip",5);G(7,"span",6);V(8,"async");G(9,"span",7);S(10);V(11,"async");I();K(12,"mat-icon",8);V(13,"async");I()();G(14,"b-issue-access-limits-dropdown",9);V(15,"async");V(16,"async");V(17,"async");N("updatedAccessLimitLevel",function(l){x(c);b.updatedAccessLimitLevel$.next(l);H1a(b,l);return y()});I();E(18,J1a,8,4,"ng-container",10);V(19,"async");G(20,"div",11)(21,"div")(22,
"div",12);S(23,"Users who can edit, comment, and view");I();K(24,"b-multi-user-input",13);I();G(25,"div")(26,"div",12);S(27,"Users who can comment and view");I();K(28,"b-multi-user-input",14);I();G(29,"div")(30,"div",12);S(31,"Users who can only view");I();K(32,"b-multi-user-input",15);I()();G(33,"div",16);E(34,L1a,6,3,"ng-container",17);V(35,"async");E(36,M1a,2,0,"ng-template",null,0,Eg);I()}if(a&2){var d,e,f,h;a=R(37);A(6);F("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",
b.manageComponentAccessRouterLink)("viewOnly",!0);A();Qf("expanded-access-on",W(8,27,b.isImplicitAccessEnabled$));A(3);rg(aCc(null!==(d=W(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));A(2);F("matTooltip",null!==(e=W(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");A(2);F("disabled",!W(15,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",null!==(f=W(16,35,b.currentAccessLimitLevel$))&&void 0!==f?f:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=W(17,37,b.isImplicitAccessEnabled$))&&
void 0!==h?h:!1);A(4);F("ngIf",0<b.collaboratorGroupsEmailToDetailsMap.size&&W(19,39,b.hasAclToAdmin$));A(6);F("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);Hf("disabled",!0);A(4);F("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);Hf("disabled",!0);A(4);F("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);Hf("disabled",!0);A(2);F("ngIf",W(35,41,b.hasAclToAdmin$))("ngIfElse",a)}},dependencies:[HX,Dw,zw,nB,nZ,CA,UA,nE,OC,nV,KM,LM,Iw,Nw],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 0 28px}.limit-option[_ngcontent-%COMP%]{padding:10px 0}.limit-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.limit-title[_ngcontent-%COMP%]{padding:0 20px;white-space:nowrap}.selected-limit-title[_ngcontent-%COMP%]{padding:0 5px 0 10px;color:#202124;color:var(--text-default);font-size:small}.limit-description[_ngcontent-%COMP%]{padding:0 40px}.limit-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}b-component-breadcrumb-chip[_ngcontent-%COMP%]{margin-right:16px}.expanded-access[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-color:#c5221f;border-color:var(--text-bad);border-radius:3px;padding:5px;background-color:var(--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 pZ=function(a){this.dialog=a;this.dialogRef=null};pZ.prototype.open=function(a){this.dialogRef=this.dialog.open(oZ,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};pZ.prototype.isOpen=function(){return this.dialogRef?0===this.dialogRef.getState():!1};pZ.\u0275fac=function(a){return new (a||pZ)(p(QA))};pZ.\u0275prov=Pc({token:pZ,factory:pZ.\u0275fac,providedIn:"root"});var qZ=function(){this.isReady=!1};qZ.\u0275fac=function(a){return new (a||qZ)};qZ.\u0275cmp=r({type:qZ,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(cg(),E(0,N1a,1,0,"div",0)(1,O1a,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),A(),F("ngIf",b.isReady))},dependencies:[zw],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 bCc=function(){this.warning=""};bCc.\u0275fac=function(a){return new (a||bCc)};
bCc.\u0275cmp=r({type:bCc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("is-present",b.warning)},inputs:{warning:"warning"},decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&E(0,P1a,2,1,"svg",0);a&
2&&F("ngIf",b.warning)},dependencies:[zw,TC],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 cCc=["*",[["","actions",""]]],dCc=[[["onedev-field-label"]],[["onedev-field-value"]]],eCc=0,rZ=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+eCc;eCc++};rZ.\u0275fac=function(a){return new (a||rZ)};
rZ.\u0275cmp=r({type:rZ,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&Hf("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(cg(),G(0,"onedev-async-data-placeholder",0)(1,"span",1),dg(2),I(),K(3,"onedev-warning-icon",2),I());a&2&&(F("isReady",!b.thinking),A(),F("matTooltip",b.labelTooltip),A(2),F("warning",
b.warning))},dependencies:[qZ,TC,bCc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var sZ=function(){this.thinking=!1};sZ.\u0275fac=function(a){return new (a||sZ)};
sZ.\u0275cmp=r({type:sZ,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(cg(cCc),G(0,"onedev-async-data-placeholder",0),dg(1),dg(2,1),I());a&2&&F("isReady",!b.thinking)},dependencies:[qZ],encapsulation:2});var tZ=function(){this.labelPosition="left"};tZ.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
tZ.\u0275fac=function(a){return new (a||tZ)};
tZ.\u0275cmp=r({type:tZ,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(mg(c,vO,5),mg(c,rZ,7));if(a&2){var d;pg(d=qg())&&(b.field=d.first);pg(d=qg())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(cg(dCc),G(0,"div",0),dg(1),dg(2,1),I());a&2&&Qf("active",null==b.field?null:b.field.isActive())("top-label","top"===b.labelPosition)},styles:[".wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:2px}.wrapper.top-label[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%]     onedev-field-label{margin-right:5px}[_nghost-%COMP%]     onedev-field-value{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;min-height:29px}[_nghost-%COMP%]     onedev-field-value>*{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:100%}[_nghost-%COMP%]     onedev-field-value onedev-async-data-placeholder{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start}[_nghost-%COMP%]     onedev-field-value [actions]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%]     onedev-field-value:not(.content-overflow){overflow:hidden;text-overflow:ellipsis}.active[_ngcontent-%COMP%]     onedev-field-label{color:var(--primary-default,#1a73e8)}"]});var fCc=["popOverContent"],uZ=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.minWidth=null;this.saveDisabled=!1;this.closedWithAction=new Uv;this.isOpen=!1;this.destroyed$=new X.ReplaySubject(1);this.backdropClickSubscription=X.Subscription.EMPTY};uZ.prototype.ngOnInit=function(){};uZ.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
uZ.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(xf(this.destroyed$)).subscribe(function(){S1a(a)}))};uZ.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var R1a=function(a){a.closedWithAction.emit(0);a.close()},S1a=function(a){a.closedWithAction.emit(1);a.close()};g=uZ.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":S1a(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)R1a(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(R1a(this),a.stopPropagation(),a.preventDefault())}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+Math.max(null!=(c=this.minWidth)?c:0,this.anchor.offsetWidth)});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=new ny(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};g.getPositionStrategy=function(){var a=tWb(Qy(Uy(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Oy(a,gCc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
uZ.\u0275fac=function(a){return new (a||uZ)(C(Vy),C(jg))};
uZ.\u0275cmp=r({type:uZ,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&lg(fCc,7);if(a&2){var c;pg(c=qg())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth",saveDisabled:"saveDisabled"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",
""],["cdkTrapFocus","",1,"content","gmat-elevation-z2",3,"keydown","cdkTrapFocusAutoCapture"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click","disabled"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&E(0,T1a,8,3,"ng-template",null,0,Eg)},dependencies:[Hw,Gx,CA],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 gCc=[{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 hCc=["popOver"],V1a=function(a){return{$implicit:a}},vZ=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new Uv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};Y(vZ,vO);g=vZ.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return $1a(this.editingValue)!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=$1a(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=$1a(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Ac.Object.defineProperties(vZ.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});vZ.\u0275fac=function(a){return new (a||vZ)(Od("required"))};
vZ.\u0275cmp=r({type:vZ,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&lg(hCc,7);if(a&2){var c;pg(c=qg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[wg([{provide:Bw,useExisting:Yc(function(){return vZ}),multi:!0},{provide:vO,useExisting:Yc(function(){return vZ}),multi:!0}]),Ff],decls:11,
vars:6,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["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","editorTemplate"],[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,"ngModelChange","ngModel"]],template:function(a,b){if(a&1){var c=v();G(0,"button",4,0);N("click",function(){x(c);return y(b.startEditing())})("focus",function(){x(c);return y(b.headerFocused=!0)})("blur",function(){x(c);return y(b.headerFocused=!1)});G(2,"span");E(3,W1a,2,4,"ng-container",5)(4,X1a,1,1,"ng-template",null,1,Eg);I();E(6,Y1a,2,0,"svg",6);I();G(7,"onedev-pop-over-edit-panel",7,2);N("closedWithAction",function(f){x(c);return y(b.stopEditing(f))});I();E(9,Z1a,1,1,"ng-template",
null,3,Eg)}if(a&2){a=R(1);var d=R(5),e=R(10);F("disabled",b.disabled);A(3);F("ngIf",b.valueTemplate)("ngIfElse",d);A(3);F("ngIf",!b.disabled&&b.displayEditIcon);A();F("anchor",a)("editorTemplate",e)}},dependencies:[zw,Hw,bh,lx,cx,jx,uZ],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 f2a=function(){return[]},wZ=function(){this.disabled=this.thinking=!1;this.effortChange=new Uv;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
wZ.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=iCc(this),a="incompatible"===a?{label:this.effort.estimate,value:0}:a):a=void 0;this.selectedOption=a}else if("NUMERIC"===this.getFieldType()){var b,c;this.selectedNumericEstimate=(null==(b=this.effort)?0:b.estimate)?Number(null==(c=this.effort)?void 0:c.estimate):void 0}this.fieldName=this.getFieldName();this.fieldType=
this.getFieldType();this.isCompatibleValue=jCc(this)};wZ.prototype.selectOption=function(a){this.selectedOption=a;if(null==a)this.effort=void 0;else{var b,c;this.effort={specId:null!=(c=null==(b=this.effortSpec)?void 0:b.id)?c:0,estimate:a.label}}this.isCompatibleValue=jCc(this);this.effortChange.emit(this.effort)};wZ.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
wZ.prototype.getFieldType=function(){var a;if(null==(a=this.effortSpec)?0:a.numericSpec)return"NUMERIC";var b;return(null==(b=this.effortSpec)?0:b.enumSpec)?"DROPDOWN":"UNKNOWN"};
var jCc=function(a){var b;if(!a.effort||null==(b=a.effort)||!b.estimate)return!0;var c,d;if((null==(c=a.effortSpec)?void 0:c.id)!==(null==(d=a.effort)?void 0:d.specId)||"DROPDOWN"===a.fieldType&&"incompatible"===iCc(a))return!1;var e,f;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(f=null==(e=a.effort)?void 0:e.estimate)?f:""))?!1:!0},iCc=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,f;return null!=(f=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var l;return h.label===(null==(l=a.effort)?void 0:l.estimate)}))?f:"incompatible"}};wZ.\u0275fac=function(a){return new (a||wZ)};
wZ.\u0275cmp=r({type:wZ,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[xd],decls:3,vars:1,consts:[["rawNumericValueTemplate",""],["warningHovercard","onedevHovercard"],["optionTemplate",""],["emptyOption",""],["regularNumeric",""],[4,"ngIf"],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",
"class","icon-xs effort-warning align-items-center",3,"onedevHovercardTrigger",4,"ngIf"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",
1,"icon-xs","effort-warning","align-items-center",3,"onedevHovercardTrigger"],[1,"flex-kids-x",3,"valueChange","value","valueTemplate","disabled","displayEditIcon"],[3,"valueChange","value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&E(0,i2a,16,7,"onedev-edit-field",5)(1,l2a,3,2,"ng-template",null,0,Eg);a&2&&F("ngIf",b.effortSpec)},dependencies:[zw,Ew,Fw,Gw,nB,rZ,sZ,tZ,wO,vZ,JL,OL],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 SNb=function(a){this.internalArray_=m(a,1)};Y(SNb,n);var at=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=at.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 at;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 Nt=function(a){this.internalArray_=m(a)};Y(Nt,n);Nt.prototype.getEntryPoint=function(){return Qi(this,5,0)};Nt.prototype.setEntryPoint=function(a){return jj(this,5,a)};var Pt=function(a){this.internalArray_=m(a)};Y(Pt,n);Pt.prototype.getEntryPoint=function(){return Qi(this,1,0)};Pt.prototype.setEntryPoint=function(a){return jj(this,1,a)};var xZ=function(a){this.internalArray_=m(a)};Y(xZ,n);xZ.prototype.getQuery=function(){return ec(this,1,"")};xZ.prototype.setQuery=function(a){return Zh(this,1,a)};xZ.prototype.clearQuery=function(){lp(this,1)};xZ.prototype.hasQuery=function(){return Ni(this,1)};var kCc=function(a,b){pj(a,3,b)};xZ.prototype.getAffinityVersion=function(){return fi(this,7)};xZ.prototype.setAffinityVersion=function(a){gj(this,7,a)};xZ.prototype.getAffinityVersionOrUndefined=function(){return Hu(this,7)};
var lCc=function(a){var b=glc();lp(a,8,ib(b))};g=xZ.prototype;g.getSources=function(){return Gi(this,Nt,10)};g.getInstanceId=function(){return ec(this,11,"")};g.setInstanceId=function(a){return Zh(this,11,a)};g.clearInstanceId=function(){lp(this,11)};g.hasInstanceId=function(){return Ni(this,11)};g.getInstanceIdOrUndefined=function(){return Ju(this,11)};var Ht=function(a){this.internalArray_=m(a)};Y(Ht,n);g=Ht.prototype;g.getPersonLoggingId=function(){return ec(this,1)};g.setPersonLoggingId=function(a){Zh(this,1,a)};g.getFieldLoggingId=function(){return ec(this,2)};g.setFieldLoggingId=function(a){Zh(this,2,a)};g.setFieldValue=function(a){return Zh(this,3,a)};g.clearFieldValue=function(){return lp(this,3)};g.getName=function(){return ec(this,4)};g.setName=function(a){return Zh(this,4,a)};g.hasName=function(){return Ni(this,4)};
g.getNameOrUndefined=function(){return Ju(this,4)};g.getContactId=function(){return ec(this,5)};g.setContactId=function(a){Zh(this,5,a)};g.getProfileId=function(){return ec(this,6)};g.getProfileId_legacyNullable=function(){return wj(this,6)};g.setProfileId=function(a){return Zh(this,6,a)};g.hasProfileId=function(){return Ni(this,6)};g.getFieldType=function(){return Qi(this,7,0)};g.getIsPlaceholder=function(){return Li(this,10,!1)};g.setIsPlaceholder=function(a){$h(this,10,a)};
g.getGroupId=function(){return ec(this,11)};g.setGroupId=function(a){Zh(this,11,a)};g.hasGroupId=function(){return Ni(this,11)};var Gt=function(a){this.internalArray_=m(a)};Y(Gt,n);g=Gt.prototype;g.getProvenance=function(){return Qi(this,3,0)};g.setProvenance=function(a){return jj(this,3,a)};g.getContext=function(){return Qi(this,5,0)};g.getExistingSelectionsCount=function(){return fi(this,6,0)};g.setExistingSelectionsCount=function(a){gj(this,6,a)};var Ft=function(a){this.internalArray_=m(a)};Y(Ft,n);var Os=function(a){return Gi(a,Gt,2)};Ft.prototype.getSessionState=function(){return Gi(this,xZ,3)};Ft.prototype.setSessionState=function(a){hj(this,xZ,3,a)};Ft.prototype.hasSessionState=function(){return Ui(this,xZ,3)};var Et=function(a){this.internalArray_=m(a)};Y(Et,n);g=Et.prototype;g.getType=function(){return Qi(this,1,0)};g.setType=function(a){return jj(this,1,a)};g.hasType=function(){return Oi(this,1)};g.getValue=function(){return ec(this,2,"")};g.setValue=function(a){return Zh(this,2,a)};g.hasValue=function(){return Ni(this,2)};var mCc=function(a){this.delegate_=a};g=mCc.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 wNb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=wNb.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 nCc=function(a,b){this.delegate_=a;this.name_=b};Y(nCc,mCc);nCc.prototype.getName=function(){return this.name_};var yZ=function(a){this.delegate_=a};g=yZ.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var ar=function(a){this.delegate_=a};Y(ar,yZ);g=ar.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 m2a=function(a,b){this.delegate_=a;this.targets_=b};Y(m2a,yZ);m2a.prototype.getTargetList=function(){return this.targets_};var oCc=function(){};oCc.prototype.filterResult=function(a){var b=this,c=a.getTargetList().filter(function(d){return!b.shouldRemove(d)});return 0===c.length?null:c.length===a.getTargetList().length?a:new ar(new m2a(a,c))};oCc.prototype.reset=function(){};var o2a=function(a){this.types_=a};Y(o2a,oCc);o2a.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};o2a.prototype.reset=function(){};var q2a=function(a){this.sourceIds_=a.filter(function(b){return sNb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return Jlc.includes(b.getType())}).map(String)};Y(q2a,oCc);q2a.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 s2a=function(a){this.filters_=a};s2a.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};s2a.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var pCc=t2a();var qCc=new rd("PeoplekitClientConfig"),rCc=function(a){this.matcher=a};rCc.prototype.filterResult=function(a){for(var b=a.getTargetList(),c=b.length-1;0<=c;c--)1===b[c].getTargetType()&&this.matcher(b[c].getValue())&&b.splice(c,1);return b.length?a:null};rCc.prototype.reset=function(){};var sCc=function(a){this.internalArray_=m(a)};Y(sCc,n);g=sCc.prototype;g.setMaxResults=function(a){return gj(this,1,a)};g.getQuery=function(){return ec(this,2,"")};g.setQuery=function(a){return Zh(this,2,a)};g.clearQuery=function(){lp(this,2)};g.hasQuery=function(){return Ni(this,2)};var tCc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var uCc=function(a){this.internalArray_=m(a,1)};Y(uCc,n);var vCc=function(a){this.internalArray_=m(a)};Y(vCc,n);g=vCc.prototype;g.getExperimentIdsList=function(a){return ii(this,1,hi(a))};g.setExperimentIdsList=function(a){return Ip(this,1,a)};g.getExperimentIds=function(){return Fu(this,1)};g.setExperimentIds=function(a){Ku(this,1,a)};g.getProfileId=function(){return ec(this,2)};g.getProfileId_legacyNullable=function(){return wj(this,2)};g.setProfileId=function(a){return Zh(this,2,a)};g.hasProfileId=function(){return Ni(this,2)};vCc.repeatedFields_=[1];var wCc=function(){},xCc=function(){return!1},yCc=function(){this.experiments_=(new vCc).setProfileId(tS.userProfileId);this.peopleApiEnv_=tS.apiEnv;this.delegatorId_=this.userEmail_="";this.userKeys_=new Set;this.onAuthError_=wCc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=xCc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1;var a=tS.userEmail;this.userEmail_=a||"";a&&this.userKeys_.add(String(pt(a)))};g=yCc.prototype;g.getUserEmail=function(){return this.userEmail_};
g.getDelegatorId=function(){return this.delegatorId_};g.getPeopleApiEnv=function(){return this.peopleApiEnv_};g.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};g.getExperiments=function(){return this.experiments_};g.getAuthErrorHandler=function(){return this.onAuthError_};g.setClearcutUrl=function(a){this.clearcutUrl_=a};g.getClearcutUrl=function(){return this.clearcutUrl_};g.setAuthErrorHandler=function(a){this.onAuthError_=a||wCc};g.getApiKey=function(){return this.apiKey_};
g.setApiKey=function(a){this.apiKey_=a;return this};var zZ=function(a,b){null!=b||(b=bd(He));var c=new yCc;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 tCc;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 Olc(c.getPeopleApiEnv(),new Plc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};zZ.\u0275fac=function(a){return new (a||zZ)(p(qCc),p(He))};zZ.\u0275prov=Pc({token:zZ,factory:zZ.\u0275fac});var AZ=function(a,b,c,d,e,f){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=f;this.selectionChange=new Uv;this.sessionOptions=(new at).setFilter(zCc);this.inputSearchDelay=200;this.destroyed$=new X.ReplaySubject(1);this.inputChanged$=new X.ReplaySubject(1)};AZ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
AZ.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);u2a(b,this.config);this.zone.runOutsideAngular(function(){var c;if(null==(c=a.clientConfig.autocompleteFactory))c=void 0;else{var d=c.create;if(!a.peopleKitService.autocompleteAnchor){var e=a.renderer.createElement("div");a.peopleKitService.autocompleteAnchor=e;a.renderer.addClass(e,"peoplekit-autocomplete-anchor");var f;(null!=(f=EGa(a.inputEl.nativeElement))?
f:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});ACc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(jf(this.inputSearchDelay)).subscribe(function(){a.search()})};AZ.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
AZ.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};AZ.\u0275fac=function(a){return new (a||AZ)(C(qCc),C(qh),C(zZ),C(Wd),C(He),C(tv))};
AZ.\u0275dir=jd({type:AZ,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&N("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 zCc=p2a(1);var BCc=["popOver"],CCc=["inputBox"],BZ=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},DCc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new Uv;this.inputValue="";this.sessionOptions=ECc};BZ.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
BZ.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},DCc,this.defaultAutocompleteConfig,this.autocompleteConfig))};BZ.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};BZ.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};BZ.\u0275fac=function(a){return new (a||BZ)(C(FCc,8))};
BZ.\u0275cmp=r({type:BZ,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(lg(BCc,7),lg(CCc,5));if(a&2){var c;pg(c=qg())&&(b.popOver=c.first);pg(c=qg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[xd],attrs:["anchor",""],decls:4,vars:3,consts:[["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",
""],["inputBox",""],[3,"closedWithAction","anchor","displayUnder","editorTemplate"],["peoplekitAutocomplete","",3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"]],template:function(a,b){if(a&1){var c=v();G(0,"onedev-pop-over-edit-panel",3,0);N("closedWithAction",function(d){x(c);return y(b.onPopOverClose(d))});I();E(2,v2a,2,3,"ng-template",null,1,Eg)}a&2&&(a=R(3),F("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
a))},dependencies:[bh,cx,jx,uZ,AZ],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 FCc=new rd("user-picker-autocomplete-config"),DCc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},ECc=(new at).setFilter(t2a(p2a(1),new rCc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var x2a=function(a){return{$implicit:a}},GCc=0,CZ=function(){this.val="";this.disabled=!1;this.emailChange=new Uv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+GCc;this.onChange=function(){};this.onTouched=function(){};GCc++};Y(CZ,vO);g=CZ.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.writeValue=function(a){null!=a&&(this.val=a)};g.isActive=function(){return this.active||this.popOverOpen};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};
Ac.Object.defineProperties(CZ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});CZ.\u0275fac=function(a){return new (a||CZ)};
CZ.\u0275cmp=r({type:CZ,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&lg(BZ,7);if(a&2){var c;pg(c=qg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[wg([{provide:vO,useExisting:Yc(function(){return CZ}),multi:!0},{provide:Bw,useExisting:Yc(function(){return CZ}),multi:!0}]),
Ff],decls:7,vars:9,consts:[["anchor",""],["plainText",""],[1,"unstyled-button",3,"focus","blur","click"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closed","anchor","autocompleteConfig"],[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=v();G(0,"button",2,0);N("focus",function(){x(c);return y(b.active=!0)})("blur",function(){x(c);return y(b.active=!1)})("click",function(){x(c);return y(b.openPopOver())});E(2,y2a,2,4,"ng-container",3)(3,z2a,1,1,"ng-template",null,1,Eg)(5,A2a,2,0,"svg",4);I();G(6,"onedev-user-picker-panel",5);N("closed",function(e){x(c);return y(b.onPopOverClose(e))});I()}if(a&2){a=R(1);var d=R(4);Qf("active",b.isActive());Hf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());
A(2);F("ngIf",b.selectedUserTemplate)("ngIfElse",d);A(3);F("ngIf",!b.disabled);A();F("anchor",a)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[zw,Hw,BZ],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 HCc=["picker"],DZ=function(){this.disabled=!1;this.emailChange=new Uv;this.userEmail=""};Y(DZ,vO);DZ.prototype.openPopOver=function(){this.picker.openPopOver()};DZ.prototype.isActive=function(){return this.picker.isActive()};Ac.Object.defineProperties(DZ.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=Zk(a)||""}}});DZ.\u0275fac=function(){var a;return function(b){return(a||(a=Td(DZ)))(b||DZ)}}();
DZ.\u0275cmp=r({type:DZ,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&lg(HCc,7);if(a&2){var c;pg(c=qg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[wg([{provide:vO,useExisting:Yc(function(){return DZ}),multi:!0}]),Ff],decls:4,vars:4,consts:[["picker","onedevUserPicker"],["userChip",""],[3,"emailChange","email","disabled","labelledById","selectedUserTemplate"],
[3,"email","teamId","enableSmallChip",4,"ngIf"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){if(a&1){var c=v();G(0,"onedev-user-picker",2,0);N("emailChange",function(d){x(c);return y(b.emailChange.emit(d))});I();E(2,C2a,1,1,"ng-template",null,1,Eg)}a&2&&(a=R(3),F("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",a))},dependencies:[zw,UQ,CZ],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 ICc=function(a){return{"internal-only":a}},EZ=function(a,b,c,d,e){Z.call(this);var f=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new Uv;this.onSloEndTimeChange=new Uv;this.showInternalOnlyFieldBadge=!1;this.providedSloId$=new X.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(wf(function(h){return f.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=
this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=!1};Y(EZ,Z);EZ.\u0275dir=Z.\u0275dir;EZ.prototype.ngOnInit=function(){var a=this;JCc(this);this.userPreferencesManager.layoutPreferences$.pipe(xf(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};EZ.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);JCc(this)};
var JCc=function(a){a.hasSlo=!!a.sloStatus&&tic(a.sloStatus);a.hasClosureSlo=a.hasSlo&&uic(a.sloStatus,"CLOSURE");a.enableSloEndTime=hE(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=zQ(Di(c))?c.targetTime:void 0):c=void 0;a.closureSloTarget=null!=(b=null==c?void 0:c.seconds)?b:0;b=a.sloStartTime;a.hasSloStartTime=!!b&&0!==b.seconds;b=a.sloEndTime;a.hasSloEndTime=!!b&&0!==b.seconds;a.sloId&&"0"!==a.sloId?a.editSloLink=a.paths.editSlo(a.sloId):a.editSloLink=void 0;a.componentId?
a.componentSloLink=a.paths.manageComponent(a.componentId):a.componentSloLink=void 0},KCc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;$7b(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(xf(a.destroyed$)).subscribe();Kk(sq.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};EZ.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};EZ.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
EZ.prototype.trackOpenSlo=function(){Kk(sq.EDIT_SLO,"open","fromIssueSloBox")};EZ.\u0275fac=function(a){return new (a||EZ)(C(Zr),C(zF),C(yQ),C(RF),C(cK))};
EZ.\u0275cmp=r({type:EZ,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[Ff,xd],decls:19,vars:23,consts:[["trigger","cdkOverlayOrigin"],[1,"slo-container",3,"ngClass"],
[1,"issue-slo-box-title",3,"click"],["svgIcon","shield_person_24px","class","icon-xs internal-only-badge","matTooltip","Visible to internal only","aria-label","Visible to internal only",4,"ngIf"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloStartTime","sloEndTime","includeSloMetric","includeObjective"],[3,"sloStatus","sloStartTime","sloEndTime","includeNoSlo"],["mat-icon-button","","aria-label","Toggle the detailed SLO status","matTooltip","Toggle the detailed SLO status",1,"expand-button",
"small",3,"click"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],[1,"slo-actions",3,"hidden"],["class","slo-action","id","start-time-row",4,"ngIf"],["class","slo-action","id","end-time-row",4,"ngIf"],["class","slo-action",4,"ngIf"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],
["id","start-time-row",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"],[4,"ngIf"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"closePicker","sloEditCommit","sloStatus","sloEditTime"],["id","end-time-row",1,"slo-action"],["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"],[1,"slo-action"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page","class","slo-link bv2-metadata-link slo-definition",
3,"click",4,"ngIf"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","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&&(G(0,"div",1)(1,"span",2),N("click",function(){return KCc(b)}),G(2,"label"),S(3,"SLO Status"),I(),E(4,D2a,1,0,"mat-icon",3),I(),G(5,"div",4)(6,
"div",5)(7,"div",6),K(8,"b-aggregated-slo-status-indicator",7),I(),G(9,"div",6),K(10,"b-slo-status-summary",8),I(),G(11,"button",9),N("click",function(){return KCc(b)}),E(12,E2a,1,0,"mat-icon",10)(13,F2a,1,0,"mat-icon",11),I()(),G(14,"div",12),E(15,J2a,9,4,"div",13)(16,O2a,10,5,"div",14)(17,Q2a,4,3,"div",15)(18,R2a,3,1,"div",15),I()()());a&2&&(F("ngClass",Ag(21,ICc,b.showInternalOnlyFieldBadge)),A(4),F("ngIf",b.showInternalOnlyFieldBadge),A(3),F("hidden",b.isAccordionExpanded),A(),F("sloStatus",b.sloStatus)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),A(),F("hidden",!b.isAccordionExpanded),A(),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),A(),Hf("aria-expanded",b.isAccordionExpanded),A(),F("ngIf",!b.isAccordionExpanded),A(),F("ngIf",b.isAccordionExpanded),A(),F("hidden",!b.isAccordionExpanded),A(),F("ngIf",b.isEditable),A(),F("ngIf",b.enableSloEndTime&&b.isEditable),A(),F("ngIf",b.editSloLink),A(),F("ngIf",
!b.editSloLink&&b.componentSloLink))},dependencies:[Cw,zw,nB,nE,OC,CA,aY,iO,SX,KT,Xy,Wy,Iw],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:fill-available;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;background-color:none}.expand-button[_ngcontent-%COMP%]{margin-left:auto}.expand-button[_ngcontent-%COMP%]   .accordion-icon[_ngcontent-%COMP%]{display:block}.d-cozy[_ngcontent-%COMP%]   issue-slo-box[_ngcontent-%COMP%]{margin:4px 14px 4px 19px}.d-compact[_ngcontent-%COMP%]   issue-slo-box[_ngcontent-%COMP%]{margin:2px 14px 2px 19px}"]});var LCc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var FZ=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);var w=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=f;this.snackBar=h;this.analytics=l;this.errorHandler=q;this.componentFridge=t;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=LCc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new MCc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=Kac(this.teamsService,this.teamSuggestionIds).pipe(z(function(B){for(var D=[],J=k(w.teamSuggestionIds),H=J.next();!H.done;H=J.next()){H=H.value;var O=B.get(H);O&&D.push(new MCc(H,O.collapsedPathNames))}return D}),vf([]));this.myTeams$=lK(this.teamsService,"").pipe(z(function(B){return B.map(function(D){return new MCc(D.teamId,D.pathNames)})}));
(0,X.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(z(function(B){var D=k(B);B=D.next().value;D=D.next().value;return[].concat(u(B),u(D))}),z(Vta(function(B){return B.teamId})),xf(this.destroyed$)).subscribe(function(B){w.teamOptions=B;w.selectedTeam=B[0]})};Y(FZ,Z);FZ.\u0275dir=Z.\u0275dir;FZ.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
FZ.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;NCc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):NCc(this,"0",this.selectedTeam.teamId);else{var b=li(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});e8b(this.userPreferencesManager,b).pipe(xf(this.destroyed$)).subscribe(function(){Wo(a.analytics,
sq.TEAM_WARNING,"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var NCc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);Wo(a.analytics,sq.TEAM_WARNING,"updateTeam");a.snackBar.open("Team mapping changed","",{duration:4E3});var e;null==(e=a.dialogRef)||e.close(a.selectedTeam.teamId)}).catch(function(d){a.errorHandler.errorHandler(null,d)})};
FZ.prototype.selectOption=function(a){this.selectedTeam=a};FZ.prototype.trackClick=function(a){Wo(this.analytics,sq.TEAM_WARNING,"click",a)};FZ.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};FZ.\u0275fac=function(a){return new (a||FZ)(C(PA),C(NA),C(FX),C(jK),C(SM),C(zF),C(lI),C(ZI),C(qI),C(ZH))};
FZ.\u0275cmp=r({type:FZ,selectors:[["b-team-warning-dialog"]],features:[Ff],decls:11,vars:5,consts:[["optionTemplate",""],["emptyOption",""],["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["aria-label","Quick team actions",3,"ngModel","ngModelChange",4,"ngIf"],["class","suggested-teams",4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",3,"click"],["mat-dialog-content",""],["target","_blank",3,"click","href"],
["target","_blank",3,"href"],["aria-label","Quick team actions",3,"ngModelChange","ngModel"],["value","NONE"],["value","CHANGE"],[1,"suggested-teams"],[3,"valueChange","disabled","value","options","includeEmptyOption","optionTemplate"],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[4,"ngIf","ngIfElse"],[1,"suggested-team-option"]],template:function(a,b){a&1&&(G(0,"h1",2),S(1),I(),E(2,T2a,5,1,"div",3)(3,
U2a,5,1,"div",3)(4,V2a,7,1,"mat-radio-group",4)(5,Z2a,6,6,"div",5),G(6,"mat-dialog-actions")(7,"button",6),S(8," Cancel "),I(),G(9,"button",7),N("click",function(){return b.confirm()}),S(10," Confirm "),I()());a&2&&(A(),rg(b.header),A(),F("ngIf",b.warningType===b.WarningType.MISSING),A(),F("ngIf",b.warningType===b.WarningType.DELETED),A(),F("ngIf",b.warningType===b.WarningType.MISSING),A(),F("ngIf",0<b.teamOptions.length))},dependencies:[zw,nB,cx,jx,CA,DA,RA,SA,TA,UA,$V,aW,nE,OC,wO],styles:["mat-radio-button[_ngcontent-%COMP%]{margin-top:10px}.suggested-teams[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center}[_nghost-%COMP%]     onedev-single-select button{margin-top:5px;border-color:#bdc1c6}  span.suggested-team-option{display:inline-block;width:490px}"]});
var MCc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var GZ=function(a,b){Z.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new Uv};Y(GZ,Z);GZ.\u0275dir=Z.\u0275dir;GZ.prototype.ngOnInit=function(){};GZ.prototype.ngOnChanges=function(){"MISSING"===this.warningType?(this.warningMessage="Team mapping is missing",this.buttonName="Add"):"DELETED"===this.warningType&&(this.warningMessage="This team no longer exists",this.buttonName="Change")};
GZ.prototype.openDialog=function(){var a=this;Wo(this.analytics,sq.TEAM_WARNING,"open");this.matDialogService.open(FZ,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}}).afterClosed().pipe(xf(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};GZ.\u0275fac=function(a){return new (a||GZ)(C(QA),C(ZI))};
GZ.\u0275cmp=r({type:GZ,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[Ff,xd],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(G(0,"b-callout",0)(1,"b-callout-body"),S(2),I(),E(3,$2a,3,1,"b-callout-actions",1),I());
a&2&&(A(2),T(" ",b.warningMessage," "),A(),F("ngIf",!b.messageOnly))},dependencies:[LK,BE,CE,zw],encapsulation:2});var OCc=new rd("DevopsGraphLogger",{providedIn:"root",factory:function(){return Ek}}),PCc=new rd("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return me(function(b){switch(b.nextAddress){case 1:return ne(b,2),oe(b,c3a(),4);case 4:a=b.yieldResult;au(b,3);break;case 2:return re(b),b.return();case 3:return ne(b,5),oe(b,a.loadGraph(),7);case 7:au(b,6);break;case 5:return re(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var HZ=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new X.Subject;this.close$=new X.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var f=e.getContainer();null!=f&&(f.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var f=e.getContainer();null!=f&&(f.classList.add("open"),e.open$.next())};this.init()};
HZ.prototype.init=function(){var a=this,b,c,d,e,f;return me(function(h){if(1==h.nextAddress)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():oe(h,a.graphBuilder,2);c=h.yieldResult;d=d3a(a.session.getEnvironmentType());if(e=c.createService({environment:d}))f=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;
null==(q=a.graphController)||q.setTheme(l?"dark":"light")});se(h)})};var QCc=function(a,b){var c;return me(function(d){switch(d.nextAddress){case 1:return ne(d,2),oe(d,a.init(),4);case 4:return null==a.graphService?d.return(new Set):oe(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:au(d,0);break;case 2:return c=re(d),a.logger(c),d.return(new Set)}})};
HZ.prototype.openSidebar=function(a,b){var c=this,d;return me(function(e){switch(e.nextAddress){case 1:return oe(e,c.init(),2);case 2:if(!c.graphController)return e.return();ne(e,3);return oe(e,c.graphController.openIssueContext(Number(a),b),5);case 5:au(e,0);break;case 3:d=re(e),c.logger(d),se(e)}})};
HZ.prototype.close=function(){var a=this,b;return me(function(c){switch(c.nextAddress){case 1:return oe(c,a.init(),2);case 2:if(!a.graphController)return c.return();ne(c,3);return oe(c,a.graphController.close(),5);case 5:au(c,0);break;case 3:b=re(c),a.logger(b),se(c)}})};HZ.\u0275fac=function(a){return new (a||HZ)(p(Zr),p(wN),p(OCc),p(PCc))};HZ.\u0275prov=Pc({token:HZ,factory:HZ.\u0275fac,providedIn:"root"});var IZ=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=f;this.activeSession=h;this.contextSensitiveRegistry=l;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(z(function(t){return t||void 0}));this.contexts$=this.id$.pipe(wf(function(t){return me(function(w){return null!=q.devopsGraph.getContainer()&&t?w.return(QCc(q.devopsGraph,t).then(function(B){return{issueId:t,availablePanels:B}})):w.return(void 0)})}),
tf({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(z(function(t){return t?t.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(z(function(t){return!!t&&0<t.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(z(function(t){return!!t&&0<t.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()&&t.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(t){if(t){t=t.availablePanels;q.track("ingress-view-"+(0<t.size?"enabled":"disabled"));t.has("deployments")&&q.track("ingress-view-deployments-enabled");var w=q.paramsService.params.showInsights;w&&("default"===w?0<t.size?q.openSidebar():q.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):t.has(w)?q.openSidebar(w):q.butterBar.showWarning("Could not open "+
w+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else q.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){RCc(q,null)}))};Y(IZ,Z);IZ.\u0275dir=Z.\u0275dir;IZ.prototype.onClickButton=function(a){Wo(this.analytics,sq.SIDEBAR,"ingress-click");this.openSidebar(a)};
IZ.prototype.openSidebar=function(a){var b=this,c,d,e,f;return me(function(h){c=Gk(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;RCc(b,null!=(f=a)?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};IZ.prototype.track=function(a){Wo(this.analytics,"sidebar",a)};var RCc=function(a,b){null==a.router.navigationTransitions.currentNavigation&&a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
IZ.\u0275fac=function(a){return new (a||IZ)(p(HZ),p(tK),p(ZI),p(pI),p(mF),p(lk),p(Zr),p(TK))};IZ.\u0275prov=Pc({token:IZ,factory:IZ.\u0275fac,providedIn:"root"});var j3a=function(){return[]},g3a=function(a){return[a]},$3a=function(a){return{$implicit:a}},JZ=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H){var O=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=f;this.refreshMonitor=h;this.userPreferencesManager=l;this.documentationLinks=q;this.workspaceService=t;this.changelistApi=w;this.issueMarkAsDuplicateDialogService=B;this.analytics=D;this.issueInsightsSidebarService=J;this.issueLimits=
H;this.issueId$=new X.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(lf());this.issue$=this.distinctIssueId$.pipe(wf(function(P){return O.editIssueService.editableIssue$(P)}));this.enablePeoplekitAc=hE(this.activeSession,"enablePeoplekitUserAc");this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.showSloStatus=this.sessionIsInternal;this.showChangelists=!this.sessionIsExternal;this.defaultAssigneeQuickActionEnabled=
this.sessionIsInternal;this.HOTKEYS=br;this.trackCustomField=function(P,U){return"{"+U.componentId+", "+U.customFieldId+"}"};this.FieldType=Mpc;this.ListFieldType=Cqc;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.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(z(function(P){return!O.activeSession.isExternalSession()&&!P}));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(z(S2a));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(z(function(P){return O.editIssueService.issueFields(P)}),
tf({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(wf(function(P){return P.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(wf(function(P){return P.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(wf(function(P){return P.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(wf(function(P){return P.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(wf(function(P){return P.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(wf(function(P){return P.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(wf(function(P){return P.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(wf(function(P){return P.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(z(function(P){return O.editIssueService.issueQuickActions(P)}),tf({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(wf(function(P){return P.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(wf(function(P){return P.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(z(function(P){return null==P?void 0:P.trackerId}));this.priorityChoices=this.constants.priorities.map(function(P){return{value:P,displayText:P,hotkey:a3a(P)}});this.severityChoices=this.constants.severities.map(function(P){return{value:P,displayText:P}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,X.combineLatest)([this.issueDetailsBrain.componentId$,
this.teamId$]).pipe(z(function(P){var U=k(P);P=U.next().value;U=U.next().value;return{teamId:U?String(U):"0",componentId:P?String(P):"0"}}));this.isTeamWarningDismissed$=(0,X.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(z(function(P){P=k(P);var U=P.next().value,aa,pa;return null==(aa=P.next().value.teamWarningPreferences)?void 0:null==(pa=aa.componentTeamWarnings)?void 0:pa.some(function(ka){return ka.componentId===U.componentId})}));this.shouldDisplayTeamSuggestions$=
(0,X.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(z(function(P){var U=k(P);P=U.next().value;var aa=U.next().value;U=U.next().value;return P&&!aa&&("MISSING"===U||"DELETED"===U)}));this.statusChoices$=this.canonicalIssueId$.pipe(z(function(P){return[].concat(u(w8b.filter(function(U){return"DUPLICATE"!==U.value})),[{value:"DUPLICATE",displayText:P?"Duplicate of "+P:"Duplicate"}])}),z(function(P){return P.map(function(U){return Object.assign({},
U,{hotkey:b3a(U.value)})})}));this.workspaces$=this.distinctIssueId$.pipe(wf(function(P){return dzc(O.workspaceService,P)}),tf({refCount:!0,bufferSize:1}));this.pendingChangelists$=J$b(this.refreshMonitor,this.distinctIssueId$).pipe(wf(function(P){return O.changelistApi.getPendingChangelistsForIssue(P)}),z(function(P){return P.changelistNumbers.map(String)}),z(function(P){return{cls:P,hasError:!1}}),gf(function(){return(0,X.of)({cls:[],hasError:!0})}),tf({refCount:!0,bufferSize:1}));this.pendingCodeChanges$=
(0,X.combineLatest)([this.issue$,this.pendingChangelists$]).pipe(z(function(P){var U=k(P);P=U.next().value;U=U.next().value;P=Zhc(P);return{changes:[].concat(u(U.cls),u(P)),hasError:U.hasError}}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new ML,{position:[Ybc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new ML,{position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.issueIsOnInternalComponent$=this.component$.pipe(z(function(P){var U;return"INTERNAL"===
(null==P?void 0:null==(U=P.accessLimit)?void 0:U.accessLevel)}));this.reconcileView={assignee:function(P){var U,aa;P.value=null!=(aa=null==(U=Gk(O.issue$))?void 0:U.assignee)?aa:""},reporter:function(P){var U,aa;P.value=null!=(aa=null==(U=Gk(O.issue$))?void 0:U.reporter)?aa:""},verifier:function(P){var U,aa;P.value=null!=(aa=null==(U=Gk(O.issue$))?void 0:U.verifier)?aa:""},ccs:function(P){var U,aa;P.values=null!=(aa=null==(U=Gk(O.issue$))?void 0:U.cc)?aa:[]},collaborators:function(P){var U,aa;P.collaborators=
null!=(aa=null==(U=Gk(O.issue$))?void 0:U.collaborators)?aa:[]},issueType:function(P){var U,aa;P.value=null!=(aa=null==(U=Gk(O.issue$))?void 0:U.type)?aa:null}}};JZ.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var T3a=function(a){var b=a.issuePermissionService.isCurrentUserCCd();Wo(a.analytics,sq.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!DQ(a.issuePermissionService,e)}):[].concat(u(c.cc),[a.activeSession.getUserEmail()]);return Vic(a.editIssueService,a.issueId,d)},P3a=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();Wo(a.analytics,sq.EDIT_ISSUE,"toggleCollaborators (appbar)",(!b).toString());
var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!DQ(a.issuePermissionService,e)}):[].concat(u(c.collaborators),[a.activeSession.getUserEmail()]);return Wic(a.editIssueService,a.issueId,d)};JZ.prototype.getTrackerId=function(){return Gk(this.trackerId$)};
JZ.prototype.toggleAccessLimits=function(){var a=this;return me(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(Gk(a.issueDetailsBrain.componentId$)),issueId:a.issueId});se(b)})};JZ.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var C3a=function(a,b,c){return E3a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},m3a=function(a,b,c){return me(function(d){return d.return(o3a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)}))})},J3a=function(a,b,c){return me(function(d){return d.return(L3a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)}))})},Q4a=function(a,b,c){return me(function(d){return d.return(Vic(a.editIssueService,a.issueId,
c).finally(function(){a.reconcileView.ccs(b)}))})},P4a=function(a,b,c){return me(function(d){return d.return(Wic(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.collaborators(b)}))})},M4a=function(a,b,c,d){return me(function(e){return e.return(Pic(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},cr=function(a,b){Wo(a.analytics,sq.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return Tic(a.editIssueService,a.issueId,b)},O4a=
function(a,b){var c;return me(function(d){a:switch(b){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "DUPLICATE":var e=b;break a;default:e=null}return(c=e)?"DUPLICATE"===c?d.return(ZBc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(Sic(a.editIssueService,a.issueId,c)):d.return()})};
JZ.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(z(function(c){return b.editIssueService.savingState(c)}),wf(function(c){return uq(c.propertiesBeingSaved,Ko(String(a)))}))};JZ.prototype.getAccessLimitLevelDisplay=function(a){return Aq(a)};JZ.\u0275fac=function(a){return new (a||JZ)(C(Zr),C(JQ),C(iJ),C(EQ),C(CQ),C(kE),C(gJ),C(zF),C(TM),C(pY),C(OH),C(mZ),C(ZI),C(IZ),C(pZ))};
JZ.\u0275cmp=r({type:JZ,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[xd],decls:2,vars:3,consts:[["peoplekitReporter",""],["typeField",""],["priorityField",""],["statusField",""],["canonicalHovercard","onedevHovercard"],["ialCard","onedevHovercard"],["peoplekitAssignee",""],["peoplekitVerifier",""],["collaboratorsField",""],["collaboratorsCard","onedevHovercard"],["ccsField",""],["ccCard","onedevHovercard"],["sloField",""],["severityField",""],["changelistsFields",""],["foundInField",
""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],["reporterField",""],["canonicalCardBody",""],["implicitAccessHelpBubble",""],["assigneeField",""],["userPicker","bUserPicker"],["verifierField",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[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"],[1,"status-field-row"],[3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey","readonly","disabled","onedevHovercardActive","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled","effortChange",4,"ngIf"],[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,"gmat-button","primary","bv2-metadata-link","keep-focus-ring",3,"href"],[1,"flex-kids-y"],
["class","implicit-access-header flex-kids-x flex-cross-axis-centered flex-spread full-width",4,"ngIf"],[1,"flex-1"],[3,"toggleAccessLimits","valuesChange","readonly","collaborators","collaboratorsUsers","listFieldDisabled","teamId","isCollapsible","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["mat-button",
"","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"gmat-button","primary"],["title","CC","iconName","add_alert_24px",1,"full-width",3,"valuesChange","defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","collapsiblePanelTitle","teamId"],[3,"readonly","defaultLineCount","title","type","values","tooltip",4,"ngIf"],
[4,"ngFor","ngForOf","ngForTrackBy"],["class","hidden-fields-separator",4,"ngIf"],[3,"titleWhenCollapsed","titleWhenExpanded",4,"ngIf"],[4,"ngTemplateOutlet"],["class","issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge",4,"ngIf"],[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge"],["class","issue-metadata-field-short",4,"ngIf"],[1,"issue-metadata-field-short"],[3,"updateTeam",
"warningType","componentId","parentComponentId","teamSuggestions"],[3,"valueChange","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[3,"thinking"],[3,"emailChange","user","teamId","disabled"],["class","bv2-metadata-quick-action",4,"ngIf"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[3,"onedevIsHovercardReady","issueId"],[3,
"effortChange","effort","effortSpec","disabled"],[1,"implicit-access-header","flex-kids-x","flex-cross-axis-centered","flex-spread","full-width"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank",3,"href"],[3,"onHotkey","valueChange","hotkey","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],["class","bv2-metadata-quick-action","tabindex","0","role","button",3,"hotkey","matTooltip","onHotkey",
"click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],["class","bv2-metadata-link",3,"disabled",4,"ngIf"],[1,"bv2-metadata-link"],[3,"onHotkey","emailChange","hotkey","user","teamId","disabled"],["actions",""],["class","bv2-metadata-link","tabindex","0","role","button",3,"click",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click"],["class","bv2-metadata-link",
"tabindex","0","role","button",3,"hotkey","matTooltip","disabled","onHotkey","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],[1,"flex-1",3,"valueChange","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,
"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"onSloStartTimeChange","onSloEndTimeChange","sloStatus","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","showInternalOnlyFieldBadge"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly","disabled"],[3,"valuesChange","readonly","defaultLineCount","title","type","values","listFieldDisabled"],
[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],[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&&(E(0,R4a,137,162,"ng-container",27),V(1,
"async"));a&2&&F("ngIf",W(1,1,b.issue$))},dependencies:[rT,Dw,zw,Hw,nB,CT,dT,wZ,rZ,sZ,tZ,JF,JL,KL,OL,LL,fzc,NV,EZ,AT,rY,nE,OC,HN,GZ,DZ,UM,aM,cL,Iw],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 SCc=["descriptionArea"],TCc=["container"],KZ=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H){Z.call(this);var O=this;this.cdr=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.editStatusUpdateDialogService=d;this.statusUpdateService=e;this.issueCommentDialogsService=f;this.contextSensitiveRegistry=h;this.issuePermissionService=l;this.clipboard=q;this.snackBar=t;this.prompts=w;this.llmService=B;this.activeSession=D;this.analytics=J;this.userFeedback=H;this.closeSidebar=new Uv;this.navigateToNextIssue=
new Uv;this.navigateToPreviousIssue=new Uv;this.issueId$=new X.ReplaySubject(1);this.issue$=this.issueId$.pipe(xf(this.destroyed$),wf(this.issueFridge.watch),tf({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(z(function(P){return null==P?void 0:P.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(z(function(P){var U;return null==P?void 0:null==(U=P.accessLimit)?void 0:U.accessLevel}));this.events$=this.issueId$.pipe(xf(this.destroyed$),wf(this.eventsForIssueFridge.watch),
z(function(P){return(null==P?void 0:P.events)||[]}));this.firstEvent$=this.events$.pipe(z(function(P){return 0<P.length?P[0]:void 0}));this.statusUpdate$=this.issue$.pipe(z(function(P){return null==P?void 0:P.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(Ce(Ei),z(function(P){return{unlinkifiedComment:P.updateText,formattedComment:P.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(z(function(P){return!!P&&
""!==P.updateText}));this.firstNote$=this.events$.pipe(xf(this.destroyed$),z(function(P){if(P&&0<P.length&&P[0].commentNumber&&-1<P[0].commentNumber)return{commentNumber:P[0].commentNumber,unlinkifiedComment:P[0].unlinkifiedComment||"",formattedComment:P[0].formattedComment}}),tf({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(wf(function(P){return P?O.issuePermissionService.canEditComment$(P):(0,X.of)(!1)}));this.hasDescription$=this.events$.pipe(xf(this.destroyed$),
z(function(P){return P&&0<P.length&&""!==P[0].unlinkifiedComment}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=SD;this.descriptionHasMore=!0;this.showFullDescription=!1;this.enableLlmSummarization=hE(this.activeSession,"enableLlmSummarization")&&this.activeSession.isInternalSession();this.summaryThumbsDown=this.summaryThumbsUp=this.hasRatedSummary=this.hasIssueSummary=this.isLoadingIssueSummary=
this.isIssueSummaryExpanded=!1;this.isSummarizable$=this.issueId$.pipe(wf(function(P){return Myc(O.prompts,P)}));this.issueSummaryRequested$=new X.ReplaySubject(1);this.issueSummary$=this.issueSummaryRequested$.pipe(zf(this.issueId$),wf(function(P){P=k(P);P.next();P=P.next().value;return Nyc(O.llmService,P,1)}),yf(function(){O.hasIssueSummary=!0;O.isLoadingIssueSummary=!1}),tf({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){dr(O)});this.issueId$.pipe(xf(this.destroyed$)).subscribe(function(){dr(O);
O.hasIssueSummary=!1;O.isIssueSummaryExpanded=!1;O.hasRatedSummary=!1;O.summaryThumbsUp=!1;O.summaryThumbsDown=!1;O.showFullDescription=!1});this.firstNote$.pipe(xf(this.destroyed$)).subscribe(function(){UCc(O)})};Y(KZ,Z);KZ.\u0275dir=Z.\u0275dir;KZ.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(xf(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};
var UCc=function(a){setTimeout(function(){var b;a.descriptionHasMore=130<(null==(b=a.descriptionArea)?void 0:b.nativeElement.scrollHeight);a.cdr.detectChanges()})};g=KZ.prototype;g.copyIssueId=function(a){this.clipboard.copy(a);this.snackBar.open("IssueId copied","",{duration:2E3});Wo(this.analytics,sq.ISSUE_SIDEBAR,"copyIssueId")};g.trackThumbsUp=function(){this.summaryThumbsUp=this.hasRatedSummary=!0;Wo(this.analytics,sq.LLM_SUMMARIZE,"accept",a5a(this))};
g.trackThumbsDown=function(){this.summaryThumbsDown=this.hasRatedSummary=!0;Wo(this.analytics,sq.LLM_SUMMARIZE,"reject",a5a(this))};g.copySummary=function(){var a=Gk(this.issueSummary$);a&&""!==a.summary&&(this.clipboard.copy(a.summary),this.snackBar.open("Issue summary copied to clipboard","",{duration:2E3}),Wo(this.analytics,sq.LLM_SUMMARIZE,"copy",a5a(this)))};g.openFeedbackDialog=function(){this.userFeedback.startFeedback()};
var a5a=function(a){return JSON.stringify({id:a.issueId,stage:"long",fromIssueSidebar:!0})};
KZ.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,l,q;return me(function(t){switch(t.nextAddress){case 1:return oe(t,(0,X.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,oe(t,(0,X.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=null!=(e=Gk(a.statusUpdate$))?e:d,oe(t,(0,X.firstValueFrom)(a.accessLevel$),4);case 4:return l=(h=t.yieldResult)&&"INTERNAL"===h?"INTERNAL":"EXTERNAL",oe(t,a.editStatusUpdateDialogService.show(f,
l,c),5);case 5:q=t.yieldResult;if(!q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){Wo(a.analytics,sq.ISSUE_SIDEBAR,"edit","statusUpdate",0===w.updateText.length);CH(a.issueFridge,b,function(B){B.statusUpdate=w});a.issueFridge.poke(b)});se(t)}})};
var w5a=function(a){var b,c,d;return me(function(e){switch(e.nextAddress){case 1:return oe(e,(0,X.firstValueFrom)(a.issueId$),2);case 2:return b=e.yieldResult,(c=Gk(a.firstEvent$))?oe(e,Jr(a.issueCommentDialogsService,b,c),3):e.return();case 3:return oe(e,a.eventsForIssueFridge.poke(b),4);case 4:Wo(a.analytics,sq.ISSUE_SIDEBAR,"edit","description",0===(null==(d=c.unlinkifiedComment)?void 0:d.length)),se(e)}})},U4a=function(a){var b;return me(function(c){if(1==c.nextAddress)return oe(c,(0,X.firstValueFrom)(a.issue$),
2);b=c.yieldResult;if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;se(c)})},dr=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};
KZ.prototype.saveTitle=function(){var a=this,b;return me(function(c){if(1==c.nextAddress)return oe(c,(0,X.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return dr(a),c.return();a.isSavingTitle=!0;M$b(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){Wo(a.analytics,sq.ISSUE_SIDEBAR,"edit","title");a.isSavingTitle=!1;dr(a)});se(c)})};KZ.prototype.upvoted=function(a){Wo(this.analytics,sq.ISSUE_SIDEBAR,"toggle","vote",a)};
Ac.Object.defineProperties(KZ.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a)),Wo(this.analytics,sq.ISSUE_SIDEBAR,"changeIssue")):this.contextSensitiveRegistry.issueIdOverride$.next(null)}},content:{configurable:!0,enumerable:!0,set:function(a){a&&(this.descriptionArea=a,UCc(this))}}});
KZ.\u0275fac=function(a){return new (a||KZ)(C(ME,2),C(iJ),C(BI),C(kY),C(eY),C(lZ),C(TK),C(EQ),C(mR),C(lI),C(oY),C(nY),C(Zr),C(ZI),C(yN))};
KZ.\u0275cmp=r({type:KZ,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(lg(SCc,5),lg(TCc,5));if(a&2){var c;pg(c=qg())&&(b.content=c.first);pg(c=qg())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[wg([ME]),Ff],decls:23,vars:15,consts:[["container",""],["spinner",""],["aiHelp",""],["plainTextSummary",""],["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"],[4,"ngIf"],[3,"issueId","upvoted","voteCount","onVote",4,"ngIf"],["mat-icon-button","","matTooltip","Previous issue","matTooltipPosition","above","aria-label","Previous issue",3,"click"],["svgIcon","chevron-left"],["mat-icon-button","","matTooltip","Next issue","matTooltipPosition","above","aria-label","Next issue",3,"click"],["svgIcon","chevron-right"],["mat-icon-button",
"","matTooltip","Close sidebar","matTooltipPosition","above","aria-label","Close sidebar",3,"click"],["svgIcon","close"],["class","title",4,"ngIf"],[1,"details","flex-kids-y","padded-s-sides"],[4,"ngIf","ngIfElse"],[1,"heading-xs","muted","hover-link",3,"click","href"],[1,"a11y-only"],["mat-icon-button","","aria-label","copy issue id",1,"gmat-button","small","fade-icon-button","copy-issue-id",3,"click"],["svgIcon","copy",1,"icon-xs"],[3,"onVote","issueId","upvoted","voteCount"],[1,"title"],[1,"flex"],
["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"fade-icon-button","gmat-button","small",3,"click","matTooltipShowDelay"],["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"],["mat-stroked-button","","class","gmat-button small",3,"click",
4,"ngIf"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"click","disabled"],["mat-stroked-button","",1,"gmat-button","small",3,"click"],[1,"card-container"],[1,"card","status-update"],[1,"card-header"],[1,"card-header-inner-left"],["svgIcon","group","color","primary",1,"icon-s"],[1,"card-header-inner-right"],["mat-icon-button","","class","gmat-button small edit-button","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",3,"matTooltipShowDelay",
"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small expand-button","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],[1,"bv2-issue-metadata","card"],["svgIcon","release-notes-default","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Toggle the fields view for this issue","matTooltip","Toggle the fields view for this issue","matTooltipPosition",
"above",1,"gmat-button","small",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],["class","fields-area margin-top flex-kids-y",4,"ngIf"],[1,"card","no-border","issue-summary"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Show AI generated summary note","dialogLabel","AI generated summary note",1,"gmat-button","small",3,"xapInlineDialog","dialogTabIndex"],["svgIcon",
"help-outline",1,"icon-s"],["mat-flat-button","","class","gmat-button small generate-summary",3,"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["class","issue-summary-area",4,"ngIf"],["mat-flat-button","",1,"gmat-button","small","generate-summary",3,"click"],["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,"gmat-button","small",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"issue-summary-area"],[3,"ngTemplateOutlet",4,"ngIf"],["class","flex-kids-x justify-flex-end gap-s margin-s-top",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"content",4,"ngIf","ngIfElse"],[3,"content"],[1,"flex-kids-x","justify-flex-end","gap-s",
"margin-s-top"],["mat-icon-button","","aria-label","copy summary","matTooltip","Copy issue summary to clipboard",1,"gmat-button","small","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["mat-icon-button","","aria-label","send feedback","matTooltip","Send feedback",1,"gmat-button","small","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["mat-icon-button","","aria-label","rate thumbs up","matTooltip","Rate summary: Good",1,"gmat-button","small","summary-thumbs-up",
3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["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"],["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"gmat-button","small","edit-button",3,"click","matTooltipShowDelay"],["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,"gmat-button","small","expand-button",3,"click","matTooltipShowDelay"],["class","status-update-area",4,"ngIf"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],[1,"card","description"],["mat-icon-button","","class","gmat-button small edit-button","aria-label","Edit the description","matTooltip","Edit the description",
"matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","class","gmat-button small expand-button","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"gmat-button","small","edit-button",3,"click","matTooltipShowDelay"],
["mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"gmat-button","small","expand-button",3,"click","matTooltipShowDelay"],[1,"description-area"],[1,"description-note"],["class","description-show-more margin-s-top",4,"ngIf"],[1,"description-show-more","margin-s-top"],[3,"click"],[1,"fields-area","margin-top","flex-kids-y"],[3,"issueId"],[1,"text-center"]],template:function(a,b){if(a&
1){var c=v();G(0,"div",5,0);N("scroll",function(){x(c);b.containerScrolled=0===b.container.nativeElement.scrollTop?!1:!0;return y()});G(2,"header")(3,"div",6)(4,"div",7);E(5,S4a,7,3,"ng-container",8);V(6,"async");I();G(7,"div");E(8,T4a,1,3,"b-app-vote-button",9);V(9,"async");G(10,"button",10);N("click",function(){x(c);return y(b.navigateToPreviousIssue.emit())});K(11,"mat-icon",11);I();G(12,"button",12);N("click",function(){x(c);return y(b.navigateToNextIssue.emit())});K(13,"mat-icon",13);I();G(14,
"button",14);N("click",function(){x(c);return y(b.closeSidebar.emit())});K(15,"mat-icon",15);I()()();E(16,Z4a,4,2,"div",16);V(17,"async");I();G(18,"div",17);E(19,J5a,32,26,"ng-container",18);V(20,"async");I()();E(21,K5a,2,0,"ng-template",null,1,Eg)}a&2&&(a=R(22),A(2),Qf("elevated",b.containerScrolled),A(3),F("ngIf",W(6,7,b.issueId$)),A(3),F("ngIf",W(9,9,b.issue$)),A(8),F("ngIf",W(17,11,b.issue$)),A(3),F("ngIf",W(20,13,b.issue$))("ngIfElse",a))},dependencies:[CA,nE,OC,bh,cx,jx,HO,dB,JO,jB,gB,WL,VL,
BM,zw,Hw,nB,GL,JZ,FU,QU,cY,MV,Iw],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)}.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}.issue-summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-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:-webkit-fill-available;width:-moz-fill-available;width:-moz-available;width:fill-available}.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}\n/*# sourceMappingURL=issue_sidebar.css.map */"]});var VCc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],LZ=function(){this.compactMode=this.labelOnlyMode=!1};LZ.prototype.ngOnInit=function(){};LZ.\u0275fac=function(a){return new (a||LZ)};
LZ.\u0275cmp=r({type:LZ,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:6,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",3,"ngClass"]],template:function(a,
b){a&1&&(cg(VCc),G(0,"span",1)(1,"onedev-hovercard",null,0)(3,"div",2)(4,"div",3),dg(5),I()()(),G(6,"div",4)(7,"span",5),dg(8,1),I()()());if(a&2){var c;a=R(2);A(3);Hf("aria-label",b.hovercardAriaLabel);A(3);F("onedevHovercardTrigger",a)("onedevHovercardActive",!b.labelOnlyMode);A();Qf("compact-chip",b.compactMode);F("ngClass",null!==(c=b.labelClass)&&void 0!==c?c:"")}},dependencies:[Cw,JL,OL],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 MZ=function(a){this.documentationLinks=a;this.documentationLink=Vr()};MZ.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Kn(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};MZ.\u0275fac=function(a){return new (a||MZ)(C(TM))};
MZ.\u0275cmp=r({type:MZ,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[xd],decls:1,vars:1,consts:[["indefinite",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&E(0,N5a,6,3,"ng-container",1);a&2&&F("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[zw,iO],encapsulation:2});var NZ=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};NZ.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?this.text=fgb(Kn(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};NZ.\u0275fac=function(a){return new (a||NZ)(C(gO))};
NZ.\u0275cmp=r({type:NZ,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[xd],decls:1,vars:1,template:function(a,b){a&1&&S(0);a&2&&rg(b.text)},encapsulation:2});var OZ=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};OZ.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=P5a(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};OZ.\u0275fac=function(a){return new (a||OZ)(C(TM))};
OZ.\u0275cmp=r({type:OZ,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[xd],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode",4,"ngIf"],["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState",
"compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&E(0,O5a,5,7,"b-base-chip",0);a&2&&F("ngIf",b.showRetentionInfo)},dependencies:[zw,LZ,NZ,MZ],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 WCc=Bh("transform",[Fh("open, open-instant",Eh({transform:"none",visibility:"visible"})),Fh("void",Eh({"box-shadow":"none",visibility:"hidden"})),Hh("void => open-instant",Ch("0ms")),Hh("void <=> open, open-instant => void",Ch("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var XCc=["*"],YCc=["content"],ZCc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],$Cc=new rd("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:S5a}),aDc=new rd("MAT_DRAWER_CONTAINER"),PZ=function(a,b,c,d,e){Ey.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};Y(PZ,Ey);PZ.\u0275dir=Ey.\u0275dir;PZ.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
PZ.\u0275fac=function(a){return new (a||PZ)(C(Pg),C(Yc(function(){return QZ})),C(Wd),C(Dy),C(He))};
PZ.\u0275cmp=r({type:PZ,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&Pf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[wg([{provide:Ey,useExisting:PZ}]),Ff,yg],ngContentSelectors:XCc,decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},encapsulation:2,changeDetection:0});
var RZ=function(a,b,c,d,e,f,h,l){var q=this;this._elementRef=a;this._focusTrapFactory=b;this._focusMonitor=c;this._platform=d;this._ngZone=e;this._interactivityChecker=f;this._doc=h;this._container=l;this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new X.Subject;this._animationEnd=new X.Subject;this._animationState="void";this.openedChange=new Uv(!0);this._openedStream=
this.openedChange.pipe(Ce(function(t){return t}),z(function(){}));this.openedStart=this._animationStarted.pipe(Ce(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),qf());this._closedStream=this.openedChange.pipe(Ce(function(t){return!t}),z(function(){}));this.closedStart=this._animationStarted.pipe(Ce(function(t){return t.fromState!==t.toState&&"void"===t.toState}),qf());this._destroyed=new X.Subject;this.onPositionChanged=new Uv;this._modeChanged=new X.Subject;this._injector=
bd(Ie);this.openedChange.pipe(xf(this._destroyed)).subscribe(function(t){t?(q._doc&&(q._elementFocusedBeforeDrawerWasOpened=q._doc.activeElement),q._takeFocus()):q._isFocusWithinDrawer()&&q._restoreFocus(q._openedVia||"program")});this._ngZone.runOutsideAngular(function(){(0,X.fromEvent)(q._elementRef.nativeElement,"keydown").pipe(Ce(function(t){return 27===t.keyCode&&!q.disableClose&&!jh(t)}),xf(q._destroyed)).subscribe(function(t){return q._ngZone.run(function(){q.close();t.stopPropagation();t.preventDefault()})})});
this._animationEnd.pipe(lf(function(t,w){return t.fromState===w.fromState&&t.toState===w.toState})).subscribe(function(t){var w=t.fromState;t=t.toState;(0===t.indexOf("open")&&"void"===w||"void"===t&&0===w.indexOf("open"))&&q.openedChange.emit(q._opened)})};g=RZ.prototype;
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._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":Ne(function(){a._focusTrap.focusInitialElement()||"function"!==typeof b.focus||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){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?Kx(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;"end"===this._position&&this._updatePositionInParent("end");this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())};g.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)};
g.ngOnDestroy=function(){var a;null==(a=this._focusTrap)||a.destroy();var b;null==(b=this._anchor)||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=void 0===a?!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;(this._opened=a)?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",b&&this._restoreFocus(c));this._updateFocusTrapState();return new Promise(function(e){d.openedChange.pipe(mf()).subscribe(function(f){return e(f?"open":"close")})})};
g._getWidth=function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0};g._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!(null==(a=this._container)||!a.hasBackdrop)}};
g._updatePositionInParent=function(a){if(this._platform.isBrowser){var b=this._elementRef.nativeElement,c=b.parentNode;"end"===a?(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)}};
Ac.Object.defineProperties(RZ.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){a="end"===a?"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=lh(a)}},autoFocus:{configurable:!0,enumerable:!0,get:function(){var a=this._autoFocus;return null==a?"side"===this.mode?"dialog":"first-tabbable":a},set:function(a){if("true"===a||"false"===a||null==a)a=lh(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(lh(a))}}});RZ.\u0275fac=function(a){return new (a||RZ)(C(Wd),C(Fx),C(Jx),C(Ax),C(He),C(Bx),C(qh,8),C(aDc,8))};
RZ.\u0275cmp=r({type:RZ,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&lg(YCc,5);if(a&2){var c;pg(c=qg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&bg("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&($f("@transform",b._animationState),Hf("align",null),Qf("mat-drawer-end","end"===b.position)("mat-drawer-over","over"===b.mode)("mat-drawer-push",
"push"===b.mode)("mat-drawer-side","side"===b.mode)("mat-drawer-opened",b.opened))},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"],standalone:!0,features:[yg],ngContentSelectors:XCc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],
template:function(a){a&1&&(cg(),G(0,"div",1,0),dg(2),I())},dependencies:[Ey],encapsulation:2,data:{animation:[WCc]},changeDetection:0});
var QZ=function(a,b,c,d,e,f,h){var l=this;f=void 0===f?!1:f;this._dir=a;this._element=b;this._ngZone=c;this._changeDetectorRef=d;this._animationMode=h;this._drawers=new kg;this.backdropClick=new Uv;this._destroyed=new X.Subject;this._doCheckSubject=new X.Subject;this._contentMargins={left:null,right:null};this._contentMarginChanges=new X.Subject;this._injector=bd(Ie);a&&a.change.pipe(xf(this._destroyed)).subscribe(function(){l._validateDrawers();SZ(l)});e.change().pipe(xf(this._destroyed)).subscribe(function(){return SZ(l)});
this._autosize=f};
QZ.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(vf(this._allDrawers),xf(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));og(a._drawers)});this._drawers.changes.pipe(vf(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))&&SZ(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(jf(10),xf(a._destroyed)).subscribe(function(){return SZ(a)})})};QZ.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};QZ.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};QZ.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var SZ=function(a){var b=0,c=0;if(a._left&&a._left.opened)if("side"==a._left.mode)b+=a._left._getWidth();else if("push"==a._left.mode){var d=a._left._getWidth();b+=d;c-=d}a._right&&a._right.opened&&("side"==a._right.mode?c+=a._right._getWidth():"push"==a._right.mode&&(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=QZ.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(Ce(function(c){return c.fromState!==c.toState}),xf(this._drawers.changes)).subscribe(function(c){"open-instant"!==c.toState&&"NoopAnimations"!==b._animationMode&&b._element.nativeElement.classList.add("mat-drawer-transition");SZ(b);b._changeDetectorRef.markForCheck()});"side"!==a.mode&&a.openedChange.pipe(xf(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(xf(this._drawers.changes)).subscribe(function(){Ne(function(){b._validateDrawers()},{injector:b._injector,phase:3})})};g._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(xf((0,X.merge)(this._drawers.changes,this._destroyed))).subscribe(function(){SZ(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){"end"==b.position?a._end=b:a._start=b});this._right=this._left=null;this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)};g._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode};
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 null!=a&&a.opened};g._drawerHasBackdrop=function(a){return null==this._backdropOverride?!!a&&"side"!==a.mode:this._backdropOverride};
Ac.Object.defineProperties(QZ.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=lh(a)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)},set:function(a){this._backdropOverride=null==a?null:lh(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});QZ.\u0275fac=function(a){return new (a||QZ)(C(ty,8),C(Wd),C(He),C(Pg),C(Hy),C($Cc),C(sv,8))};
QZ.\u0275cmp=r({type:QZ,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(mg(c,PZ,5),mg(c,RZ,5));if(a&2){var d;pg(d=qg())&&(b._content=d.first);pg(d=qg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&lg(PZ,5);if(a&2){var c;pg(c=qg())&&(b._userContent=c.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],standalone:!0,features:[wg([{provide:aDc,useExisting:QZ}]),yg],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&&(cg(ZCc),E(0,Q5a,1,2,"div",0),dg(1),dg(2,1),E(3,R5a,2,0,"mat-drawer-content"));a&2&&(Uf(b.hasBackdrop?0:-1),A(3),Uf(b._content?-1:3))},dependencies:[PZ],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;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)}.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}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.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);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);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)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .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);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);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);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);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);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);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],
encapsulation:2,changeDetection:0});var bDc=["*"],cDc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],TZ=function(a,b,c,d,e){PZ.call(this,a,b,c,d,e)};Y(TZ,PZ);TZ.\u0275dir=PZ.\u0275dir;TZ.\u0275fac=function(a){return new (a||TZ)(C(Pg),C(Yc(function(){return UZ})),C(Wd),C(Dy),C(He))};
TZ.\u0275cmp=r({type:TZ,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&Pf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[wg([{provide:Ey,useExisting:TZ}]),Ff,yg],ngContentSelectors:bDc,decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},encapsulation:2,changeDetection:0});
var VZ=function(){RZ.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};Y(VZ,RZ);
Ac.Object.defineProperties(VZ.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=lh(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=oh(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=oh(a)}}});
VZ.\u0275fac=function(){var a;return function(b){return(a||(a=Td(VZ)))(b||VZ)}}();
VZ.\u0275cmp=r({type:VZ,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(Hf("align",null),Pf("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),Qf("mat-drawer-end","end"===b.position)("mat-drawer-over","over"===b.mode)("mat-drawer-push","push"===b.mode)("mat-drawer-side","side"===b.mode)("mat-drawer-opened",b.opened)("mat-sidenav-fixed",b.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",
fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[Ff,yg],ngContentSelectors:bDc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(cg(),G(0,"div",1,0),dg(2),I())},dependencies:[Ey],encapsulation:2,data:{animation:[WCc]},changeDetection:0});var UZ=function(){QZ.apply(this,arguments);this._content=this._allDrawers=void 0};Y(UZ,QZ);
UZ.\u0275fac=function(){var a;return function(b){return(a||(a=Td(UZ)))(b||UZ)}}();
UZ.\u0275cmp=r({type:UZ,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(mg(c,TZ,5),mg(c,VZ,5));if(a&2){var d;pg(d=qg())&&(b._content=d.first);pg(d=qg())&&(b._allDrawers=d)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&Qf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[wg([{provide:aDc,useExisting:UZ}]),Ff,yg],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&&(cg(cDc),E(0,T5a,1,2,"div",0),dg(1),dg(2,1),E(3,U5a,2,0,"mat-sidenav-content"));a&2&&(Uf(b.hasBackdrop?0:-1),A(3),Uf(b._content?-1:3))},dependencies:[TZ],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;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)}.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}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.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);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);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)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .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);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);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);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);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);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);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],
encapsulation:2,changeDetection:0});var WZ=function(){};WZ.\u0275fac=function(a){return new (a||WZ)};WZ.\u0275mod=hd({type:WZ});WZ.\u0275inj=Rc({imports:[Zy,Iy,Iy,Zy]});var dDc=["issueSidenavContainer"],O8a=function(){return[]},M6a=function(a,b,c){return{low:a,high:b,p0:c}},s7a=function(a){return{id:a}},Y7a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},XZ=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O){var P=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=f;this.hotlistFridge=h;this.issueFridge=l;this.bLocation=q;this.issuePagination=t;this.paths=w;this.errorHandler=
B;this.$log=D;this.domSafe=J;this.currentTracker=H;this.anayltics=O;this.ISSUE_STATUS_JS_ICON_NAME=r5b;this.STATUS_JS_FULL_TEXT=Tk;this.STATUS_JS_TERSE=m5b;this.lastCheckedIndex=null;this.focusedRowIndexChange=new Uv;this.columns=[];this.columnsChange=new Uv;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new Uv;this.rowClick=new Uv;this.init=new Uv;this.onRowDragDrop=new Uv;this.onNextPage=new Uv;this.onPrevPage=new Uv;this.selectionCallbacks=[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=
Aq;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=hE(this.activeSession,"enableAggregationRules");this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new X.ReplaySubject(1);this.starInProgress={};this.readUnreadOptOut=hE(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=hE(this.activeSession,"enableAddViewCountColumnsOnIlp");b=ya(M_a);a.isInternalSession()||(wa(b,"minSlo"),
wa(b,"responseSlo"),wa(b,"assignmentSlo"),wa(b,"closureSlo"),wa(b,"deletionTime"),wa(b,"team"),wa(b,"estimate"),wa(b,"estimateTotalOpen"),wa(b,"estimateTotalComplete"));this.enableAddViewCountColumnsOnIlp||(wa(b,"oneDayViewCount"),wa(b,"sevenDayViewCount"),wa(b,"thirtyDayViewCount"));this.availableColumns=b.map(N_a);this.dragDropLogic=new wyc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(U){return eDc(P,U)},onRowDragDrop:function(U){P.onRowDragDrop.emit(U)}})};
g=XZ.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(xf(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&hE(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Pra((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(u(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(u(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&fDc(this);if(a.searchResults){b=a.searchResults.currentValue;var d;a=new Set((null==(d=a.searchResults.previousValue)?void 0:d.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||
[]);d=new Set((null==b?void 0:b.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||[]);gsa(a,d)||er(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=k(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}er(this)};
var gDc=function(a){if(a.searchResults){for(var b=k(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}er(a)};XZ.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var f6a=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},hDc=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},e6a=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=k(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"};
XZ.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};
var jDc=function(a){if(iDc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),er(a))}},d6a=function(a){if(a.searchResults){for(var b=!hDc(a),c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();er(a)}},V5a=function(a){null!=a.focusedRowIndex&&a.searchResults&&a.focusedRowIndex<a.searchResults.issues.length-1?(a.focusedRowIndex++,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasNextPage()&&H9b(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},W5a=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&H9b(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
YZ=function(a,b){b=void 0===b?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(a.paths.editIssue(c.issueId)):a.bLocation.setUrl(a.paths.editIssue(c.issueId)))};XZ.prototype.getFocusedIssue=function(){return iDc(this)&&null!=this.focusedRowIndex&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var kDc=function(a,b){a.selectionCallbacks.push(b);b()},er=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},lDc=function(a){iDc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},mDc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=k(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();kJ(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=k(c),l=h.next();!l.done;l=h.next()){var q=void 0;l.value.lastViewedTime=null!=(q=f)?q:null}}).catch(function(){for(var f=k(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()})}};
XZ.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,K$b(this.issueFridge,String(a.issueId),a.starred).pipe(mf(),xf(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()}))};
XZ.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var iDc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},eDc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},fDc=function(a){if(a.searchResults){for(var b=new Set,c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,Kac(a.teamsService,[].concat(u(b))).pipe(xf(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
k(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var l=String(h.teamId);"0"!==l&&(l=e.get(l))&&(h.team=l.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};XZ.prototype.isIssueGridColumn=function(){return!0};XZ.prototype.getComponentPath=function(a){return ni(a)?a.join(" > "):(a=ur(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};
XZ.\u0275fac=function(a){return new (a||XZ)(C(Zr),C(ME,2),C(Wd),C(jK),C(He),C(zF),C(RI),C(iJ),C(QF),C(oH),C(RF),C(qI),C(uF),C(XN),C(hM),C(ZI))};
XZ.\u0275cmp=r({type:XZ,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(lg(UX,7),lg(dDc,5));if(a&2){var c;pg(c=qg())&&(b.grid=c.first);pg(c=qg())&&(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"},features:[wg([ME]),xd],decls:6,vars:2,consts:[["issuesGrid",""],["issueWithHovercard",""],["issueSidenavContainer",""],["issueHovercard","onedevHovercard"],["cardBody",""],["hasBackdrop","false",3,"sidebar-enabled",4,"ngIf","ngIfElse"],["hasBackdrop","false"],["mode","side","position","end",3,"openedChange","opened","disableClose"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue",4,"ngIf"],[4,
"ngTemplateOutlet"],[3,"closeSidebar","navigateToNextIssue","navigateToPreviousIssue","issueId"],[1,"keep-focus-ring",3,"columnsChange","focusedRowIndexChange","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",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",
4,"forViewCell"],["class","clickable",4,"forViewCell"],["class","clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],[1,"focus-indicator"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"click","keydown.enter","keydown.space","state"],[3,"column"],[3,"column","availableColumns",
"selectedColumns","selectedColumnsChange",4,"ngIf"],[3,"column",4,"ngIf"],[3,"selectedColumnsChange","column","availableColumns","selectedColumns"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"click","state"],[1,"star-cell"],["tabindex","-1",3,"starClicked","starred","disabled","starMessage","unStarMessage"],["data-template","issueId",1,"clickable","issue-id-cell"],[3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["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,"issueId","compactMode"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["svgIcon","input_24px","class","navigate-to-idp icon-s",4,"ngIf"],["class","bv2-hotlist-chips",4,"ngIf"],["svgIcon","input_24px",1,"navigate-to-idp","icon-s"],[1,"bv2-hotlist-chips"],
[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable",
"datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloStartTime",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,
"ngIf"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){a&1&&(G(0,"div"),E(1,Z5a,6,6,"mat-sidenav-container",5),I(),E(2,P8a,54,61,"ng-template",null,0,Eg)(4,R8a,5,2,"ng-template",null,1,Eg));a&2&&(a=R(3),A(),F("ngIf",b.isIssueSidebarEnabled)("ngIfElse",a))},dependencies:[yyc,Cw,Dw,zw,Hw,
Ew,Fw,Gw,nB,iz,VZ,UZ,TZ,UX,ZX,VX,WX,XX,RX,TX,iO,aY,bQ,MX,OZ,ZM,VM,xL,JL,KL,OL,LL,NV,KZ,pT,GV,qV,$X,WK,VK,aL,YK],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}/*# sourceMappingURL=issues_grid.css.map */"],changeDetection:0});
var ZZ=new Bq({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),nDc=new Bq({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),$Z=new Bq({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),a_=new Bq({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),oDc=new Bq({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var b_=function(a,b,c){Z.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new Uv;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var f=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+f+" to this hotlist":"Adding multiple issues to this hotlist: "+f,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var f,h,l,q,t=null!=(q=null!=(l=null==e?void 0:null==(f=e.error)?void 0:f.message)?l:null==e?void 0:null==(h=e.data)?void 0:h.message)?q:"Error adding issues to the hotlist";d.snackBar.open(t,"close",{panelClass:"error"})}};Y(b_,Z);b_.\u0275dir=Z.\u0275dir;b_.\u0275fac=function(a){return new (a||b_)(C(lI),C(mX),C(fH))};
b_.\u0275cmp=r({type:b_,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[Ff],decls:2,vars:0,consts:[["mat-button","","matTooltip","Add issues to this hotlist",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(G(0,"button",0),N("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),S(1," Add Issue(s) "),I())},dependencies:[CA,nE,OC],encapsulation:2});var c_=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new X.ReplaySubject(1);this.hotlist$=this.id$.pipe(wf(function(f){return e.fridge.watchOne(f)}),tf({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(z(function(f){return!(null==f||!f.archived)}),lf());this.archiveActionLabel$=this.archived$.pipe(z(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(z(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var l=f?"archiving":"unarchiving";e.snackBar.open(Yn(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(xf(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};Y(c_,Z);c_.\u0275dir=Z.\u0275dir;
c_.prototype.isThinking=function(a){return this.fridge.isThinking(a)};c_.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var qDc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:vh("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){pDc(a,b)}}):pDc(a,b)}},pDc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
c_.\u0275fac=function(a){return new (a||c_)(C(RI),C(lI),C(nL),C(gH))};
c_.\u0275cmp=r({type:c_,selectors:[["hotlist-archive-btn"]],inputs:{id:[0,"hotlistId","id"]},features:[Ff,xd],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(G(0,"button",0),V(1,"async"),N("click",function(){return qDc(b)}),S(2),V(3,"async"),I());if(a&2){var c;F("disabled",b.isThinking(b.id))("matTooltip",null!==(c=W(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");A(2);T(" ",W(3,5,b.archiveActionLabel$)," ")}},dependencies:[CA,
nE,OC,Iw],encapsulation:2});var d_=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H){pX.call(this,a,b,c,d,e,f,h,l,q,t,D,J,H);this.estadoService=w;this.refreshMonitor=B;this.init=new Uv;this.onRefresh=new Uv;this.isHotlistAdmin=!1;this.onExportCsv=new Uv;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!cp(a.currentTracker);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="gridControls"};Y(d_,pX);
d_.\u0275dir=pX.\u0275dir;g=d_.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&kDc(this.grid,function(){b.onSelectionChange()})};g.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};g.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};g.openInEstado=function(){this.estadoService.openInEstado()};var rDc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
d_.\u0275fac=function(a){return new (a||d_)(C(ZH),C(ME,2),C(Zr),C(ZI),C(HF),C(SM),C(jQ),C(xR),C(QA),C(uF),C(QX),C(gJ),C(mX),C(zF),C(vK))};
d_.\u0275cmp=r({type:d_,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[wg([ME]),Ff,xd],decls:11,vars:8,consts:[["addCommentDialog",""],["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"enableBulkEstimatedEffortOption",
"readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[4,"ngIf"],["class","compact","tooltip","Reporting","aria-label","Reporting",3,"size","format","onAction",4,"ngIf"],[1,"bv2-appbar-menu",3,"exportCsvClicked","flagAsSpamClicked","showExportCsv","showFlagIssuesAsSpam"],
[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","enableBulkEstimatedEffortOption","readStatePrompt"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"issueAddedToHotlist","hotlistId"],
[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"onAction","size","format"],["name","bar-chart","size","large"],["class","bv2-estado-text",4,"ngIf"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],[3,"externalWarnings"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",
3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=v();G(0,"b-button",1);N("onAction",function(){x(c);return y(b.refresh())});K(1,"b-icon",2);I();E(2,S8a,2,4,"b-app-bar-bulk-edit-menus",3)(3,T8a,1,2,"b-copy-issue-id-button",4)(4,U8a,2,2,"div",5)(5,X8a,3,2,"ng-container",6)(6,Z8a,3,3,"b-button",7);G(7,"b-app-bar-more-menu",8);N("exportCsvClicked",function(){x(c);return y(b.onExportCsv.emit())})("flagAsSpamClicked",
function(){x(c);return y(vxc(b))});I();G(8,"b-state-modal",9);N("save",function(){x(c);return y(txc(b))})("close",function(){x(c);return y(b.hotkeys.unpause())});I();E(9,b9a,11,6,"ng-template",null,0,Eg)}a&2&&(A(2),F("ngIf",b.hasSelectedIssues()),A(),F("ngIf",b.hasSelectedIssues()),A(),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),A(),F("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),A(),F("ngIf",b.enableEstadoInAppBar),A(),F("showExportCsv",b.isNonPublicSession||D5b(b.activeSession))("showFlagIssuesAsSpam",
rDc(b)),A(),F("externalWarnings",b.externalWarnings))},dependencies:[qE,pE,LK,mV,zw,lR,c_,b_,OT,iE,CA,RA,SA,TA,UA,zV,yV,wV,Iw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var sDc=function(a){return{displayText:"Admins",values:a}},tDc=function(a){return[a]},uDc=function(a){return{displayText:"Appenders",values:a}},vDc=vh("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?"),e_=function(a,b,c,d,e,f,h,l,q){Z.call(this);var t=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=f;this.permissions=h;this.userApi=l;this.activeSession=q;this.id$=new X.ReplaySubject(1);this.idSubject$=Fk(this.id$.pipe(xf(this.destroyed$)));this.acl$=this.id$.pipe(wf(function(w){return t.hotlistAccessPolicyFridge.watchOne(w)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=qdc(this.links);this.validity={};this.isValid=function(){return Object.values(t.validity).every(Boolean)};this.isInvalid=function(){return!t.isValid()};
this.allAppenders=[];this.onPressSave=function(){t.isRevokingAdmin()?t.dialog.open({title:"Change Hotlist Admins",content:vDc,isDestructive:!0,onConfirm:t.doSave}):t.doSave()};this.doSave=function(){var w=t.idSubject$.value;if(null!=w){var B=t.isRevokingAdmin();w={id:w,admins:rQa(t.admins),appenders:rQa(t.appenders),editors:null,readers:rQa(t.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
t.hotlistAccessPolicyFridge.save(w).subscribe({next:t.didSave(B,w.id),error:t.gotErr})}};this.didSave=function(w,B){return function(){t.snackBar.open("Access control saved",void 0,{duration:2500});t.events.hotlistChanged.next();t.permissions.poke(B);w&&t.doStar()}};this.gotErr=function(w){t.snackBar.open(Yn(w)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var w=t.idSubject$.value;w&&t.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:w,userLogin:t.activeSession.getUserEmail()}).then(function(){t.events.hotlistChanged.next()})};
this.onPressRevert=function(){t.resetEdits()};this.gotAcl=function(w){t.latestPolicy=w;var B,D,J;t.latestCompactPolicy={admins:xp(null==(B=t.latestPolicy)?void 0:B.admins),appenders:xp(null==(D=t.latestPolicy)?void 0:D.appenders),readers:xp(null==(J=t.latestPolicy)?void 0:J.readers)};t.resetEdits()};this.isChanged=function(){var w=t.latestCompactPolicy,B;if(!ki(null!=(B=w.admins)?B:[],t.admins))return!0;var D;if(!ki(null!=(D=w.appenders)?D:[],t.appenders))return!0;var J;return ki(null!=(J=w.readers)?
J:[],t.readers)?!1:!0};this.hasNoChanges=function(){return!t.isChanged()};this.acl$.pipe(xf(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(jY(e,this.isChanged,!1))};Y(e_,Z);e_.\u0275dir=Z.\u0275dir;var wDc=function(a){return[].concat(u(new Set([].concat(u(a.admins),u(a.appenders)))))};e_.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
e_.prototype.resetEdits=function(){var a;this.admins=[].concat(u(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(u(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(u(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=wDc(this)};e_.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
e_.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Yta(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};e_.\u0275fac=function(a){return new (a||e_)(C(II),C(TM),C(lI),C(gH),C(iY),C(nL),C(PJ),C(QI),C(Zr))};
e_.\u0275cmp=r({type:e_,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[Ff,xd],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"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top",
"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"gmat-button","medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(G(0,"form",0)(1,"label"),S(2,"Admins"),I(),G(3,"p",1),S(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),I(),G(5,"b-multi-user-input",2),N("usersChange",function(c){b.admins=c;b.allAppenders=wDc(b)})("isValid",
function(c){return b.validity.admins=c}),I(),G(6,"label"),S(7,"View and append"),I(),G(8,"p",1),S(9,"Reorder hotlist, add/remove issues"),I(),G(10,"b-multi-user-input",3),N("usersChange",function(c){b.appenders=c;b.allAppenders=wDc(b)})("isValid",function(c){return b.validity.appenders=c}),I(),G(11,"label"),S(12,"View only"),I(),G(13,"p",1),S(14,"View the hotlist"),I(),G(15,"b-multi-user-input",4),N("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),I()(),
G(16,"p"),S(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),G(18,"a",5),S(19,"access control documentation"),I(),S(20," for an explanation of the settings.\n"),I(),E(21,c9a,5,4,"div",6));a&2&&(A(5),Qf("disabled",b.isReadOnly),F("users",b.admins),A(5),Qf("disabled",b.isReadOnly),F("users",b.appenders)("includeAliases",!0)("containerChips",Ag(18,tDc,Ag(16,sDc,b.admins))),A(5),Qf("disabled",b.isReadOnly),F("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Ag(22,tDc,Ag(20,uDc,b.allAppenders))),A(3),F("href",b.accessControlLink,Ye),A(3),F("ngIf",!b.isReadOnly))},dependencies:[zw,kx,dx,hx,CA,nE,OC,nV],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 xDc=["hotlistName"],f_=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new X.ReplaySubject(1);this.hotlist$=this.id$.pipe(wf(function(f){return e.fridge.watchOne(f)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(f){e.latestHotlist=f;var h;e.isArchived=null!=(h=null==f?void 0:f.archived)?h:!1;e.resetEdits(f)};this.gotErr=function(f){e.snackBar.open(Yn(f)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var f,h=null!=(f=e.latestHotlist)?f:{};return!ki(h,e.localEdits)};this.hasNoChanges=function(){return!e.isChanged()};this.save=function(){e.fridge.save(e.localEdits).subscribe({next:e.didSave,error:e.gotErr})};this.revert=function(){e.resetEdits(e.latestHotlist)};this.hotlist$.pipe(xf(this.destroyed$)).subscribe(function(f){e.gotHotlist(f)});this.subscriptions.add(jY(d,
this.isChanged,!1))};Y(f_,Z);f_.\u0275dir=Z.\u0275dir;f_.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};f_.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};f_.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=li(a))?b:{}};f_.\u0275fac=function(a){return new (a||f_)(C(RI),C(lI),C(gH),C(iY))};
f_.\u0275cmp=r({type:f_,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&lg(xDc,5);if(a&2){var c;pg(c=qg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[Ff,xd],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"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"gmat-button","medium",3,"click","disabled","matTooltip"],[3,"hotlistId"]],template:function(a,b){if(a&1){var c=v();G(0,"form",1)(1,"label",2);S(2,"Name");I();
G(3,"input",3,0);vg("ngModelChange",function(d){x(c);ug(b.localEdits.name,d)||(b.localEdits.name=d);return y(d)});I();G(5,"label",4);S(6,"Description");I();G(7,"textarea",5);vg("ngModelChange",function(d){x(c);ug(b.localEdits.description,d)||(b.localEdits.description=d);return y(d)});S(8,"  ");I();E(9,d9a,7,7,"div",6);I()}a&2&&(A(3),F("disabled",b.isReadOnly||b.isArchived),tg("ngModel",b.localEdits.name),A(4),F("disabled",b.isReadOnly||b.isArchived),tg("ngModel",b.localEdits.description),A(2),F("ngIf",
!b.isReadOnly))},dependencies:[zw,kx,bh,cx,dx,ux,jx,hx,CA,nE,OC,c_,Iw],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 g_=function(a,b){Z.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new X.ReplaySubject(1);this.hotlist$=this.id$.pipe(wf(function(d){return c.hotlists.watchOne(d)}))};Y(g_,Z);g_.\u0275dir=Z.\u0275dir;g_.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};g_.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};g_.\u0275fac=function(a){return new (a||g_)(C(RI),C(II))};
g_.\u0275cmp=r({type:g_,selectors:[["b-edit-hotlist-header"]],inputs:{id:[0,"hotlistId","id"]},features:[Ff,xd],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[4,"ngIf"],["class","color-bad-text",4,"ngIf"],[1,"color-bad-text"]],template:function(a,b){a&1&&(G(0,"header",0)(1,"h2")(2,"span",1),S(3),I(),E(4,e9a,2,1,"ng-container",2),V(5,"async"),I(),E(6,f9a,2,0,"strong",3),V(7,"async"),E(8,g9a,1,0,"b-spinner",2),I());if(a&2){var c;A(3);T(" Hotlist ",b.id,
": ");A();F("ngIf",W(5,4,b.hotlist$));A(2);F("ngIf",null==(c=W(7,6,b.hotlist$))?null:c.archived);A(2);F("ngIf",b.isThinking(b.id))}},dependencies:[zw,GL,Iw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var h_=function(a){Z.call(this);this.activeSession=a;this.URLS=Hr;this.id$=new X.ReplaySubject(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};Y(h_,Z);h_.\u0275dir=Z.\u0275dir;h_.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};h_.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};h_.\u0275fac=function(a){return new (a||h_)(C(Zr))};
h_.\u0275cmp=r({type:h_,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:[0,"hotlistId","id"]},features:[Ff,xd],decls:6,vars:2,consts:[[1,"button-bar","border-bottom","padded-s"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["mat-button","","matTooltip","View the issues tagged with this hotlist",1,"gmat-button","medium","no-visited-no-active",3,"href"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId"]],template:function(a,
b){a&1&&(G(0,"section",0)(1,"b-button",1),N("onAction",function(){return b.onPressBack()}),K(2,"b-icon",2),I(),G(3,"a",3),S(4," View Issues "),I(),E(5,h9a,2,3,"hotlist-add-issue-btn",4),I());a&2&&(A(3),F("href",b.URLS.HOTLIST_VIEW(b.id),Ye),A(2),F("ngIf",b.enableBulkEditUi))},dependencies:[zw,DA,nE,OC,LK,iE,b_,Iw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var yDc=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),i_=function(a,b,c,d){this.routeParams=a;this.pageTitle=b;this.permissions=c;this.hotlists=d;this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watchOne(this.resourceId).pipe(z(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(z(function(e){var f;return null!=(f=e.status)?f:-1}),z(function(e){var f;
return null!=(f=yDc.get(e))?f:"unknown error"}),vf(void 0));this.tabIndex=0};i_.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};i_.\u0275fac=function(a){return new (a||i_)(C(vQ),C(qH),C(PJ),C(RI))};
i_.\u0275cmp=r({type:i_,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[4,"ngIf"],[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],["class","muted padded-x",4,"ngIf"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(E(0,j9a,13,14,"ng-container",0),V(1,"async"),E(2,k9a,7,1,"ng-container",0),V(3,"async"));a&2&&(F("ngIf",void 0===W(1,2,b.hotlistErrorMsg$)),A(2),F("ngIf",W(3,
4,b.hotlistErrorMsg$)))},dependencies:[zw,dV,ZU,$U,FN,e_,f_,g_,h_,Iw],encapsulation:2});var j_=function(){};j_.\u0275fac=function(a){return new (a||j_)};j_.\u0275cmp=r({type:j_,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&E(0,l9a,3,1,"b-callout",0);a&2&&F("ngIf",b.error)},dependencies:[zw,BE,CE],encapsulation:2});var k_=function(){};k_.\u0275fac=function(a){return new (a||k_)};k_.\u0275mod=hd({type:k_});k_.\u0275inj=Rc({imports:[rE,NK]});var l_=function(){};l_.\u0275fac=function(a){return new (a||l_)};l_.\u0275mod=hd({type:l_});l_.\u0275inj=Rc({imports:[rE,yx,cD,vE,MK,PK,fV,tE,wM,k_,uV,QN]});var m_=function(){};m_.\u0275fac=function(a){return new (a||m_)};m_.\u0275mod=hd({type:m_});m_.\u0275inj=Rc({imports:[xE,MK,xX,rE,oN,wR,l_,yX,tE,cD,VA,vE,AX,zX,xV]});var n_=function(a,b,c,d,e){Z.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=Zk;this.hotlists=[];this.registerKeys()};Y(n_,Z);n_.\u0275dir=Z.\u0275dir;g=n_.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.registerKeys=function(){var a=this,b=IF(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next hotlist",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous hotlist",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View hotlist detail",onPress:function(){var c=a.hotlists[a.focusedIndex];c&&a.editHotlist(c)}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.hotlists[a].name};g.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
n_.\u0275fac=function(a){return new (a||n_)(C(Wd),C(QF),C(RF),C(HF),C(ME,2))};
n_.\u0275cmp=r({type:n_,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[wg([ME]),Ff],decls:26,vars:1,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],
["tabindex","-1",1,"grid-link",3,"click","href"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[4,"ngFor","ngForOf"],[1,"bv2-resource-list-cell","hotlist-id","clickable"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"table",0)(1,"thead")(2,"tr",1),K(3,"th",2),G(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),S(8," Hotlist name "),I()()()(),G(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),S(13," Description "),I()()()(),G(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),S(18," Admins "),I()()()(),G(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),S(23," ID "),I()()()()()(),G(24,"tbody"),E(25,o9a,11,9,"tr",6),I()());a&2&&(A(25),F("ngForOf",b.hotlists))},dependencies:[Dw,zw],encapsulation:2});var o_=function(){};o_.\u0275fac=function(a){return new (a||o_)};o_.\u0275mod=hd({type:o_});o_.\u0275inj=Rc({imports:[rE]});var p_=function(a,b){this.bLocation=a;this.butterBar=b},zDc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(a.butterBar.showWarning("Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};p_.prototype.getCount=function(){var a=zDc(this,"c");return a?qi(a):null};var ADc=function(a){return(a=zDc(a,"p"))?qi(a):null};p_.prototype.getQuery=function(){return zDc(this,"q")};
p_.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Ok).filter(Ei):null};p_.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Kwa).filter(Ei):null};
var q_=function(a,b,c){c=void 0===c?!1:c;var d=function(e,f){c?a.bLocation.search(e,f,!0):a.bLocation.search(e,f)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return BDc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var f="ASCENDING"==e.direction?"asc":"desc";return BDc(e.fieldId)+":"+f}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},BDc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};p_.\u0275fac=function(a){return new (a||p_)(p(QF),p(pI))};p_.\u0275prov=Pc({token:p_,factory:p_.\u0275fac,providedIn:"root"});var r_=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};r_.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:Yo({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
r_.prototype.getParameters=function(a,b){var c=this,d=b?function(){return CDc(b)}:function(){return DDc(c)},e=b?function(){return EDc(b)}:function(){return FDc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return s_(l)}).then(null,d).then(function(l){return s_(l)}).then(null,LB(a.displayColumns)).then(function(l){return GDc(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return s_(l)}).then(null,e).then(function(l){return s_(l)}).then(null,
LB(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return s_(l)}).then(null,function(){return HDc(c)}).then(function(l){return s_(l)}).then(null,LB(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return s_(l)}).then(null,function(){return IDc(b,function(l){return l.query})}).then(null,LB(a.query));a=ADc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var s_=function(a){return null==a?Promise.reject(null):a},CDc=function(a){return IDc(a,function(b){return b.displayColumn}).then(function(b){return JDc(b)})},EDc=function(a){return IDc(a,function(b){return b.sortOrder}).then(function(b){return KDc(b)})},FDc=function(a){return(0,X.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return s_(b)}).then(function(b){return KDc(b)})},DDc=function(a){return(0,X.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return s_(b)}).then(function(b){return JDc(b)})},
HDc=function(a){return(0,X.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(z(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return s_(b)})},IDc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},JDc=function(a){if(!a||!a.length)return null;a=Qj(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Nk({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},KDc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Sk(new Nk(b.column),b.order):new Sk(new Nk(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},GDc=function(a,b){function c(){for(var l=k(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var t=d[q.customFieldId];q.customFieldName=t?t:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=k(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};r_.\u0275fac=function(a){return new (a||r_)(p(p_),p(zF),p(zI))};r_.\u0275prov=Pc({token:r_,factory:r_.\u0275fac,providedIn:"root"});var t_=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P){Z.call(this);var U=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=f;this.issuePagination=h;this.gridPreferencesFetcher=l;this.paths=q;this.errorHandler=t;this.domSafe=w;this.timeout=B;this.hotkeys=D;this.appSearchState=H;this.componentFridge=O;this.issueFridge=P;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=
!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new Uv;this.resultsLoaded=new Uv;this.selectionChange=new Uv;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.currentUserEmail=d.getUserEmail();this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",onPress:function(){var aa;null==(aa=U.issuesGrid)||V5a(aa)}},{keys:["k"],
displayAs:"k",description:"Move to the previous issue in the current panel",onPress:function(){var aa;null==(aa=U.issuesGrid)||W5a(aa)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var aa;null==(aa=U.issuesGrid)||jDc(aa)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var aa;null==(aa=U.issuesGrid)||lDc(aa)}},{keys:[Tj("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var aa;null==(aa=
U.issuesGrid)||mDc(aa,!0)}},{keys:[Tj("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var aa;null==(aa=U.issuesGrid)||mDc(aa,!1)}},{keys:[Uj("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var aa;null==(aa=U.issuesGrid)||aa.selectAll()}},{keys:[Uj("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var aa;null==(aa=U.issuesGrid)||gDc(aa)}},{keys:["o","ENTER"],displayAs:"o / Enter",
description:"Open the current issue",onPress:function(aa){var pa=J.document.activeElement;if(1===aa&&"A"===(null==pa?void 0:pa.tagName))if(pa.href)aa=U.paths.getBaseUrl(),pa.href.startsWith(aa)?b.setUrl(pa.href.slice(aa.length)):U.domSafe.openInNewTab(pa.href);else{var ka;null==(ka=U.issuesGrid)||YZ(ka)}else{var Aa;null==(Aa=U.issuesGrid)||YZ(Aa)}}}];this.destroyed$.subscribe(function(){var aa;null==(aa=U.unregisterHotkeys)||aa.call(U)})};Y(t_,Z);
t_.prototype.columnsChange=function(a){this.issueColumns=a};t_.prototype.ngOnInit=function(){this.getIssues();LDc(this)};var LDc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=IF(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},c$a=function(a,b){a.issuesGrid=b;kDc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};
g=t_.prototype;g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Ok(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Sk(d,"ASC"==b?"ASCENDING":"DESCENDING");xa(this.sortPreferences,function(f){return ki(f.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):oi(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};ki(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(u(b),u(Q_a(a)));this.initialIssueColumns=li(this.issueColumns);this.isColumnSaveEnabled=!0};
g.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(Wo(this.analytics,this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){pH(this.issuePagination);this.getIssues()};g.exportCsv=function(){YN(this.domSafe,this.getCsvUrl())};
g.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};g.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;var b=this.resource?Promise.resolve(this.resource):this.loadResource();return this.doSearch(b).catch(function(c){a.$log.warn("WARNING: unable to doSearch()",c)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query:null!=b.resource.query?b.resource.query:null,displayColumn:b.resource.displayColumn,sortOrder:b.resource.sortOrder}}));a=d.searchPreferences.then(function(e){if(!e.query)return Promise.reject(null);e=b.getSearchParams(e);b.searchParams=e;e.trackerIds=b.appSearchState.currentTrackerScope;return E9b(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Yo({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=li(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();-1!=h&&(b.focusedRowIndex=h-f.startIndex)})})};
g.subscribeToIssueChanges=function(a){var b=this,c;null==(c=this.issueSubscriptions)||c.unsubscribe();this.issueSubscriptions=new X.Subscription;a=k(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(Ce(Ei),xf(this.destroyed$)).subscribe(function(d){var e;return me(function(f){if(1==f.nextAddress)return b.searchResults?oe(f,(0,X.firstValueFrom)(b.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);if(2!=f.nextAddress){e=
f.yieldResult;if(!e||!b.searchResults)return f.return();A8b(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();se(f)})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:MDc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=R_a(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):NDc).length)).map(function(c){return new Nk(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;wr(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=li(a.issueColumns);a.initialSortPreferences=li(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){Wo(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(u(this.initialIssueColumns||[]));this.initialSortPreferences&&!ki(this.initialSortPreferences,this.sortPreferences)&&(Aaa(this.sortPreferences),gu(Daa,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!ki(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!ki(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 NDc};
g.getSearchParams=function(a){a=li(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
Ac.Object.defineProperties(t_.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){ki(a,this.issueColumnsInternal)||(this.issueColumnsInternal=a,Wo(this.analytics,this.ANALYTICS_CATEGORY,"columnModification"))}},focusedRowIndex:{configurable:!0,enumerable:!0,set:function(a){var b=this.isFocused;this.focusedRowIndexInternal!==a&&(this.focusedRowIndexInternal=a,this.focusedRowIndexChange.emit(a));this.isFocused!==b&&LDc(this)},get:function(){return this.focusedRowIndexInternal}},
isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var NDc=[ZZ,$Z,a_],MDc=eyc.map(Ok).filter(Ei);t_.\u0275fac=function(a){return new (a||t_)(C(ME),C(QF),C(uF),C(Zr),C(pI),C(ZI),C(oH),C(r_),C(RF),C(qI),C(XN),C(FE),C(HF),C(Window),C(jM),C(ZH),C(iJ))};
t_.\u0275dir=jd({type:t_,viewQuery:function(a,b){a&1&&lg(XZ,5);if(a&2){var c;pg(c=qg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[Ff]});var u_=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};u_.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:vh("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)}})};u_.\u0275fac=function(a){return new (a||u_)(C(nL),C(gH))};
u_.\u0275cmp=r({type:u_,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},decls:6,vars:1,consts:[["menu",""],["mat-icon-button","","aria-label","Customize list view",1,"gmat-button","small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["matMenuContent",""],["mat-menu-item","","class","bv2-panel-move-to-top-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-up-menuitem",3,"click",4,"ngIf"],["mat-menu-item",
"","class","bv2-panel-move-down-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-to-bottom-menuitem",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",3,"click"]],template:function(a){a&1&&(G(0,
"div")(1,"button",1),K(2,"mat-icon",2),I(),G(3,"mat-menu",null,0),E(5,t9a,6,4,"ng-template",3),I()());a&2&&(a=R(4),A(),F("matMenuTriggerFor",a))},dependencies:[zw,nB,mE,IC,HC,GC,JC,CA],encapsulation:2});var v_=function(){};v_.\u0275fac=function(a){return new (a||v_)};v_.\u0275mod=hd({type:v_});v_.\u0275inj=Rc({imports:[rE,uE,cD]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=hd({type:w_});w_.\u0275inj=Rc({imports:[rE,yM]});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=hd({type:x_});x_.\u0275inj=Rc({imports:[rE,w_]});var y_=function(){};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275mod=hd({type:y_});y_.\u0275inj=Rc({imports:[rE,yM,x_]});var z_=function(){};z_.\u0275fac=function(a){return new (a||z_)};z_.\u0275mod=hd({type:z_});z_.\u0275inj=Rc({imports:[rE,w_]});var ODc=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new Uv};ODc.\u0275fac=function(a){return new (a||ODc)};
ODc.\u0275cmp=r({type:ODc,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},decls:14,vars:5,consts:[["mat-button","","matTooltip","Insight Graph menu",1,"main-button","gmat-button","square-right",3,"click","ngClass","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" "),[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"button",0),N("click",function(){b.openSidebar.emit({panel:void 0})}),Kd(),G(1,"svg",1)(2,"g",2),K(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),I()(),E(13,u9a,2,0,"ng-container",13),I());a&2&&(Qf("icon-only-mode",b.iconOnly),
F("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),A(13),F("ngIf",!b.iconOnly))},dependencies:[Cw,zw,CA,nE,OC],styles:["[_nghost-%COMP%]{white-space:nowrap}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:middle;margin-right:3px}.gmat-button[_ngcontent-%COMP%]{min-width:unset;height:32px;line-height:32px}.main-button[_ngcontent-%COMP%]{padding-right:4px}.main-button[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}.gmat-button.icon-only-mode[_ngcontent-%COMP%]{padding:0 2px}.gmat-button.icon-only-mode.main-button[_ngcontent-%COMP%]{padding:0 4px}.gmat-button.icon-only-mode[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:0;height:16px;width:16px}.gmat-button.icon-only-mode.mat-button[_ngcontent-%COMP%]:not([disabled]){color:#5f6368;color:var(--icon)}.gmat-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-icon-button).small{padding:0 2px}.gmat-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-icon-button).small.main-button{padding:0 4px}"],
changeDetection:0});var A_=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};A_.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};A_.\u0275fac=function(a){return new (a||A_)(C(IZ))};
A_.\u0275cmp=r({type:A_,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"availablePanels","iconOnly","buttonClassname","openSidebar",4,"ngIf"],[3,"openSidebar","availablePanels","iconOnly","buttonClassname"]],template:function(a,b){a&1&&(E(0,w9a,3,3,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.availablePanels$))},dependencies:[zw,ODc,Iw],encapsulation:2,changeDetection:0});var B_=function(){};B_.\u0275fac=function(a){return new (a||B_)};B_.\u0275mod=hd({type:B_});B_.\u0275inj=Rc({imports:[rE,cD,uE,sF,vE]});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=hd({type:C_});C_.\u0275inj=Rc({imports:[rE,cD,sF,BR,oN]});var D_=function(){};D_.\u0275fac=function(a){return new (a||D_)};D_.\u0275mod=hd({type:D_});D_.\u0275inj=Rc({imports:[$W,rE,cD,rN,yM,vE,C_,sF,BR]});var E_=function(){};E_.\u0275fac=function(a){return new (a||E_)};E_.\u0275mod=hd({type:E_});E_.\u0275inj=Rc({imports:[OX,rE,D_,tE,cD,VA,uE,vE,uV,PM,BR]});var F_=function(){};F_.\u0275fac=function(a){return new (a||F_)};F_.\u0275mod=hd({type:F_});F_.\u0275inj=Rc({imports:[Qw]});var G_=function(){};G_.\u0275fac=function(a){return new (a||G_)};G_.\u0275mod=hd({type:G_});G_.\u0275inj=Rc({imports:[Qw,MD]});var H_=function(){};H_.\u0275fac=function(a){return new (a||H_)};H_.\u0275mod=hd({type:H_});H_.\u0275inj=Rc({imports:[F_,Qw,MD,G_]});var I_=function(){};I_.\u0275fac=function(a){return new (a||I_)};I_.\u0275mod=hd({type:I_});I_.\u0275inj=Rc({imports:[Qw,Vx,Yy,sy,cD]});var J_=function(){};J_.\u0275fac=function(a){return new (a||J_)};J_.\u0275mod=hd({type:J_});J_.\u0275inj=Rc({imports:[Qw,yx,I_]});var K_=function(){};K_.\u0275fac=function(a){return new (a||K_)};K_.\u0275mod=hd({type:K_});K_.\u0275inj=Rc({imports:[rE,vE,H_,aP,J_,yM]});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=hd({type:L_});L_.\u0275inj=Rc({imports:[Qw]});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=hd({type:M_});M_.\u0275inj=Rc({imports:[Qw,yx,I_,L_]});var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=hd({type:N_});N_.\u0275inj=Rc({imports:[rE,VQ,M_]});var O_=function(){};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275mod=hd({type:O_});O_.\u0275inj=Rc({imports:[rE,dP,FO,zx,hR]});var P_=function(){};P_.\u0275fac=function(a){return new (a||P_)};P_.\u0275mod=hd({type:P_});P_.\u0275inj=Rc({imports:[rE,vE,cD,z_,yO,x_,O_,Yy]});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=hd({type:Q_});Q_.\u0275inj=Rc({imports:[MK,NK,rE,yx,cD,VA,fX,PK,vE,aP]});var Sgb=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var PDc={},QDc=(PDc.COMFORTABLE=330,PDc.COZY=300,PDc.COMPACT=270,PDc),R_=function(a){Z.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(z(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(z(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new X.Subject;this.currentSidebarWidth$=(0,X.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(vf(void 0))]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:QDc[null!=c?c:"COMFORTABLE"]}));(0,X.combineLatest)([this.rightSidebarWidthChanged$.pipe(lf()),this.sidebarWidthPreference$]).pipe(Ce(function(c){c=k(c);var d=c.next().value;return c.next().value!==d}),wf(function(c){c=k(c);var d=c.next().value;
c.next();return $7b(b.userPreferencesManager,{rightSidebarWidth:d})}),xf(this.destroyed$)).subscribe()};Y(R_,Z);R_.\u0275dir=Z.\u0275dir;R_.prototype.ngOnInit=function(){};R_.\u0275fac=function(a){return new (a||R_)(C(zF))};
R_.\u0275cmp=r({type:R_,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[Ff],decls:7,vars:7,consts:[[1,"a11y-only"],["direction","rtl",3,"widthChanged","disableToggleBtn","hideToggleBtnOnOpen","minWidth","size"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId",4,"ngIf"],[3,"issueId"]],template:function(a,b){a&1&&(G(0,"h3",0),S(1,"Issue metadata"),I(),G(2,"b-resizable-sidebar",1),V(3,"async"),N("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),
G(4,"div",2)(5,"div",3),E(6,x9a,1,1,"edit-issue-metadata",4),I()()());if(a&2){var c;A(2);F("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=W(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);A(4);F("ngIf",b.issueId)}},dependencies:[zw,IN,JZ,Iw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var S_=function(){};S_.\u0275fac=function(a){return new (a||S_)};S_.\u0275mod=hd({type:S_});S_.\u0275inj=Rc({imports:[fL,sT,rE,DT,eT,K_,H_,KF,yM,B_,VW,P_,BT,sY,vE,QN,Q_,N_,nN,CM,dD,E_]});var T_=function(){};T_.\u0275fac=function(a){return new (a||T_)};T_.\u0275mod=hd({type:T_});T_.\u0275inj=Rc({imports:[cD,vE,yx,IO,KO,sF,iB,zM,CM,rE,WW,VQ,fL,wM,S_,gV,dY,UW]});var U_=function(){};U_.prototype.getValue=function(){return this.row[this.column.name]||""};U_.prototype.isCustomField=function(){return this.column.isCustomField};U_.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 ki(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275cmp=r({type:U_,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"customFieldValue",4,"ngIf"],[3,"customFieldValue"]],template:function(a,b){a&1&&E(0,y9a,2,2,"span",0)(1,z9a,1,1,"b-custom-field-value-display",1);a&2&&(F("ngIf",!b.isCustomField()),A(),F("ngIf",b.isCustomField()))},dependencies:[zw,GT],encapsulation:2,changeDetection:0});var V_=function(){};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275mod=hd({type:V_});V_.\u0275inj=Rc({imports:[rE,vE,HT]});vma(UX,[Dw,zw,Hw,ZX,U_],[]);var W_=function(){};W_.\u0275fac=function(a){return new (a||W_)};W_.\u0275mod=hd({type:W_});W_.\u0275inj=Rc({imports:[rE,yM]});var X_=function(){};X_.\u0275fac=function(a){return new (a||X_)};X_.\u0275mod=hd({type:X_});X_.\u0275inj=Rc({imports:[rE,W_,yO]});var Y_=function(){};Y_.\u0275fac=function(a){return new (a||Y_)};Y_.\u0275mod=hd({type:Y_});Y_.\u0275inj=Rc({imports:[bY,rE,uE,wE,vE,cD,VA,lz,WZ,tE,V_,w_,y_,yO,z_,fL,QQ,NX,X_,pN,oN,tM,FT,yM,VW,T_,qT,XW,vV]});var Z_=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
Z_.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,l=b[0].position,q=l>b[1].position,t=b[c],w=b[d].position;Jaa(b,c,d);null==f||f();wr(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,t.issueId,w).then(function(){for(var B=l,D=k(b),J=D.next();!J.done;J=D.next())J.value.position=B,B+=q?-1:1;null==f||f();wr(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
Z_.\u0275fac=function(a){return new (a||Z_)(p(EG),p(pI),p(gH))};Z_.\u0275prov=Pc({token:Z_,factory:Z_.\u0275fac,providedIn:"root"});var RDc=["actionsMenuIconButton"],a0=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};a0.prototype.trackByIndex=function(a){return a};a0.prototype.onAction=function(a,b){return me(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);se(c)})};a0.prototype.ngOnInit=function(){};a0.\u0275fac=function(a){return new (a||a0)};
a0.\u0275cmp=r({type:a0,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&lg(RDc,5);if(a&2){var c;pg(c=qg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["menu","matMenu"],["actionsMenuIconButton",""],["submenu","matMenu"],["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],[1,"b-actions-menu-panel"],["class",
"bv2-menu-header",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","","aria-haspopup","true",1,"gmat-button","medium",3,"matTooltip","matMenuTriggerFor"],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled",
"ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","",3,"click","mouseup","disabled","ngClass"],["mat-menu-item","","role","menuitemcheckbox",3,"click","mouseup","disabled","ngClass"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(E(0,A9a,3,4,"button",3),G(1,"mat-menu",null,0)(3,"div",4),E(4,B9a,2,1,"div",5)(5,P9a,3,2,"ng-container",6),I()());a&2&&(F("ngIf",0<b.menuItems.length),A(4),F("ngIf",b.header),A(),F("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},
dependencies:[mE,IC,HC,JC,Cw,Dw,zw,nB,CA,nE,OC],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 SDc={type:"action",label:"Report illegal content"},TDc={type:"submenu",label:"View as"},UDc={type:"action",label:"Restriction settings..."},VDc={type:"action",label:"Show editing history"};var b0=function(){this.pageChange=new Uv;this.resultsPerPageChange=new Uv;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};b0.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var WDc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
Ac.Object.defineProperties(b0.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}})}}});b0.\u0275fac=function(a){return new (a||b0)};
b0.\u0275cmp=r({type:b0,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems",4,"ngIf"],["aria-live","polite","role","alert","class","bv2-appbar-pagenums",4,"ngIf"],["mat-icon-button","","focusBack","","color","primary",
"mat-tooltip","Go to previous page","aria-label","Go to previous page",1,"large","left","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-left",1,"large"],["mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-right",1,"large"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live",
"polite","role","alert",1,"bv2-appbar-pagenums"]],template:function(a,b){a&1&&(G(0,"div",0),E(1,S9a,1,1,"b-actions-menu",1)(2,T9a,6,3,"span",2),G(3,"button",3),N("click",function(){return WDc(b)})("keydown.enter",function(c){WDc(b);return c.stopPropagation()}),K(4,"mat-icon",4),I(),G(5,"button",5),N("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),K(6,"mat-icon",6),I()());a&2&&(A(),F("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),A(),F("ngIf",b.searchResults&&0<b.searchResults.issues.length),A(),F("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),A(2),F("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[zw,nB,CA,a0,wL],encapsulation:2});var c0=function(){};c0.\u0275fac=function(a){return new (a||c0)};c0.\u0275mod=hd({type:c0});c0.\u0275inj=Rc({imports:[uE,rE,cD,vE]});var d0=function(){};d0.\u0275fac=function(a){return new (a||d0)};d0.\u0275mod=hd({type:d0});d0.\u0275inj=Rc({imports:[rE,cD,c0,sM]});var e0=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa){t_.call(this,c,e,f,h,l,q,t,w,B,d,D,H,O,P,U,aa,pa);this.hotlists=a;this.hotlistApi=b;this.appEvents=J;this.resource=null};Y(e0,t_);e0.\u0275dir=t_.\u0275dir;g=e0.prototype;g.ngOnInit=function(){t_.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?t_.prototype.setSort.call(this,a,b,!1):t_.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"});wr(a.butterBar,'Saved changes to hotlist "'+b.name+'".');Wo(a.analytics,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({},t_.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};g.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?XDc:YDc};g.getSearchParams=function(a){a=t_.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;Wo(c.analytics,c.ANALYTICS_CATEGORY,"issueDragDrop")})};e0.\u0275fac=function(a){return new (a||e0)(C(Z_),C(EG),C(ME,2),C(qI),C(QF),C(uF),C(Zr),C(pI),C(ZI),C(oH),C(r_),C(RF),C(XN),C(gH),C(FE),C(HF),C(nH),C(jM),C(ZH),C(iJ))};
e0.\u0275cmp=r({type:e0,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[wg([ME]),Ff],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"pageChange","searchResults","resultsPerPageFixed"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed",4,"ngIf"],
[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["mat-flat-button","","type","button","color","primary","matTooltip","Save changes to display preferences",1,"gmat-button","medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0",4,"ngIf"],
["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2),E(3,U9a,2,0,"div",3)(4,V9a,2,0,"div",3)(5,Y9a,8,5,"div",3),I(),E(6,Z9a,5,0,"div",4),G(7,"b-pagination",5),N("pageChange",
function(c){return b.goToPage(c.page)}),I()(),E(8,e$a,4,3,"div",3),I());a&2&&(Hf("aria-busy",b.isLoading),A(3),F("ngIf",!b.resource&&!b.isLoading),A(),F("ngIf",!b.resource&&b.isLoading),A(),F("ngIf",b.resource),A(),F("ngIf",b.hasParamChanges()),A(),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),A(),F("ngIf",b.resource))},dependencies:[zw,XZ,CA,nE,OC,b0,u_,GL],encapsulation:2});var YDc=[ZZ,$Z,a_,oDc],XDc=[ZZ,nDc,$Z,a_,oDc],f0=function(){};f0.\u0275fac=function(a){return new (a||f0)};
f0.\u0275mod=hd({type:f0});f0.\u0275inj=Rc({imports:[rE,Y_,cD,vE,d0,v_,wM]});var g0=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U){t_.call(this,b,d,e,f,h,l,q,t,w,c,B,D,J,H,O,P,U);this.savedSearchApi=a;this.resource=null};Y(g0,t_);g0.\u0275dir=t_.\u0275dir;g0.prototype.ngOnInit=function(){t_.prototype.ngOnInit.call(this)};g0.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};
g0.prototype.saveResource=function(){return Promise.resolve()};g0.\u0275fac=function(a){return new (a||g0)(C(VJ),C(ME,2),C(qI),C(QF),C(uF),C(Zr),C(pI),C(ZI),C(oH),C(r_),C(RF),C(XN),C(FE),C(HF),C(nH),C(jM),C(ZH),C(iJ))};
g0.\u0275cmp=r({type:g0,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[wg([ME]),Ff],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[4,"ngIf"],["tabindex","0",4,"ngIf"],[3,"pageChange","searchResults","resultsPerPageFixed"],["tabindex","0"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed",
4,"ngIf"],[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences or search query have changed"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0","role","region",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex",
"columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2),E(3,f$a,2,0,"div",3)(4,g$a,2,0,"div",3)(5,j$a,8,5,"div",4),I(),G(6,"b-pagination",5),N("pageChange",function(c){return b.goToPage(c.page)}),I()(),E(7,o$a,4,3,"div",3),I());a&2&&(Hf("aria-busy",b.isLoading),A(3),F("ngIf",!b.resource&&!b.isLoading),A(),F("ngIf",!b.resource&&b.isLoading),A(),F("ngIf",b.resource),A(),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),A(),F("ngIf",b.resource))},
dependencies:[zw,XZ,nE,OC,b0,u_,GL],encapsulation:2});var h0=function(){};h0.\u0275fac=function(a){return new (a||h0)};h0.\u0275mod=hd({type:h0});h0.\u0275inj=Rc({imports:[rE,Y_,vE,d0,v_,wM]});var i0=function(){this.label="Team"};i0.prototype.ngOnInit=function(){};i0.\u0275fac=function(a){return new (a||i0)};
i0.\u0275cmp=r({type:i0,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},decls:3,vars:2,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"span",1),E(2,p$a,3,4,"span",2),I()());a&2&&(Hf("aria-label",b.label),A(2),F("ngForOf",b.teamPath))},dependencies:[Dw,oF],encapsulation:2});var j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275mod=hd({type:j0});j0.\u0275inj=Rc({imports:[rE,sF,oT]});var ZDc=["form"],$Dc=["numberInput"],aEc=/^\d+\.?\d*$/,bEc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},k0=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new Uv;this.displayUnits=0;this.TimeUnit=bEc};
k0.prototype.ngOnInit=function(){var a=this;this.durationDays&&(this.displayUnits=0===this.durationDays%365?1:0,this.displayNumber=1===this.displayUnits?this.durationDays/365:this.durationDays);this.formSubscription=this.form.valueChanges.subscribe(function(){var b=a.form.form.getRawValue();a.displayNumber=b.numbers;a.displayUnits=b.unit;a.onValueChange()})};k0.prototype.ngAfterViewInit=function(){};
k0.prototype.onValueChange=function(){if(void 0!==this.displayNumber){switch(this.displayUnits){case 1:var a=365*this.displayNumber;break;default:a=this.displayNumber}a=Math.ceil(a)}else a=void 0;a!==this.durationDays&&(this.durationDays=a,this.durationDaysChange.emit(this.durationDays))};k0.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};k0.\u0275fac=function(a){return new (a||k0)};
k0.\u0275cmp=r({type:k0,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(lg(ZDc,7),lg($Dc,7));if(a&2){var c;pg(c=qg())&&(b.form=c.first);pg(c=qg())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},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=v();G(0,"form",null,0)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label");S(5," Custom Duration ");I();G(6,"input",4,1);N("keydown",function(d){x(c);switch(d.key){case "-":case "e":case "E":d.preventDefault()}return y()})("paste",function(d){x(c);var e=d.clipboardData.getData("Text");aEc.test(e)||d.preventDefault();return y()});
I()();G(8,"mat-form-field",3)(9,"mat-select",5)(10,"mat-option",6);S(11,"days");I();G(12,"mat-option",6);S(13,"year(s)");I()()()()()}a&2&&(A(6),F("ngModel",b.displayNumber)("disabled",b.disabled),Hf("aria-label",b.ariaLabel),A(3),F("ngModel",b.displayUnits)("disabled",b.disabled),A(),F("value",b.TimeUnit.DAYS),A(2),F("value",b.TimeUnit.YEARS))},dependencies:[kx,bh,lx,cx,dx,tx,jx,hx,JO,jB,dB,YA,HO,gR,aR,jz],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: .813rem}"],
changeDetection:0});var l0=function(){};l0.\u0275fac=function(a){return new (a||l0)};l0.\u0275mod=hd({type:l0});l0.\u0275inj=Rc({imports:[rE,yx,KO,IO,hR,dY]});var m0=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};m0.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};m0.prototype.onNoClick=function(){this.dialogRef.close(!1)};m0.\u0275fac=function(a){return new (a||m0)(C(NA),C(PA),C(TM))};
m0.\u0275cmp=r({type:m0,selectors:[["b-field-state-change-confirmation-dialog"]],decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"div",1)(3,"p"),S(4,
" The "),G(5,"strong"),S(6),I(),S(7," field will change state from "),G(8,"strong"),S(9),I(),S(10," to "),G(11,"strong"),S(12),I(),S(13,". "),I(),E(14,q$a,6,2,"p",2),G(15,"p"),S(16,"Are you sure?"),I()(),G(17,"div",3)(18,"button",4),N("click",function(){return b.onNoClick()}),S(19," Cancel "),I(),G(20,"button",5),S(21," Confirm "),I()());a&2&&(A(),T("Field State Change for ",b.data.fieldName,""),A(5),rg(b.data.fieldName),A(3),rg(b.data.oldFieldState),A(3),rg(b.data.newFieldState),A(2),F("ngIf",b.data.noteText),
A(6),F("mat-dialog-close",!0))},dependencies:[zw,CA,RA,SA,TA,UA],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var cEc=["fieldStateMenuButton"],dEc=function(a){return{"mat-stroked-button":a}},n0=function(a){this.dialog=a;this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new Uv;this.FieldState=V4b;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."}};n0.prototype.ngOnInit=function(){this.updateMenuButton()};
n0.prototype.ngOnChanges=function(){this.updateMenuButton()};
var fEc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?eEc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},eEc=function(a,b){var c="DISABLED"===b||"INHERIT"===b&&!a.enabledOnParent,d="INHERIT"!==a.fieldState&&"INHERIT"===b,e=void 0;"DISABLED"!==a.fieldState&&("INHERIT"!==a.fieldState||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);a.dialog.open(m0,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:gEc(a,a.fieldState),
newFieldState:gEc(a,b),noteText:e}}).afterClosed().pipe(mf()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};n0.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=gEc(this,this.fieldState)};
var gEc=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:vc(b,"Unknown FieldState.")}};n0.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};n0.\u0275fac=function(a){return new (a||n0)(C(QA))};
n0.\u0275cmp=r({type:n0,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&lg(cEc,5,Wd);if(a&2){var c;pg(c=qg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[xd],decls:33,vars:18,consts:[["fieldStateMenuButton",""],["fieldStateMenu","matMenu"],["mat-button","",1,"field-state-menu-button","gmat-button",
"medium",3,"ngClass","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"],["mat-menu-item","",1,"default-button","field-state-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],["mat-menu-item",
"",1,"field-state-option",3,"click"],[1,"menu-row-container"],[1,"state-info"]],template:function(a,b){if(a&1){var c=v();G(0,"div")(1,"button",2,0)(3,"div",3);K(4,"span",4)(5,"b-icon",5);I()()();G(6,"mat-menu",null,1)(8,"div",6)(9,"div",7)(10,"button",8);N("click",function(){x(c);return y(fEc(b,b.FieldState.INHERIT))});K(11,"b-icon",9);G(12,"div",10);S(13);I();G(14,"div",11);S(15);I()()();K(16,"mat-divider");G(17,"button",12);N("click",function(){x(c);return y(fEc(b,b.FieldState.DISABLED))});G(18,
"div",13)(19,"div",14);K(20,"b-icon",9);G(21,"div",10);S(22);I();G(23,"div",11);S(24);I()()()();G(25,"button",12);N("click",function(){x(c);return y(fEc(b,b.FieldState.ENABLED))});G(26,"div",13)(27,"div",14);K(28,"b-icon",9);G(29,"div",10);S(30);I();G(31,"div",11);S(32);I()()()()()()}a&2&&(a=R(7),A(),F("ngClass",Ag(16,dEc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",a),A(3),F("innerHTML",b.menuLabel,Xe),A(6),Qf("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT),A(3),T(" ",b.defaultLabel,
" "),A(2),T(" ",b.msgs.inheritDescription," "),A(2),Qf("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED),A(5),T(" ",b.msgs.hiddenName," "),A(2),T(" ",b.msgs.hiddenDescription," "),A(),Qf("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED),A(5),T(" ",b.msgs.visibleName," "),A(2),T(" ",b.msgs.visibleDescription," "))},dependencies:[Cw,CA,oE,mE,IC,HC,JC,iE],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 o0=function(){};o0.\u0275fac=function(a){return new (a||o0)};o0.\u0275mod=hd({type:o0});o0.\u0275inj=Rc({imports:[rE,cD,VA,wE,uE,tE,MK]});var p0=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};p0.prototype.close=function(){this.dialogRef.close(!1)};p0.\u0275fac=function(a){return new (a||p0)(C(PA),C(NA))};
p0.\u0275cmp=r({type:p0,selectors:[["b-unsubscribe-dialog"]],decls:21,vars:4,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Unsubscribe From Issue"),I(),G(2,"mat-dialog-content")(3,"div",1),S(4," Are you sure you would like to unsubscribe from the following issue? "),
I(),K(5,"br"),G(6,"div",2)(7,"a",3)(8,"span"),S(9),I()(),S(10," - "),G(11,"span"),S(12),I()(),K(13,"br"),G(14,"div",1),S(15," By unsubscribing, you will no longer receive email updates about this issue. "),I()(),G(16,"mat-dialog-actions")(17,"button",4),N("click",function(){return b.close()}),S(18," Cancel "),I(),G(19,"button",5),N("click",function(){b.dialogRef.close(!0)}),S(20," Unsubscribe "),I()());a&2&&(A(7),eg("href","/issues/",b.issueId,"",Ye),A(2),T("b/",b.issueId,""),A(3),rg(b.issueTitle))},
dependencies:[SA,TA,UA,CA],encapsulation:2});var hEc=function(a,b){return{small:a,medium:b}},iEc=function(a){return{black:a}},q0=function(a,b,c,d,e){this.activeSession=a;this.matDialogService=b;this.issueFridge=c;this.analytics=d;this.routeParams=e;this.iconOnly=!1;this.subscriptionChange=new Uv;this.showNotificationSettings=new Uv;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=$4b;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"}]])};q0.prototype.ngOnInit=function(){jEc(this)};q0.prototype.ngOnChanges=function(){this.updateMenuButton()};q0.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};q0.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var jEc=function(a){var b,c;me(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():oe(d,(0,X.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return oe(d,(0,X.firstValueFrom)(a.matDialogService.open(p0,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}).afterClosed()),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),
Wo(a.analytics,sq.EDIT_ISSUE,"unsubscribeUsingDialog");se(d)})};Ac.Object.defineProperties(q0.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});q0.\u0275fac=function(a){return new (a||q0)(C(Zr),C(QA),C(iJ),C(ZI),C(vQ))};
q0.\u0275cmp=r({type:q0,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[xd],decls:63,vars:31,consts:[["notificationMenu","matMenu"],["allUpdates",""],["all",""],["majorUpdates",""],["major",""],["mat-button","","matTooltip","Notification menu",1,"notification-menu-button","gmat-button",3,"ngClass","matMenuTriggerFor","disabled"],
[1,"notification-menu-button-inner"],["size","small",1,"icon",3,"name","ngClass"],[4,"ngIf"],[1,"notification-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","notification-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],[1,"default-divider",3,"vertical"],["mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],["name","settings-outline",
"size","small",1,"item-icon"],[1,"menu-row-container"],["mat-menu-item","","aria-label","All Updates. Receive emails for major and minor updates.","aria-describedby","all-updates-help",1,"notification-option",3,"click"],[1,"subscription-info"],["mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.",
"aria-describedby","major-updates-help",1,"notification-option",3,"click"],["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=v();G(0,"div")(1,"button",5)(2,"div",6);K(3,"b-icon",7);E(4,r$a,3,1,"ng-container",
8);I()()();G(5,"mat-menu",null,0)(7,"div",9)(8,"div",10)(9,"button",11);N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION))});K(10,"b-icon",12);G(11,"div",13);S(12," Default ");I();G(13,"div",14);S(14," receive emails based on your default settings. ");I()();K(15,"mat-divider",15);G(16,"button",16);N("click",function(f){x(c);return y(b.showNotificationSettings.emit(f))});K(17,"b-icon",17);I()();K(18,"mat-divider");G(19,"div",18)(20,"button",19);
N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))});G(21,"div",20);K(22,"b-icon",12);G(23,"div",13);S(24," All Updates ");I();G(25,"div",14);S(26," receive emails for major and minor updates. ");I()()();G(27,"button",21);N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))})("focus",function(){x(c);var f=R(29);return y(f.toggle(!0))})("blur",function(){x(c);var f=R(29);return y(f.toggle(!1))});
G(28,"xap-bubble",22,1);K(30,"mat-icon",23);E(31,s$a,13,0,"ng-template",null,2,Eg);I()()();G(33,"div",18)(34,"button",24);N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))});G(35,"div",20);K(36,"b-icon",12);G(37,"div",13);S(38," Major Updates ");I();G(39,"div",14);S(40," receive emails for major updates only. ");I()()();G(41,"button",21);N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))})("focus",
function(){x(c);var f=R(43);return y(f.toggle(!0))})("blur",function(){x(c);var f=R(43);return y(f.toggle(!1))});G(42,"xap-bubble",22,3);K(44,"mat-icon",23);E(45,t$a,17,0,"ng-template",null,4,Eg);I()()();G(47,"button",25);N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY))});G(48,"div",18)(49,"div",20);K(50,"b-icon",12);G(51,"div",13);S(52," Closure Only ");I();G(53,"div",14);S(54," only receive emails when the issue is closed. ");I()()()();
G(55,"button",25);N("click",function(){x(c);return y(b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED))});G(56,"div",18)(57,"div",20);K(58,"b-icon",12);G(59,"div",13);S(60," None ");I();G(61,"div",14);S(62," unsubscribe from further email updates. ");I()()()()()()}if(a&2){a=R(6);var d=R(32),e=R(46);A();Qf("icon-only",b.iconOnly);F("ngClass",Bg(26,hEc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",a)("disabled",b.isAnonymous);Hf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);A(2);F("name",b.menuIcon)("ngClass",Ag(29,iEc,"notifications-off"===b.menuIcon));A();F("ngIf",!b.iconOnly);A(5);Qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);A(6);F("vertical",!0);A(5);Qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);A(7);Hf("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.");
A();F("panelTemplate",d)("overlayPositions",b.bubblePosition);A(6);Qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);A(7);Hf("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.");A();F("panelTemplate",e)("overlayPositions",b.bubblePosition);A(5);Qf("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);A(8);Qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Cw,zw,nB,CA,oE,mE,IC,HC,JC,iE,UM,nE,OC],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}.notification-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.notification-menu-button-inner[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-right:3px}.icon-only[_ngcontent-%COMP%]{padding:0 2px}.icon-only[_ngcontent-%COMP%]   .icon.black[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}  .subscription-help-bubble{max-width:300px}  .subscription-help-bubble ul.subscription-help-list{margin-top:.5em;list-style:disc}  .notification-menu .subscription-help .mat-icon{margin:0px}  .notification-menu .subscription-help .mat-icon:hover{color:#202124;color:var(--text-high-contrast)}"]});var r0=function(){};r0.\u0275fac=function(a){return new (a||r0)};r0.\u0275mod=hd({type:r0});r0.\u0275inj=Rc({imports:[rE,cD,wE,uE,tE,MK,nN,vE]});var s0=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new Uv;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},kEc=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()};
s0.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};s0.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
Ac.Object.defineProperties(s0.prototype,{boundId:{configurable:!0,enumerable:!0,get:function(){return this.internalBoundId},set:function(a){var b=this;(this.internalBoundId=a)&&"0"!==this.internalBoundId?this.sloApi.get(this.internalBoundId).then(function(c){b.dropdownChoices=c?[c]:[];b.selectedSlo=c}).catch(function(){b.selectedSlo={sloId:b.internalBoundId}}):(this.dropdownChoices=[],this.selectedSlo=null)}}});s0.\u0275fac=function(a){return new (a||s0)(C(bK),C(ME,2))};
s0.\u0275cmp=r({type:s0,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[wg([ME])],decls:6,vars:6,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"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=v();G(0,"div",2)(1,"input",3,0);vg("ngModelChange",function(d){x(c);ug(b.selectedSlo,d)||(b.selectedSlo=d);return y(d)});N("click",function(){x(c);var d=R(2);return y(kEc(b,d.value))})("input",function(){x(c);var d=R(2);return y(kEc(b,d.value))});I();G(3,"mat-autocomplete",4,1);N("optionSelected",function(d){x(c);return y(b.updateSelectionOnChange(d))});
E(5,u$a,2,2,"mat-option",5);I()()}a&2&&(a=R(4),A(),F("placeholder",b.placeholder),tg("ngModel",b.selectedSlo),F("disabled",b.isDisabled)("matAutocomplete",a),A(2),F("displayWith",b.displayFn),A(2),F("ngForOf",b.dropdownChoices))},dependencies:[Dw,PL,QL,jz,RL,bh,cx,jx],encapsulation:2});var t0=function(){};t0.\u0275fac=function(a){return new (a||t0)};t0.\u0275mod=hd({type:t0});t0.\u0275inj=Rc({imports:[rE,AM,yx]});var lEc=function(a){return{"empty-list-field-indication":a}},u0=function(a,b){this.documentationLinks=a;this.activeSession=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new Uv;this.validChange=new Uv;this.RetentionSelection=h5b;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist())};
u0.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};fr(this)};u0.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);fr(this)};
var fr=function(a){var b;if(b=gr(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!mEc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||nEc(a));a.validChange.emit(b)},oEc=function(a){if(!a.isExternal)return!0;var b=a.componentId&&a.indefiniteRetentionComponentsAllowlist.has(a.componentId),c,d,e=(null!=(d=null==(c=a.componentPathInfo)?void 0:c.componentPathId)?d:
[]).some(function(f){return a.indefiniteRetentionComponentsAllowlist.has(f)});return b||e},gr=function(a){var b=a.model.retentionSelection;return b&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&30<=a.model.retentionPeriodDays&&7300>=a.model.retentionPeriodDays)},w$a=function(a){return a?Ln(a):"[unset period]"},nEc=function(a){if(!a.model.piiRetentionPeriodDays||!a.model.spiiRetentionPeriodDays||30>
a.model.piiRetentionPeriodDays||30>a.model.spiiRetentionPeriodDays)return!1;var b=a.model.retentionSelection,c=a.model.retentionPeriodDays,d=a.model.piiRetentionPeriodDays;return a.model.spiiRetentionPeriodDays>d||b===a.RetentionSelection.BUGANIZER_DEFAULT&&3650<d||b===a.RetentionSelection.CUSTOM_PERIOD&&(null==c||d>c)?!1:!0},B$a=function(a){if(!gr(a)||nEc(a))return"";var b=a.model.retentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.spiiRetentionPeriodDays;if(!c||!d||30>c||30>d)return"must be at least 30 days";
if(b===a.RetentionSelection.BUGANIZER_DEFAULT)var e=3650;else b===a.RetentionSelection.CUSTOM_PERIOD&&(e=a.model.retentionPeriodDays);return e&&c>e?30===e?"must be 30 days":"must be between 30 days and "+w$a(e):"Restricted+ retention must not exceed Restricted retention."},mEc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},E$a=function(a){var b=a.model.piiRetentionSelection,c=a.model.piiRetentionPeriodDays,
d=a.model.retentionSelection,e=a.model.retentionPeriodDays;d=b===a.RetentionSelection.INDEFINITE_RETENTION&&(d===a.RetentionSelection.INDEFINITE_RETENTION||d===a.RetentionSelection.BUGANIZER_DEFAULT||d===a.RetentionSelection.CUSTOM_PERIOD&&!!e&&120<e);return b===a.RetentionSelection.CUSTOM_PERIOD&&!!c&&120<c||d};u0.\u0275fac=function(a){return new (a||u0)(C(TM),C(Zr))};
u0.\u0275cmp=r({type:u0,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled",componentId:"componentId",componentPathInfo:"componentPathInfo"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:31,vars:33,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 20 years",
3,"value"],["class","duration-error",4,"ngIf"],["class","custom-duration",4,"ngIf"],["class","warning-box","id","custom-retention-warning-box",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngModelChange","ngClass","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"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],[1,"custom-duration"],["ariaLabel","Custom duration",3,"durationDaysChange","disabled","durationDays"],[1,"duration-description"],["id","custom-retention-warning-box",1,"warning-box"],["id","indefinite-retention-warning-box",1,"warning-box"],[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"],["class","warning-box","id","custom-pii-retention-warning-box",4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(G(0,"mat-radio-group",0),N("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),G(1,"p")(2,"b"),S(3,"Issue Retention"),I()(),G(4,"mat-radio-button",1),S(5,
" Buganizer default retention period (for minimal or no PII/SPII): 10 years "),I(),G(6,"mat-radio-button",2),S(7," Custom retention period "),E(8,v$a,2,0,"span",3)(9,x$a,4,3,"div",4)(10,y$a,13,0,"div",5),I(),G(11,"mat-radio-button",6),S(12),E(13,z$a,13,0,"div",7),I()(),G(14,"mat-radio-group",8),N("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);fr(b)}),G(15,"p"),K(16,"br"),G(17,"b"),S(18,
"Restricted Comments/Attachments Retention "),I(),G(19,"a",9),S(20,"Learn more "),I()(),G(21,"mat-radio-button",1),S(22," Buganizer default retention period : 60 days "),E(23,A$a,2,0,"span",3),I(),G(24,"mat-radio-button",10),S(25," Custom retention period "),E(26,C$a,2,1,"span",3)(27,F$a,16,7,"div",4),I(),G(28,"mat-radio-button",6),S(29," Match Issue Retention "),E(30,G$a,3,0,"div",11),I()());a&2&&(F("ngClass",Ag(29,lEc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",
b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),A(4),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),A(2),F("value",b.RetentionSelection.CUSTOM_PERIOD),A(2),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&7300>=b.model.retentionPeriodDays)),A(),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),A(),F("ngIf",!!b.model.retentionPeriodDays&&3650<b.model.retentionPeriodDays),
A(),F("disabled",!oEc(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),A(),T(" Indefinite retention period ",oEc(b)?"":"(Internal components only)"," "),A(),F("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),A(),F("ngClass",Ag(31,lEc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),A(5),F("rel",b.EXTERNAL_LINK_REL),Hf("href",b.documentationLinks.getRestrictedAccessHelpLink(),
Ye),A(2),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),A(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&mEc(b)),A(),F("aria-label","Custom Retention Period,"+B$a(b))("disabled",!gr(b))("value",b.RetentionSelection.CUSTOM_PERIOD),A(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!nEc(b)),A(),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),A(),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),
A(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&E$a(b)))},dependencies:[Cw,zw,cx,jx,$V,aW,k0],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}"],
changeDetection:0});var v0=function(){};v0.\u0275fac=function(a){return new (a||v0)};v0.\u0275mod=hd({type:v0});v0.\u0275inj=Rc({imports:[rE,yx,fX,l0]});var pEc=function(){this.type="component";this.includeChildren=!1},qEc=function(){this.type="tracker"},rEc=function(){this.type="team";this.includeChildren=!1},sEc=function(){this.type="hotlist"},tEc=function(){this.type="savedsearch"},uEc=function(){this.type="customfield"};var vEc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},wEc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),xEc=wEc.concat("accesslevel archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield descendantcount deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute onedayviewcount opendescendantcount p parentid postmortem priority reporter resolved s sevendayviewcount severity star status t targetedto thirtydayviewcount title type verified verifiedin verifier vote votecount nearestslo".split(" ")),
yEc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),zEc="(?:\\s|^)(-?)(customfield\\d+|"+xEc.join("|")+")(:|>|<|>=|<=|=)";var w0=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);var w=this;this.appSearchState=a;this.userApi=b;this.trackerFridge=c;this.currentTracker=d;this.customFieldsApi=e;this.hotlistApi=f;this.savedSearchApi=h;this.componentActions=l;this.teamsService=q;this.activeSession=t;this.query="";this.requestIndex=0;this.producers=[{match:function(B){return AEc(w,B)}},{updateHeader:function(B){return BEc(w,B)}},{updateHeader:function(B){return CEc(w,B)}},{updateHeader:function(B){return DEc(w,B)}},{updateHeader:function(B){return EEc(w,
B)}},{updateHeader:function(B){return FEc(w,B)}},{updateHeader:function(B){return GEc(w,B)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new X.Subject;this.refreshRequest$=new X.Subject;this.refreshRequest$.pipe(jf(250),xf(this.destroyed$)).subscribe(function(B){HEc(w,B.currentRequestIndex,B.currentSearchContext)});this.sessionIsInternal=t.isInternalSession();a=new Set(xEc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=k(yEc),c=
b.next();!c.done;c=b.next())a.delete(c.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};Y(w0,Z);w0.\u0275dir=Z.\u0275dir;w0.prototype.isTrackerSearchEnabled=function(){return!cp(this.currentTracker)};
var HEc=function(a,b,c){for(var d=!1,e=!1,f=[],h=k(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&f.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,u(q))}).catch(function(q){return q})),l.updateHeader&&f.push(l.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},AEc=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&-1===b.query.charAt(c).search("\\s"))return Promise.reject(null)}var d,e;if((null==(d=b.value)?0:d.val.startsWith("cf"))||(null==(e=b.value)?0:e.val.startsWith("customfield")))return IEc(a,b);if(b.label){if(b.label.customFieldId)return JEc(a,b);switch(b.label.val){case "archived":return Promise.resolve(jr(KEc,b.value,!0));case "componentid":case "c":return LEc(a,b);case "deleted":return MEc(b);case "deletionreason":return Promise.resolve(jr(NEc,
b.value,!0));case "hotlistid":case "h":return OEc(a,b);case "savedsearchid":return PEc(a,b);case "status":case "is":return Promise.resolve(jr(QEc,b.value,!0));case "trackerid":return REc(a,b);case "teamid":return SEc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(jr(TEc,b.value,!0));case "severity":case "s":return Promise.resolve(jr(UEc,b.value,!0));case "inprod":case "star":case "mute":return MEc(b);case "accesslevel":return Promise.resolve(jr(VEc,
b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=J$a(b.value.val);e=k(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(l,q){return nr(l.name,q.name)});return Promise.resolve(c)},
IEc=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=Wcc(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=Ncc(a.currentTracker)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return WEc(a,b,f)})},WEc=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(Ei);0<d.length&&a.componentActions.bulkLoad(d);d=[];c=k(c.customFields);for(var e=c.next(),f={};!e.done;f={customField$jscomp$21:void 0},
e=c.next())f.customField$jscomp$21=e.value,e=a.getComponentPathNames(f.customField$jscomp$21).then(function(h){return function(l){var q=h.customField$jscomp$21,t=b.value.val,w=q.customFieldId,B=b.value.idx;return{id:w,componentPathNames:l,name:q.name,trackId:"customField:"+w,completionCfg:{type:"customField",startIdx:B,endIdx:B+t.length,completionValue:"customfield"+w+":",matchingString:t}}}}(f)),d.push(e);return Promise.all(d)};
w0.prototype.getComponentPathNames=function(a){if(a.componentId){var b=a.componentId;return this.componentActions.get(b).then(function(c){var d;return(null==(d=c.componentPathInfo)?void 0:d.componentPathName)||[]}).catch(function(){return[b]})}return Promise.resolve([])};
var JEc=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("ENUM"!==c.type&&"REPEATED_ENUM"!==c.type||!c.allowedValue)return[];var d=c.allowedValue.map(function(e){return{trackId:"customfieldvalue:"+e,id:e,label:"Custom field "+c.name,name:e,completionCfg:{type:"customfieldvalue",completionValue:'"'+e+'"'}}});return jr(d,b.value,!1,!1)}):Promise.reject(null)};
w0.prototype.matchType=function(a){var b=this;return Promise.resolve(jr(XEc.filter(function(c){return hE(b.activeSession,"enableProgramUi")||"program"!==c.name}),a.value,!0))};
var MEc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(jr([{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))},LEc=function(a,b){var c=b.value.val;return!c||ir(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
w0.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=k(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$43: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$43=ur(this.currentTracker,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$43.componentPathId.map(function(l){return function(q,t){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.paths$jscomp$43.componentPathName[t]),completionCfg:{type:"component",completionValue:String(q),startIdx:l.startIdx$jscomp$4,endIdx:l.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var SEc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||ir(c,!0))return Promise.reject(null);var d=Pj();lK(a.teamsService,c).pipe(xf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=k(e);for(var q=e.next(),t={};!q.done;t={pathNames$jscomp$2:void 0},q=e.next())q=q.value,t.pathNames$jscomp$2=q.pathNames,t={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(w){return function(B,D){return{trackId:"team:"+B,id:B,name:w.pathNames$jscomp$2[D],completionCfg:{type:"team",completionValue:String(B),startIdx:f,endIdx:h}}}}(t))},l.push(t);d.resolve(l)},function(){d.reject()});return d.promise},BEc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);var c=new pEc;b=b.value.val;return ir(b,!0)?(iu(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){cp(a.currentTracker)&&d.trackerId!==a.currentTracker.getTrackerId()||(c.component=d);return c})):Promise.resolve(c)},EEc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new qEc,d=Pj();b=b.value.val;ir(b)?a.trackerFridge.watchOne(b).pipe(xf(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);return d.promise},GEc=function(a,
b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new rEc,d=Pj(),e=b.value.val;ir(e,!0)?(iu(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),lK(a.teamsService,e).pipe(xf(a.destroyed$)).subscribe(function(f){0<f.length?(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},
CEc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new sEc;b=b.value.val;return ir(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},DEc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new tEc;b=b.value.val;return ir(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},FEc=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]),Kk("search-usage","customfield");else return Promise.reject(null);var d=new uEc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},REc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||ir(c,!0))return Promise.reject(null);var d=Pj();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(xf(a.destroyed$)).subscribe(function(e){var f=
b.value.idx,h=f+c.length,l=[];e=k(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,l.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(l)});return d.promise},OEc=function(a,b){return ir(b.value.val)?Promise.reject(null):a.userApi.getUserHotlists().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 jr(c,b.value,!1,!0)})},PEc=function(a,b){return ir(b.value.val)?Promise.reject(null):a.userApi.getUserSavedSearches().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 jr(c,b.value,!1,!0)})};w0.\u0275fac=function(a){return new (a||w0)(p(jM),p(QI),p(sK),p(hM),p(zI),p(EG),p(VJ),p(SM),p(jK),p(Zr))};
w0.\u0275prov=Pc({token:w0,factory:w0.\u0275fac,providedIn:"root"});
var QEc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return kr({name:a,label:"Status",type:"status"})}),XEc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue program project feature milestone epic story task".split(" ").map(function(a){return kr({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),TEc=["p0","p1","p2","p3","p4"].map(function(a){return kr({name:a,
label:"Priority",type:"priority"})}),UEc=["s0","s1","s2","s3","s4"].map(function(a){return kr({name:a,label:"Severity",type:"severity"})}),KEc=["all","true","false"].map(function(a){return kr({name:a,label:"Archived",type:"archived"})}),NEc=["abuse","pii","user_request","retention"].map(function(a){return kr({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),VEc=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=k(a);a=b.next().value;b=b.next().value;return kr({name:b,label:"Issue access level",type:"accesslevel",id:a})});var x0=function(a){this.cdr=a;this.optionsChange=new Uv};x0.prototype.ngOnInit=function(){K$a(this)};
var K$a=function(a){var b=null,c;for(c in a.options.propertyValues){var d=a.options.propertyValues[c].value;if(null===b)b=d;else if(b!=d){a.selectAllValue=null;return}}a.selectAllValue=b},L$a=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},YEc=function(a,b){if(b=void 0===b?null:b)b.preventDefault(),b.stopPropagation();a.selectAllValue=null===a.selectAllValue?!0:!a.selectAllValue;a.options.setAll(a.selectAllValue);a.optionsChange.emit(a.options);L$a(a)},ZEc=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(", ")};x0.\u0275fac=function(a){return new (a||x0)(C(ME,2))};
x0.\u0275cmp=r({type:x0,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[wg([ME])],decls:16,vars:12,consts:[["menu","matMenu"],["mat-stroked-button","",1,"gmat-button","bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-selectall",
"bv2-property-picker-option-row",3,"click"],[3,"change","checked","indeterminate"],["mat-menu-item","","class","bv2-property-picker-options","role","menuitemcheckbox",4,"ngFor","ngForOf"],["class","bv2-property-picker-error-message",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"change","click","checked"],[1,"bv2-property-picker-error-message"]],template:function(a,b){if(a&1){var c=v();G(0,
"div")(1,"button",1)(2,"div",2)(3,"span",3);S(4);S(5," \u00a0 ");I();K(6,"mat-icon",4);I()();G(7,"mat-menu",null,0)(9,"div",5);N("click",function(d){x(c);return y(YEc(b,d))});G(10,"mat-checkbox",6);N("change",function(d){x(c);b.selectAllValue=d.checked;return y(YEc(b))});S(11);I()();K(12,"mat-divider");E(13,M$a,4,3,"div",7);V(14,"keyvalue");I();E(15,N$a,2,1,"div",8);I()}a&2&&(a=R(8),A(),Qf("ng-invalid",!!b.errorString),F("matMenuTriggerFor",a),A(3),T(" ",ZEc(b)," "),A(5),Hf("aria-checked",b.selectAllValue),
A(),F("checked",!!b.selectAllValue)("indeterminate",null===b.selectAllValue),A(),T(" ",b.selectAllText," "),A(2),F("ngForOf",W(14,10,b.options.propertyValues)),A(2),F("ngIf",!!b.errorString))},dependencies:[Dw,zw,nB,KM,LM,mE,IC,HC,JC,oE,CA,Nw],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var $Ec=function(a,b){this.displayString=a;this.value=b},aFc=function(a){this.propertyValues=a},bFc=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},pab=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};aFc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var y0=function(){};y0.\u0275fac=function(a){return new (a||y0)};y0.\u0275mod=hd({type:y0});y0.\u0275inj=Rc({imports:[rE,PM,uE,wE,cD]});var cFc=function(a,b){this.name=a;this.secondsPerUnit=b},lr=new cFc("minute",60),mr=new cFc("hour",3600),V$a=new cFc("day",86400),z0=function(){this.errorString=null;this.objectiveDurationChange=new Uv;this.objectiveBusinessDaysChange=new Uv;this.intervalUnit=V$a};z0.prototype.ngOnInit=function(){dFc(this)};z0.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&dFc(this)};
var Q$a=function(a,b){b=b.name;1!==qi(a.intervalString)&&(b+="s");return b},U$a=function(a){return"BUSINESS"===a.dayType},dFc=function(a){!U$a(a)&&eFc(a,V$a)||eFc(a,mr)||eFc(a,lr);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},eFc=function(a,b){var c=a.objectiveDuration.seconds;return 0==c%b.secondsPerUnit?(c/=b.secondsPerUnit,0!=c||""!=a.intervalString?(a.intervalString=""+c,a.intervalUnit=b):(U$a(a)?[lr,mr]:[lr,mr,V$a]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},O$a=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);S$a(a);T$a(a)},S$a=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(qi(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},T$a=function(a){a.objectiveBusinessDays=qi(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};z0.\u0275fac=function(a){return new (a||z0)};
z0.\u0275cmp=r({type:z0,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[xd],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModelChange","ngModel"],[1,"bv2-slo-objective-unit",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&E(0,W$a,6,6,"span",0)(1,$$a,3,2,"span",1);a&2&&(F("ngIf",!b.isDisabled),A(),F("ngIf",b.isDisabled))},dependencies:[Dw,zw,bh,
cx,jx,gR,aR,jz],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 A0=function(a,b){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"]]);hE(b,"enableProgramUi")||this.typeStringToEnum.delete("PROGRAM");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"]]);hE(b,"enableProgramUi")||this.enumTypeToString.delete("PROGRAM");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"]])},iFc=function(a,b){var c=new fFc,d=gFc(b,"type",function(f){var h=f.toUpperCase(),l=new hFc;a.typeStringToEnum.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid type';return l});
if(d.error)return c.error=d.error,c;d=k(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=gFc(b,"priority",function(f){var h=f.toUpperCase(),l=new hFc;a.priorityStringToEnum.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;d=k(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=gFc(b,"postmortem",function(f){var h=f.toUpperCase(),l=new hFc;
a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=k(b.values),d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},gFc=function(a,b,c){var d=new jFc;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};A0.\u0275fac=function(a){return new (a||A0)(p(kE),p(Zr))};A0.\u0275prov=Pc({token:A0,factory:A0.\u0275fac,providedIn:"root"});var fFc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},jFc=function(){this.values=[];this.error=""},hFc=function(){this.error=this.value=""};var B0=function(){};B0.prototype.validate=function(a){for(var b={},c=k(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};B0.\u0275fac=function(a){return new (a||B0)};B0.\u0275dir=jd({type:B0,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},features:[wg([{provide:Xw,useExisting:B0,multi:!0}])]});var C0=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new Uv;this.onValidation=new Uv;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(xac);this.dayTypes=["CALENDAR","BUSINESS"];xac.map(function(d,e){return[d,e]});this.selectedMetric=
"METRIC_UNSPECIFIED";this.selectedDayType="CALENDAR";this.selectedMetric=this.metricChoices[0];this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY","Has postmortem"],["NONE","No postmortem"]]);this.canPerformActions=!0},Lab=function(a,b,c){qab(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Oab=function(a,b,c){c=Rab(a,b,c);var d=c.newOffset;
c.valid&&(qab(a),wa(a.collection,b),wa(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),kFc(a))},Rab=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},qab=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},lFc=function(a,b){var c=b.map(function(d){return new D0(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
iab=function(a){return"METRIC_UNSPECIFIED"===a?" - ":yac.get(a)},wab=function(a,b){return"TYPE_UNSPECIFIED"!==b&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},Bab=function(a,b){return"PRIORITY_UNSPECIFIED"!==b&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},rab=function(a,b){qab(a);wa(a.collection,b);wa(a.boundCollection,b.sloElement);kFc(a)},cab=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:vh("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];kFc(a)},onDismiss:function(){}});b.stopPropagation()},aab=function(a,b){var c=new D0({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);Lab(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);kFc(a)};
C0.prototype.onDrop=function(a){Oab(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var kFc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
Ac.Object.defineProperties(C0.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){lFc(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=k(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});C0.\u0275fac=function(a){return new (a||C0)(C(kE),C(A0),C(nL))};
C0.\u0275cmp=r({type:C0,selectors:[["slo-elements-picker"]],inputs:{collectionInput:[0,"collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},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"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["matTooltip","Clear all rules",1,"hoverable",3,"click","name","size"],["matTooltip","Add a new rule",1,"hoverable",3,"click","name","size"],["cdkDropList",
"",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-type-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline","subscriptSizing","dynamic"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModelChange","ngModel","customValidators"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective",
"bv2-editable-slo-element","editable-row"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","validator","isDisabled"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-slo-element-action","editable-row"],["matTooltip","Finish editing",1,"bv2-slo-element-action",
3,"click","name","size"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"click","name","size"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[4,"ngIf"],["class","bv2-property-display-chips",4,"ngIf"],[1,"bv2-property-display-chips"],["class","bv2-property-display-chip-container",4,"ngFor","ngForOf"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column",
"display-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","isDisabled"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","display-row"],
["class","hoverable bv2-slo-element-action-edit","matTooltip","Edit this rule",3,"name","size","click",4,"ngIf"],["class","hoverable bv2-slo-element-action-more-settings","matTooltip","More options",3,"name","size","matMenuTriggerFor",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-down",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-up",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",
3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-remove",3,"click"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"click","name","size"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",
3,"click"],[1,"bv2-slo-elements-table-empty-list-description"]],template:function(a,b){a&1&&(G(0,"div",1)(1,"div")(2,"div")(3,"label",2),S(4,"Rules"),I(),G(5,"a",3),K(6,"b-icon",4),I(),E(7,dab,6,3,"span",5),I(),G(8,"table",6)(9,"thead")(10,"tr",7)(11,"th",8),S(12,"Order"),I(),G(13,"th",9),S(14,"Type"),I(),G(15,"th",10),S(16,"Priority"),I(),G(17,"th",11),S(18,"Postmortem"),I(),G(19,"th",12),S(20,"Metric"),I(),G(21,"th",13),S(22,"Objective"),I(),G(23,"th",14),S(24," Day Type "),I(),K(25,"th",15),I()(),
E(26,Vab,2,3,"tbody",16),I(),G(27,"div"),E(28,Wab,2,0,"div",17),I()()());a&2&&(A(6),F("name","help-outline")("size","small"),A(),F("ngIf",!b.isDisabled),A(19),F("ngIf",b.collection&&0!=b.collection.length),A(2),F("ngIf",!b.collection||0==b.collection.length))},dependencies:[Dw,zw,B0,yT,xT,cx,ux,jx,iE,HO,dB,mE,IC,HC,JC,gR,aR,jz,nE,OC,x0,z0],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 D0=function(a,b,c){var d=this;this.sloElement=a;this.controllerReference=b;this.isNewElement=void 0===c?!1:c;this.metricSelectorValid=this.postmortemPickerValid=this.priorityPickerValid=this.typePickerValid=this.isEditingInternal=!1;this.objectiveValid=!0;this.validatePriorityPicker=function(){var e=bFc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=bFc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=bFc(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,f){if("BUSINESS"!==d.selectedDayType){if(!e.match(/^\d+$/)||"0"===e)return d.objectiveValid=!1,"Objective must be a positive integer"}else{if(!e.match(/^\d*$/)||!f.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==f&&"0"!==f))return d.objectiveValid=
!1,"A business day or time based duration must be specified."}d.objectiveValid=!0;return null};this.matcherText=a.matcher;this.selectedMetric=a.metric;this.selectedDayType=a.dayType||"CALENDAR";this.selectedObjectiveDuration=mFc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return nFc(d,e)}};oFc(this);this.typePickerValues=pFc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return wab(d.controllerReference,e)});this.priorityPickerValues=pFc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return Bab(d.controllerReference,e)});this.postmortemPickerValues=pFc(this.controllerReference.anyNoneDisplayValues.keys(),function(e){return 0===d.parseResult.postmortemValues.length||
d.parseResult.postmortemValues.includes(e)},function(e){return d.controllerReference.anyNoneDisplayValues.get(e)});this.validateTypePicker();this.validatePriorityPicker();this.validatePostmortemPicker();nFc(this,this.selectedMetric)},mFc=function(a){return a?a:{seconds:86400,nanos:0}};D0.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var nFc=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
D0.prototype.stopEditing=function(){if(this.isEditingInternal&&(this.isValid()||this.isNewElement)){this.controllerReference.openRow=null;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.isEditingInternal=this.isNewElement=!1;this.canEdit=!0;qFc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;oFc(this)}};
var qFc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=rFc(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=rFc(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=rFc(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};D0.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 rFc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
D0.prototype.startEditing=function(){if(!this.isEditingInternal){this.controllerReference.canPerformActions=!1;this.controllerReference.openRow=this;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.canEdit=!1;this.isEditingInternal=!0;oFc(this)}};var oFc=function(a){a.parseResult=iFc(a.controllerReference.sloParseService,a.matcherText)},pFc=function(a,b,c){var d={};a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new $Ec(h,f)}return new aFc(d)};var E0=function(){};E0.\u0275fac=function(a){return new (a||E0)};E0.\u0275mod=hd({type:E0});E0.\u0275inj=Rc({imports:[rE,yx,hR]});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275mod=hd({type:F0});F0.\u0275inj=Rc({imports:[rE]});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=hd({type:G0});G0.\u0275inj=Rc({imports:[rE,F0,zT,yx,tE,IO,uE,hR,vE,y0,E0]});var H0=function(a,b,c,d,e){Z.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};Y(H0,Z);H0.\u0275dir=Z.\u0275dir;g=H0.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.ngOnInit=function(){var a=this,b=IF(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next SLO",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous SLO",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View SLO detail",onPress:function(){var c=a.slos[a.focusedIndex];c&&a.editSlo(c);a.cdr.detectChanges()}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.slos[a].name};g.editSlo=function(a){this.location.path(this.paths.editSlo(a.sloId))};
H0.\u0275fac=function(a){return new (a||H0)(C(Wd),C(ME,2),C(QF),C(RF),C(HF))};
H0.\u0275cmp=r({type:H0,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[wg([ME]),Ff],decls:16,vars:1,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],
["tabindex","-1",1,"grid-link",3,"click","href"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(G(0,"table",0)(1,"thead")(2,"tr",1),K(3,"th",2),G(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),S(8," SLO name "),I()()()(),G(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),S(13," Description "),I()()()()()(),G(14,"tbody"),E(15,Xab,7,7,"tr",6),I()());a&2&&(A(15),F("ngForOf",b.slos))},dependencies:[Dw],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 I0=function(){};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275mod=hd({type:I0});I0.\u0275inj=Rc({imports:[rE]});var J0=function(a,b){this.log=a;this.dateFormatter=b},tFc=function(a,b){var c=mPa(b.addMask.paths),d=mPa(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=k(new Set([].concat(u(c),u(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=zac.get(q);if("name"===q){var t=qp(d,q,b.name);q=qp(c,q,f.name);e.diffs.push(rp(l,t,q))}else if("description"===q)t=qp(d,q,b.description),q=qp(c,q,f.description),e.diffs.push(rp(l,t,q));else if("parentId"===
q)t=qp(d,q,String(b.parentId)),q=qp(c,q,String(f.parentId)),e.diffs.push(rp(l,t,q));else if("elements"===q){var w=f.elements;t=nPa(d,q,b.elements.map(function(B){return sFc(B)}));q=nPa(c,q,w.map(function(B){return sFc(B)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:t,added:q}})}else a.log.error("Unsupported diff field.")}return e},sFc=function(a){var b=a.matcher,c=yac.get(a.metric),d=mab.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(nfc(1E3*a.objective.seconds));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};J0.\u0275fac=function(a){return new (a||J0)(p(uF),p(gO))};J0.\u0275prov=Pc({token:J0,factory:J0.\u0275fac,providedIn:"root"});var K0=function(){};K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275mod=hd({type:K0});K0.\u0275inj=Rc({imports:[rE,aO,cD,VA]});var wFc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(uFc);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a[c]){var d=a[c],e=void 0;Array.isArray(d)?e=d.map(function(f){return"string"===typeof f?ti(f):""}):e="string"===typeof d?ti(d):"";this.templateAttributes[c]=e}b=k(vFc);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=k(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),Rk(c)||(this.templateCustomFields[b[0]]=c)},yFc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||xFc.some(function(b){return null!=a.templateAttributes[b]})},DFc=function(a,b,c){null!=c&&(zFc(a,c),AFc(a,b,c),BFc(b,c));c=k(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;CFc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},AFc=function(a,b,c){null==b.customField&&(b.customField=
[]);for(var d={},e=k(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=k(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$22:void 0},h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;f.customFieldId$jscomp$22=qi(h);l={customFieldId:f.customFieldId$jscomp$22,value:l};h=a.getCustomFieldValue(l,c);null!=d[f.customFieldId$jscomp$22]?(f=b.customField.findIndex(function(q){return function(t){return t.customFieldId===
q.customFieldId$jscomp$22}}(f)),b.customField[f]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
wFc.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=dBa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=eBa(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 dBa(e)}).filter(function(e){return null!==
e});c.repeatedDateValue={values:d};break;case "REPEATED_ENUM":d=a.value.split(",");c.repeatedEnumValue={values:d};break;case "REPEATED_NUMERIC":d=a.value.split(",").map(function(e){return eBa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};wFc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var zFc=function(a,b){a.templateCustomFields=ic(a.templateCustomFields,function(c,d){return!!b[d]})},BFc=function(a,b){if(null!=a.customField){a=k(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(l){return h.allowedValues.includes(l)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},uFc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),vFc=["inProd"],xFc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),L0={},CFc=(L0.cc=function(a,b){a.ccUsers=
abb(b,a.ccUsers||[])},L0.collaborators=function(a,b){a.collaboratorsUsers=abb(b,a.collaboratorsUsers||[])},L0.title=function(a,b){"string"===typeof b&&(a.title=b)},L0.assignee=function(a,b){$ab(b,function(c){a.assigneeUser=c})},L0.reporter=function(a,b){$ab(b,function(c){a.reporterUser=c})},L0.verifier=function(a,b){$ab(b,function(c){a.verifierUser=c})},L0.hotlistIds=function(a,b){if(b=Yab(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},L0.blockingIssueIds=
function(a,b){if(b=Yab(b))a.blockingIssueId=b.map(String)},L0.blockedByIssueIds=function(a,b){if(b=Yab(b))a.blockedByIssueId=b.map(String)},L0.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},L0.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},L0.inProd=function(a,b){a.inProd="true"===b},L0.priority=function(a,b){if(b=Zab(G5b,b))a.priority=di(b)},L0.severity=function(a,b){if(b=Zab(I5b,b))a.severity=Mra(b)},L0.type=function(a,b){if(b=Zab(jE,
b))a.type=Lra(b)},L0);var M0=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
M0.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,l,q,t,w,B,D,J,H;return me(function(O){switch(O.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if("ADD"!==f&&"REMOVE"!==f)throw Error("Ke");h={};l=[];q=[];t=bua(e);w=k(t.reverse());B=w.next();case 2:if(B.done){O.jumpTo(4);break}D=B.value;ne(O,5);return"ADD"===f?(J=D.map(function(P){return{targetIssueId:P,afterIssueId:void 0}}),oe(O,(0,X.firstValueFrom)(V$b(b.issueRelationshipApi,d,J)),8)):oe(O,(0,X.firstValueFrom)(W$b(b.issueRelationshipApi,
d,D)),8);case 8:return oe(O,b.issueApi.batchGetIssues(D).then(function(P){return P.map(function(U){return h[U.issueId]=U})}),11);case 11:au(O,3);break;case 5:H=re(O);if(!Xn(H))throw H;q.push(H);l.push.apply(l,u(D));case 3:B=w.next();O.jumpTo(2);break;case 4:return O.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};M0.\u0275fac=function(a){return new (a||M0)(p(zJ),p(fH))};M0.\u0275prov=Pc({token:M0,factory:M0.\u0275fac,providedIn:"root"});var N0=function(a,b){Z.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};Y(N0,Z);N0.\u0275dir=Z.\u0275dir;N0.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.getUrl());21<a.history.length&&a.history.shift()}))};N0.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};N0.prototype.hasPreviousPage=function(){return 1<this.history.length};
var O0=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("/")};N0.\u0275fac=function(a){return new (a||N0)(p(xF),p(QF))};N0.\u0275prov=Pc({token:N0,factory:N0.\u0275fac,providedIn:"root"});var P0=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},EFc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&iu(d,"id=")||iu(d,"bugId="))d+=c;YN(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};P0.\u0275fac=function(a){return new (a||P0)(p(QF),p(vQ),p(XN))};P0.\u0275prov=Pc({token:P0,factory:P0.\u0275fac,providedIn:"root"});var Q0=function(a,b){Z.call(this);var c=this;this.routerEvents=a;this.documentVisibility=b;this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){c.ignoringNextNav||(t8b("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};Y(Q0,Z);Q0.\u0275dir=Z.\u0275dir;
Q0.prototype.install=function(){var a=this;Ik()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(this.onNavStart)),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(this.onNavSuccess)),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){a.onNavStart();a.onNavSuccess()})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(Ce(function(b){return"visible"!==b}),mf()).subscribe(function(){a.tabWasHidden=!0})))};
var FFc=function(a,b){t8b(b);if(b!==a.mostRecentlyMeasured){var c=1>=a.validNavigations?void 0:"appNavStart",d=c?"appNavStart-to-CF":"browserStart-to-CF",e=d+" -> "+b;a.mostRecentlyMeasured=b;if(("browserStart-to-CF"!==d||!a.tabWasHidden)&&Ik())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(f){console.warn("route_performance",f)}}};Q0.\u0275fac=function(a){return new (a||Q0)(p(xF),p(R0))};
Q0.\u0275prov=Pc({token:Q0,factory:Q0.\u0275fac,providedIn:"root"});var R0=function(a){var b=this;this.window=a;this.visibilityState$=(0,X.fromEvent)(this.window.document,"visibilityChange").pipe(vf(void 0),z(function(){return b.currentVisibility}))};Ac.Object.defineProperties(R0.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});R0.\u0275fac=function(a){return new (a||R0)(p(nH))};
R0.\u0275prov=Pc({token:R0,factory:R0.\u0275fac,providedIn:"root"});var GFc={provide:X8b,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},HFc={provide:X8b,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var S0=function(a){this.activeSession=a};S0.prototype.intercept=function(a,b){var c=a.method;return"POST"===c||"PUT"===c||"DELETE"===c?(a=a.clone({setHeaders:{"X-XSRF-TOKEN":this.activeSession.getXsrfToken()}}),b.handle(a)):b.handle(a)};S0.\u0275fac=function(a){return new (a||S0)(p(Zr))};S0.\u0275prov=Pc({token:S0,factory:S0.\u0275fac,providedIn:"root"});var IFc={provide:dA,useClass:S0,multi:!0};var T0=function(a){this.http=a};Y(T0,HE);g=T0.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(z(bbb(b.responseConstructor)))};
T0.\u0275fac=function(a){return new (a||T0)(p(cA))};T0.\u0275prov=Pc({token:T0,factory:T0.\u0275fac,providedIn:"root"});var U0=function(a){this.jspbExecutor=a};Y(U0,IE);U0.prototype.get=function(a){return(0,X.firstValueFrom)(this.jspbExecutor.get(a))};U0.prototype.delete=function(a){return(0,X.firstValueFrom)(this.jspbExecutor.delete(a))};U0.prototype.post=function(a){return(0,X.firstValueFrom)(this.jspbExecutor.post(a))};U0.prototype.put=function(a){return(0,X.firstValueFrom)(this.jspbExecutor.put(a))};
U0.\u0275fac=function(a){return new (a||U0)(p(T0))};U0.\u0275prov=Pc({token:U0,factory:U0.\u0275fac,providedIn:"root"});var V0=function(){};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275mod=hd({type:V0});V0.\u0275inj=Rc({providers:[{provide:HE,useClass:T0},{provide:IE,useClass:U0}],imports:[rE]});var W0=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new X.ReplaySubject(1);this.accessCheckIsThinking$=new X.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(wf(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(wf(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return NG(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,X.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!d&&!e}),vf(!1));this.manageComponentLink=""};W0.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};W0.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
W0.\u0275fac=function(a){return new (a||W0)(C(ZH),C(LG))};
W0.\u0275cmp=r({type:W0,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[xd],decls:6,vars:7,consts:[["notComponentReader",""],[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],[3,"href"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),V(1,"async"),E(2,cbb,3,4,"a",2),V(3,"async"),E(4,dbb,2,1,"ng-template",null,0,Eg),I());a&2&&(a=R(5),F("isReady",W(1,3,b.isReady$)),A(2),F("ngIf",W(3,5,b.userIsComponentReader$))("ngIfElse",a))},dependencies:[zw,EV,Iw],encapsulation:2});var X0=function(a,b,c){this.documentationLinks=a;this.activeSession=b;this.loginRedirector=c;this.isAnonymous=this.activeSession.isAnonymous();this.enableSignInAnonymousAccessDenied=hE(this.activeSession,"enableSignInAnonymousAccessDenied");this.showIssueMetadataContainer=!1};
Ac.Object.defineProperties(X0.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(a){this.issueId=a.issueId;this.issueLastModified=Kn(a.modifiedTime);a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId));if(a=a.issueState)this.issueType=ei(a.type),this.issueStatus=Tk[a.status],this.issuePriority=a.priority,this.issueSeverity=q5b[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=Aq(a.accessLimitLevel);this.showIssueMetadataContainer=!0}else this.showIssueMetadataContainer=
!1}}});X0.\u0275fac=function(a){return new (a||X0)(C(TM),C(Zr),C(Y0))};
X0.\u0275cmp=r({type:X0,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},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"],["mat-flat-button","","color","primary",1,"gmat-button"],["mat-flat-button","","color",
"primary",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(G(0,"div",2)(1,"h3",3),S(2," Access is denied to this issue "),I(),E(3,fbb,1,1,"ng-container")(4,hbb,1,1,"ng-container"),I(),E(5,kbb,40,13,"ng-template",null,0,Eg)(7,mbb,3,1,"ng-template",null,1,Eg));a&2&&(A(3),Uf(b.showIssueMetadataContainer?3:-1),A(),Uf(b.isAnonymous?4:-1))},dependencies:[Hw,W0,IV,pT,CA,Lw],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 Y0=function(a){this.bLocation=a};Y0.prototype.redirect=function(){var a=qc("/loginRedirect?continue="+encodeURIComponent(this.bLocation.getUrl())),b=window.location;a=sc(a);void 0!==a&&b.replace(a)};Y0.\u0275fac=function(a){return new (a||Y0)(p(QF))};Y0.\u0275prov=Pc({token:Y0,factory:Y0.\u0275fac,providedIn:"root"});var Z0=function(){};Z0.\u0275fac=function(a){return new (a||Z0)};Z0.\u0275mod=hd({type:Z0});Z0.\u0275inj=Rc({imports:[rE,$W]});var a1=function(){};a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275mod=hd({type:a1});a1.\u0275inj=Rc({imports:[rE,Z0,WW,qT,cD]});var JFc=Symbol("Me"),KFc=RegExp("today([+-]\\d+)?"),b1=function(a){this.ruleConfigService=a};
b1.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new c1(a,d1(this.ruleConfigService)):"ENUM"===a.customField.type?new LFc(a,d1(this.ruleConfigService)):"REPEATED_ENUM"===a.customField.type?new MFc(a,d1(this.ruleConfigService)):"NUMERIC"===a.customField.type?new e1(a,d1(this.ruleConfigService)):new f1(a,d1(this.ruleConfigService));else b=a.label.field,b=d1(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||g1)(a,d1(this.ruleConfigService));b[JFc](a);return b};
var Wcb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};b1.\u0275fac=function(a){return new (a||b1)(p(h1))};b1.\u0275prov=Pc({token:b1,factory:b1.\u0275fac,providedIn:"root"});
var NFc=["OR","AND","NAND"],OFc=["OR","NAND"],PFc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),QFc=["AND","OR","NAND"],RFc=["OR","LT","GT","LE","GE"],g1=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};g1.prototype[JFc]=function(a){this.initType(a);this.initValues(a)};
g1.prototype.initType=function(a){if(a.type)switch(a.operator){case "LT":this.type=a.negated?"GE":"LT";break;case "GT":this.type=a.negated?"LE":"GT";break;case "LE":this.type=a.negated?"GT":"LE";break;case "GE":this.type=a.negated?"LT":"GE";break;default:this.type="OR"===a.type?a.negated?"NOR":"OR":"AND"===a.type?a.negated?"NAND":"AND":a.negated?"NAND":"OR"}else this.type=this.getLegalTypes()[0]};g1.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var SFc=function(a){var b="NAND"===a.type||"NOR"===a.type||"NDURATION"===a.type||"NRANGE"===a.type,c="EQ";if("AND"===a.type||"NAND"===a.type)var d="AND";else if("OR"===a.type||"NOR"===a.type)d="OR";else if(d="NIL","LE"===a.type||"LT"===a.type||"GE"===a.type||"GT"===a.type)c=a.type;b&&("AND"===d?d="OR":"OR"===d&&(d="AND"));return{operator:c,joinType:d,negated:b}};
g1.prototype.toString=function(){var a=SFc(this),b=this.valuesToStrings().filter(function(e){return e}),c={GT:">",LT:"<",GE:">=",LE:"<=",EQ:":"};if(1===b.length)b=b[0];else if(1<b.length)b="("+b.join("AND"===a.joinType?" ":" | ")+")";else return"";var d=TFc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var TFc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:oi(b).toLowerCase()+(a.label.customFieldId||"")};g1.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
g1.prototype.getWidgetType=function(){return"default"};g1.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};g1.prototype.getLegalTypes=function(){return NFc};var UFc=[],i1=function(a,b){g1.call(this,a,b);this.enumValues={}};Y(i1,g1);g=i1.prototype;g.getLegalTypes=function(){return OFc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=k(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=k(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[nbb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(ic(this.enumValues,function(a){return a}))};g.getOptions=function(){return UFc};var VFc=Iaa().map(function(a){return{id:"p"+a,label:"P"+a}}),WFc=function(a,b){i1.call(this,a,b)};Y(WFc,i1);
WFc.prototype.getOptions=function(){return VFc};var XFc=Iaa().map(function(a){return{id:"s"+a,label:"S"+a}}),YFc=function(a,b){i1.call(this,a,b)};Y(YFc,i1);YFc.prototype.getOptions=function(){return XFc};
var ZFc=[{id:"bug"},{id:"customer_issue",label:"customer issue"},{id:"feature_request",label:"feature request"},{id:"internal_cleanup",label:"internal cleanup"},{id:"process"},{id:"vulnerability"},{id:"privacy_issue",label:"privacy issue"},{id:"project"},{id:"feature"},{id:"milestone"},{id:"epic"},{id:"story"},{id:"task"}],$Fc=function(a,b){i1.call(this,a,b)};Y($Fc,i1);$Fc.prototype.getOptions=function(){return ZFc};
var aGc=[{id:"open"},{id:"new",group:"open"},{id:"assigned",group:"open"},{id:"accepted",group:"open"},{id:"closed"},{id:"fixed"},{id:"verified"},{id:"duplicate"},{id:"infeasible"},{id:"intended_behavior",label:"intended behavior"},{id:"not_reproducible",label:"not reproducible"},{id:"obsolete"}],bGc=function(a,b){i1.call(this,a,b)};Y(bGc,i1);bGc.prototype.getOptions=function(){return aGc};
var cGc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],dGc=function(a,b){i1.call(this,a,b)};Y(dGc,i1);dGc.prototype.getOptions=function(){return cGc};var eGc=[{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"}],fGc=function(a,b){i1.call(this,a,b)};Y(fGc,i1);fGc.prototype.getOptions=function(){return eGc};
var LFc=function(a,b){i1.call(this,a,b);this.allowedValues=[]};Y(LFc,i1);LFc.prototype[JFc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:nbb(b)}});i1.prototype[JFc].call(this,a)};LFc.prototype.valuesToStrings=function(){return Object.keys(ic(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};LFc.prototype.getOptions=function(){return this.allowedValues};
var MFc=function(a,b){g1.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=null!=(d=null==(c=a.customField)?void 0:c.allowedValue)?d:[]};Y(MFc,g1);MFc.prototype.getWidgetType=function(){return"repeated-enum"};MFc.prototype.getOptions=function(){return this.allowedValues};var tr=function(a,b){g1.call(this,a,b);this.csv=""};Y(tr,g1);tr.prototype.getWidgetType=function(){return"csv"};tr.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};
tr.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var j1=function(a,b){tr.call(this,a,b)};Y(j1,tr);j1.prototype.getWidgetType=function(){return"id"};j1.prototype.valuesToStrings=function(){return tr.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(qi(a))})};var gGc=function(a,b){tr.call(this,a,b)};Y(gGc,j1);gGc.prototype.getLegalTypes=function(){return OFc};
var k1=function(a,b){tr.call(this,a,b)};Y(k1,tr);k1.prototype.getWidgetType=function(){return"user"};var l1=function(a,b){tr.call(this,a,b)};Y(l1,k1);l1.prototype.getLegalTypes=function(){return OFc};var c1=function(a,b){g1.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};Y(c1,g1);var Bcb=function(a){return a&&"string"===typeof a?a:""};
c1.prototype.initType=function(a){g1.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":iu(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};c1.prototype.getWidgetType=function(){return"date"};
c1.prototype.initValues=function(a){if(a.values){var b=a.values[0].simpleValues[0].value;if("DURATION"===this.type||"NDURATION"===this.type)this.duration=b.slice(0,b.length-1);else if(this.dateFrom=hGc(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=hGc(a.values[0].simpleValues[1].value)}};
c1.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=qi(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&iGc(this.dateFrom)||(new pi).toIsoString(!0);var b=this.dateTo&&iGc(this.dateTo)||(new pi).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&iGc(this.dateFrom)||(new pi).toIsoString(!0)]};
var jGc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},hGc=function(a){if(KFc.test(a))return a;var b=new Mn(2E3);a=ti(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(qXb);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var l=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new Hz("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new Hz("d",(4>=d?1-d:8-d)+
(Number(l)+7*(Number(c)-1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(sXb);if(a)if(c=c.substring(0,c.length-a[0].length),"Z"===a[0])var q=0;else q=60*Number(a[2])+Number(a[3]),q*="-"==a[1]?1:-1;if(h=c.match(rXb)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var t=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,f,t);h&&(a-=126227808E5);b.setTime(a+6E4*
q)}else b.setHours(Number(h[1])),b.setMinutes(Number(h[2])||0),b.setSeconds(Number(h[3])||0),b.setMilliseconds(h[4]?1E3*Number(h[4]):0);c=!0}else c=!1}return jGc(c?b:null)},iGc=function(a){if(KFc.test(a))return a;a=a.split("/").map(Number);return(new pi(a[2],a[0]-1,a[1])).toIsoString(!0)};c1.prototype.getLegalTypes=function(){return PFc};var m1=function(a,b){g1.call(this,a,b)};Y(m1,g1);m1.prototype.getWidgetType=function(){return"bool"};
m1.prototype.initType=function(a){var b="OR"===a.type||""===a.type;a.values&&(b="true"===a.values[0].simpleValues[0].value.toLowerCase());a.negated&&(b=!b);this.type=b?"OR":"NAND"};m1.prototype.toString=function(){return TFc(this)+":"+("OR"===this.type)};m1.prototype.getLegalTypes=function(){return OFc};var n1=function(a,b){g1.call(this,a,b)};Y(n1,g1);n1.prototype.getWidgetType=function(){return"boolwithall"};
n1.prototype.initType=function(a){-1===this.getLegalTypes().indexOf(a.type)?this.type=this.getLegalTypes()[0]:this.type=a.type;if(a.values)switch(a.values[0].simpleValues[0].value){case "true":this.type="OR";break;case "false":this.type="NAND";break;case "all":this.type="AND"}a.negated&&"AND"!==this.type&&(this.type="OR"===this.type?"NAND":"OR")};n1.prototype.toString=function(){var a=TFc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
n1.prototype.getLegalTypes=function(){return QFc};var f1=function(a,b){g1.call(this,a,b)};Y(f1,g1);f1.prototype.getWidgetType=function(){return"text"};f1.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){b=b.simpleValues[0];var c=b.value;"QUOTED_TEXT"===b.type&&(c=c.slice(1,c.length-1));return{value:c}})};f1.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var kGc=function(a,b){g1.call(this,a,b)};Y(kGc,g1);kGc.prototype.getWidgetType=function(){return"component"};kGc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};iu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};kGc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var lGc=function(a,b){g1.call(this,a,b)};Y(lGc,g1);lGc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};iu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};lGc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var mGc=function(a,b){g1.call(this,a,b)};Y(mGc,g1);mGc.prototype.getWidgetType=function(){return"tracker"};
var nGc=function(a,b){g1.call(this,a,b)};Y(nGc,lGc);nGc.prototype.getWidgetType=function(){return"team"};var oGc=function(a,b){g1.call(this,a,b)};Y(oGc,g1);oGc.prototype.getWidgetType=function(){return"hotlist"};var pGc=function(a,b){g1.call(this,a,b)};Y(pGc,g1);pGc.prototype.getWidgetType=function(){return"savedsearch"};var e1=function(a,b){tr.call(this,a,b)};Y(e1,tr);e1.prototype.getWidgetType=function(){return"number"};e1.prototype.getLegalTypes=function(){return RFc};
var qGc=function(a,b){c1.call(this,a,b)};Y(qGc,c1);qGc.prototype.initType=function(a){c1.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var o1={},rGc=(o1.ATTACHMENT={ruleCtor:f1,name:"Attachment name"},o1.COMMENT={ruleCtor:f1},o1.TITLE={ruleCtor:f1},o1.ASSIGNEE={ruleCtor:l1},o1.MODIFIER={ruleCtor:k1},o1.REPORTER={ruleCtor:l1},o1.VERIFIER={ruleCtor:l1},o1.CC={ruleCtor:k1},o1.COLLABORATOR={ruleCtor:k1},o1.COMPONENT_ID={ruleCtor:kGc,name:"Component"},o1.TRACKER_ID={ruleCtor:mGc,name:"Tracker"},o1.TYPE={ruleCtor:$Fc},o1.STATUS={ruleCtor:bGc},o1.PRIORITY={ruleCtor:WFc},o1.SEVERITY={ruleCtor:YFc},o1.BLOCKED_BY_ID={ruleCtor:j1},o1.BLOCKING_ID=
{ruleCtor:j1},o1.PARENT_ID={ruleCtor:j1},o1.CANONICAL_ID={ruleCtor:gGc},o1.ID={ruleCtor:gGc},o1.FOUND_IN={ruleCtor:tr},o1.TARGETED_TO={ruleCtor:tr},o1.VERIFIED_IN={ruleCtor:tr},o1.CL={ruleCtor:tr,name:"Changelists"},o1.MODIFIED={ruleCtor:c1},o1.RESOLVED={ruleCtor:qGc},o1.CREATED={ruleCtor:c1},o1.VERIFIED={ruleCtor:qGc},o1.DELETION_TIME={ruleCtor:c1,name:"Deletion time"},o1.SAVED_SEARCH_ID={ruleCtor:pGc,name:"Saved search"},o1.HOTLIST_ID={ruleCtor:oGc,name:"Hotlist"},o1.STAR={ruleCtor:m1,name:"Starred"},
o1.MUTE={ruleCtor:m1,name:"Muted"},o1.VOTE={ruleCtor:m1,name:"Upvoted by me"},o1.IN_PROD={ruleCtor:m1,name:"In production"},o1.CC_COUNT={ruleCtor:e1},o1.COLLABORATOR_COUNT={ruleCtor:e1},o1.DUPLICATE_COUNT={ruleCtor:e1},o1.VOTE_COUNT={ruleCtor:e1},o1.COMMENT_COUNT={ruleCtor:e1},o1.DESCENDANT_COUNT={ruleCtor:e1},o1.OPEN_DESCENDANT_COUNT={ruleCtor:e1},o1.ONE_DAY_VIEW_COUNT={ruleCtor:e1},o1.SEVEN_DAY_VIEW_COUNT={ruleCtor:e1},o1.THIRTY_DAY_VIEW_COUNT={ruleCtor:e1},o1.LAST_MODIFIER={ruleCtor:l1,name:"Last Modified By"},
o1.COMMENTER={ruleCtor:k1},o1.LAST_COMMENTER={ruleCtor:l1},o1.ARCHIVED={ruleCtor:n1},o1.IS_DELETED={ruleCtor:m1,name:"Deleted",queryLabel:"deleted"},o1.DELETION_REASON={ruleCtor:dGc,name:"Deletion reason"},o1.ACCESS_LEVEL={ruleCtor:fGc,name:"Issue access level"},o1._TEXT_={ruleCtor:f1,queryLabel:"",name:"All fields"},o1),sGc=Object.assign({},rGc,{EFFORT_LABEL:{ruleCtor:tr},MENTION:{ruleCtor:k1},MIN_SLO_TARGET:{ruleCtor:c1,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:tr,name:"Postmortems"},
TEAM_ID:{ruleCtor:nGc,name:"Team"}}),h1=function(a){this.activeSession=a;hE(a,"enableProgramUi")&&!ZFc.some(function(b){return"Program"===b.id})&&ZFc.push({id:"program"})},d1=function(a){return a.activeSession.isExternalSession()?rGc:sGc};h1.\u0275fac=function(a){return new (a||h1)(p(Zr))};h1.\u0275prov=Pc({token:h1,factory:h1.\u0275fac,providedIn:"root"});var tGc=function(a){this.internalArray_=m(a)};Y(tGc,n);g=tGc.prototype;g.getField=function(){return Qi(this,1,0)};g.clearField=function(){return lp(this,1)};g.getCustomFieldId=function(){return Du(this,2)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Du(this,2)};g.getCustomFieldId_asString=function(){return Ti(this,2)};g.setCustomFieldId=function(a){return oj(this,2,a)};g.hasCustomFieldId=function(){return null!=Si(this,2)};var tbb=function(a){this.internalArray_=m(a)};Y(tbb,n);g=tbb.prototype;g.getType=function(){return Qi(this,1,0)};g.setType=function(a){return jj(this,1,a)};g.hasType=function(){return Oi(this,1)};g.getValue=function(){return ec(this,2)};g.setValue=function(a){return Zh(this,2,a)};g.hasValue=function(){return Ni(this,2)};var p1=function(a){this.internalArray_=m(a)};Y(p1,n);g=p1.prototype;g.getType=function(){return Qi(this,1,0)};g.setType=function(a){return jj(this,1,a)};g.hasType=function(){return Oi(this,1)};g.getValuesList=function(a){return Ii(this,p1,2,hi(a))};g.setValuesList=function(a){return mm(this,2,a)};g.setValues=function(a,b){wu(this,2,p1,a,b)};p1.repeatedFields_=[2,3];var Bbb=function(a){this.internalArray_=m(a)};Y(Bbb,n);g=Bbb.prototype;g.getType=function(){return Qi(this,1,0)};g.setType=function(a){return jj(this,1,a)};g.hasType=function(){return Oi(this,1)};g.getValuesList=function(a){return Ii(this,p1,2,hi(a))};g.setValuesList=function(a){return mm(this,2,a)};g.setValues=function(a,b){wu(this,2,p1,a,b)};g.getLabel=function(){return Gi(this,tGc,4)};g.setLabel=function(a){return hj(this,tGc,4,a)};g.hasLabel=function(){return Ui(this,tGc,4)};
Bbb.repeatedFields_=[2];var or=function(a){this.internalArray_=m(a,0,or.messageId)};Y(or,n);or.prototype.getType=function(){return Qi(this,1,0)};or.prototype.setType=function(a){return jj(this,1,a)};or.prototype.hasType=function(){return Oi(this,1)};or.repeatedFields_=[2];or.messageId="b.QueryBuilderResponse";var ybb=function(a){this.internalArray_=m(a,0,ybb.messageId)};Y(ybb,n);ybb.messageId="b.SyntaxErrorResponse";var uGc=function(a){this.internalArray_=m(a,0,uGc.messageId)};Y(uGc,n);uGc.prototype.getKindCase=function(){return tm(this,zbb)};var zbb=[1,2];uGc.messageId="b.QueryBuilderResponseOrError";var q1=function(a){this.executor=a},vGc=function(a,b){b=Un(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:uGc}).then(Cbb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(obb)});return c})};q1.\u0275fac=function(a){return new (a||q1)(p(IE))};q1.\u0275prov=Pc({token:q1,factory:q1.\u0275fac,providedIn:"root"});var r1=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new Uv;this.onEmptyQuery=new Uv;this.searchQuery$=new X.Subject;this.teamSuggestions$=this.searchQuery$.pipe(jf(300),lf(),wf(function(c){return lK(b.teamsService,c)}),z(function(c){return c.map(function(d){return new Ebb(d.pathIds,d.pathNames,d.description)})}))};r1.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
r1.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};r1.prototype.displayFn=function(a){return a?a.name:""};r1.prototype.ngAfterViewInit=function(){};r1.\u0275fac=function(a){return new (a||r1)(C(jK))};
r1.\u0275cmp=r({type:r1,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&lg(RL,7);if(a&2){var c;pg(c=qg())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,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"],["class","team-search-result",3,"value",4,"ngFor","ngForOf"],[1,"team-search-result",3,"value"],[4,"ngFor","ngForOf"],[1,"description",3,"matTooltip"],[1,"path-names",3,"click","matTooltip"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=v();G(0,"div",2)(1,"input",3,0);N("click",function(){x(c);var d=R(2);return y(b.search(d.value))})("input",
function(){x(c);var d=R(2);return y(b.search(d.value))});I();G(3,"mat-autocomplete",4,1);N("optionSelected",function(d){x(c);return y(b.updateSelectionOnChange(d))});E(5,Hbb,6,8,"mat-option",5);V(6,"async");I()()}a&2&&(a=R(4),A(),fg("placeholder",b.placeholder),F("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",a),Hf("aria-disabled",b.disabled),A(2),F("panelWidth",b.panelWidth)("displayWith",b.displayFn),A(2),F("ngForOf",W(6,8,b.teamSuggestions$)))},dependencies:[Dw,zw,PL,QL,jz,
RL,nE,OC,bh,cx,jx,Iw,Pw],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 Ebb=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 wGc(a.slice(0,e+1),b.slice(0,e+1))})},wGc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var s1=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new Uv;this.searchQuery$=new X.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(jf(300),lf(),wf(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),z(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};s1.prototype.ngAfterViewInit=function(){};s1.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
s1.prototype.search=function(a){this.searchQuery$.next(a)};s1.\u0275fac=function(a){return new (a||s1)(C(sK))};
s1.\u0275cmp=r({type:s1,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&lg(RL,7);if(a&2){var c;pg(c=qg())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,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"],["class","tracker-search-result",3,"value",4,"ngFor","ngForOf"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=v();G(0,"input",2,0);N("click",function(){x(c);var d=R(1);return y(b.search(d.value))})("input",function(){x(c);var d=R(1);return y(b.search(d.value))});I();G(2,"mat-autocomplete",3,1);N("optionSelected",function(d){x(c);return y(b.updateSelectionOnChange(d))});E(4,Ibb,3,2,"mat-option",4);
V(5,"async");I()}a&2&&(a=R(3),F("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",a),Hf("aria-disabled",b.disabled),A(2),F("displayWith",b.displayFn),A(2),F("ngForOf",W(5,7,b.trackerSuggestions$)))},dependencies:[Dw,PL,QL,jz,RL,bh,cx,jx,Iw],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 t1=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O){Z.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=f;this.issueSearchResources=h;this.activeSession=l;this.elementRef=q;this.errorHandler=t;this.componentActions=w;this.teamsService=B;this.searchRuleConfigService=D;this.searchRuleFactory=J;this.cdr=H;this.currentTracker=O;this.isTrackerSearchEnabled=!1;this.availableLabels=[];this.expressions=[];this.components={};this.trackers=
{};this.teams={};this.hotlists={};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null;this.trackByIndex=function(P){return P};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=xGc;this.globalTypeLabels=yGc;this.state="INIT"};Y(t1,Z);t1.\u0275dir=Z.\u0275dir;
var zGc=function(a){var b=[];hc(d1(a.searchRuleConfigService),function(c,d){"SAVED_SEARCH_ID"===d||"TRACKER_ID"===d&&!a.isTrackerSearchEnabled||"TEAM_ID"===d&&!a.sessionIsInternal||(c.name?b.push([d,c.name]):b.push([d,pFa(d)]))},a);b.sort(function(c,d){return Faa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};t1.prototype.schedule=function(a){this.subscriptions.add(X.asyncScheduler.schedule(a))};t1.prototype.ngOnInit=function(){this.cdr.detectChanges()};
t1.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=zGc(this))};
var CGc=function(a,b){a.reset();b?AGc(a,b):(a.expressions=BGc.map(function(c){return Wcb(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=k(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=k(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()},AGc=function(a,b){vGc(a.issueSearchResources,b).then(function(c){if(c.syntaxError)return a.state="SYNTAX_ERROR",Wo(a.analytics,"adv-search","adv-search-syntax-error"),a.cdr.detectChanges(),null;a.expressionType=c.type;a.expressions=[];c=c.expressions.map(function(d){return DGc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=k(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
Wo(a.analytics,"adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},DGc=function(a,b){b.label&&"TRACKER_ID"===b.label.field&&!a.isTrackerSearchEnabled&&(b.label.field="_TEXT_");b.label&&"TEAM_ID"===b.label.field&&!a.sessionIsInternal&&(b.label.field="_TEXT_");return b.label&&"CUSTOM_FIELD"===b.label.field&&void 0!==b.label.customFieldId?EGc(a,b.label.customFieldId).then(function(c){b.customField=
c;return FGc(a,b)}):Promise.resolve(FGc(a,b))},EGc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},FGc=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;GGc(a,b);return b},GGc=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=k(b.values);for(var c=b.next();!c.done;c=b.next())c=ql(c.value.value),a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=
k(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||HGc(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=k(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||IGc(a,c);break;case "SAVED_SEARCH_ID":b=k(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=k(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})}};t1.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){cp(b.currentTracker)&&c.trackerId!==b.currentTracker.getTrackerId()||(b.components[a]=c)})};
var HGc=function(a,b){a.trackerFridge.watch(b).pipe(xf(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},IGc=function(a,b){lK(a.teamsService,b).pipe(gf(function(){return(0,X.of)([])}),xf(a.destroyed$)).subscribe(function(c){0<c.length?(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:""}})},JGc=function(a){var b="AND"===a.expressionType?" ":" | ";return jQb(a.expressions.map(function(c){return c.label?
c.toString():""}),i0b).join(b)};t1.prototype.getState=function(){return this.state};t1.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var Zcb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=Wcb(a.searchRuleFactory,d.field),Xcb(a,a.expressions[b]));a.cdr.detectChanges()},Xcb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c||"repeatedenum"===c?rr(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=jGc(new pi)),b.dateTo||(b.dateTo=jGc(new pi)))};
t1.prototype.removeExpression=function(a){wa(this.expressions,a);this.cdr.detectChanges()};var rr=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?ecb(a,c):"TRACKER_ID"===b.label.field?lcb(a,c):"TEAM_ID"===b.label.field?scb(a,c):"CUSTOM_FIELD"===b.label.field?Obb(a,c):sr(a,c);a.cdr.detectChanges()},qr=function(a,b,c){wa(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()};
t1.prototype.getDateValue=function(a){var b,c=a.match(KFc);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 sr=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},ecb=function(a,b){sr(a,b);a.componentUnderEdit=b.value?li(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},Obb=function(a,b){sr(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},lcb=function(a,b){sr(a,b);a.trackerUnderEdit=b.value?li(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},
scb=function(a,b){sr(a,b);a.teamUnderEdit=b.value?li(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},pr=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},ucb=function(a,b){Wo(a.analytics,sq.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;pr(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
t1.prototype.getTypeLabel=function(a,b){var c,d;return(null==(c=this.typeLabels[a.label.field])?void 0:c[b])||(null==(d=this.typeLabels[a.getWidgetType()])?void 0:d[b])||this.typeLabels.DEFAULT[b]};t1.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};t1.prototype.getComponentPath=function(a){if(!a)return"";var b=ur(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var yGc={AND:"Match all (AND)",OR:"Match any (OR)"},xGc={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"}},BGc=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];t1.\u0275fac=function(a){return new (a||t1)(C(ZI),C(QI),C(zI),C(VJ),C(EG),C(sK),C(q1),C(Zr),C(Wd),C(qI),C(SM),C(jK),C(h1),C(b1),C(ME,2),C(hM))};
t1.\u0275cmp=r({type:t1,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[wg([ME]),Ff,xd],decls:1,vars:1,consts:[["newExpressionMenu","matMenu"],["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title-container"],[1,"bv2-adv-search-title"],["appearance","outline","subscriptSizing","dynamic",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button",
"","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"matMenuTriggerFor"],[1,"mat-select-panel"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline","subscriptSizing","dynamic"],["color","primary",1,"bv2-adv-search-join-type",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModelChange",
"selectionChange","ngModel"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],["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-rule-content"],["class","bv2-adv-search-chip-container",4,"ngIf"],["class","bv2-adv-search-enum-rule",
4,"ngIf"],[4,"ngIf"],[1,"bv2-adv-search-chip-container"],[4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],["class","bv2-adv-search-chip bv2-adv-search-custom-repeated-enum-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["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-adv-search-chip-content"],[1,"bv2-search-custom-repeated-enum-picker",3,"onValueChange","showPlaceholder","customFieldTitle","currentInputValue","allowedValues"],["mat-stroked-button","",1,"bv2-adv-search-chip-add-btn",3,"click"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],
[3,"change","checked"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModelChange","ngModel","bContactAutocomplete"],["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"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"click","title"],[3,"svgIcon"],[1,"bv2-search-component-picker",
3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"onTrackerSelect","selectedTracker"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"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"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","class","bv2-adv-search-bookmark-item-form-field","subscriptSizing","dynamic",4,"ngIf"],["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"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&E(0,bdb,12,6,"div",
1);a&2&&F("ngIf","SUCCESS"===b.getState())},dependencies:[Dw,zw,nB,$S,ET,bh,cx,vx,jx,EX,CA,HO,dB,mE,IC,HC,JC,gR,aR,jz,KM,LM,r1,s1,gN,lT,Nw,ZK],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 u1=function(){};u1.\u0275fac=function(a){return new (a||u1)};u1.\u0275mod=hd({type:u1});u1.\u0275inj=Rc({imports:[rE,AM,PM,vE,yx]});var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=hd({type:v1});v1.\u0275inj=Rc({imports:[rE,AM,PM,vE,yx]});var w1=function(){};w1.\u0275fac=function(a){return new (a||w1)};w1.\u0275mod=hd({type:w1});w1.\u0275inj=Rc({imports:[rE,aT,FT,yx,LX,cD,IO,KO,uE,hR,PM,fL,u1,v1,rN,mT]});var x1=function(a){this.beapFridge=a};x1.prototype.getFeature=function(a){return KGc(this,"ALL").pipe(z(function(b){return b.find(function(c){return c.experimentId===a})}))};var KGc=function(a,b){b=void 0===b?"ALL":b;var c="ALL"===b,d="TEAM_FOOD"===b?"USER_GROUP_BUGANIZER_TEAM":"USER_GROUP_TRUSTED_TESTER";return a.beapFridge.watchMany({}).pipe(z(function(e){return e.results.filter(function(f){return c?!0:f.userGroup===d})}))};x1.prototype.refresh=function(){this.beapFridge.pokeMany({})};
x1.\u0275fac=function(a){return new (a||x1)(p(HH))};x1.\u0275prov=Pc({token:x1,factory:x1.\u0275fac,providedIn:"root"});var y1=function(){};y1.\u0275fac=function(a){return new (a||y1)};
y1.\u0275cmp=r({type:y1,selectors:[["b-feature-stage-label"]],inputs:{featureStage:"featureStage"},decls:3,vars:3,consts:[[3,"ngSwitch"],["class","badged teamfood",4,"ngSwitchCase"],["class","badged early-access",4,"ngSwitchCase"],[1,"badged","teamfood"],[1,"badged","early-access"]],template:function(a,b){a&1&&(L(0,0),E(1,cdb,1,0,"div",1)(2,ddb,1,0,"div",2),M());a&2&&(F("ngSwitch",b.featureStage),A(),F("ngSwitchCase","TEAM_FOOD"),A(),F("ngSwitchCase","EARLY_ACCESS"))},dependencies:[Ew,Fw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var z1=function(a){var b=this;this.beapService=a;this.experimentId$=new X.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(wf(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(z(function(c){if(!c)return"UNKNOWN";c=c.userGroup;return"USER_GROUP_BUGANIZER_TEAM"===c?"TEAM_FOOD":"USER_GROUP_TRUSTED_TESTER"===c?"EARLY_ACCESS":"UNKNOWN"}))};z1.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};z1.prototype.ngOnInit=function(){};
z1.\u0275fac=function(a){return new (a||z1)(C(x1))};z1.\u0275cmp=r({type:z1,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[xd],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(K(0,"b-feature-stage-label",0),V(1,"async"));if(a&2){var c;F("featureStage",null!==(c=W(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[y1,Iw],encapsulation:2});var A1=function(){};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275mod=hd({type:A1});A1.\u0275inj=Rc({imports:[rE]});var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=hd({type:B1});B1.\u0275inj=Rc({imports:[rE,A1]});var C1=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},edb=function(a){iq(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};C1.\u0275fac=function(a){return new (a||C1)(C(XN))};
C1.\u0275cmp=r({type:C1,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","class","gmat-button","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",1,"gmat-button",3,"click","matTooltip"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&E(0,fdb,3,3,"button",0)(1,gdb,2,1,"button",1);a&2&&(F("ngIf",!b.menuMode),A(),F("ngIf",b.menuMode))},dependencies:[zw,nB,CA,HC,nE,OC],styles:["[_nghost-%COMP%] { display: flex; }"]});var D1=function(a,b,c){Z.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.ThemePreferencesDensity=T4b;this.density="COMFORTABLE";this.enableWhatsNewDialog=hE(a,"enableWhatsNewDialog");this.enableBeap=hE(a,"enableBeap")};Y(D1,Z);D1.\u0275dir=Z.\u0275dir;g=D1.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(xf(this.destroyed$)).subscribe(function(b){if(null==b?0:b.themePreferences)a.density=b.themePreferences.density})};g.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
g.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};g.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};g.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};D1.\u0275fac=function(a){return new (a||D1)(C(Zr),C(gH),C(zF))};
D1.\u0275cmp=r({type:D1,selectors:[["b-app-settings-menu"]],features:[Ff],decls:28,vars:13,consts:[["settingsMenu","matMenu"],["mat-icon-button","","matTooltip","Settings","aria-label","Settings",1,"gmat-button",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],[1,"b-menu-header"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to comfortable",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role",
"menuitemcheckbox","aria-label","set display density to cozy",3,"click"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"internalOnly"],["mat-menu-item","","href","/settings/early-access",4,"ngIf"],[4,"ngIf"],["mat-menu-item","","href","/settings/early-access"],["featureStage","TEAM_FOOD","matTooltip","Teamfood"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,b){if(a&
1){var c=v();G(0,"button",1);K(1,"mat-icon",2);I();G(2,"mat-menu",null,0)(4,"div",3);S(5,"Display Density");I();G(6,"button",4);N("click",function(){x(c);return y(b.setDensity(b.ThemePreferencesDensity.COMFORTABLE))});G(7,"span",5);K(8,"mat-icon",6);I();S(9," Comfortable ");I();G(10,"button",7);N("click",function(){x(c);return y(b.setDensity(b.ThemePreferencesDensity.COZY))});G(11,"span",5);K(12,"mat-icon",6);I();S(13," Cozy ");I();G(14,"button",8);N("click",function(){x(c);return y(b.setDensity(b.ThemePreferencesDensity.COMPACT))});
G(15,"span",5);K(16,"mat-icon",6);I();S(17," Compact ");I();K(18,"mat-divider");G(19,"button",9);N("click",function(d){x(c);return y(b.browseComponents(d))});S(20,"Browse components");I();G(21,"button",9);N("click",function(d){x(c);return y(b.manageHotlists(d))});S(22,"Manage hotlists");I();E(23,hdb,2,0,"button",10);G(24,"button",9);N("click",function(d){x(c);b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey});return y()});S(25,"Settings");I();E(26,idb,3,0,"a",11)(27,jdb,3,
1,"ng-container",12);I()}a&2&&(a=R(3),F("disabled",b.session.isAnonymous())("matMenuTriggerFor",a),A(6),Qf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),Hf("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),A(4),Qf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY),Hf("aria-checked",b.density===b.ThemePreferencesDensity.COZY),A(4),Qf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT),Hf("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT),
A(12),F("ngIf",b.enableBeap),A(),F("ngIf",b.enableWhatsNewDialog))},dependencies:[zw,nB,mE,IC,HC,JC,CA,oE,nE,OC,C1,WN,y1],encapsulation:2,changeDetection:0});var E1=function(a){this.theme=a;this.isDark=!1;this.iconName="dark-mode-filled"};E1.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();LGc(this)};var LGc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};E1.\u0275fac=function(a){return new (a||E1)(C(wN))};
E1.\u0275cmp=r({type:E1,selectors:[["theme-change-btn"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(G(0,"button",0),N("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&yC(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());rec(c,!c.clientDarkmodeSubject.getValue());LGc(b)}),
K(1,"mat-icon",1),I());a&2&&(A(),F("svgIcon",b.iconName))},dependencies:[nB,CA,nE,OC],encapsulation:2});var F1=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=hE(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=hE(a,"majorReleaseNotesUpdated")};F1.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};F1.\u0275fac=function(a){return new (a||F1)(C(Zr),C(yN),C(XN),C(TM))};
F1.\u0275cmp=r({type:F1,selectors:[["b-app-actions"]],decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode",4,"ngIf"],["mat-icon-button","","class","gmat-button feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["mat-icon-button","","matTooltip","Help","aria-label","help",1,"gmat-button",3,"click"],["svgIcon","help-outline"],["id","whatsNewButton",3,"alertMode"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",
1,"gmat-button","feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(K(0,"theme-change-btn"),E(1,kdb,1,1,"b-whats-new-button",0)(2,ldb,2,0,"button",1),G(3,"button",2),N("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)}),K(4,"mat-icon",3),I(),K(5,"b-app-settings-menu"));a&2&&(A(),F("ngIf",b.enableWhatsNewDialog))},
dependencies:[zw,nB,CA,nE,OC,C1,WN,E1,D1],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 ndb=function(a){return[a]},odb=function(){return[]},G1=function(a){this.activeSession=a;this.clickMenu=new Uv;this.showMenu=!1;this.clickLogo=new Uv;this.chips=[]};G1.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};G1.\u0275fac=function(a){return new (a||G1)(C(Zr))};
G1.\u0275cmp=r({type:G1,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["mat-icon-button","","class","menu","aria-label","Expand/Collapse Navigation",3,"click",4,"ngIf"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],["class","b-chip",3,"ngClass",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label",
"Expand/Collapse Navigation",1,"menu",3,"click"],["svgIcon","menu-18px"],[1,"b-chip",3,"ngClass"]],template:function(a,b){a&1&&(cg(),E(0,mdb,2,0,"button",0),G(1,"a",1),N("click",function(){return b.clickLogo.emit()}),K(2,"img",2)(3,"img",3),G(4,"h1"),S(5),I()(),dg(6),E(7,pdb,2,5,"output",4));a&2&&(F("ngIf",b.showMenu),A(),Hf("href",b.href?b.href:void 0,Ye),A(),F("src",b.imgSrc,Ye),A(),F("src",b.imgSrcDark||b.imgSrc,Ye),A(2),rg(b.name),A(2),F("ngForOf",b.chips))},dependencies:[Cw,Dw,zw,nB,CA],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 H1=function(a,b){this.events=a;this.imageUrls=b;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};H1.prototype.ngOnInit=function(){var a="QA"===this.environmentType?"INTERNAL"===this.frontendAccessMode||"PARTNER"===this.frontendAccessMode?"QA":"sandbox":"NIGHTLY"===this.environmentType?"nightly":"DEV"===this.environmentType?"dev":"";a&&this.chips.push({name:a,color:"purple"})};
H1.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};H1.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:vc(this.frontendAccessMode,"unknown frontend access mode.")}};
Ac.Object.defineProperties(H1.prototype,{useNewLogo:{configurable:!0,enumerable:!0,get:function(){return"INTERNAL"===this.frontendAccessMode}},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(null==(b=this.tracker)?void 0:null==(c=b.branding)?void 0:c.logoUrl)||a}},imgSrcDark:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.tracker)?void 0:null==(b=a.branding)?
void 0:b.logoUrl)||"https://www.gstatic.com/buganizer/img/v3/logo_dark.svg"}}});H1.\u0275fac=function(a){return new (a||H1)(C(gH),C(XM))};
H1.\u0275cmp=r({type:H1,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",href:"href"},features:[xd],decls:1,vars:5,consts:[[3,"clickMenu","name","href","chips","imgSrc","imgSrcDark"]],template:function(a,b){a&1&&(G(0,"app-logo",0),N("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),I());a&2&&F("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark)},dependencies:[G1],
encapsulation:2,changeDetection:0});var I1=function(){this.isActive=!1;this.optionClicked=new Uv};I1.prototype.ngOnInit=function(){};I1.prototype.onClick=function(){this.optionClicked.emit(this.index)};I1.\u0275fac=function(a){return new (a||I1)};
I1.\u0275cmp=r({type:I1,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&N("click",function(){return b.onClick()});a&2&&Qf("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(cg(),G(0,"div",0),dg(1),I())},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 J1=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new Uv;this.activeItemChanged=new Uv;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};J1.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};J1.prototype.ngAfterViewInit=function(){};
var Qdb=function(a){var b=Q(3);aeb(a);b.itemSelected.emit(a)};J1.prototype.setNextItemActive=function(){0<this.items.length&&null!=this.activeItemIndex&&(this.activeItemIndex=(this.activeItemIndex+1)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),MGc(this))};
J1.prototype.setPreviousItemActive=function(){0<this.items.length&&null!=this.activeItemIndex&&(this.activeItemIndex=(this.activeItemIndex-1+this.items.length)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),MGc(this))};var NGc=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};J1.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var OGc=function(a){if(null!=a.activeItemIndex&&a.itemElements){var b,c;return null!=(c=null==(b=a.itemElements.get(a.activeItemIndex))?void 0:b.nativeElement.id)?c:void 0}},MGc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&IJb(b.nativeElement,a.hostElement.nativeElement)},aeb=function(a){Kk(sq.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};J1.\u0275fac=function(a){return new (a||J1)(C(ME,2),C(Wd),C(hM))};
J1.\u0275cmp=r({type:J1,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&lg(I1,5,Wd);if(a&2){var c;pg(c=qg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[wg([ME]),xd],decls:3,vars:2,consts:[["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["class","header gmat-caption",
4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["role","option",3,"optionClicked","index","isActive"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"click","title"],[1,"item-description","item-de-emphasized"]],
template:function(a,b){a&1&&(E(0,Kdb,7,6,"div",6),G(1,"div",7),E(2,beb,10,13,"b-app-search-auto-complete-option",8),I());a&2&&(F("ngIf",b.header&&b.header.type),A(2),F("ngForOf",b.items))},dependencies:[Dw,zw,VM,ZM,I1,Jw],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 PGc=["box"],QGc=["initialFocus"],RGc=["finalFocus"],K1=function(a,b,c){this.documentationLinks=a;this.appSearchState=b;this.activeSession=c;this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new Uv;this.onAdvancedSearchClose=new Uv;this.onAdvancedSearchSubmit=new Uv;this.onSaveSearch=new Uv;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new X.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(z(function(d){return d.query}));this.autoCompleteItemSelected$=new X.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
K1.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(zf(this.currentQuery$),xf(this.destroyed$)).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;b=b.completionCfg;a.appSearchState.queryState$.next({query:c.slice(0,b.startIdx)+b.completionValue+c.slice(b.endIdx),cursorPosition:null!=b.cursorIdx?b.cursorIdx:null==b.startIdx?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
K1.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Ce(function(b){return!b.setViaInteraction}),xf(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,xoc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};K1.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var SGc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},TGc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
K1.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!L1(this))return;UGc(this);break;case "ArrowUp":if(!L1(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!L1(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!L1(this)){TGc(this,this.inputBox.nativeElement.value);return}NGc(this.acList);break;case "ArrowLeft":TGc(this,this.inputBox.nativeElement.value);return;case "Enter":L1(this)?null!=this.acList.activeItemIndex?NGc(this.acList):
SGc(this):SGc(this);break;default:return}a.preventDefault();a.stopPropagation()};K1.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();VGc(this)};K1.prototype.getCursorPosition=function(){var a=yoc(this.inputBox.nativeElement,!0)[0];if(a===yoc(this.inputBox.nativeElement,!1)[1])return a};
var UGc=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},VGc=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},L1=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},WGc=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},XGc=function(a){return"advanced_search"===a.dropdownStatus};
K1.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",VGc(this))};var YGc=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},ceb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};K1.\u0275fac=function(a){return new (a||K1)(C(TM),C(jM),C(Zr))};
K1.\u0275cmp=r({type:K1,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(lg(J1,7),lg(PGc,5),lg(QGc,7,Wd),lg(RGc,7));if(a&2){var c;pg(c=qg())&&(b.acList=c.first);pg(c=qg())&&(b.inputBox=c.first);pg(c=qg())&&(b.advancedSearchInitialFocus=c.first);pg(c=qg())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},ngContentSelectors:["*"],decls:24,vars:19,consts:[["box",""],["initialFocus",""],["finalFocus",""],[1,"search-form-container","keep-focus-ring",3,"clickOutside"],[1,"search-box-container"],["mat-icon-button","","aria-label","Search","matTooltip","Search",3,"click"],["svgIcon","search",1,"icon-m"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows",
"1","cdkAutosizeMaxRows","6","aria-label","Search issues","role","combobox","aria-autocomplete","list","aria-haspopup","true","aria-owns","b-search-box-autocomplete",1,"search-box",3,"keydown","input","click","focus","placeholder"],["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"],
["mat-icon-button","","aria-label","Close advanced search","matTooltip","Close advanced search",1,"gmat-button",3,"keydown","click","disabled"],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"gmat-button","medium",3,"click","disabled"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],["class","save-search-container",4,"ngIf"],[1,"save-search-container"],["type","text","aria-label",
"Enter the name for saving this search.","placeholder","Save search as",3,"ngModelChange","keydown.Tab","keydown.enter","ngModel"],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",1,"gmat-button",3,"click","disabled"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"div",3);N("clickOutside",function(){x(c);UGc(b);return y()});G(1,"div",4)(2,"button",5);N("click",function(){x(c);return y(SGc(b))});K(3,"mat-icon",6);I();G(4,"textarea",
7,0);N("keydown",function(d){x(c);return y(b.handleKeydown(d))})("input",function(){x(c);var d=R(5);return y(TGc(b,d.value))})("click",function(){x(c);var d=R(5);return y(TGc(b,d.value))})("focus",function(){x(c);b.dropdownStatus="auto_complete";return y()});I();G(6,"button",8);N("click",function(){x(c);b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit();return y()});K(7,"mat-icon",9);I()();G(8,"aside",10)(9,"b-app-search-auto-complete-list",11);N("itemSelected",function(d){x(c);return y(b.autoCompleteItemSelected$.next(d))});
I();G(10,"div",12)(11,"div",13)(12,"button",14,1);N("keydown",function(d){x(c);return y(YGc(b,d))})("click",function(){x(c);return y(VGc(b))});K(14,"mat-icon",15);I()();G(15,"div",16);dg(16);I();G(17,"div",17)(18,"button",18);N("click",function(){x(c);return y(b.submitAdvancedSearch())});S(19," Search ");I();G(20,"a",19);S(21,"Search help ");K(22,"mat-icon",20);I();E(23,deb,5,2,"div",21);I()()()()}a&2&&(Qf("dropdown-opened",L1(b)||WGc(b)||XGc(b)),A(),Qf("hidden",XGc(b)),A(3),F("placeholder",b.placeholder),
Hf("aria-activedescendant",OGc(b.acList))("aria-expanded",L1(b)||WGc(b)),A(4),Qf("advanced-search-open",XGc(b)),A(),Qf("hidden",!(L1(b)||WGc(b))),F("items",b.autoCompleteItems)("header",b.autoCompleteHeader),A(),Qf("hidden",!XGc(b)),A(2),F("disabled",b.isSearchDisabled),A(6),F("disabled",b.isSearchDisabled),A(2),Hf("href",b.searchHelpLink,Ye),A(3),F("ngIf",!b.isAnonymous))},dependencies:[zw,nB,Ey,CA,nE,OC,bh,cx,jx,cP,gB,J1],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-icon-button[_ngcontent-%COMP%]{height:24px;width:24px;line-height:24px}.search-box-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.search-box-container[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{margin-top:8px}textarea[_ngcontent-%COMP%]{border:0;background-color:initial;outline:none;resize:none;padding:0;cursor:auto;color:#202124;color:var(--text-high-contrast);margin:10px 0;margin-left:5px;height:20px;line-height:20px;width:100%;overflow:auto}textarea[_ngcontent-%COMP%]:focus{border:0;padding:0;outline:none}textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:rgba(0,0,0,0);border-radius:10px;border:0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:vertical{margin:5px 0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:horizontal{margin:0 5px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:rgba(0,0,0,.2)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.5)}.advanced-search[_ngcontent-%COMP%]{padding:6px 6px 0 6px}.advanced-search-content[_ngcontent-%COMP%]{overflow:auto;max-height:532px}.advanced-search-footer[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.search-help-link[_ngcontent-%COMP%]{margin-left:10px}.save-search-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:auto;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:2px;padding:0 5px}.save-search-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:none}[_nghost-%COMP%]     .bv2-adv-search-rule{background-color:#fff;background-color:var(--surface-default);display:flex;border-radius:10px;width:initial}[_nghost-%COMP%]     .bv2-adv-search-rule-title{display:flex}[_nghost-%COMP%]     .bv2-adv-search-rule-content{flex-grow:1;padding-right:25px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-enum-item{min-width:130px;max-width:130px}[_nghost-%COMP%]     .bv2-adv-search-chip-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);outline:0}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select{border-radius:5px;letter-spacing:0;min-width:105px;padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select .goog-flat-menu-button-dropdown{border:0;height:initial;margin-top:initial;position:relative;right:initial;top:initial;width:initial}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled){border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#3c4043;color:var(--gfx);padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):hover, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):active, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):not(.mdc-ripple-upgraded):focus{padding-right:24px;border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default);box-shadow:none}[_nghost-%COMP%]     .goog-flat-menu-button.goog-flat-menu-button-open.jfk-select{background-color:#fff;background-color:var(--surface-default)}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override), [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);height:28px;margin:0;padding-left:10px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override):focus, [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override):focus{border-color:#3c4043;border-color:var(--gfx);outline:0}[_nghost-%COMP%]     .bv2-adv-search-chip-add-btn{margin-right:20px}[_nghost-%COMP%]     .bv2-adv-search-chip{display:inline-flex;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 ZGc=function(a){this.activeSession=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new Uv;this.searchBoxOnAdvancedSearchClose=new Uv;this.searchBoxOnAdvancedSearchSubmit=new Uv;this.searchBoxOnSaveSearch=new Uv;this.currentTracker=this.activeSession.getTracker()},$Gc=function(){setTimeout(function(){var a;null==
(a=document.getElementById("skiplink-navigation-target").querySelectorAll('div[role="tab"],a[href],button:not([tabindex="-1"],input')[0])||a.focus()})};ZGc.\u0275fac=function(a){return new (a||ZGc)(C(Zr))};
ZGc.\u0275cmp=r({type:ZGc,selectors:[["b-app-top-bar"]],inputs:{logoEnvironmentType:"logoEnvironmentType",logoFrontendAccessMode:"logoFrontendAccessMode",isSearchDisabled:"isSearchDisabled",searchBoxPlaceholder:"searchBoxPlaceholder",searchBoxAutoCompleteItems:"searchBoxAutoCompleteItems",searchBoxAutoCompleteHeader:"searchBoxAutoCompleteHeader"},outputs:{searchBoxOnAdvancedSearchOpen:"searchBoxOnAdvancedSearchOpen",searchBoxOnAdvancedSearchClose:"searchBoxOnAdvancedSearchClose",searchBoxOnAdvancedSearchSubmit:"searchBoxOnAdvancedSearchSubmit",
searchBoxOnSaveSearch:"searchBoxOnSaveSearch"},ngContentSelectors:["*"],decls:7,vars:7,consts:[[3,"environmentType","frontendAccessMode","tracker"],[1,"skip-navigation-wrapper"],["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&&(cg(),
K(0,"b-app-logo",0),G(1,"div",1)(2,"button",2),N("click",function(){return $Gc()})("keydown.enter",function(){return $Gc()}),S(3," Skip Navigation "),I()(),G(4,"b-app-search-box",3),N("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)}),
dg(5),I(),K(6,"b-app-actions"));a&2&&(F("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",b.currentTracker),A(4),F("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[CA,H1,F1,K1],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 M1=function(){};M1.\u0275fac=function(a){return new (a||M1)};M1.\u0275mod=hd({type:M1});M1.\u0275inj=Rc({imports:[rE,VA,cD,vM]});var N1=function(){};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275mod=hd({type:N1});N1.\u0275inj=Rc({imports:[rE,cD,uE,vE]});var O1=function(){};O1.\u0275fac=function(a){return new (a||O1)};O1.\u0275mod=hd({type:O1});O1.\u0275inj=Rc({imports:[rE,cD,vE]});var P1=function(){};P1.\u0275fac=function(a){return new (a||P1)};P1.\u0275mod=hd({type:P1});P1.\u0275inj=Rc({providers:[wN]});var Q1=function(){};Q1.\u0275fac=function(a){return new (a||Q1)};Q1.\u0275mod=hd({type:Q1});Q1.\u0275inj=Rc({imports:[rE,cD,vE,P1]});var R1=function(){};R1.\u0275fac=function(a){return new (a||R1)};R1.\u0275mod=hd({type:R1});R1.\u0275inj=Rc({imports:[rE,uE,cD,wE,vE,Jy,yx,dP,N1,$N,O1,oN,iB,A1,Q1,M1,pN]});var S1=function(){};S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275mod=hd({type:S1});S1.\u0275inj=Rc({imports:[rE,cD,VA]});var T1=function(){};T1.\u0275fac=function(a){return new (a||T1)};T1.\u0275mod=hd({type:T1});T1.\u0275inj=Rc({imports:[rE,yx,cD,KO,IO,VA,rN]});var U1=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 Uv;this.selectedChange=new Uv;this.cardTitleChange=new Uv;this.onSaveButtonClicked=new Uv;this.onCancelButtonClicked=
new Uv;this.isInheritedChange=new Uv;this.isExpanded=!1};U1.prototype.expand=function(){this.isExpanded=!0};U1.prototype.collapse=function(){this.isExpanded=!1};U1.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};U1.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};U1.\u0275fac=function(a){return new (a||U1)};
U1.\u0275cmp=r({type:U1,selectors:[["b-collapsible-card"]],inputs:{cardTitle:"cardTitle",dropdownOptions:"dropdownOptions",selectedOption:"selectedOption",selected:"selected",disabled:"disabled",isSaveButtonDisabled:"isSaveButtonDisabled",showRequiredToggle:"showRequiredToggle",showDeleteButton:"showDeleteButton",showInheritedToggle:"showInheritedToggle",isInherited:"isInherited",inheritedDisabled:"inheritedDisabled",inheritedDisabledTooltipText:"inheritedDisabledTooltipText",placeholderForCardTitle:"placeholderForCardTitle",
ariaLabelForCardTitle:"ariaLabelForCardTitle"},outputs:{dropdownSelectionChanged:"dropdownSelectionChanged",selectedChange:"selectedChange",cardTitleChange:"cardTitleChange",onSaveButtonClicked:"onSaveButtonClicked",onCancelButtonClicked:"onCancelButtonClicked",isInheritedChange:"isInheritedChange"},ngContentSelectors:["*"],decls:11,vars:14,consts:[["expandedCardHeader",""],[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"change","disabled",
"checked","aria-label"],[4,"ngIf","ngIfElse"],["mat-icon-button","",3,"click","ngClass"],["svgIcon","chevron-left",4,"ngIf"],["svgIcon","arrow-down",4,"ngIf"],["class","expanded-card-container",4,"ngIf"],["class","expanded-card-actions",4,"ngIf"],[1,"card-title","heading-s"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],["appearance","fill","subscriptSizing","dynamic",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",
3,"ngModelChange","placeholder","disabled","ngModel"],["class","type-dropdown","appearance","outline",4,"ngIf"],["appearance","outline",1,"type-dropdown"],[3,"valueChange","selectionChange","disabled","value"],[4,"ngIf"],["class","ee-config-option",3,"value",4,"ngFor","ngForOf"],[1,"icon-s",3,"svgIcon"],[1,"ee-config-option",3,"value"],["class","icon-s",3,"svgIcon",4,"ngIf"],[1,"expanded-card-container"],[1,"expanded-card-actions"],["mat-raised-button","","color","primary",1,"gmat-button",3,"click",
"disabled"],["mat-button","","color","primary",1,"gmat-button","cancel-button",3,"click","disabled"],["mat-icon-button","","aria-label","Delete","class","delete-button",3,"disabled",4,"ngIf"],[3,"vertical",4,"ngIf"],["labelPosition","before",3,"disabled",4,"ngIf"],["class","inherited-toggle","labelPosition","before",3,"checked","disabled","matTooltip","matTooltipDisabled","change",4,"ngIf"],["mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],["svgIcon","delete",1,"icon-m"],
[3,"vertical"],["labelPosition","before",3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"change","checked","disabled","matTooltip","matTooltipDisabled"]],template:function(a,b){if(a&1){var c=v();cg();G(0,"div",1)(1,"div",2)(2,"mat-checkbox",3);N("change",function(d){x(c);b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected);return y()});I();E(3,eeb,3,3,"ng-container",4);G(4,"button",5);N("click",function(){x(c);b.isExpanded?b.collapse():b.expand();return y()});E(5,feb,
1,0,"mat-icon",6)(6,geb,1,0,"mat-icon",7);I();E(7,leb,3,7,"ng-template",null,0,Eg);I();E(9,meb,2,0,"div",8)(10,reb,9,6,"div",9);I()}a&2&&(a=R(8),Hf("aria-expanded",b.isExpanded),A(2),Qf("expanded-checkbox",b.isExpanded),F("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle),A(),F("ngIf",!b.isExpanded)("ngIfElse",a),A(),F("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle"),Hf("aria-label",b.isExpanded?"Collapse editor":"Expand editor"),A(),F("ngIf",b.isExpanded),A(),F("ngIf",
!b.isExpanded),A(3),F("ngIf",b.isExpanded),A(),F("ngIf",b.isExpanded))},dependencies:[Cw,Dw,zw,nB,bh,cx,ux,vx,jx,KM,LM,CA,NR,OR,gR,dB,YA,aR,bR,jz,HO,oE,JO,jB,nE,OC],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 V1=function(){};V1.\u0275fac=function(a){return new (a||V1)};V1.\u0275mod=hd({type:V1});V1.\u0275inj=Rc({imports:[rE,yx,PM,cD,QR,hR,wE,KO,vE]});var aHc=function(a,b){this.dialogRef=a;this.options=[];b&&0<b.sharedFields.length&&(this.selected=b.sharedFields[0],this.options=b.sharedFields)};aHc.\u0275fac=function(a){return new (a||aHc)(C(NA),C(PA))};
aHc.\u0275cmp=r({type:aHc,selectors:[["activate-shared-field-dialog"]],decls:12,vars:3,consts:[["empty",""],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium",3,"click"],[3,"valueChange","value"],[3,"value"],["href","http://go/buganizer/concepts/custom-fields#shared-custom-field","target","_blank"]],template:function(a,
b){if(a&1){var c=v();G(0,"h1",1);S(1,"Activate a shared field");I();G(2,"div",2);E(3,teb,4,1,"mat-form-field",3)(4,ueb,1,0,"ng-template",null,0,Eg);I();E(6,veb,4,0,"div",4);G(7,"footer",5)(8,"button",6);N("click",function(){x(c);return y(b.dialogRef.close())});S(9,"Cancel");I();G(10,"button",7);N("click",function(){x(c);return y(b.dialogRef.close(b.selected))});S(11,"Confirm");I()()}a&2&&(a=R(5),A(3),F("ngIf",0<b.options.length)("ngIfElse",a),A(3),F("ngIf",0<b.options.length))},dependencies:[zw,CA,
gR,dB,aR,jz,HO,SA,TA,UA],encapsulation:2});var W1=function(a){this.internalArray_=m(a,0,W1.messageId)};Y(W1,n);W1.prototype.getIt=function(){return Gi(this,Km,4)};W1.prototype.setIt=function(a){return hj(this,Km,4,a)};W1.prototype.hasIt=function(){return Ui(this,Km,4)};W1.messageId="b.FieldConfig";var X1=function(a){this.internalArray_=m(a)};Y(X1,n);g=X1.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return xl(this,1,a)};g.setFieldIdList=function(a){return mm(this,2,a)};g.setFieldId=function(a){return wu(this,2,Hl,a)};X1.repeatedFields_=[2];var Y1=function(a){this.internalArray_=m(a,0,Y1.messageId)};Y(Y1,n);g=Y1.prototype;g.setFieldIdList=function(a){return mm(this,1,a)};g.setFieldId=function(a){return wu(this,1,Zm,a)};g.getIt=function(){return Gi(this,X1,2)};g.setIt=function(a){return hj(this,X1,2,a)};g.hasIt=function(){return Ui(this,X1,2)};Y1.repeatedFields_=[1];Y1.messageId="b.ReorderFieldsRequest";var Z1=function(a,b){this.executor=a;this.activeSession=b};Z1.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new W1;var f=e.setIt;d=(new Km).setFieldId(Vxa(d));c=zl(d,4,W4b[c]);c=Ul(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:W1}).pipe(z(web))};
Z1.prototype.reorder=function(a,b){var c=new Y1;hE(this.activeSession,"enableLeanFeA")?c.setIt((new X1).setComponentId(a).setFieldIdList(b.map(Vxa))):(b=b.map(Rza),c.setFieldIdList(b));return this.executor.post({url:"action/components/"+a+"/reorder",body:c,responseConstructor:null})};Z1.\u0275fac=function(a){return new (a||Z1)(p(HE),p(Zr))};Z1.\u0275prov=Pc({token:Z1,factory:Z1.\u0275fac,providedIn:"root"});var a2=function(a){this.internalArray_=m(a)};Y(a2,n);g=a2.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return xl(this,1,a)};g.getCustomFieldId=function(){return Zi(this,2)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getCustomFieldId_asString=function(){return Eu(this,2)};
g.setCustomFieldId=function(a){return xl(this,2,a)};var b2=function(a){this.internalArray_=m(a)};Y(b2,n);g=b2.prototype;g.getComponentId=function(){return Zi(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getComponentId_asString=function(){return Eu(this,1)};g.setComponentId=function(a){return xl(this,1,a)};g.getCustomFieldId=function(){return Zi(this,2)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Zi(this,2)};g.getCustomFieldId_asString=function(){return Eu(this,2)};
g.setCustomFieldId=function(a){return xl(this,2,a)};var c2=function(a){this.internalArray_=m(a,0,c2.messageId)};Y(c2,n);c2.prototype.getIt=function(){return Gi(this,a2,1)};c2.prototype.setIt=function(a){return hj(this,a2,1,a)};c2.prototype.hasIt=function(){return Ui(this,a2,1)};c2.messageId="b.AddSharedCustomFieldToComponentRequest";var d2=function(a){this.internalArray_=m(a,0,d2.messageId)};Y(d2,n);d2.prototype.getIt=function(){return Gi(this,b2,1)};d2.prototype.setIt=function(a){return hj(this,b2,1,a)};d2.prototype.hasIt=function(){return Ui(this,b2,1)};d2.messageId="b.RemoveSharedCustomFieldFromComponentRequest";var e2=function(a){this.executor=a};e2.prototype.add=function(a,b){var c="/action/components/"+a+"/add_shared_custom_field";a=(new c2).setIt((new a2).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};e2.prototype.remove=function(a,b){var c="/action/components/"+a+"/remove_shared_custom_field";a=(new d2).setIt((new b2).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};
e2.\u0275fac=function(a){return new (a||e2)(p(IE))};e2.\u0275prov=Pc({token:e2,factory:e2.\u0275fac,providedIn:"root"});var bHc=["fieldStateMenu"],Aeb=function(a){return{type:a}},cHc=["SILENT","MINOR","MAJOR"],dHc=[{customFieldId:1049928,name:"Start Date"},{customFieldId:1049953,name:"End Date"},{customFieldId:1049954,name:"Risk"}],eHc=[{customFieldId:209963,name:"Start Date"},{customFieldId:209989,name:"End Date"},{customFieldId:210015,name:"Risk"}],f2=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J){Z.call(this);var H=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=
f;this.fieldConfigService=h;this.sharedCustomFieldApi=l;this.documentationLinks=q;this.paths=t;this.confirmationDialog=w;this.appEvents=B;this.dialog=D;this.activeSession=J;this.FieldType=Mpc;this.ListFieldType=Cqc;this.getSingleEditFieldType=cSa;this.getListFieldType=WTa;this.isRepeated=Rxa;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=["Single","Multiple"];this.customFields=[];this.inheritedCustomFields=[];this.sharedFields=[];this.componentIdsToNames={};this.isLoading=!1;
this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.msgFieldStateTip="Whether the field is visible in this component";this.enableConfigurableSharedFields=hE(this.activeSession,"enableConfigurableSharedFieldsUi");this.significanceChoices=cHc;this.componentId=qi(this.routeParams.componentId);this.subscriptions.add(jY(b,function(){return H.hasUnsavedChanges()},!0))};Y(f2,Z);f2.\u0275dir=Z.\u0275dir;f2.prototype.ngOnInit=function(){this.loadCustomFields()};
f2.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};
f2.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||Eyc(this.checkBeforeExit))this.editableField=li(this.customFields[a]),this.originalEditableFieldValue=li(this.editableField),this.serverError=null,this.setType(this.editableField.type),Eeb(this,this.editableField.allowedValue)};
var Qeb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:vh("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)}})};
f2.prototype.doDelete=function(a){var b=this;wr(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);Wo(b.analytics,"customField","delete");wr(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
f2.prototype.save=function(){var a=this;this.isLoading=!0;var b=function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields();Wo(a.analytics,"customField",d)},c=function(e){a.serverError=Yn(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)};
f2.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(xf(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}Wo(d.analytics,"customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var l,
q;null==(l=d.fieldStateMenus)||null==(q=l.get(c))||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=Yn(h);d.isLoading=!1;f(h)})})};f2.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var Heb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&mi(b)?b:void 0,e="DATE"===c&&b&&cBa(b)?b:void 0,f="ENUM"===c&&mi(b)?b:void 0,h="NUMERIC"===c&&$ra(b)?b:void 0,l="REPEATED_TEXT"===c&&ni(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(cBa);q=q?{values:b}:void 0;var t="REPEATED_ENUM"===c&&ni(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&asa(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,
enumValue:f,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:t,repeatedNumericValue:b}};
f2.prototype.setType=function(a,b){var c=this.editableField.type;if(void 0===b?0:b)switch(a){case "TEXT":this.editableField.type="REPEATED_TEXT";break;case "DATE":this.editableField.type="REPEATED_DATE";break;case "ENUM":this.editableField.type="REPEATED_ENUM";break;case "NUMERIC":this.editableField.type="REPEATED_NUMERIC"}else this.editableField.type=a;a!=c&&(this.editableField.typedDefaultValue=void 0)};
var Eeb=function(a,b){b=null==b?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}}):[]};f2.prototype.hasUnsavedChanges=function(){return this.editableField&&!ki(this.editableField,this.originalEditableFieldValue)?!0:!1};
f2.prototype.loadCustomFields=function(a){var b=this;a=void 0===a?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=(null==(d=c.componentPathInfo)?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=(null==(f=c.componentPathInfo)?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return nr(l.name,q.name)};b.customFields=e.filter(function(l){return b.componentId===l.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(l){return b.componentId!==l.componentId&&!l.shared}).sort(c);b.sharedFields=e.filter(function(l){return b.componentId!==l.componentId&&l.shared});b.appEvents.customFieldsModified.next(e)})};var Web=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};
f2.prototype.trackClick=function(a){Wo(this.analytics,"editComponent","click",a)};var Ieb=function(a){var b;return(a=null==(b=a.editableField)?void 0:b.typedDefaultValue)?Gn(a):null};f2.prototype.getListFieldValues=function(){var a,b=null==(a=this.editableField)?void 0:a.typedDefaultValue,c,d;return null!=(d=null==(c=b?Gn(b):null)?void 0:c.values)?d:null};f2.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
var ffb=function(a){var b={sharedFields:gfb(a)};a.dialog.open(aHc,{data:b,width:"450px"}).afterClosed().subscribe(function(c){c&&a.sharedCustomFieldApi.add(a.componentId,c.customFieldId).then(function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields()})})},afb=function(a,b){a.confirmationDialog.open({title:"Deactivate shared field",content:vh("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()})}})},gfb=function(a){var b=void 0===b?Lj():b;if(!Kj())return[];b=b?dHc:eHc;var c=a.sharedFields.map(function(d){return d.customFieldId});return b.filter(function(d){return!c.includes(d.customFieldId)})},ifb=function(a){var b,c;return"INTERNAL"===(null==(b=a.component)?void 0:null==(c=b.accessLimit)?void 0:c.accessLevel)};
f2.\u0275fac=function(a){return new (a||f2)(C(zI),C(iY),C(pI),C(ZI),C(vQ),C(SM),C(Z1),C(e2),C(TM),C(RF),C(nL),C(gH),C(QA),C(Zr))};
f2.\u0275cmp=r({type:f2,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&lg(bHc,5);if(a&2){var c;pg(c=qg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[Ff,xd],decls:4,vars:3,consts:[["typeHelp",""],["enumMenu","matMenu"],["secondaryMenu","matMenu"],["significanceHelp",""],["significanceMenu","matMenu"],["card","onedevHovercard"],["cardBody",""],["fieldStateMenu",""],[1,"edit-resource-panel",
"edit-component-field-parent"],["class","edit-custom-field-panel",4,"ngIf"],["class","custom-fields-loader",4,"ngIf"],[4,"ngIf"],[1,"edit-custom-field-panel"],["class","bv2-validation-error-banner",4,"ngIf"],["name","editForm",1,"edit-custom-field-form"],[1,"edit-field"],["for","field-name",1,"help-label"],["name","fieldName","type","text","required","","id","field-name",3,"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"],["mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field","gmat-button",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["mat-menu-item",
"",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngFor","ngForOf"],["matMenuContent",""],["class","edit-field",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-default-label",4,"ngIf"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable","valueChange",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-repeated-default-label",4,"ngIf"],["aria-labelledby","field-repeated-default-label",
3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange",4,"ngIf"],["id","field-required-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-required-label",3,"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","gmat-button",3,"matMenuTriggerFor"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","type","button",3,"click","disabled"],["mat-stroked-button","","type","button",3,"click"],[1,"bv2-validation-error-banner"],
["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"valuesChange","defaultLineCount","type","values","listFieldDisabled","preventDuplicates","isDefaultOrAllowedValues","truncate"],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"valueChange",
"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,"valuesChange","defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["mat-menu-item","","type","button",3,"click"],[1,"custom-fields-loader"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass",4,"ngFor","ngForOf"],["class",
"edit-button-row",4,"ngIf"],[3,"ngClass"],[3,"customFieldValue"],["class","action-buttons",4,"ngIf"],[1,"action-buttons"],["mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"click","onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip","fieldStateChange",4,"ngIf"],[3,"onedevIsHovercardReady","componentId"],[3,"fieldStateChange",
"fieldName","fieldState","enabledOnParent","disabled","matTooltip"],["class","enabled-field",4,"ngFor","ngForOf"],[1,"enabled-field"],["mat-stroked-button","",3,"click","disabled","matTooltip"],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],[1,"edit-button-row"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"div",8),E(1,Neb,68,32,"div",9)(2,Oeb,
2,1,"div",10)(3,kfb,28,9,"div",11),I());a&2&&(A(),F("ngIf",b.editableField&&!b.isLoading),A(),F("ngIf",b.isLoading),A(),F("ngIf",!b.isLoading))},dependencies:[Cw,Dw,zw,kx,bh,cx,dx,ux,jx,hx,AT,dT,iE,n0,JL,KL,OL,LL,ZQ,nE,OC,mE,IC,HC,GC,JC,CA,cY,GT,GL,oF,WK,VK,YK],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 g2=function(){};g2.\u0275fac=function(a){return new (a||g2)};g2.\u0275mod=hd({type:g2});g2.\u0275inj=Rc({imports:[rE,yx,BT,eT,tE,o0,yM,fR,vE,uE,cD,hR,dY,HT,fL,wM,sF,VA]});var h2=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new Uv;this.addRow=new Uv;this.optionsChange=new Uv};h2.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};h2.prototype.drop=function(a){Up(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};h2.\u0275fac=function(a){return new (a||h2)};
h2.\u0275cmp=r({type:h2,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:11,vars:7,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","",4,"ngFor","ngForOf"],["mat-button","","class","gmat-button add-row-button",3,"click",4,"ngIf"],["cdkDrag",""],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],["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"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["mat-button","",1,"gmat-button","add-row-button",3,"click"]],template:function(a,
b){a&1&&(G(0,"div",2)(1,"div",3)(2,"span",4),S(3," Dropdown value "),I()(),G(4,"div",5)(5,"span",6),S(6," Average days "),I(),K(7,"mat-icon",7),I()(),G(8,"div",8),N("cdkDropListDropped",function(c){return b.drop(c)}),E(9,mfb,12,13,"div",9),I(),E(10,nfb,2,0,"button",10));a&2&&(A(2),Qf("muted",b.disabled),A(3),Qf("muted",b.disabled),A(2),F("matTooltip","All estimated effort types map to an average number of days."),A(2),F("ngForOf",b.options),A(),F("ngIf",!b.disabled))},dependencies:[Dw,zw,nB,JO,jB,
dB,HO,CA,nE,OC,yT,xT,tT],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 i2=function(){this.disabled=!1;this.valueChange=new Uv};i2.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};i2.\u0275fac=function(a){return new (a||i2)};
i2.\u0275cmp=r({type:i2,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},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=v();G(0,"div",1)(1,"div",2)(2,"span",3);S(3," Time ");I();G(4,"span",4);S(5,"1");I()();G(6,"div",2)(7,"div",5)(8,"span",6);S(9," Average days ");I();K(10,"mat-icon",7);I();
G(11,"mat-form-field",8)(12,"input",9,0);N("change",function(d){x(c);return y(b.onValueChange(d))});I()()()()}a&2&&(A(2),Qf("muted",b.disabled),A(6),Qf("muted",b.disabled),A(2),F("matTooltip","All estimated effort types map to an average number of days."),A(),F("appearance","outline"),A(),F("disabled",b.disabled)("value",b.value))},dependencies:[nB,JO,jB,dB,HO,nE,OC],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 k2=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new Uv;this.configurationOptions=[fHc,gHc,j2];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=t5b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=hE(this.activeSession,"enableAggregationRules")};
k2.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=j2)};k2.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=li(this.effortSpec),this.setValues(this.effortSpec))};
k2.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=j2;var b,c,d;this.numericSpecMultiplier=null!=(d=null==(b=this.effortSpec)?void 0:null==(c=b.numericSpec)?void 0:c.multiplier)?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=(null!=(f=null==(e=a.enumSpec)?void 0:e.options)?f:[]).map(function(l){return{label:l.label,value:l.value}})}var h;this.inherit=null!=(h=a.inherit)?h:!1;this.name=""===a.name?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;void 0!==a.aggregationType&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var hHc=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===fHc.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===gHc.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===j2.displayText?"numeric":"empty"};k2.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
k2.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||void 0===this.selectedEffortConfig&&void 0===this.effortSpec&&this.estimatedEffortFieldEnabled&&!this.inherit||""===this.name)){a:{a=k(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||null===b.value){a=!1;break a}a=!0}a=!a}return a};var iHc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};k2.\u0275fac=function(a){return new (a||k2)(C(Zr))};
k2.\u0275cmp=r({type:k2,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[xd],decls:8,vars:14,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,"ngSwitch"],[4,"ngSwitchCase"],["class","margin-top",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"valueChange","disabled","value"],[1,"margin-top"],["id","aggregation-rule-label",1,"aggregation-rule-label","config-label","heading-xs","margined"],"mat-icon-button;;matTooltip;Learn more about the aggregation rules;href;http://go/wtdm-home#aggregation;target;_blank".split(";"),
["svgIcon","help-outline",1,"icon-s","gfx-muted"],["appearance","outline",1,"static-label","margined"],["aria-labelledby","aggregation-rule-label","panelClass","multi-line-select",3,"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=v();G(0,"b-collapsible-card",1);vg("cardTitleChange",function(d){x(c);ug(b.name,d)||(b.name=d);return y(d)});N("dropdownSelectionChanged",
function(d){x(c);b.selectedEffortConfig=d;d.displayText===fHc.displayText?(b.enumSpecOptions=[].concat(u(jHc)),b.name="Story points"):d.displayText===gHc.displayText?(b.enumSpecOptions=[].concat(u(kHc)),b.name="T-shirt sizes"):d.displayText===j2.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0;return y()})("onSaveButtonClicked",function(){x(c);if(b.estimatedEffortFieldEnabled){var d={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(d.aggregationType=
b.selectedAggregationRule);b.originalEffortSpec&&0!==b.originalEffortSpec.customFieldId&&(d.customFieldId=b.originalEffortSpec.customFieldId);var e;if((null==(e=b.selectedEffortConfig)?void 0:e.displayText)===j2.displayText)d.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){e=[];for(var f=k(b.enumSpecOptions),h=f.next();!h.done;h=f.next())h=h.value,h.label&&null!==h.value&&e.push({label:h.label,value:h.value});d.enumSpec={options:e}}b.updateEffortSpec.emit(d)}else b.updateEffortSpec.emit({name:"",
inherit:!1});return y()})("selectedChange",function(d){x(c);b.estimatedEffortFieldEnabled=d;b.estimatedEffortFieldEnabled||iHc(b);return y()})("onCancelButtonClicked",function(){x(c);b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,iHc(b));return y()})("isInheritedChange",function(d){x(c);(d=d.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=
b.parentEffortSpec,b.effortSpec||iHc(b)):b.effortSpec&&(b.setValues({}),iHc(b));b.inherit=d;return y()});G(1,"div",2);E(2,pfb,2,1,"ng-container",3)(3,qfb,2,2,"ng-container",3)(4,rfb,1,0,"ng-container",3);I();E(5,sfb,23,13,"div",4);I();E(6,tfb,1,2,"ng-template",null,0,Eg)}a&2&&(tg("cardTitle",b.name),F("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),A(),F("ngSwitch",hHc(b)),A(),F("ngSwitchCase","enum"),A(),F("ngSwitchCase","numeric"),A(),F("ngSwitchCase","empty"),A(),F("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[zw,Hw,Ew,Fw,nB,dB,HO,DA,U1,nE,OC,gR,aR,bR,jz,h2,i2,l2]},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 jHc=[{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}],kHc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],fHc={displayText:"Story points",icon:"story-point-24px"},gHc={displayText:"T-shirt sizes",icon:"t-shirt-24px"},j2={displayText:"Time",icon:"time-24px"},l2=function(){};
l2.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};l2.\u0275fac=function(a){return new (a||l2)};l2.\u0275pipe=kd({name:"aggregationRuleText",type:l2,pure:!0});var lHc=function(){this.disabled=!1;this.updateComponent=new Uv};lHc.\u0275fac=function(a){return new (a||lHc)};
lHc.\u0275cmp=r({type:lHc,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"updateEffortSpec","effortSpec","parentEffortSpec","disabled"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),S(2,"Once activated, standard fields appear in the right panel of all issues."),I(),G(3,"b-estimated-effort-config",
2),N("updateEffortSpec",function(c){b.updateComponent.emit(c)}),I()());a&2&&(A(3),F("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[k2],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var m2=function(){};m2.\u0275fac=function(a){return new (a||m2)};m2.\u0275mod=hd({type:m2});m2.\u0275inj=Rc({imports:[rE,KO,cD,PM,V1,vE,hR,zT]});var n2=function(){};n2.\u0275fac=function(a){return new (a||n2)};n2.\u0275mod=hd({type:n2});n2.\u0275inj=Rc({imports:[rE,V1,m2]});var o2=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new Uv;this.inherit=!1;this.selectedTeam$=new X.Subject;this.teamIdChanged$=new X.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(z(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),vf(""));this.teamFromId$=this.teamIdChanged$.pipe(wf(function(c){return"0"===
c?(0,X.of)(new Ebb([c],[""],"")):kK(b.teamsService,c).pipe(z(function(d){return new Ebb([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,X.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(wf(function(c){return"0"===c?(0,X.of)("MISSING"):b.teamsService.getTeam(c).pipe(z(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
o2.prototype.updateSelectionOnChange=function(a){Kk(sq.MANAGE_COMPONENT,"autocomplete-select","team",isNaN(Number(a.id))?0:Number(a.id));this.selectedTeam$.next(a);this.model.id=a.id;this.modelChange.emit(this.model);mHc(this)};var mHc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};o2.prototype.ngOnInit=function(){Object.assign({},this.model);mHc(this)};var xfb=function(a){return a.model.id&&"0"!==a.model.id};
o2.prototype.getMomaTeamLink=function(){return xfb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};o2.\u0275fac=function(a){return new (a||o2)(C(jK))};
o2.\u0275cmp=r({type:o2,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},decls:13,vars:13,consts:[["externalLink",""],[4,"ngIf"],["class","edit-field",4,"ngIf"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"onTeamSelect","onEmptyQuery","placeholder",
"disabled","teamSelected"],[4,"ngIf","ngIfElse"],["class","team-warning",4,"ngIf"],[1,"team-warning"],[3,"warningType","messageOnly"],[1,"edit-field"],[3,"change","disabled","checked"],["mat-icon-button","","class","gmat-button small","aria-label","Go to Team page.","matTooltip","Go to Team page.",3,"routerLink","target","click",4,"ngIf"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"gmat-button","small",3,"click","routerLink","target"],["svgIcon","pop-out",
1,"icon-s"],["mat-icon-button","","class","gmat-button small","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",3,"click",4,"ngIf"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"]],template:function(a,b){if(a&1){var c=v();G(0,"div");E(1,vfb,2,1,"ng-container",1);V(2,"async");E(3,wfb,3,2,"div",2);G(4,"div",3)(5,"label",4);S(6,"Team selection");I();G(7,"b-team-picker",
5);V(8,"async");V(9,"async");N("onTeamSelect",function(d){x(c);return y(b.updateSelectionOnChange(d))})("onEmptyQuery",function(){x(c);b.model.id="0";b.modelChange.emit(b.model);mHc(b);return y()});I();E(10,zfb,2,1,"ng-container",6);I()();E(11,Bfb,1,1,"ng-template",null,0,Eg)}a&2&&(a=R(12),A(),F("ngIf",W(2,7,b.warningType$)),A(2),F("ngIf",!b.isTopLevel),A(4),F("placeholder",W(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",W(9,11,b.displayedTeam$)),A(3),F("ngIf",
b.useInternalLink)("ngIfElse",a))},dependencies:[zw,nB,KM,LM,nE,OC,r1,GZ,DA,oF,Iw],styles:[".component-team-id-select[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:95px}.component-team-id-select[_ngcontent-%COMP%]   #component-team-id[_ngcontent-%COMP%]{display:inline-block;width:479px}.team-warning[_ngcontent-%COMP%]{width:240px}"],changeDetection:0});var p2=function(){};p2.\u0275fac=function(a){return new (a||p2)};p2.\u0275mod=hd({type:p2});p2.\u0275inj=Rc({imports:[rE,AM,PM,vE,u1,Q_,yx,cD,sF]});var q2=function(){};q2.\u0275fac=function(a){return new (a||q2)};q2.\u0275mod=hd({type:q2});q2.\u0275inj=Rc({imports:[rE,yx,cD,KO,IO,VA]});var r2=function(a,b,c){this.data=a;this.dialogRef=b;this.liveAnnouncer=c;this.originalFields=[];this.fields=[];this.fieldOrdering="FIELD_ORDERING_UNSPECIFIED";this.grabbed=this.hasChanges=!1;this.originalFields=a.fields.concat();this.fields=a.fields.concat();this.fieldOrdering=a.orderingCustomized},nHc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};r2.prototype.drop=function(a){Up(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Cfb=function(a,b){return 0<b?(Up(a.fields,b,b-1),a.detectChanges(),!0):!1},Dfb=function(a,b){return b<a.fields.length-1?(Up(a.fields,b,b+1),a.detectChanges(),!0):!1};r2.prototype.trackByFn=function(){return-1};r2.prototype.onFocus=function(a){this.liveAnnouncer.announce(this.fields[a].name+" focused at position "+(a+1)+" of "+this.fields.length+". Press space to grab the item.")};
r2.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();oHc(this,b);break;case "Tab":this.grabbed&&oHc(this,b);break;case "ArrowUp":pHc(this,a);break;case "ArrowDown":pHc(this,a)}};
var oHc=function(a,b){a.grabbed?(a.grabbed=!1,a.grabbedIndex=void 0,a.liveAnnouncer.announce(a.fields[b].name+" dropped at position "+(b+1)+" of "+a.fields.length+".")):(a.grabbed=!0,a.grabbedIndex=b,a.liveAnnouncer.announce(a.fields[b].name+" grabbed at position "+(b+1)+" of "+a.fields.length+". Press up and down arrow to move the item."))},pHc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Cfb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Dfb(a,a.grabbedIndex)&&(d=c.nextElementSibling,a.grabbedIndex++);d&&(d.focus(),a.liveAnnouncer.announce(a.fields[a.grabbedIndex].name+" moved to position "+(a.grabbedIndex+1)+" of "+a.fields.length+". Press space to drop the item."))}}};r2.prototype.detectChanges=function(){this.hasChanges=!ki(this.fields,this.originalFields)};r2.\u0275fac=function(a){return new (a||r2)(C(PA),C(NA),C(Ux))};
r2.\u0275cmp=r({type:r2,selectors:[["b-field-reorder-dialog"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],["mat-dialog-title","",1,"margin-none"],["mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0",3,"keydown","focus",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"click","disabled"],["cdkDrag","","tabindex","0",3,"keydown","focus"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[1,"arrows"],["mat-icon-button","","aria-label","Move the field up",3,"click"],["svgIcon","arrow-up"],["mat-icon-button","","aria-label","Move the field down",3,"click"],["svgIcon",
"arrow-down"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"h1",2),S(3," Reorder custom fields "),I(),G(4,"button",3),N("click",function(){return nHc(b)}),K(5,"mat-icon",4),I()()(),G(6,"div",5)(7,"ol",6),N("cdkDropListDropped",function(c){return b.drop(c)}),E(8,Efb,9,7,"li",7),I()(),G(9,"div",8)(10,"button",9),N("click",function(){return b.dialogRef.close()}),S(11," Cancel "),I(),G(12,"button",10),N("click",function(){return b.dialogRef.close(b.fields)}),S(13," Save "),I()());a&2&&(A(8),
F("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),A(4),F("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[Dw,nB,CA,SA,TA,UA,yT,xT,tT,nE,OC],styles:["ol[_ngcontent-%COMP%]{list-style-type:none;padding:0;margin:0}li[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);font-size:.8125rem;padding:10px;display:flex;align-items:center}li[_ngcontent-%COMP%]   .arrows[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]   .drag-handle[_ngcontent-%COMP%]{cursor:move;margin-right:5px;opacity:.2}li[_ngcontent-%COMP%]   .arrows[_ngcontent-%COMP%]{margin-left:auto}li[aria-grabbed=true][_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{font-style:italic}li[_ngcontent-%COMP%]:focus{border-radius:3px;box-shadow:0 0 0 3px rgba(0,0,0,.1)}li[_ngcontent-%COMP%]:focus   .drag-handle[_ngcontent-%COMP%]{opacity:1}li[_ngcontent-%COMP%]:focus   .arrows[_ngcontent-%COMP%]{visibility:visible}li[_ngcontent-%COMP%]:focus   .arrows.invisible[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]:hover   .drag-handle[_ngcontent-%COMP%]{opacity:1}li[_ngcontent-%COMP%]:hover   .arrows[_ngcontent-%COMP%]{visibility:visible}li[_ngcontent-%COMP%]:hover   .arrows.invisible[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]:last-of-type{border-bottom:none;margin-bottom:3px}li[_ngcontent-%COMP%]:first-of-type{margin-top:3px}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:.3}.cdk-drag-preview[_ngcontent-%COMP%]{opacity:.3;border-bottom:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}"]});var s2=function(a,b,c,d,e){this.matDialog=a;this.confirmationDialog=b;this.fieldConfigService=c;this.analytics=d;this.butterBar=e;this.fields=[];this.isAdmin=!1;this.onReload=new Uv;this.displayedColumn=["index","name","type","required","customFieldId"]},Sfb=function(a){return a.matDialog.open(r2,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}}).afterClosed().subscribe(function(b){b&&qHc(a,b)})},Tfb=function(a){a.confirmationDialog.open({title:"Reset ordering?",
content:vh("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()}})},qHc=function(a,b){Wo(a.analytics,sq.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(wr(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){wr(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.")};
s2.prototype.reset=function(){var a=this;Wo(this.analytics,sq.FIELD_ORDERING,"resetFields");this.componentId?(wr(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){wr(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.")};
s2.\u0275fac=function(a){return new (a||s2)(C(QA),C(nL),C(Z1),C(ZI),C(pI))};
s2.\u0275cmp=r({type:s2,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},decls:22,vars:5,consts:[[1,"field-reorder-panel"],[1,"field-order-table"],["mat-table","",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","type"],["matColumnDef","required"],["matColumnDef","customFieldId"],["mat-header-row",
"",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","no-data-row",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[1,"no-data-row"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button","medium",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"table",2),L(3,3),E(4,Ffb,2,0,"th",4)(5,Gfb,2,1,"td",5),M(),L(6,6),E(7,Hfb,2,0,"th",4)(8,Ifb,2,1,"td",
5),M(),L(9,7),E(10,Jfb,2,0,"th",4)(11,Kfb,3,3,"td",5),M(),L(12,8),E(13,Lfb,2,0,"th",4)(14,Mfb,2,1,"td",5),M(),L(15,9),E(16,Nfb,2,0,"th",4)(17,Ofb,2,1,"td",5),M(),E(18,Pfb,1,0,"tr",10)(19,Qfb,1,0,"tr",11),I(),E(20,Rfb,2,0,"div",12),I(),E(21,Ufb,6,2,"div",13),I());a&2&&(A(2),F("dataSource",b.fields),A(16),F("matHeaderRowDef",b.displayedColumn),A(),F("matRowDefColumns",b.displayedColumn),A(),F("ngIf",0===b.fields.length),A(),F("ngIf",b.isAdmin))},dependencies:[zw,CA,TV,OW,BW,HW,DW,AW,JW,EW,GW,KW,MW,
kN],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 t2=function(){};t2.\u0275fac=function(a){return new (a||t2)};t2.\u0275mod=hd({type:t2});t2.\u0275inj=Rc({providers:[nL],imports:[rE,cD,VA]});var u2=function(){};u2.\u0275fac=function(a){return new (a||u2)};u2.\u0275mod=hd({type:u2});u2.\u0275inj=Rc({imports:[rE,cD,MK,VA,eX,zT,vE,tE,t2,mN]});var v2=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},Wfb=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="+rHc+a.issueId+sHc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
v2.prototype.trackClick=function(a){Wo(this.analytics,"codeMentions","clickCodeSearchLink",a)};v2.\u0275fac=function(a){return new (a||v2)(C(ZI))};
v2.\u0275cmp=r({type:v2,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},decls:5,vars:4,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"click","href"],[4,"ngIf"],[1,"bv2-file-mention-line-number-list"],["class","bv2-file-mention-line-number",4,"ngFor","ngForOf"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"click","href"]],template:function(a,b){a&
1&&(G(0,"div",0)(1,"a",1),N("click",function(){return b.trackClick("fileName")}),S(2),I(),E(3,Vfb,2,1,"span",2)(4,Yfb,5,1,"span",2),I());a&2&&(A(),F("href",Wfb(b,b.lineNumbers),Ye),A(),T(" ",b.filename," "),A(),F("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),A(),F("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[Dw,zw],encapsulation:2});var rHc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),sHc=encodeURIComponent("(\\b|$)");var w2=function(){};w2.\u0275fac=function(a){return new (a||w2)};w2.\u0275mod=hd({type:w2});w2.\u0275inj=Rc({imports:[rE]});var tHc=function(){return{width:400}},uHc=function(){return[]},x2=function(a,b,c,d,e,f,h,l){var q=this;this.bLocation=c;this.paths=d;this.analytics=e;this.activeSession=f;this.componentActions=h;this.cdr=l;this.includeArchived$=new X.BehaviorSubject(!1);this.trackerRootComponent$=(0,X.defer)(function(){return(0,X.of)(q.activeSession.getTracker())}).pipe(wf(function(t){return t?q.componentActions.get(Number(t.componentId)):(0,X.of)(void 0)}));this.topLevelComponents$=(0,X.combineLatest)([this.trackerRootComponent$,
this.includeArchived$]).pipe(wf(function(t){var w=k(t);t=w.next().value;w=w.next().value;var B;return q.componentActions.getChildren(null!=(B=null==t?void 0:t.parentComponentId)?B:0,w)}));this.createComponentPath=Hr.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&agb(this,Number(b.componentId),(0,X.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=f.isInternalSession()};
x2.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&Wo(this.analytics,"listComponents",b),this.bLocation.setUrl(this.paths.manageComponent(a.componentId)))};
var agb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Caa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),f={0:c},h=k(e),l=h.next();!l.done;l=h.next())l=l.value,f[l]=a.componentActions.getChildren(l,a.includeArchived);return Yo(f).then(function(q){for(var t=q[0],w=0,B=k(e),D=B.next(),J={};!D.done;J={parentId$jscomp$17:void 0},D=B.next()){J.parentId$jscomp$17=D.value;D=void 0;var H=null!=(D=t.find(function(O){return function(P){return P.componentId===
O.parentId$jscomp$17}}(J)))?D:null;H&&(H.children=q[J.parentId$jscomp$17],H.showChildren=!0,t=H.children,w=H.componentId)}d.archived&&!a.includeArchived&&(b=w);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};Ac.Object.defineProperties(x2.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});x2.\u0275fac=function(a){return new (a||x2)(C(qH),C(vQ),C(QF),C(RF),C(ZI),C(Zr),C(SM),C(ME,2))};
x2.\u0275cmp=r({type:x2,selectors:[["b-list-components-page"]],features:[wg([ME])],decls:16,vars:15,consts:[["componentPickerTemplate",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","","class","gmat-button",3,"href",4,"ngIf"],["mat-button","","dialogLabel","Components","panelClass","overflow-visible-inline-dialog-panel",1,"gmat-button",3,"xapInlineDialogClick","overlaySize"],["id","bv2-issue-showarchived-button",4,"ngIf"],[1,"bv2-view"],["class","bv2-view-loading",
4,"ngIf"],[1,"top-tree",3,"init","components","includeArchived"],["mat-button","",1,"gmat-button",3,"href"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"selectedComponentChange","includeArchived","placeholder","shouldFocus","isRequired"],["id","bv2-issue-showarchived-button"],["label","Show archived",3,"modelChange","model","tooltip"],[1,"bv2-view-loading"],["size","small"]],template:function(a,b){if(a&1){var c=v();G(0,"h2",1);S(1,"Browse Components");
I();G(2,"div",2)(3,"div",3);E(4,Zfb,2,1,"a",4);G(5,"button",5);S(6," Search Components ");I();E(7,$fb,4,6,"ng-template",null,0,Eg)(9,bgb,3,4,"div",6);I()();G(10,"div",7);E(11,cgb,2,0,"div",8);V(12,"async");G(13,"component-tree-list",9);V(14,"async");V(15,"async");N("init",function(h){x(c);return y(b.componentTree=h)});I()()}if(a&2){var d,e,f;a=R(8);A(4);F("ngIf",b.isInternalSession);A();F("xapInlineDialogClick",a)("overlaySize",zg(13,tHc));A(4);F("ngIf",b.isInternalSession);A(2);F("ngIf",!(null!==
(d=W(12,7,b.topLevelComponents$))&&void 0!==d&&d));A(2);F("components",null!==(e=W(14,9,b.topLevelComponents$))&&void 0!==e?e:zg(14,uHc))("includeArchived",null!==(f=W(15,11,b.includeArchived$))&&void 0!==f?f:!1)}},dependencies:[zw,GL,WL,VL,ZL,RR,CA,DA,KR,gN,Iw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var y2=function(){};y2.\u0275fac=function(a){return new (a||y2)};y2.\u0275mod=hd({type:y2});y2.\u0275inj=Rc({imports:[rE,wM,tM,zM,CM,AM,SR,cD,MR,rN]});var vHc=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};vHc.\u0275fac=function(a){return new (a||vHc)};
vHc.\u0275cmp=r({type:vHc,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},decls:4,vars:2,consts:[[1,"bv2-package-mention-set"],["class","bv2-package-mention-set-package-name",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(G(0,"div",0),E(1,dgb,2,1,"p",1),G(2,"ul"),E(3,egb,2,5,
"li",2),I()());a&2&&(A(),F("ngIf",b.displayPackageName),A(2),F("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[Dw,zw,v2],encapsulation:2});var z2=function(){};z2.\u0275fac=function(a){return new (a||z2)};z2.\u0275mod=hd({type:z2});z2.\u0275inj=Rc({imports:[rE,w2]});var A2=function(){};A2.\u0275fac=function(a){return new (a||A2)};A2.\u0275mod=hd({type:A2});A2.\u0275inj=Rc({imports:[rE,yx,cD,VA,KO,aT,IO]});var B2=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=g5b;this.label="Restricted";this.contentType="item"};B2.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Ln(Math.floor(1E3*this.retentionState.retentionPeriod.seconds/864E5)):""};
var ggb=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(Kn(a.retentionState.scheduledDeletionTime)||b):b},wHc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>Kn(a.retentionState.scheduledDeletionTime)-Date.now():!1};B2.\u0275fac=function(a){return new (a||B2)(C(TM),C(gO))};
B2.\u0275cmp=r({type:B2,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:11,vars:5,consts:[["bubble",""],["popup",""],["infiniteRetention",""],["hasExpiredText",""],[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"],[3,"ngSwitch",
4,"ngIf"],[3,"ngSwitch"],[4,"ngIf","ngIfElse"],[3,"ngSwitchCase"]],template:function(a,b){if(a&1){var c=v();G(0,"xap-bubble",4,0)(2,"div",5);N("focus",function(){x(c);var d=R(1);return y(d.toggle(!0))})("blur",function(){x(c);var d=R(1);return y(d.toggle(!1))});K(3,"mat-icon",6);S(4);I();E(5,mgb,8,4,"ng-template",null,1,Eg)(7,ngb,3,1,"ng-template",null,2,Eg)(9,ogb,8,5,"ng-template",null,3,Eg);I()}a&2&&(a=R(6),F("panelTemplate",a),A(2),Qf("warning",wHc(b)),A(),F("svgIcon",wHc(b)?"delete-alert":"delete-clock"),
A(),T(" ",b.label," "))},dependencies:[zw,Ew,Fw,nB,UM,Lw],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 C2=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};C2.prototype.onNoClick=function(){this.dialogRef.close(!1)};C2.\u0275fac=function(a){return new (a||C2)(C(NA),C(TM),C(PA))};
C2.\u0275cmp=r({type:C2,selectors:[["b-restricted-confirmation-dialog"]],decls:12,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about restricted access",3,"rel"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","restricted-confirmation-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","restricted-confirmation-dialog-confirm",3,"mat-dialog-close"]],
template:function(a,b){a&1&&(G(0,"h1",0),S(1),I(),G(2,"div",1)(3,"p"),S(4),G(5,"a",2),S(6," Learn More "),I()()(),G(7,"div",3)(8,"button",4),N("click",function(){return b.onNoClick()}),S(9," Cancel "),I(),G(10,"button",5),S(11," Confirm "),I()());a&2&&(A(),rg(b.data.title),A(3),T(" ",b.data.content," "),A(),F("rel",b.EXTERNAL_LINK_REL),Hf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ye),A(5),F("mat-dialog-close",!0))},dependencies:[CA,RA,SA,TA,UA],encapsulation:2});var D2=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new Uv};
D2.prototype.openDialog=function(){var a=this;this.dialog.open(C2,{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."}}).afterClosed().subscribe(function(b){b&&a.onConfirm.emit()})};D2.\u0275fac=function(a){return new (a||D2)(C(QA),C(TM))};
D2.\u0275cmp=r({type:D2,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},decls:5,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button","small","restricted-comment-load",3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(G(0,"span")(1,"button",0),N("click",function(){return b.openDialog()}),S(2," Show Restricted Content "),I(),G(3,"a",1),S(4,
" Learn More "),I()());a&2&&(A(),F("disabled",b.disabled),A(2),F("rel",b.EXTERNAL_LINK_REL),Hf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ye))},dependencies:[CA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var E2=function(){};E2.\u0275fac=function(a){return new (a||E2)};E2.\u0275mod=hd({type:E2});E2.\u0275inj=Rc({imports:[rE,uE,cD,VA,wE,IO,WO,vE,eX,fX,PM,yx,nN]});var F2=function(a){this.activeSession=a};F2.prototype.ngOnInit=function(){};F2.\u0275fac=function(a){return new (a||F2)(C(Zr))};
F2.\u0275cmp=r({type:F2,selectors:[["b-tracker-account-menu-hack"]],decls:7,vars:3,consts:[["accountHackMenu","matMenu"],["aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],[1,"padded-s-x","text-center"],["class","padded-s-bottom",4,"ngIf"],[3,"href"],[1,"padded-s-bottom"]],template:function(a,b){a&1&&(K(0,"button",1),G(1,"mat-menu",2,0)(3,"div",3),E(4,pgb,2,1,"div",4),G(5,"a",5),S(6,"Sign out or switch accounts"),I()()());a&2&&(a=R(2),F("matMenuTriggerFor",
a),A(4),F("ngIf",b.activeSession.getUserEmail()),A(),F("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),Ye))},dependencies:[zw,mE,IC,JC],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 G2=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};Y(G2,Z);G2.\u0275dir=Z.\u0275dir;G2.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=k(null!=(b=this.availableTrackers)?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var xHc=function(a){return Object.keys(ic(a.trackerCheckboxValues,function(b){return b}))};
G2.\u0275fac=function(){var a;return function(b){return(a||(a=Td(G2)))(b||G2)}}();
G2.\u0275cmp=r({type:G2,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[Ff,xd],decls:8,vars:4,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],["class","bv2-adv-tracker-search-rule-error",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-item"],
["gmat-checkbox","",3,"change","checked"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),S(4,"Select a tracker"),I(),E(5,qgb,2,0,"span",3),I(),G(6,"div",4),E(7,rgb,3,2,"div",5),I()()());a&2&&(Qf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),A(5),F("ngIf",0===xHc(b).length),A(2),F("ngForOf",b.availableTrackers))},dependencies:[Dw,zw,KM,LM],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 H2=function(a,b,c,d,e,f){Z.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(xf(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(xf(this.destroyed$)).subscribe(function(l){l=l.newTab;yHc(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(xf(this.destroyed$)).subscribe(function(l){yHc(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(xf(this.destroyed$)).subscribe(function(l){l=
l.newTab;yHc(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(xf(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(xf(this.destroyed$)).subscribe(function(l){var q=l.newTab;yHc(h,Zwa(l.settingsTabName),q)})};Y(H2,Z);H2.\u0275dir=Z.\u0275dir;var yHc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
H2.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(mf(),xf(this.destroyed$)).subscribe(),Wo(this.analytics,"preferences","setDisplayDensity",a))};H2.\u0275fac=function(a){return new (a||H2)(p(gH),p(ZI),p(QF),p(RF),p(zF),p(XN))};H2.\u0275prov=Pc({token:H2,factory:H2.\u0275fac,providedIn:"root"});var I2=function(a,b,c,d,e,f,h,l,q,t,w,B){Z.call(this);var D=this;this.activeSession=a;this.searchAcData=b;this.savedSearchApi=c;this.butterBar=d;this.bLocation=e;this.paths=f;this.analytics=h;this.appEvents=q;this.appSearchState=t;this.trackerFridge=w;this.errorHandler=B;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=hE(this.activeSession,"enableTrackersAccountHack");this.currentTracker=this.activeSession.getTracker();this.associatedTrackers$=(0,X.defer)(function(){var J,
H;return(0,X.of)(null!=(H=null==(J=D.currentTracker)?void 0:J.associatedTrackerIds)?H:[])}).pipe(wf(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(z(function(J){return D.currentTracker?[D.currentTracker].concat(u(J)):[]}));this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();this.searchAcData.acRefreshed$.pipe(xf(this.destroyed$)).subscribe(function(){D.items=D.searchAcData.items;D.acHeader=
D.searchAcData.acHeader});this.trackerFridge.error$.pipe(xf(this.destroyed$)).subscribe(function(J){403!==J.status&&D.errorHandler.errorHandler(null,J)})};Y(I2,Z);I2.\u0275dir=Z.\u0275dir;var zHc=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"}};
I2.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(xf(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(null==d.cursorIdx)d.currentSearchContext=null;else{var f=d.query,h=d.cursorIdx;if(0>h||h>f.length)throw Error("Je");e=new vEc(f,h);if(f){var l=f.slice(0,h);for(var q=!1,t=-1,w=-1;-1<(t=l.indexOf('"',t+1));)q=!q,w=t;l=q?w:-1;if(-1<l)e.value={val:f.slice(l,h),idx:l};else if(l=f.slice(h),q=l.search("\\s"),
(l=I$a(f.slice(0,h)+(-1<q?l.slice(0,q):l),zEc))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},l.val.startsWith("customfield")&&(l.customFieldId=l.val.slice(11),l.val="customfield")):l=null,l){q=l.idx+(l.negated?1:0)+l.val.length+l.operator.length+(l.customFieldId?l.customFieldId.length:0);f=f.slice(q);t=Math.max(h-q,0);w=l;if("("===f.charAt(0)){b:{w=[];for(var B=/[()]/g,D;null!=(D=B.exec(f));){var J=w[w.length-1];if(J&&J!==D[0]){if(w.pop(),
!w.length){w=D.index>=t;break b}}else w.push(D[0])}w=!0}w=w?2:0}else w=wEc.includes(w.val)&&-1===f.search("^\\d")?1:0;switch(w){case 2:h=wEc.includes(l.val)?hr(f,t,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):hr(f,t,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=t);e.value=h;break;case 1:e.value=hr(f,t,"[()|]","[()|,\\s]");break;case 0:e.value=hr(f,t,"[\\s()|]");-1<f.slice(0,t).search("[\\s()|]")&&(l=null,t=I$a(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=H$a(f,
t.index-t[1].length,h));break;default:vc(w,"unknown ValueType.")}e.value.idx+=q;e.label=l}else l=I$a(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=l?H$a(f,l.index-l[1].length,h):hr(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(z(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(zf(b),
xf(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var f=IHa(c),h=f.filters,l=f.text,q=f.complexSyntax,t=f.resourceIds;f=[h,l,t].reduce(Vj);h=[h?"filters":void 0,l?"text":void 0,t?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=sa(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};
I2.prototype.ngAfterViewInit=function(){CGc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var AHc=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:JGc(a.advancedSearchCtrl).trim()};g=I2.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(AHc(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&CGc(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:xHc(a))?b:[]);this.advancedSearchCtrl&&(a=AHc(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
g.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:xHc(a))?b:[]);this.advancedSearchCtrl&&(a=AHc(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
g.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=AHc(this);void 0!==c&&(wr(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;wr(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.setUrl(b.paths.viewSavedSearch(d));Wo(b.analytics,"savedSearches","create")}).catch(function(d){b.butterBar.showWarning(Yn(d))}))}};
g.isSearchDisabled=function(){return!!this.trackerSearchCtrl&&0===xHc(this.trackerSearchCtrl).length};I2.\u0275fac=function(a){return new (a||I2)(C(Zr),C(w0),C(VJ),C(pI),C(QF),C(RF),C(ZI),C(H2),C(gH),C(jM),C(sK),C(qI))};
I2.\u0275cmp=r({type:I2,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(lg(t1,5),lg(G2,5));if(a&2){var c;pg(c=qg())&&(b.advancedSearchCtrl=c.first);pg(c=qg())&&(b.trackerSearchCtrl=c.first)}},features:[Ff],decls:7,vars:12,consts:[[3,"searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch","logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled"],
[3,"currentTrackerId","availableTrackers",4,"ngIf"],[3,"isTrackerSearchEnabled"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[3,"currentTrackerId","availableTrackers"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],["class","warning-container",4,"ngIf"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(G(0,"b-app-top-bar",0),N("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(c){return b.saveSearch(c)}),E(1,sgb,2,4,"b-tracker-search",1),K(2,"b-advanced-search",2),E(3,tgb,4,0,"div",3)(4,wgb,3,2,"div",4)(5,xgb,2,0,"div",4),I(),E(6,ygb,1,0,"b-tracker-account-menu-hack",5));a&2&&(F("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",zHc(b,b.currentTracker))("searchBoxAutoCompleteItems",
b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled()),A(),F("ngIf",b.currentTracker),A(),F("isTrackerSearchEnabled",!b.currentTracker),A(),F("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())),A(),F("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())),A(),F("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?
null:b.advancedSearchCtrl.getState())),A(),F("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&b.currentTracker))},dependencies:[zw,nB,t1,G2,ZGc,GL,F2,Iw],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 J2=function(){};J2.\u0275fac=function(a){return new (a||J2)};J2.\u0275mod=hd({type:J2});J2.\u0275inj=Rc({imports:[rE,PM]});var K2=function(){};K2.\u0275fac=function(a){return new (a||K2)};K2.\u0275mod=hd({type:K2});K2.\u0275inj=Rc({imports:[rE,w1,J2,R1,wM,uE]});var L2=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=Vk;this.DiffType=s5b;this.updateDiffs=b.updateDiffs};L2.prototype.close=function(){this.dialogRef.close()};L2.\u0275fac=function(a){return new (a||L2)(C(NA),C(PA))};
L2.\u0275cmp=r({type:L2,selectors:[["b-update-history-modal"]],decls:6,vars:1,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],["class","bv2-event",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],[1,"bv2-event"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"email"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],
[1,"bv2-event-details"],["class","bv2-diff-detail",4,"ngFor","ngForOf"],[1,"bv2-diff-detail"],[4,"ngIf"],[1,"bv2-diff-arrow"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"ul",1),E(2,Hgb,10,4,"li",2),I()(),G(3,"div",3)(4,"button",4),N("click",function(){return b.close()}),S(5," Close "),I()());a&2&&(A(2),F("ngForOf",b.updateDiffs))},dependencies:[Dw,zw,CA,TA,UA,OQ,MQ,iO],styles:[".update-history-modal[_ngcontent-%COMP%]{word-break:break-word}.update-history-modal[_ngcontent-%COMP%]   .update-history-list[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding:0}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]{padding:0 0 10px}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:last-child{border-bottom:none}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:auto}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   .bv2-diff-detail[_ngcontent-%COMP%]{margin-right:0}h4[_ngcontent-%COMP%]{margin:0;margin-bottom:8px;font-weight:normal}"]});var M2=function(){};M2.\u0275fac=function(a){return new (a||M2)};M2.\u0275mod=hd({type:M2});M2.\u0275inj=Rc({imports:[rE,cD,VA,VQ,yO]});var N2=function(a,b){this.$window=a;this.activeSession=b;this.faviconUrl=this.defaultFaviconUrl=qc("https://www.gstatic.com/buganizer/img/v4/favicon.png")};N2.\u0275fac=function(a){return new (a||N2)(p(nH),p(Zr))};N2.\u0275prov=Pc({token:N2,factory:N2.\u0275fac,providedIn:"root"});var BHc=/^\s*[^:/?#]+:/i,CHc=/^#/i,O2=function(a){var b=this;this.bLocation=a;this.linkClickHandler=function(c){if(!(c.ctrlKey||c.metaKey||c.shiftKey||2===c.which||2===c.button||c.defaultPrevented)){var d;a:{for(d=c.target;d;){if("A"===d.tagName)break a;d=d.parentElement}d=void 0}if(d&&(!d.hasAttribute("target")||"_self"===d.getAttribute("target"))&&(d=d.getAttribute("href"))&&!BHc.test(d))if(CHc.test(d)){b.bLocation.hash(d.substring(1));var e;null==(e=document.getElementById(d.substring(1)))||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.setUrl(d)}}};O2.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};O2.\u0275fac=function(a){return new (a||O2)(p(QF))};O2.\u0275prov=Pc({token:O2,factory:O2.\u0275fac,providedIn:"root"});var DHc=[],EHc=!1,P2=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=f;this.issueLru=h;this.faviconService=l;this.imageUrls=q};Y(P2,Z);P2.\u0275dir=Z.\u0275dir;P2.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};
P2.\u0275fac=function(a){return new (a||P2)(p(lX),p(mB),p(Zr),p(N0),p(Q0),p(O2),p(mM),p(N2),p(XM))};P2.\u0275prov=Pc({token:P2,factory:P2.\u0275fac,providedIn:"root"});
var FHc={provide:dUb,useFactory:function(a){return function(){EHc||(a.iconRegistry._addSvgIconSetConfig("",new o_b(a.imageUrls.ICON_URL)),EHc=!0);if(a.session.isInternalSession()){exc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(mf(),xf(a.destroyed$)).subscribe();for(var b=k(DHc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;hE(a.session,c.flagName)&&exc(a.hatsService,d).pipe(mf(),xf(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();a.linkClickHandler.install();
b=a.issueLru;KHa(b.viewed,adc());KHa(b.edited,Zcc());b.appEvents.issueViewed.pipe(xf(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(xf(b.stop$)).subscribe(b.addEdited);c=a.faviconService;b=c.$window.document.head.querySelector('link[rel="shortcut icon"]');d=null==b?void 0:b.href;c.faviconUrl=d?qc(d):c.defaultFaviconUrl;var e;d=c.activeSession.getTracker();if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var f;e=qc(null==d?void 0:null==(f=d.branding)?void 0:f.logoUrl)}else e=c.faviconUrl;
f=e;if(b&&b.href!==f.toString())a:{if(f instanceof hv)b.href=wc(f).toString();else{if(-1===jSb.indexOf("icon"))throw Error("aa`icon");f=sc(f);if(void 0===f)break a;b.href=f}b.rel="icon"}}},deps:[P2],multi:!0};var Q2=function(a,b){this.paths=a;this.bLocation=b};Q2.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=this.paths.editIssue(a.issueId)+(b?"#"+b:"");this.bLocation.setUrl(a)};Q2.\u0275fac=function(a){return new (a||Q2)(p(RF),p(QF))};Q2.\u0275prov=Pc({token:Q2,factory:Q2.\u0275fac,providedIn:"root"});var GHc={provide:AU,useExisting:Q2};var HHc=function(){var a;switch(null==(a=self.location)?void 0:a.hostname){case "cider.corp.google.com":case "cider-v.corp.google.com":case "critique.corp.google.com":return 1;case "cider-staging.corp.google.com":case "cider-v-staging.corp.google.com":case "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 R2=function(a){CB.call(this);this.errorHandlerFn_=a};hu(R2,CB);R2.prototype.wrap=function(a){return IHc(this,a)};var S2=function(a,b){return(b?"__wrapper_":"__protected_")+Ca(a)+"__"},IHc=function(a,b){var c=S2(a,!0);b[c]||((b[c]=JHc(a,b))[S2(a,!1)]=b);return b[c]},JHc=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[S2(a,!1)]=b;return c};
R2.prototype.handleError_=function(a){if(!(a&&"object"===typeof a&&"string"===typeof a.message&&0==a.message.indexOf("Error in protected function: ")||"string"===typeof a&&0==a.indexOf("Error in protected function: ")))throw this.errorHandlerFn_(a),new KHc(a);};
var LHc=function(a,b){var c=da.window||da.globalThis,d=c[b];if(!d)throw Error("Ne`"+b);c[b]=function(e,f){"string"===typeof e&&(e=gu(RPb,e));e&&(arguments[0]=e=IHc(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var l=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,l)}}return d(h,f)};c[b][S2(a,!1)]=d};
R2.prototype.disposeInternal=function(){var a=da.window||da.globalThis;var b=a.setTimeout;b=b[S2(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[S2(this,!1)]||b;a.setInterval=b;R2.superClass_.disposeInternal.call(this)};var KHc=function(a){ba.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};hu(KHc,ba);var NHc=function(a,b,c){Jp.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=MHc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new R2(fu(this.handleException,this));LHc(this.errorHandler_,"setTimeout");LHc(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&&LHc(a,
e)}a=this.errorHandler_;O_b=!0;b=fu(a.wrap,a);for(c=0;c<M_b.length;c++)M_b[c](b);N_b.push(a)}};hu(NHc,Jp);var OHc=function(a,b){DB.call(this,"z");this.error=a;this.context=b};hu(OHc,DB);var MHc=function(a,b,c,d){if(d instanceof Map){var e={};d=k(d);for(var f=d.next();!f.done;f=d.next()){var h=k(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;uKa(a,null,b,c,e)};
NHc.prototype.handleException=function(a,b){a=a.error||a;b=b?lc(b):{};a instanceof Error&&Pda(b,a.__closure__error__context__984382||{});var c=lSb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(e){}var d=c.message.substring(0,1900);a instanceof ba&&!a.reportErrorToServer||PHc(this,d,c.fileName,c.lineNumber,c.stack,b);try{this.dispatchEvent(new OHc(c,b))}catch(e){}};
var PHc=function(a,b,c,d,e,f){try{var h=vC(a.handlerUrl_,"script",c,"error",b,"line",d);jc(a.additionalArguments_)||(h=$wa(h,a.additionalArguments_));b={};b.trace=e;if(f)for(var l in f)b["context."+l]=f[l];var q=s2b(b);a.xhrSender_(h,"POST",q,a.extraHeaders_)}catch(t){}};NHc.prototype.disposeInternal=function(){Xh(this.errorHandler_);NHc.superClass_.disposeInternal.call(this)};var T2=function(){this.jsBuild="621573753";this.buildLabel="buganizer.frontend_20240403.09_p0"};T2.\u0275fac=function(a){return new (a||T2)};T2.\u0275prov=Pc({token:T2,factory:T2.\u0275fac,providedIn:"root"});var U2=function(){};U2.prototype.reportingEnabled=function(){return 4!==HHc};U2.\u0275fac=function(a){return new (a||U2)};U2.\u0275prov=Pc({token:U2,factory:U2.\u0275fac,providedIn:"root"});
var V2=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new NHc("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=k(c.reportingExtensions);for(var f=d.next();!f.done;f=d.next())f.value.enhanceContext(e)},!0)};
V2.prototype.reportError=function(a){console.error("ErrorReporter: ",(null==a?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){Igb(a);this.jsDebugErrorReporter.handleException(a);a=k(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};V2.\u0275fac=function(a){return new (a||V2)(p(T2),p(U2))};V2.\u0275prov=Pc({token:V2,factory:V2.\u0275fac,providedIn:"root"});var W2=function(a){this.reporter=a};
W2.prototype.handleError=function(a){if(Xn(a))if(400===a.status)var b=!1;else{var c;b=4===Math.floor((null!=(c=a.status)?c:0)/100)}else b=a instanceof Error&&a.message.includes("queueMicrotask is not defined")?!0:!1;if(b)Ck("omitting eye3 reporting of",a);else if("string"===typeof a){var d=this.reporter;a="Error: "+a;console.error("ErrorReporter: ",a);if(d.appContext.reportingEnabled())try{throw Error(a);}catch(f){for(Igb(f),PHc(d.jsDebugErrorReporter,a,f.fileName,f.lineNumber,f.stack,d.context),
a=k(d.reportingExtensions),d=a.next();!d.done;d=a.next())d.value.onReportedError()}}else{b=lSb(a);var e;this.reporter.reportError(Object.assign({},b,{name:null!=(d=b.name)?d:"UnknownError",message:null!=(e=b.message)?e:String(a)}))}};W2.\u0275fac=function(a){return new (a||W2)(p(V2))};W2.\u0275prov=Pc({token:W2,factory:W2.\u0275fac,providedIn:"root"});var X2=function(a){this.activeSession=a};Y(X2,U2);X2.prototype.reportingEnabled=function(){return hE(this.activeSession,"reportErrors")};
X2.\u0275fac=function(a){return new (a||X2)(p(Zr))};X2.\u0275prov=Pc({token:X2,factory:X2.\u0275fac,providedIn:"root"});var QHc={provide:bf,useClass:W2},RHc={provide:U2,useClass:X2},SHc={provide:T2,useValue:{jsBuild:"621573753",buildLabel:"buganizer.frontend_20240403.09_p0"}};var Y2=function(){};Y2.\u0275fac=function(a){return new (a||Y2)};Y2.\u0275cmp=r({type:Y2,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var Z2=function(){};Z2.\u0275fac=function(a){return new (a||Z2)};Z2.\u0275mod=hd({type:Z2});Z2.\u0275inj=Rc({});var a3=function(){};Y(a3,iF);a3.prototype.store=function(){};a3.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&ki(a.params,b.params)};a3.\u0275fac=function(){var a;return function(b){return(a||(a=Td(a3)))(b||a3)}}();a3.\u0275prov=Pc({token:a3,factory:a3.\u0275fac,providedIn:"root"});var b3=function(a){this.router=a};
b3.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=k(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return nF(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=k(b.url.split("?")).next().value;var d={};return nF(this.router,[b],{queryParams:Object.assign({},exa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return"/mission-control"===b.url||"/dash"===b.url||"/attention"===b.url?nF(this.router,["home"]):!0};b3.\u0275fac=function(a){return new (a||b3)(p(mF))};b3.\u0275prov=Pc({token:b3,factory:b3.\u0275fac,providedIn:"root"});var THc=/^(\d+)$/,c3=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(a6b))};c3.prototype.validate=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=ql(d);if(!THc.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};c3.\u0275fac=function(a){return new (a||c3)(p(pI))};
c3.\u0275prov=Pc({token:c3,factory:c3.\u0275fac,providedIn:"root"});var d3=function(a){this.routeParamsValidator=a};d3.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};d3.\u0275fac=function(a){return new (a||d3)(p(c3))};d3.\u0275prov=Pc({token:d3,factory:d3.\u0275fac,providedIn:"root"});var e3=function(a,b){this.activeSession=a;this.router=b};e3.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:nF(this.router,["issues"])};e3.\u0275fac=function(a){return new (a||e3)(p(Zr),p(mF))};e3.\u0275prov=Pc({token:e3,factory:e3.\u0275fac,providedIn:"root"});var f3=function(a,b){this.currentTracker=a;this.router=b};f3.prototype.canActivate=function(){return cp(this.currentTracker)?nF(this.router,["issues"]):!0};f3.\u0275fac=function(a){return new (a||f3)(p(hM),p(mF))};f3.\u0275prov=Pc({token:f3,factory:f3.\u0275fac,providedIn:"root"});var g3=function(a,b){this.userPreferences=a;this.activeSession=b},UHc=function(a){var b=hE(a.activeSession,"enableHomepageVariantA")&&a.activeSession.isInternalSession();a=Gk(a.userPreferences.homepagePreferences$);if(b&&(null==a||0===Object.keys(a).length||"MISSION_CONTROL"===(null==a?void 0:a.resourceType)))return"/home";if("ASSIGNED_TO_ME"===(null==a?void 0:a.resourceType)||null==a||!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"}};g3.\u0275fac=function(a){return new (a||g3)(p(zF),p(Zr))};g3.\u0275prov=Pc({token:g3,factory:g3.\u0275fac,providedIn:"root"});var h3=function(a,b){this.router=a;this.homepageRedirection=b};h3.prototype.canActivate=function(){return nF(this.router,[UHc(this.homepageRedirection)])};h3.\u0275fac=function(a){return new (a||h3)(p(mF),p(g3))};h3.\u0275prov=Pc({token:h3,factory:h3.\u0275fac,providedIn:"root"});var VHc={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var kPb={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},jPb={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443},WHc=["media-bugs@chromium.org"],XHc=["chrome-sync-monorail@google.com"];var YHc={USER:"USER",DEVELOPER:"DEVELOPER",VULN_REPORTER:"VULN_REPORTER",CONTRIBUTOR:"CONTRIBUTOR"},ZHc={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},$Hc=new rd("CustomQuestionsConfig"),aIc=new rd("ComponentIds"),bIc=new rd("CustomFieldIds"),cIc=new rd("HotlistIds");var i3=function(a){this.componentIds=a;this.persona="USER";this.categoryChange=new Uv;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:WHc},{title:"Content",description:"Problems with webpages not working correctly",value:"CONTENT"},{title:"Apps",description:"Issues with Webstore apps",value:"APPS",componentId:this.componentIds.apps},{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:XHc},{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)};i3.prototype.ngOnChanges=function(a){var b=this;a.persona&&"VULN_REPORTER"===a.persona.currentValue&&setTimeout(function(){b.category=b.options.VULN_REPORTER[0];b.categoryChange.emit(b.category)})};i3.\u0275fac=function(a){return new (a||i3)(C(aIc))};
i3.\u0275cmp=r({type:i3,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},features:[xd],decls:5,vars:3,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized","aria-label","Choose issue category",3,"valueChange","value"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(G(0,"mat-form-field",
0)(1,"mat-select",1),N("valueChange",function(d){b.category=d;b.categoryChange.emit(b.category)}),G(2,"mat-select-trigger"),S(3),I(),E(4,Kgb,5,3,"mat-option",2),I()());if(a&2){var c;A();F("value",b.category);A(2);T(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");A();F("ngForOf",b.options[b.persona])}},dependencies:[Dw,dB,HO,gR,aR,bR,jz],styles:[".mat-mdc-select-panel.oversized{max-height:500px;max-width:800px}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 vr=function(a){return{question:a}},j3=function(a){this.config=a;this.CustomQuestionType=ZHc;this.responses=new Uv;this.model=Object.assign({},a)};j3.prototype.ngOnInit=function(){};var Vgb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};j3.\u0275fac=function(a){return new (a||j3)(C($Hc))};
j3.\u0275cmp=r({type:j3,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},decls:9,vars:1,consts:[["customQuestion",""],["input",""],["text",""],["select",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModelChange","ngModel"],[1,"textarea"],["required","",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet",
"ngTemplateOutletContext",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&E(0,Lgb,2,4,"ng-container",4)(1,Pgb,4,4,"ng-template",null,0,Eg)(3,Qgb,3,3,"ng-template",null,1,Eg)(5,Rgb,4,3,"ng-template",null,2,Eg)(7,Wgb,5,5,"ng-template",null,3,Eg);a&2&&F("ngForOf",b.model[b.category])},dependencies:[Dw,zw,Hw,Ew,Fw,bh,cx,jx,JO,jB,dB,HO,gR,aR,jz],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 dIc=function(){this.Persona=YHc;this.persona="USER";this.personaChange=new Uv};dIc.\u0275fac=function(a){return new (a||dIc)};
dIc.\u0275cmp=r({type:dIc,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},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&&(G(0,"div")(1,"mat-radio-group",0),N("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),G(2,"mat-radio-button",1),S(3," End User "),G(4,"div",2),S(5," I am trying to use a website. "),
I()(),G(6,"mat-radio-button",1),S(7," Web Developer "),G(8,"div",2),S(9," I am trying to build something on a website. "),I()(),G(10,"mat-radio-button",3),S(11," Vulnerability Reporter "),G(12,"div",2),S(13," I am reporting a possible security vulnerability. "),I()(),G(14,"mat-radio-button",1),S(15," Chromium Contributor "),G(16,"div",2),S(17," I know about a problem in specific tests or code. "),I()()()());a&2&&(A(),F("ngModel",b.persona),A(),F("value",b.Persona.USER),A(4),F("value",b.Persona.DEVELOPER),
A(4),F("value",b.Persona.VULN_REPORTER),A(4),F("value",b.Persona.CONTRIBUTOR))},dependencies:[cx,jx,$V,aW],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 eIc=new rd("GMAT_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var fIc=function(a){this.options=a};fIc.\u0275fac=function(a){return new (a||fIc)(C(eIc))};fIc.\u0275dir=jd({type:fIc,selectors:[["mat-card"]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("gmat-mdc-card",!b.options.disableGmatStyle)}});var gIc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],hIc=new rd("MAT_CARD_CONFIG"),iIc=function(a){this.appearance=(null==a?void 0:a.appearance)||"raised"};iIc.\u0275fac=function(a){return new (a||iIc)(C(hIc,8))};
iIc.\u0275cmp=r({type:iIc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,b){a&2&&Qf("mat-mdc-card-outlined","outlined"===b.appearance)("mdc-card--outlined","outlined"===b.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[yg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),dg(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::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;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.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}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.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 jIc=function(){};jIc.\u0275fac=function(a){return new (a||jIc)};jIc.\u0275dir=jd({type:jIc,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});var kIc=function(){};kIc.\u0275fac=function(a){return new (a||kIc)};
kIc.\u0275cmp=r({type:kIc,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[yg],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&&(cg(gIc),dg(0),G(1,"div",0),dg(2,1),I(),dg(3,2))},encapsulation:2,changeDetection:0});var k3=function(a){this._elementRef=a};k3.prototype.focus=function(){this._elementRef.nativeElement.focus()};k3.\u0275fac=function(a){return new (a||k3)(C(Wd))};k3.\u0275dir=jd({type:k3,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});var l3=function(a){this.template=a};l3.\u0275fac=function(a){return new (a||l3)(C(ig))};l3.\u0275dir=jd({type:l3,selectors:[["","cdkStepLabel",""]],standalone:!0});var lIc=0,mIc=new rd("STEPPER_GLOBAL_OPTIONS"),m3=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new Uv;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};g=m3.prototype;g._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
g._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};g.select=function(){this._stepper.selected=this};g.reset=function(){this.interacted=!1;null!=this._completedOverride&&(this._completedOverride=!1);null!=this._customError&&(this._customError=!1);this.stepControl&&this.stepControl.reset()};g.ngOnChanges=function(){this._stepper._stateChanged()};g._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};
g._showError=function(){var a;return null!=(a=this._stepperOptions.showError)?a:null!=this._customError};Ac.Object.defineProperties(m3.prototype,{completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=a}},hasError:{configurable:!0,enumerable:!0,get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=a}}});
m3.\u0275fac=function(a){return new (a||m3)(C(Yc(function(){return n3})),C(mIc,8))};
m3.\u0275cmp=r({type:m3,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&mg(c,l3,5);if(a&2){var d;pg(d=qg())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&lg(ig,7);if(a&2){var c;pg(c=qg())&&(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",Ng],optional:[2,"optional","optional",Ng],completed:[2,
"completed","completed",Ng],hasError:[2,"hasError","hasError",Ng]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[Gf,xd,yg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(cg(),E(0,Xgb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var n3=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new X.Subject;this.steps=new kg;this._sortedHeaders=new kg;this.linear=!1;this._selectedIndex=0;this.selectionChange=new Uv;this.selectedIndexChange=new Uv;this._orientation="horizontal";this._groupId=lIc++};g=n3.prototype;
g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(vf(this._steps),xf(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));og(a.steps)})};
g.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(vf(this._stepHeader),xf(this._destroyed)).subscribe(function(b){a._sortedHeaders.reset(b.toArray().sort(function(c,d){return c._elementRef.nativeElement.compareDocumentPosition(d._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}));og(a._sortedHeaders)});this._keyManager=fy(hy(ey(new ky(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,X.of)()).pipe(vf(this._layoutDirection()),
xf(this._destroyed)).subscribe(function(b){return gy(a._keyManager,b)});iy(this._keyManager,this._selectedIndex);this.steps.changes.subscribe(function(){a.selected||(a._selectedIndex=Math.max(a._selectedIndex-1,0))});this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||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"cdk-step-label-"+this._groupId+"-"+a};g._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};g._stateChanged=function(){this._changeDetectorRef.markForCheck()};
g._getAnimationDirection=function(a){a-=this._selectedIndex;return 0>a?"rtl"===this._layoutDirection()?"next":"previous":0<a?"rtl"===this._layoutDirection()?"previous":"next":"current"};g._getIndicatorType=function(a,b){b=void 0===b?"number":b;var c=this.steps.toArray()[a];a=this._isCurrentStep(a);return c._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(c,a):this._getGuidelineLogic(c,a,b)};
g._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};g._getGuidelineLogic=function(a,b,c){c=void 0===c?"number":c;return a._showError()&&a.hasError&&!b?"error":a.completed&&!b?"done":a.completed&&b?c:a.editable&&b?"edit":c};g._isCurrentStep=function(a){return this._selectedIndex===a};g._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
g._updateSelectedItemIndex=function(a){var b=this.steps.toArray();this.selectionChange.emit({selectedIndex:a,previouslySelectedIndex:this._selectedIndex,selectedStep:b[a],previouslySelectedStep:b[this._selectedIndex]});this._containsFocus()?this._keyManager.setActiveItem(a):iy(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=jh(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)dWb(d,"keyboard").onKeydown(a);else this.selectedIndex=d.activeItemIndex,a.preventDefault()};g._anyControlsInvalidOrPending=function(a){return this.linear&&0<=a?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&&"rtl"===this._dir.value?"rtl":"ltr"};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=hh();return a===b||a.contains(b)};g._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
Ac.Object.defineProperties(n3.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){if(this.steps&&this._steps){this._isValidIndex(a);var b;null==(b=this.selected)||b._markAsInteracted();this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)}else this._selectedIndex=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&&fy(this._keyManager,"vertical"===a)}}});n3.\u0275fac=function(a){return new (a||n3)(C(ty,8),C(Pg),C(Wd))};
n3.\u0275dir=jd({type:n3,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(mg(c,m3,5),mg(c,k3,5));if(a&2){var d;pg(d=qg())&&(b._steps=d);pg(d=qg())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",Ng],selectedIndex:[2,"selectedIndex","selectedIndex",Og],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[Gf]});var o3=function(a){this._stepper=a;this.type="submit"};o3.\u0275fac=function(a){return new (a||o3)(C(n3))};o3.\u0275dir=jd({type:o3,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&N("click",function(){return b._stepper.next()});a&2&&Zf("type",b.type)},inputs:{type:"type"},standalone:!0});var p3=function(a){this._stepper=a;this.type="button"};p3.\u0275fac=function(a){return new (a||p3)(C(n3))};
p3.\u0275dir=jd({type:p3,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&N("click",function(){return b._stepper.previous()});a&2&&Zf("type",b.type)},inputs:{type:"type"},standalone:!0});var q3=function(){};q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275mod=hd({type:q3});q3.\u0275inj=Rc({imports:[uy]});var r3=function(){o3.apply(this,arguments)};Y(r3,o3);r3.\u0275fac=function(){var a;return function(b){return(a||(a=Td(r3)))(b||r3)}}();r3.\u0275dir=jd({type:r3,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Zf("type",b.type)},standalone:!0,features:[Ff]});var s3=function(){p3.apply(this,arguments)};Y(s3,p3);s3.\u0275fac=function(){var a;return function(b){return(a||(a=Td(s3)))(b||s3)}}();
s3.\u0275dir=jd({type:s3,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Zf("type",b.type)},standalone:!0,features:[Ff]});var t3=function(a){this.templateRef=a};t3.\u0275fac=function(a){return new (a||t3)(C(ig))};t3.\u0275dir=jd({type:t3,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});var nIc=function(a){this._template=a};nIc.\u0275fac=function(a){return new (a||nIc)(C(ig))};nIc.\u0275dir=jd({type:nIc,selectors:[["ng-template","matStepContent",""]],standalone:!0});var u3=function(){l3.apply(this,arguments)};Y(u3,l3);u3.\u0275fac=function(){var a;return function(b){return(a||(a=Td(u3)))(b||u3)}}();u3.\u0275dir=jd({type:u3,selectors:[["","matStepLabel",""]],standalone:!0,features:[Ff]});var v3=function(){this.changes=new X.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};v3.\u0275fac=function(a){return new (a||v3)};v3.\u0275prov=Pc({token:v3,factory:v3.\u0275fac,providedIn:"root"});var oIc={provide:v3,deps:[[new ov,new pv,v3]],useFactory:function(a){return a||new v3}};var w3=function(a,b,c,d){this._elementRef=c;this._intl=a;this._focusMonitor=b;this._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()})};Y(w3,k3);w3.\u0275dir=k3.\u0275dir;g=w3.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?Kx(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};
g._stringLabel=function(){return this.label instanceof u3?null:this.label};g._templateLabel=function(){return this.label instanceof u3?this.label:null};g._getHostElement=function(){return this._elementRef.nativeElement};g._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}};g._getDefaultTextForState=function(a){return"number"==a?""+(this.index+1):"edit"==a?"create":"error"==a?"warning":a};w3.\u0275fac=function(a){return new (a||w3)(C(v3),C(Jx),C(Wd),C(Pg))};
w3.\u0275cmp=r({type:w3,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&Rf("mat-"+(b.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[Ff,yg],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&&(K(0,"div",0),G(1,"div")(2,"div",1),E(3,Ygb,1,2,"ng-container",2)(4,chb,2,1),I()(),G(5,"div",3),E(6,dhb,2,1,"div",4)(7,ehb,2,1,"div",4)(8,fhb,2,1,"div",5)(9,ghb,2,1,"div",6),I());
if(a&2){var c;F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);A();Tf("mat-step-icon-state-",b.state," mat-step-icon");Qf("mat-step-icon-selected",b.selected);A(2);Uf(b.iconOverrides&&b.iconOverrides[b.state]?3:4);A(2);Qf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state);A();Uf((c=b._templateLabel())?6:b._stringLabel()?7:-1,c);A(2);Uf(b.optional&&"error"!=b.state?8:-1);A();Uf("error"===b.state?9:-1)}},dependencies:[hz,
Hw,nB],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);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .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)}.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);background-color:var(--mat-stepper-header-icon-background-color)}.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);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.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);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.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);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}\n'],
encapsulation:2,changeDetection:0});var pIc=Bh("horizontalStepTransition",[Fh("previous",Eh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Fh("current",Eh({transform:"none",visibility:"inherit"})),Fh("next",Eh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Hh("* => *",Dh([Ch("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Ih()]),{params:{animationDuration:"500ms"}})]),qIc=Bh("verticalStepTransition",[Fh("previous",Eh({height:"0px",visibility:"hidden"})),Fh("next",Eh({height:"0px",visibility:"hidden"})),
Fh("current",Eh({height:"*",visibility:"inherit"})),Hh("* <=> current",Dh([Ch("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Ih()]),{params:{animationDuration:"225ms"}})]);var rIc=["*"],lhb=function(a,b){return{step:a,i:b}},ohb=function(a){return{animationDuration:a}},nhb=function(a,b){return{value:a,params:b}},x3=function(a,b,c,d){m3.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=X.Subscription.EMPTY;this.stepLabel=void 0};Y(x3,m3);
x3.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(wf(function(){return a._stepper.selectionChange.pipe(z(function(b){return b.selectedStep===a}),vf(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new ny(a._lazyContent._template,a._viewContainerRef))})};x3.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
x3.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};x3.\u0275fac=function(a){return new (a||x3)(C(Yc(function(){return y3})),C(ez,4),C(jg),C(mIc,8))};
x3.\u0275cmp=r({type:x3,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(mg(c,u3,5),mg(c,nIc,5));if(a&2){var d;pg(d=qg())&&(b.stepLabel=d.first);pg(d=qg())&&(b._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[wg([{provide:ez,useExisting:x3},{provide:m3,useExisting:x3}]),Ff,yg],ngContentSelectors:rIc,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(cg(),E(0,ihb,2,1,"ng-template"))},dependencies:[ry],
encapsulation:2,changeDetection:0});var y3=function(a,b,c){n3.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new kg;this.animationDone=new Uv;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new X.Subject;this._animationDuration="";this._isServer=!bd(Ax).isBrowser;this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};Y(y3,n3);y3.\u0275dir=n3.\u0275dir;
y3.prototype.ngAfterContentInit=function(){var a=this;n3.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(xf(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(lf(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),xf(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
y3.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};y3.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};Ac.Object.defineProperties(y3.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
y3.\u0275fac=function(a){return new (a||y3)(C(ty,8),C(Pg),C(Wd))};
y3.\u0275cmp=r({type:y3,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(mg(c,x3,5),mg(c,t3,5));if(a&2){var d;pg(d=qg())&&(b._steps=d);pg(d=qg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&lg(w3,5);if(a&2){var c;pg(c=qg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,b){a&2&&(Hf("aria-orientation",b.orientation),Qf("mat-stepper-horizontal","horizontal"===b.orientation)("mat-stepper-vertical",
"vertical"===b.orientation)("mat-stepper-label-position-end","horizontal"===b.orientation&&"end"==b.labelPosition)("mat-stepper-label-position-bottom","horizontal"===b.orientation&&"bottom"==b.labelPosition)("mat-stepper-header-position-bottom","bottom"===b.headerPosition))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper",
"matHorizontalStepper"],standalone:!0,features:[wg([{provide:n3,useExisting:y3}]),Ff,yg],ngContentSelectors:rIc,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[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","tabpanel",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&&(cg(),E(0,jhb,1,0)(1,qhb,7,0,"div",1)(2,shb,2,0)(3,thb,1,23,"ng-template",null,0,Eg));if(a&2){var c;Uf(b._isServer?0:-1);A();Uf("horizontal"===(c=b.orientation)?
1:"vertical"===c?2:-1)}},dependencies:[Hw,w3],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.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)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 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;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.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::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 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) - 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) - 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{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-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{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.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);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],
encapsulation:2,data:{animation:[pIc,qIc]},changeDetection:0});var sIc=["summary"],tIc=["reproSteps"],uIc=["description"],vIc=function(a){return{nonEmptyValidator:a}},wIc=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},whb=function(){return{noWizard:"true"}},xIc=[bl("security@chromium.org")],z3=function(a,b,c,d,e,f,h,l,q,t,w){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.componentIds=e;this.customFieldIds=f;this.hotlistIds=h;this.issueApi=l;this.paths=q;this.redirectUrl=t;this.userAccess=w;this.Persona=YHc;this.PlatformOs=
VHc;a=Jgb();var B;b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(0<b.length){var D;b=null==(D=b[0])?void 0:D.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:null!=(B=b)?B:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackDupes=!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},uhb=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackDupes;case 1:var c,d,e;return!(null==(c=a.summaryControl)||!c.valid)&&!(null==(d=a.reproStepsControl)||!d.valid)&&!(null==(e=a.descriptionControl)||!e.valid);default:vc(b)}};g=z3.prototype;g.nonEmptyValidator=function(a){return 0===(null==a?void 0:a.trim().length)?!1:!0};
g.reproStepsValidator=function(a){return"1. \n2. \n3. "===a?!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){wa(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(li(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return me(function(h){switch(h.nextAddress){case 1:var l="BUG",q=null,t=null,w="P2",B="S2",D=a.hotlistIds.unconfirmed?[a.hotlistIds.unconfirmed]:null,J,H,O,P=null!=(O=null==(J=a.model.category)?void 0:null==(H=J.ccEmails)?void 0:H.map(bl).filter(Ei))?O:[],U;"SECURITY"===(null==(U=a.model.category)?void 0:U.value)&&(l="VULNERABILITY",w="P4",B="S4",q="LIMIT_VIEW",t=xIc);var aa;J=(null==(aa=a.model.category)?void 0:aa.componentId)||a.componentIds.default;aa=a.model.summary;
H=Ghb(a.model,a.customFieldIds);O=a.model;var pa;U="\n# Steps to reproduce the problem\n"+O.reproSteps+"\n\n# Problem Description\n"+O.description+"\n\n"+(0<O.comments.length?"\n# Additional Comments\n"+O.comments:"")+"\n\n# Summary\n"+O.summary+"\n\n"+Ihb(O.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(pa=O.category)?void 0:pa.title)+" \\\nChrome Channel: "+O.channel+" \\\nRegression: "+O.regression;U=U.replace(/^\n/,"");b={componentId:J,type:l,status:"NEW",priority:w,severity:B,
title:aa,customField:H,comment:U.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:t,ccUsers:[a.currentUser.user].concat(u(P)),hotlistId:D,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};wr(a.butterBar,"Saving...",0);ne(h,2);return oe(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("Oe");a.butterBar.dismiss();Wo(a.analytics,sq.CREATE_ISSUE,"fileAndRedirect","wizard",!0);return oe(h,NG(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?EFc(a.redirectUrl,
a.paths.editIssue(d),String(d)):(wr(a.butterBar,"New issue created: "+d+" (view access not granted)",0),EFc(a.redirectUrl,a.paths.listIssues()));au(h,0);break;case 2:f=re(h),wr(a.butterBar,"Failed to create issue: "+f),se(h)}})};z3.\u0275fac=function(a){return new (a||z3)(C(Zr),C(ZI),C(pI),C(tN),C(aIc),C(bIc),C(cIc),C(fH),C(RF),C(P0),C(LG))};
z3.\u0275cmp=r({type:z3,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(lg(sIc,5),lg(tIc,5),lg(uIc,5),lg(dU,5));if(a&2){var c;pg(c=qg())&&(b.summaryControl=c.first);pg(c=qg())&&(b.reproStepsControl=c.first);pg(c=qg())&&(b.descriptionControl=c.first);pg(c=qg())&&(b.attachmentUploader=c.first)}},inputs:{fullScreen:"fullScreen"},decls:117,vars:47,consts:[["contributor",""],["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"],[4,"ngIf","ngIfElse"],[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"],[4,"ngIf"],["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"],["mat-stroked-button","","matStepperPrevious",""],["svgIcon","chevron-left"],["mat-raised-button","","color","primary","matStepperNext","",3,"disabled"],["svgIcon","chevron-right"],["aria-label",
"Extra information about the issue"],[3,"category","responses",4,"ngIf"],["matInput","","aria-label","Additional comments",3,"ngModelChange","ngModel"],[3,"onUploadComplete","onUploadCancel","uploads"],[1,"attachment-selector"],[3,"onSelect","includeTextLabel"],["class","wizard-recaptcha",4,"ngIf"],["mat-raised-button","","color","primary",3,"click","disabled"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"categoryChange","persona","category"],[1,"dupes"],[1,
"ack-dupes",3,"ngModelChange","ngModel"],[3,"href"],[3,"responses","category"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=v();G(0,"mat-stepper",4)(1,"mat-step",5)(2,"h2");S(3,"Report an issue with Chromium");I();G(4,"h3");S(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. ");I();K(6,"br");G(7,"h4",6);S(8,"Please select your following role:");
I();G(9,"wizard-persona-picker",7);N("personaChange",function(h){x(c);b.model.category=void 0;b.model.persona=h;return y()});I();E(10,vhb,17,5,"ng-container",8)(11,xhb,10,2,"ng-template",null,0,Eg);I();G(13,"mat-step",9)(14,"h2");S(15);I();G(16,"h3");S(17,"Please confirm that the following version information is correct.");I();G(18,"h4",10);S(19,"Operating System:");I();G(20,"mat-form-field",11)(21,"mat-select",12);vg("ngModelChange",function(h){x(c);ug(b.model.os,h)||(b.model.os=h);return y(h)});
G(22,"mat-option",13);S(23,"Android");I();G(24,"mat-option",13);S(25,"Chrome OS");I();G(26,"mat-option",13);S(27,"iOS");I();G(28,"mat-option",13);S(29,"Linux");I();G(30,"mat-option",13);S(31,"Mac OS");I();G(32,"mat-option",13);S(33,"Windows");I();G(34,"mat-option",13);S(35,"Unknown/Other");I()()();G(36,"h4",14);S(37,"Channel:");I();G(38,"mat-form-field",15)(39,"mat-select",16);vg("ngModelChange",function(h){x(c);ug(b.model.channel,h)||(b.model.channel=h);return y(h)});G(40,"mat-option",17);S(41,"Not sure");
I();G(42,"mat-option",18);S(43,"Stable");I();G(44,"mat-option",19);S(45,"Beta");I();G(46,"mat-option",20);S(47,"Dev");I();G(48,"mat-option",21);S(49,"Canary");I()()();K(50,"br");G(51,"h4",10);S(52,"Chrome version:");I();G(53,"mat-form-field",22)(54,"input",23);vg("ngModelChange",function(h){x(c);ug(b.model.version,h)||(b.model.version=h);return y(h)});I()();G(55,"h4",6);S(56,"Please enter a one line summary (100 character limit)");I();G(57,"mat-form-field",24)(58,"textarea",25,1);vg("ngModelChange",
function(h){x(c);ug(b.model.summary,h)||(b.model.summary=h);return y(h)});S(60,"      ");I();E(61,yhb,2,0,"mat-error",26);I();G(62,"h4",6);S(63,"Steps to reproduce problem (5000 character limit)");I();G(64,"mat-form-field",24)(65,"textarea",27,2);vg("ngModelChange",function(h){x(c);ug(b.model.reproSteps,h)||(b.model.reproSteps=h);return y(h)});S(67,"      ");I();E(68,zhb,2,0,"mat-error",26);I();G(69,"h4",6);S(70,"Please describe the problem (5000 character limit)");I();G(71,"mat-form-field",24)(72,
"textarea",28,3);vg("ngModelChange",function(h){x(c);ug(b.model.description,h)||(b.model.description=h);return y(h)});S(74,"      ");I();E(75,Ahb,2,0,"mat-error",26);I();G(76,"h4");S(77,"Did this work before?");I();G(78,"mat-form-field",29)(79,"mat-select",16);vg("ngModelChange",function(h){x(c);ug(b.model.regression,h)||(b.model.regression=h);return y(h)});G(80,"mat-option",30);S(81,"Not applicable or don't know");I();G(82,"mat-option",31);S(83,"Yes - This is a regression");I();G(84,"mat-option",
32);S(85,"No - I think it never worked");I()()();G(86,"div",33)(87,"button",34);K(88,"mat-icon",35);S(89," Back ");I();G(90,"button",36);S(91," Next ");K(92,"mat-icon",37);I()()();G(93,"mat-step",38)(94,"h2");S(95,"Extra information about the issue");I();E(96,Bhb,1,1,"wizard-custom-questions",39);G(97,"h4");S(98,"Additional comments");I();G(99,"mat-form-field",24)(100,"textarea",40);vg("ngModelChange",function(h){x(c);ug(b.model.comments,h)||(b.model.comments=h);return y(h)});I()();G(101,"h4");S(102,
"Upload any relevant screenshots");I();G(103,"b-attachment-uploader",41);N("onUploadComplete",function(){x(c);return y(b.enableSubmit())})("onUploadCancel",function(h){x(c);b.removeUpload(h);return y(b.enableSubmit())});I();G(104,"div",42)(105,"b-attachment-selector",43);N("onSelect",function(h){x(c);b.uploadFile(h);b.isSubmitEnabled=!1;return y()});I();S(106," You can include multiple attachments. ");I();E(107,Chb,2,0,"div",44);G(108,"div",33)(109,"button",34);K(110,"mat-icon",35);S(111," Back ");
I();G(112,"button",45);N("click",function(){x(c);return y(b.submit())});S(113," Submit ");I()()();E(114,Dhb,0,0,"ng-template",46)(115,Ehb,0,0,"ng-template",47)(116,Fhb,0,0,"ng-template",48);I()}if(a&2){a=R(12);var d=R(59),e=R(66),f=R(73);Qf("bv2-view",b.fullScreen)("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);F("disableRipple",!0);A();F("completed",uhb(b,0));A(8);F("persona",b.model.persona);A();F("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",a);A(3);eg("aria-label","Details for problems with ",
null==b.model.category?null:b.model.category.title,"");F("completed",uhb(b,1));A(2);T("Details for problems with ",null==b.model.category?null:b.model.category.title,"");A(6);tg("ngModel",b.model.os);A();F("value",b.PlatformOs.ANDROID);A(2);F("value",b.PlatformOs.CHROME);A(2);F("value",b.PlatformOs.IOS);A(2);F("value",b.PlatformOs.LINUX);A(2);F("value",b.PlatformOs.MAC);A(2);F("value",b.PlatformOs.WINDOWS);A(2);F("value",b.PlatformOs.UNKNOWN);A(5);tg("ngModel",b.model.channel);A(15);tg("ngModel",
b.model.version);A(4);tg("ngModel",b.model.summary);F("customValidators",Ag(40,vIc,b.nonEmptyValidator));A(3);F("ngIf",d.invalid&&(d.dirty||d.touched));A(4);tg("ngModel",b.model.reproSteps);F("customValidators",Bg(42,wIc,b.reproStepsValidator,b.nonEmptyValidator));A(3);F("ngIf",e.invalid&&(e.dirty||e.touched));A(4);tg("ngModel",b.model.description);F("customValidators",Ag(45,vIc,b.nonEmptyValidator));A(3);F("ngIf",f.invalid&&(f.dirty||f.touched));A(4);tg("ngModel",b.model.regression);A(11);F("disabled",
!uhb(b,1));A(6);F("ngIf",b.model.category);A(4);tg("ngModel",b.model.comments);A(3);F("uploads",b.uploads);A(2);F("includeTextLabel",!0);A(2);F("ngIf",b.enableRecaptcha);A(5);F("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[aU,dU,zw,nB,B0,bh,cx,ux,vx,jx,CA,fIc,iIc,jIc,kIc,KM,LM,JO,jB,dB,WA,HO,gR,aR,jz,x3,y3,r3,s3,t3,yV,i3,j3,dIc],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}.dupes[_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 A3=function(a,b,c,d,e){this.activeSession=a;this.currentTracker=b;this.routeParams=c;this.router=d;this.userAccess=e;this.rootComponentId="QA"===a.getEnvironmentType()?jPb.default:kPb.default};
A3.prototype.canActivate=function(){var a=this,b;return me(function(c){if(1==c.nextAddress)return(b=hE(a.activeSession,"enableChromeWizard")&&"157"===a.currentTracker.getTrackerId()&&!a.routeParams.template&&!a.routeParams.noWizard)?oe(c,NG(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):c.jumpTo(2);2!=c.nextAddress&&(b=!c.yieldResult);return b?c.return(nF(a.router,["issues/wizard"])):c.return(!0)})};A3.\u0275fac=function(a){return new (a||A3)(p(Zr),p(hM),p(vQ),p(mF),p(LG))};
A3.\u0275prov=Pc({token:A3,factory:A3.\u0275fac,providedIn:"root"});var B3=function(a,b,c,d,e){var f=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=il;this.createIssue=axa;this.componentSettings=bxa;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(z(function(h){return h||f.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(l){return f.filterTrackerComponents(l)})}).finally(function(){f.isThinking=!1})};B3.prototype.back=function(){O0(this.history)};B3.prototype.filterTrackerComponents=function(a){return!Wn(this.trackerId)||a.trackerId===this.trackerId};B3.\u0275fac=function(a){return new (a||B3)(C(QI),C(N0),C(mF),C(hM),C(Zr))};
B3.\u0275cmp=r({type:B3,selectors:[["components-screen-wrapper"]],decls:24,vars:12,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"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-appbar-right"],["mat-button","","routerLink","/components/new","class","gmat-button medium",4,"ngIf"],["label","Show archived",
"tooltip","Toggle whether to show 'archived' Components",1,"margin-x",3,"modelChange","model"],[1,"padded"],[3,"selectedComponentChange","includeArchived","placeholder","ariaLabel"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[4,"ngIf"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],["class","muted",4,"ngIf"],[1,"unstyled-list","reverse-padded-sides","recent-components"],
[4,"ngFor","ngForOf"],[1,"muted"],["href","https://developers.google.com/issue-tracker/concepts/components#recent-components","target","_blank"],[1,"flex-kids-x","clickable-row","padded",3,"routerLinkObj"],[1,"flex-1",3,"onedevHovercardTrigger"],[1,"type-l","normal-link"],[1,"margin-s-left",3,"accessLevel","labelOnlyMode"],[1,"margin-s-left",3,"trackerId","showHovercard"],[1,"muted","line-clamp-2"],[1,"right"],["mat-button","","type","button",1,"gmat-button","medium",3,"routerLinkObj"],[4,"onedevHovercardLazyBody"],
[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(G(0,"article",2)(1,"header",3)(2,"div",4)(3,"button",5),N("click",function(){return b.back()}),K(4,"mat-icon",6),I(),G(5,"h2"),S(6,"Components"),I()(),G(7,"div",7),E(8,Jhb,2,0,"a",8),G(9,"b-slide-toggle",9),N("modelChange",function(e){return b.includeArchived=e}),I()()(),G(10,"section",10)(11,"h3"),S(12,"Search"),I(),G(13,"b-team-component-picker",11),V(14,"async"),V(15,"async"),N("selectedComponentChange",function(e){null!=
e&&Fr(b.router,bxa(e.componentId).path)}),I(),G(16,"h3",12),S(17,"Recent Components"),I(),G(18,"div",13),E(19,Nhb,4,2,"ng-container",14),V(20,"async"),I(),G(21,"p",15)(22,"a",16),S(23,"See all Components"),I()()()());if(a&2){var c,d;A(8);F("ngIf",b.isInternalSession);A();F("model",b.includeArchived);A(4);F("includeArchived",b.includeArchived)("placeholder",null!==(c=W(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=W(15,8,b.placeholder$))&&void 0!==d?d:"");A(6);F("ngIf",W(20,10,b.recentComponents$))}},
dependencies:[CA,DA,nE,OC,Dw,zw,nB,oF,AR,gN,tY,JL,KL,OL,LL,RR,VM,ZM,Iw],encapsulation:2});var yIc=["bookmarkGroupName"],zIc=function(a){return{"bv2-edit-resource-readonly":a}},C3=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);var w=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=f;this.errorHandler=l;this.appEvents=t;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new gx({name:new ix("",Zw),description:new ix("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(jY(q,function(){return!(!w.name()&&!w.description())},
!1))};Y(C3,Z);C3.\u0275dir=Z.\u0275dir;g=C3.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});Wo(a.analytics,"sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){O0(this.appHistory)};g.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
g.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};C3.\u0275fac=function(a){return new (a||C3)(C(QF),C(N0),C(lI),C(kL),C(RF),C(ZI),C(qH),C(qI),C(iY),C(gH))};
C3.\u0275cmp=r({type:C3,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&lg(yIc,5);if(a&2){var c;pg(c=qg())&&(b.bookmarkGroupName=c.first)}},features:[Ff],decls:27,vars:11,consts:[["bookmarkGroupName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",
1,"required"],["type","text","autofocus","autofocus","id","bookmark-group-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","bookmark-group-description"],["id","bookmark-group-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){if(a&
1){var c=v();G(0,"div",1)(1,"div",2)(2,"button",3);N("click",function(){x(c);return y(b.back())});K(3,"mat-icon",4);I();G(4,"h2");S(5,"Create a new bookmark group");I()()();G(6,"div",5)(7,"div",6)(8,"form",7);K(9,"b-error-banner",8);G(10,"div",9)(11,"label",10);S(12,"Name");I();K(13,"input",11,0);I();G(15,"div",9)(16,"label",12);S(17,"Description");I();G(18,"textarea",13);S(19,"        ");I()();G(20,"p",14);S(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. ");
I();G(22,"div",15)(23,"button",16);N("click",function(){x(c);return y(b.save())});S(24," Save ");I();G(25,"button",17);N("click",function(){x(c);return y(b.revertChanges())});S(26," Revert changes ");I()()()()()}a&2&&(A(8),F("formGroup",b.bookmarkGroupUnderEdit),A(),F("error",b.error),A(),F("ngClass",Ag(7,zIc,b.isSaving)),A(3),F("disabled",b.isSaving),A(2),F("ngClass",Ag(9,zIc,b.isSaving)),A(3),F("disabled",b.isSaving),A(5),F("disabled",b.isSaving))},dependencies:[Cw,nB,CA,nE,OC,kx,bh,cx,dx,ux,qx,
rx,j_],encapsulation:2});var AIc=["form"],D3=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=f;this.documentationLinks=h;this.componentActions=t;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null,fieldConfigsMap:new Map},commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0",spamProtection:"NO_PROTECTIONS"};this.sessionIsExternal=f.isExternalSession();l.parentId&&this.loadParentComponent(qi(l.parentId));q.setTitle("Create component")};Y(D3,Z);D3.\u0275dir=Z.\u0275dir;g=D3.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(wr(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){wr(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());Wo(a.analytics,"component","create");a.commentEditsEnabled?Wo(a.analytics,"component","comment edits enabled",
"create"):Wo(a.analytics,"component","comment edits disabled","create");setTimeout(function(){a.isSaving=!1;a.bLocation.replaceUrl(a.paths.manageComponent(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning(Yn(b),0);a.isSaving=!1}))};g.back=function(){O0(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;BIc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;BIc(this)};
var BIc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};Ac.Object.defineProperties(D3.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;BIc(this)}}});
D3.\u0275fac=function(a){return new (a||D3)(C(pI),C(RF),C(ZI),C(N0),C(QF),C(Zr),C(TM),C(vQ),C(qH),C(SM))};
D3.\u0275cmp=r({type:D3,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&lg(AIc,5);if(a&2){var c;pg(c=qg())&&(b.createComponentForm=c.first)}},features:[Ff],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","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],["target","_blank",
1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"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=v();G(0,"div",1)(1,"div",2)(2,"b-button",3);N("onAction",function(){x(c);return y(b.back())});K(3,"b-icon",4);I()()();G(4,"div",5)(5,"h2",
6);S(6,"Create component");I();G(7,"div",7)(8,"form",8,0);K(10,"b-error-banner",9);G(11,"div",10)(12,"label",11)(13,"span",12);S(14,"Name");I()();G(15,"input",13);vg("ngModelChange",function(d){x(c);ug(b.component.name,d)||(b.component.name=d);return y(d)});I()();G(16,"div",10)(17,"label",14)(18,"span",12);S(19,"Description");I()();G(20,"textarea",15);vg("ngModelChange",function(d){x(c);ug(b.component.description,d)||(b.component.description=d);return y(d)});S(21,"        ");I()();G(22,"div",10)(23,
"label",16)(24,"span",12);S(25,"Parent Component");I()();G(26,"b-team-component-picker",17);N("selectedComponentChange",function(d){x(c);return y(b.onComponentSelect(null!==d&&void 0!==d?d:null))})("accessCheckComplete",function(d){x(c);return y(b.accessCheckComplete(d))});I()();G(27,"div",18)(28,"div",19)(29,"mat-checkbox",20);N("change",function(d){x(c);return y(b.setCommentEditState(d.checked))});I()();G(30,"div")(31,"strong",21);S(32,"Editable Comments");I();G(33,"div",22);S(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
E(35,Phb,2,1,"a",23);I()()();G(36,"div",10)(37,"label",24)(38,"span",12);S(39,"Retention Settings");I()();G(40,"div",21)(41,"p");S(42,"Please choose a period of time to retain the data stored in this component.");K(43,"br");G(44,"a",25);S(45," Learn more ");I()()();G(46,"div",26)(47,"b-retention-settings-form",27);N("modelChange",function(d){x(c);return y(b.component.retentionSettings=d)})("validChange",function(d){x(c);return y(b.retentionIsValid=d)});I()()();G(48,"p",28);S(49," Advanced settings such as custom field and access controls may be defined once the component is created. ");
I();G(50,"div",29)(51,"b-button",30);N("onAction",function(){x(c);return y(b.create())});S(52," Save ");I();G(53,"b-button",31);N("onAction",function(){x(c);return y(b.back())});S(54," Discard ");I()()()()()}a&2&&(A(8),Qf("show-errors",b.error),A(2),F("error",b.error),A(),Qf("bv2-edit-resource-readonly",b.isSaving),A(4),F("bFocus",!0),tg("ngModel",b.component.name),F("disabled",b.isSaving)("required",!0),A(),Qf("bv2-edit-resource-readonly",b.isSaving),A(4),tg("ngModel",b.component.description),F("disabled",
b.isSaving),A(2),Qf("bv2-edit-resource-readonly",b.isSaving),A(4),F("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),A(),Qf("bv2-edit-resource-readonly",b.isSaving),A(2),F("checked",b.commentEditsEnabled),A(6),F("ngIf",!b.sessionIsExternal),A(9),F("href",Vr(),Ye),A(2),Qf("bv2-edit-resource-readonly",b.isSaving),A(),F("issueRetentionDisabled",b.isSaving)("isExternal",$p(b.parentComponent))("componentPathInfo",null==b.parentComponent?null:
b.parentComponent.componentPathInfo)("initialModel",b.component.retentionSettings),A(4),F("disabled",b.isSaving||!b.componentIsValid),A(2),F("disabled",b.isSaving))},dependencies:[LK,zw,j_,cY,kx,bh,cx,dx,ux,jx,hx,iE,KM,LM,u0,gN],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var CIc=["hotlistName"],DIc=function(a){return{"bv2-edit-resource-readonly":a}},E3=function(a,b,c,d,e,f,h,l,q,t){Z.call(this);var w=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=f;this.errorHandler=l;this.appEvents=t;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new gx({name:new ix("",Zw),description:new ix("")});h.setTitle("Create Hotlist");this.subscriptions.add(jY(q,function(){return!(!w.name()&&!w.description())},!1))};Y(E3,Z);
E3.\u0275dir=Z.\u0275dir;g=E3.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});Wo(a.analytics,"hotlist","create");a.location.replaceUrl(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){O0(this.appHistory)};g.revertChanges=function(){this.hotlistUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};g.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
E3.\u0275fac=function(a){return new (a||E3)(C(QF),C(N0),C(lI),C(EG),C(RF),C(ZI),C(qH),C(qI),C(iY),C(gH))};
E3.\u0275cmp=r({type:E3,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&lg(CIc,5);if(a&2){var c;pg(c=qg())&&(b.hotlistName=c.first)}},features:[Ff],decls:27,vars:11,consts:[["hotlistName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","hotlist-name",1,"required"],
["type","text","autofocus","autofocus","id","hotlist-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","hotlist-description"],["id","hotlist-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){if(a&1){var c=v();G(0,"div",1)(1,"div",
2)(2,"button",3);N("click",function(){x(c);return y(b.back())});K(3,"mat-icon",4);I();G(4,"h2");S(5,"Create a new hotlist");I()()();G(6,"div",5)(7,"div",6)(8,"form",7);K(9,"b-error-banner",8);G(10,"div",9)(11,"label",10);S(12,"Name");I();K(13,"input",11,0);I();G(15,"div",9)(16,"label",12);S(17,"Description");I();G(18,"textarea",13);S(19,"        ");I()();G(20,"p",14);S(21," Advanced settings such as access controls may be defined once the hotlist is created. ");I();G(22,"div",15)(23,"button",16);
N("click",function(){x(c);return y(b.save())});S(24," Save ");I();G(25,"button",17);N("click",function(){x(c);return y(b.revertChanges())});S(26," Revert changes ");I()()()()()}a&2&&(A(8),F("formGroup",b.hotlistUnderEdit),A(),F("error",b.error),A(),F("ngClass",Ag(7,DIc,b.isSaving)),A(3),F("disabled",b.isSaving),A(2),F("ngClass",Ag(9,DIc,b.isSaving)),A(3),F("disabled",b.isSaving),A(5),F("disabled",b.isSaving))},dependencies:[Cw,nB,CA,nE,OC,kx,bh,cx,dx,ux,qx,rx,j_],encapsulation:2});var F3=function(a){this.internalArray_=m(a,0,F3.messageId)};Y(F3,n);F3.prototype.getContent=function(){return ec(this,1)};F3.prototype.setContent=function(a){return Zh(this,1,a)};F3.prototype.hasContent=function(){return Ni(this,1)};F3.messageId="b.LlmGenericRequest";var EIc=function(a){this.internalArray_=m(a,0,EIc.messageId)};Y(EIc,n);EIc.prototype.getOutput=function(){return ec(this,1)};EIc.messageId="b.LlmGenericResponse";var G3=function(a){this.executor=a};G3.prototype.suggestIssueTitle=function(a){a=(new F3).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:EIc}).then(function(b){var c;return null!=(c=b.getOutput())?c:""})};G3.\u0275fac=function(a){return new (a||G3)(p(IE))};G3.\u0275prov=Pc({token:G3,factory:G3.\u0275fac,providedIn:"root"});var H3=function(){this.isGeneratingTitle=new X.BehaviorSubject(!1);this.generatedTitle=new X.BehaviorSubject(null);this.suggestTitleRequested=new X.Subject};H3.\u0275fac=function(a){return new (a||H3)};H3.\u0275prov=Pc({token:H3,factory:H3.\u0275fac,providedIn:"root"});var I3=function(a,b,c,d,e){Z.call(this);var f=this;this.activeSession=a;this.butterBar=b;this.analytics=c;this.llmSuggestTitleService=d;this.llmApi=e;this.suggestedTitle=new Uv;this.enableSuggestTitle=hE(this.activeSession,"enableSuggestTitle")||!1;xr(this.llmSuggestTitleService.suggestTitleRequested).pipe(xf(this.destroyed$)).subscribe(function(){f.suggestIssueTitle()})};Y(I3,Z);I3.\u0275dir=Z.\u0275dir;
I3.prototype.suggestIssueTitle=function(){var a=this,b;return me(function(c){if(1==c.nextAddress){if(!a.enableSuggestTitle||""===a.description.value)return c.return();Wo(a.analytics,sq.LLM,"generate","title");a.llmSuggestTitleService.isGeneratingTitle.next(!0);return oe(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);wr(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);se(c)})};I3.\u0275fac=function(a){return new (a||I3)(C(Zr),C(pI),C(ZI),C(H3),C(G3))};
I3.\u0275cmp=r({type:I3,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},features:[Ff],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-button","margin-s-left",3,"click","matTooltip","disabled"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,b){a&1&&
(G(0,"button",0),N("click",function(){return b.suggestIssueTitle()}),K(1,"mat-icon",1),S(2," Suggest title\n"),I());a&2&&F("matTooltip",""===b.description.value?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",""===b.description.value)},dependencies:[nB,CA,nE,OC],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 FIc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],J3=function(){this.mainSegment=!0};J3.\u0275fac=function(a){return new (a||J3)};J3.\u0275dir=jd({type:J3,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&Qf("main-segment",b.mainSegment)}});var K3=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new Uv;this.dialogOpened=new Uv};K3.prototype.ngAfterContentInit=function(){};
K3.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};Ac.Object.defineProperties(K3.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});K3.\u0275fac=function(a){return new (a||K3)};
K3.\u0275cmp=r({type:K3,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&mg(c,J3,5);if(a&2){var d;pg(d=qg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&lg(rO,5);if(a&2){var c;pg(c=qg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Qf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[xd],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["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=v();cg(FIc);dg(0);G(1,"button",2,0);N("click",
function(){x(c);var d,e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var f;null==(f=b.trigger)||f.close()}else{var h;null==(h=b.trigger)||h.open()}return y()})("onedevPopupPanelTriggerOpened",function(){x(c);return y(b.dialogOpened.emit())})("onedevPopupPanelTriggerClosed",function(){x(c);return y(b.dialogClosed.emit())});K(3,"mat-icon",3);I();G(4,"onedev-popup-panel",4,1)(6,"div",5);dg(7,1);I()()}a&2&&(a=R(5),A(),Tf("dropdown-button ",b.size,""),F("onedevPopupPanelTriggerFor",a)("matTooltip",
b.dropdownTooltip)("disabled",b.disabled),Hf("aria-label",b.dropdownAriaLabel))},dependencies:[nB,CA,nE,OC,qO,rO],styles:["[_nghost-%COMP%]    {border:1px solid;border-color:#dadce0;border-color:var(--hairline);border-radius:5px;display:flex;overflow:hidden}[_nghost-%COMP%]     .main-segment{border-radius:5px 0 0 5px;padding-left:8px;padding-right:8px;line-height:13px}[_nghost-%COMP%]    .expanded .dropdown-button mat-icon{transform:rotate(-180deg)}[_nghost-%COMP%]     .dropdown-button:not([disabled]) mat-icon{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     .dropdown-button{border-left:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:0;width:30px}[_nghost-%COMP%]     .dropdown-button mat-icon{width:18px;transition:250ms transform}/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var GIc=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),L3=function(a,b,c){Z.call(this);this.butterBar=a;this.analytics=b;this.llmSuggestTitleService=c;this.suggestionAccepted=new Uv;this.isGeneratingTitle$=xr(this.llmSuggestTitleService.isGeneratingTitle).pipe(tf({refCount:!0,bufferSize:1}));this.suggestedTitle$=xr(this.llmSuggestTitleService.generatedTitle).pipe(tf({refCount:!0,bufferSize:1}));this.isVisible$=(0,X.combineLatest)([xr(this.llmSuggestTitleService.isGeneratingTitle),
xr(this.llmSuggestTitleService.generatedTitle)]).pipe(xf(this.destroyed$),z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return d||e}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=GIc};Y(L3,Z);L3.\u0275dir=Z.\u0275dir;L3.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};L3.\u0275fac=function(a){return new (a||L3)(C(pI),C(ZI),C(H3))};
L3.\u0275cmp=r({type:L3,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},features:[Ff],decls:4,vars:3,consts:[["spinner",""],["splitButton",""],["class","suggest-title flex-kids-x carded margin-s-top",4,"ngIf"],[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"],["mat-icon-button","","aria-label","Re-generate title","matTooltip","Re-generate title",
1,"request-title",3,"click"],["svgIcon","refresh"],["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"],[4,"ngIf","ngIfElse"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","button",1,"gmat-button","small",3,"click","disabled"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["mat-button","","mainSegment","",1,"gmat-button","small",
3,"click","disabled"],["dropdownSegment",""],["mat-menu-item","","class","gmat-button rejection-reason",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"gmat-button","rejection-reason",3,"click"]],template:function(a,b){a&1&&(E(0,Shb,25,15,"div",2),V(1,"async"),E(2,Thb,1,0,"ng-template",null,0,Eg));a&2&&F("ngIf",W(1,1,b.isVisible$))},dependencies:[Dw,zw,nB,CA,nE,OC,GL,K3,J3,HC,Iw],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 HIc="focus-indicator title type team id assignee status menu".split(" "),IIc="focus-indicator drag-handle title type id assignee status menu".split(" "),JIc="priority title assignee status id modifiedTime".split(" "),KIc="focus-indicator drag-handle title assignee status id menu".split(" "),LIc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},MIc={modes:{assignee:"avatar-if-open"},hideColumnHeaders:!0};var NIc=Jj().user.email,yr={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b,c=null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress;return c?c===NIc&&bo(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return bo(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return VCa(a,"FIXED")},
queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return VCa(a,"ASSIGNED")||VCa(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=void 0===b?6048E5:b;var c=Date.now(),d,e,f=(null!=(e=null==(d=a.aggregatedData)?void 0:d.createdTimeMicros)?e:0)/1E3;return c-f<b&&!(0<a.version)&&bo(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=void 0===b?6048E5:b;var c=Date.now(),d,e=(null!=(d=a.majorModifiedTimeMicros)?d:0)/1E3;return c-e<b&&0<a.version&&bo(a)},queryFragment:"modified:7d commentcount>1 status:open",tooltip:'Open issues with activity in the last seven days (excluding "creation")'},HIGH_PRIORITY:{key:"HIGH_PRIORITY",
displayAs:"High Priority",check:function(a){var b=["P0","P1"];b=void 0===b?[]:b;return b.includes(cDa(a))&&bo(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 lDa(b,c)},queryFragment:'(no server query available for "is trending")',tooltip:"Issues with unusually high view activity"}};var OIc=Bh("indicator",[Fh("active-asc, asc",Eh({transform:"translateY(0px)"})),Fh("active-desc, desc",Eh({transform:"translateY(10px)"})),Hh("active-asc <=> active-desc",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),PIc=Bh("leftPointer",[Fh("active-asc, asc",Eh({transform:"rotate(-45deg)"})),Fh("active-desc, desc",Eh({transform:"rotate(45deg)"})),Hh("active-asc <=> active-desc",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),QIc=Bh("rightPointer",[Fh("active-asc, asc",Eh({transform:"rotate(45deg)"})),Fh("active-desc, desc",
Eh({transform:"rotate(-45deg)"})),Hh("active-asc <=> active-desc",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),RIc=Bh("arrowOpacity",[Fh("desc-to-active, asc-to-active, active",Eh({opacity:1})),Fh("desc-to-hint, asc-to-hint, hint",Eh({opacity:.54})),Fh("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Eh({opacity:0})),Hh("* => asc, * => desc, * => active, * => hint, * => void",Ch("0ms")),Hh("* <=> *",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),SIc=Bh("arrowPosition",[Hh("* => desc-to-hint, * => desc-to-active",
Ch("225ms cubic-bezier(0.4,0.0,0.2,1)",Gh([Eh({transform:"translateY(-25%)"}),Eh({transform:"translateY(0)"})]))),Hh("* => hint-to-desc, * => active-to-desc",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)",Gh([Eh({transform:"translateY(0)"}),Eh({transform:"translateY(25%)"})]))),Hh("* => asc-to-hint, * => asc-to-active",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)",Gh([Eh({transform:"translateY(25%)"}),Eh({transform:"translateY(0)"})]))),Hh("* => hint-to-asc, * => active-to-asc",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)",
Gh([Eh({transform:"translateY(0)"}),Eh({transform:"translateY(-25%)"})]))),Fh("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Eh({transform:"translateY(0)"})),Fh("hint-to-desc, active-to-desc, desc",Eh({transform:"translateY(-25%)"})),Fh("hint-to-asc, active-to-asc, asc",Eh({transform:"translateY(25%)"}))]),TIc=Bh("allowChildren",[Hh("* <=> *",[Ih()])]);var M3=function(){this.changes=new X.Subject};M3.\u0275fac=function(a){return new (a||M3)};M3.\u0275prov=Pc({token:M3,factory:M3.\u0275fac,providedIn:"root"});var UIc={provide:M3,deps:[[new ov,new pv,M3]],useFactory:function(a){return a||new M3}};var VIc=new rd("MAT_SORT_DEFAULT_OPTIONS"),N3=function(a){this._defaultOptions=a;this._initializedStream=new X.ReplaySubject(1);this.sortables=new Map;this._stateChanges=new X.Subject;this.start="asc";this._direction="";this.disabled=!1;this.sortChange=new Uv;this.initialized=this._initializedStream};g=N3.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=null!=(d=null!=(c=null==a?void 0:a.disableClear)?c:this.disableClear)?d:!(null==(b=this._defaultOptions)||!b.disableClear);b=["asc","desc"];"desc"==(a.start||this.start)&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};g.ngOnInit=function(){this._initializedStream.next()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete();this._initializedStream.complete()};Ac.Object.defineProperties(N3.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});N3.\u0275fac=function(a){return new (a||N3)(C(VIc,8))};
N3.\u0275dir=jd({type:N3,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Ng],disabled:[2,"matSortDisabled","disabled",Ng]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[Gf,xd]});var O3=function(a,b,c,d,e,f,h,l){this._intl=a;this._changeDetectorRef=b;this._sort=c;this._columnDef=d;this._focusMonitor=e;this._elementRef=f;this._ariaDescriber=h;this._showIndicatorHint=!1;this._viewState={};this._arrowDirection="";this._disableViewStateAnimation=!1;this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";if(null==l?0:l.arrowPosition)this.arrowPosition=null==l?void 0:l.arrowPosition;this._handleStateChanges()};g=O3.prototype;
g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe();if(this._sortButton){var a;null==(a=this._ariaDescriber)||Yx(a,this._sortButton,this._sortActionDescription)}};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||Yx(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||Xx(c,this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,X.merge)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){if(a._isSorted()){a._updateArrowDirection();if("hint"===a._viewState.toState||"active"===a._viewState.toState)a._disableViewStateAnimation=!0;a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"});a._showIndicatorHint=!1}!a._isSorted()&&a._viewState&&"active"===a._viewState.toState&&(a._disableViewStateAnimation=
!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection}));a._changeDetectorRef.markForCheck()})};Ac.Object.defineProperties(O3.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});O3.\u0275fac=function(a){return new (a||O3)(C(M3),C(Pg),C(N3,8),C("MAT_SORT_HEADER_COLUMN_DEF",8),C(Jx),C(Wd),C(Wx,8),C(VIc,8))};
O3.\u0275cmp=r({type:O3,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&N("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(Hf("aria-sort",b._getAriaSortAttribute()),Qf("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",
start:"start",disabled:[2,"disabled","disabled",Ng],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Ng]},exportAs:["matSortHeader"],standalone:!0,features:[Gf,yg],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],
[1,"mat-sort-header-pointer-middle"]],template:function(a,b){a&1&&(cg(),G(0,"div",0)(1,"div",1),dg(2),I(),E(3,Whb,6,6,"div",2),I());a&2&&(Qf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),Hf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),A(3),Uf(b._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[OIc,PIc,QIc,RIc,SIc,TIc]},changeDetection:0});var P3=function(a,b,c){Z.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.isOpen=function(e){return bo(e)};this.getAssigneeString=function(e){var f,h;e=Zk(null==e?void 0:null==(f=e.snapshot)?void 0:null==(h=f[0])?void 0:h.assigneeUser);return Pn(e)?e:void 0};this.getPriority=Zib;this.getModifiedTimeMicros=$ib;this.issueIds$=new X.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.optionsInternal={menu:{includeGoToIssueItem:!0}};this.rowLimit$=new X.BehaviorSubject(this.options.rowLimit);
this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.isClosed=UCa;this.internalFilters=new GQ;this.goToIssueItemFactory=function(e){return{type:"action",label:"Go to issue",action:function(f){d.navigateToIssue(f,e)},title:"Go to issue",icon:"arrow-forward"}};this.tableColumns=[].concat(u(HIc));this.activeSort$=new X.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(Hk(),z(function(e){return e.map(function(f){return{id:f,
issue$:(0,X.merge)(d.issueFridge.watch(f),d.issueFridge.watchOneError(f).pipe(z(function(){})))}})}),tf({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(wf(function(e){return(0,X.combineLatest)(e.map(function(f){return f.issue$.pipe(vf(null))}))}),z(function(e){return e.every(function(f){return null!==f})}));this.unarchivedRows$=this.allRows$.pipe(hf(this.allIssuesAreLoaded$),z(function(e){e=k(e);var f=e.next().value;return e.next().value?f.filter(function(h){var l;return!(null==
(l=eo(h))?0:l.isArchived)}):f}));this.unarchivedRows$.pipe(z(function(e){return e.length}));this.sortRows=(0,X.pipe)(hf(this.activeSort$,this.allIssuesAreLoaded$),z(function(e){e=k(e);var f=e.next().value,h=e.next().value;return e.next().value?ajb(f,h):f}));this.filterRows=(0,X.pipe)(hf(this.internalFilters.value$),wf(function(e){e=k(e);var f=e.next().value,h=e.next().value;return 0===h.size?(0,X.of)(f):(0,X.combineLatest)(f.map(function(l){return l.issue$})).pipe(z(function(l){return f.filter(function(q,
t){return l[t]?Uhb(h,t,l):!0})}))}));this.limitRows=(0,X.pipe)(hf(this.rowLimit$),z(function(e){var f=k(e);e=f.next().value;return(f=f.next().value)?e.slice(0,f):e}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=Fk(this.unarchivedRows$.pipe(hf(this.allIssuesAreLoaded$.pipe(lf())),z(function(e){var f=k(e);e=f.next().value;if(f.next().value){f=e.map(eo).map(function(w){return null==w?void 0:w.userActivityStats});var h=f.map(function(w){var B;return null!=(B=
null==w?void 0:w.oneDayViewCount)?B:0}),l=f.map(function(w){var B;return null!=(B=null==w?void 0:w.sevenDayViewCount)?B:0}),q=f.map(function(w){var B;return null!=(B=null==w?void 0:w.thirtyDayViewCount)?B:0}),t={};e.forEach(function(w,B){w=w.id;null!=w&&(B=Wj(h[B],h)?{title:"Trending 24h",tooltip:h[B]+" Views in 24 hours",cssClass:"cyan"}:Wj(l[B],l)?{title:"Trending 7d",tooltip:l[B]+" Views in 7 days",cssClass:"purple"}:Wj(q[B],q)?{title:"Trending 30d",tooltip:q[B]+" Views in the last 30 days",cssClass:"blue"}:
void 0,B&&(t[w]=B))});return t}})));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,z(function(e){return e.length}));this.hiddenRowCount$=(0,X.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;return e.length-f.length}),lf());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new kg};Y(P3,Z);P3.\u0275dir=Z.\u0275dir;g=P3.prototype;
g.getMenuItems=function(a){var b=[],c;(null==(c=this.options.menu)?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,u(this.menuItemFactory(a)));return b};g.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
g.ngAfterViewInit=function(){var a=this;(0,X.combineLatest)([this.rows$,this.displayedRows.changes.pipe(vf(void 0))]).pipe(xf(this.destroyed$)).subscribe(function(b){b=k(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);og(a.correctedDisplayedRows)});this.focusManager=hy(new Zvc(this.correctedDisplayedRows,Yib))};
g.navigateToIssue=function(a,b){!b||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=this.getIssueUrl(b),this.options.alwaysOpenNewTab||a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?iq(this.domSafe,b):Fr(this.router,b))};g.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};g.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):el(a)};
Ac.Object.defineProperties(P3.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}},options:{configurable:!0,enumerable:!0,set:function(a){this.optionsInternal=a;this.rowLimit$.next(a.rowLimit)},get:function(){return this.optionsInternal}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}}});P3.\u0275fac=function(a){return new (a||P3)(C(iJ),C(mF),C(XN))};
P3.\u0275cmp=r({type:P3,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&lg(QV,5);if(a&2){var c;pg(c=qg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[Ff],decls:51,vars:13,consts:[["noData",""],["noLimit",""],["mat-table","","matSort","",1,"full-width",3,"matSortChange","dataSource","trackBy","matSortActive","matSortDirection"],
["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef",
"priority"],["mat-header-cell","","mat-sort-header","priority",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","dupeCount"],["matColumnDef","voteCount"],["matColumnDef","7dViews"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime",4,"matHeaderCellDef"],
["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["class","muted margin-s-top flex-kids-x align-items-center",4,"ngIf"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory","enableHovercard","trailingChip","anchorTarget"],["mat-header-cell","","mat-sort-header","type"],[3,"issue"],
["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],["mat-header-cell","","mat-sort-header","reporter"],["mat-header-cell","","mat-sort-header","priority"],[3,"issuePriority"],["mat-header-cell","","mat-sort-header","status"],[3,"title"],["mat-header-cell","","mat-sort-header","createdTime"],[3,"issue","mode"],["mat-header-cell","","mat-sort-header","modifiedTime"],[4,
"ngIf","ngIfElse"],[3,"timestamp","mode","paddingLeftPx"],[3,"click","buttonLabel","buttonIcon","menuItems"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],[1,"muted","margin-s-top","flex-kids-x","align-items-center"],[1,"link-button",3,"click"]],template:function(a,b){a&1&&(G(0,"table",2),V(1,"async"),V(2,"async"),N("matSortChange",function(e){b.activeSort$.next(e)}),L(3,3),E(4,Xhb,1,0,"th",4)(5,Yhb,1,0,"td",5),M(),L(6,
6),E(7,Zhb,2,0,"th",4)(8,$hb,2,1,"td",7),M(),L(9,8),E(10,aib,2,0,"th",4)(11,bib,3,7,"td",7),M(),L(12,9),E(13,cib,2,0,"th",10)(14,dib,3,3,"td",7),M(),L(15,11),E(16,gib,4,2,"th",12)(17,mib,4,2,"td",7),M(),L(18,13),E(19,nib,2,0,"th",14)(20,oib,3,3,"td",7),M(),L(21,15),E(22,pib,2,0,"th",16)(23,qib,2,1,"td",7),M(),L(24,17),E(25,rib,2,0,"th",18)(26,sib,3,3,"td",7),M(),L(27,19),E(28,tib,2,0,"th",4)(29,uib,3,3,"td",7),M(),L(30,20),E(31,vib,2,0,"th",4)(32,yib,3,3,"td",7),M(),L(33,21),E(34,zib,2,0,"th",4)(35,
Cib,3,3,"td",7),M(),L(36,22),E(37,Dib,2,0,"th",4)(38,Gib,3,3,"td",7),M(),L(39,23),E(40,Hib,2,0,"th",24)(41,Iib,3,4,"td",7),M(),L(42,25),E(43,Jib,2,0,"th",26)(44,Mib,4,2,"td",7),M(),L(45,27),E(46,Nib,1,0,"th",4)(47,Oib,2,3,"td",7),M(),E(48,Pib,1,0,"tr",28)(49,Qib,2,5,"tr",29),I(),E(50,Xib,3,3,"div",30));if(a&2){var c,d;Qf("hide-header",b.options.hideColumnHeaders);F("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=W(1,9,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",
null!==(d=null==(d=W(2,11,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");A(48);F("matHeaderRowDef",b.tableColumns);A();F("matRowDefColumns",b.tableColumns);A();F("ngIf",b.options.rowLimit)}},dependencies:[zw,Ew,Fw,Gw,N3,O3,TV,OW,BW,HW,DW,AW,JW,EW,GW,KW,MW,a0,RW,FV,HV,YW,KV,SW,OV,TW,ON,QV,OQ,IV,iO,Iw],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-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]     .hide-header thead{display:none}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)}"],
changeDetection:0});var Q3=function(a,b){Z.call(this);var c=this;this.similarIssuesApi=a;this.hasSearched=this.isLoading=!1;this.loadedIssueCount=0;this.componentId$=new X.ReplaySubject(1);this.contextRaw$=new X.ReplaySubject(1);this.tableColumns=["title","priority","createdTime"];this.tableOptions={hideColumnHeaders:!0,enableIssueHovercard:!0,rowLimit:3,alwaysOpenNewTab:!0,modes:{createdTime:"relativepastshort"}};this.searchString$=this.contextRaw$.pipe(z(function(d){return d.trim()}),Ce(function(d){return 7<=d.length}),
jf(200));this.issues$=(0,X.combineLatest)([this.componentId$,this.searchString$]).pipe(wf(function(d){var e=k(d);d=e.next().value;e=e.next().value;c.isLoading=!0;return Mvc(c.similarIssuesApi,{scope:"componentId:"+d+" modified:365d status:open",scopeSortOrder:"vote_count desc",maxResults:15,keyword:e})}),z(function(d){return djb(d)}),yf(function(d){c.isLoading=!1;c.hasSearched=!0;c.loadedIssueCount=d.length}));this.issueIds$=this.issues$.pipe(z(function(d){return d.map(function(e){return e.issueId})}));
this.subscriptions.add(this.issues$.pipe(z(function(d){return d.length})).subscribe(function(d){Wo(b,"similarIssues","loaded","possible-dupes-"+d,d)}))};Y(Q3,Z);Q3.\u0275dir=Z.\u0275dir;
Ac.Object.defineProperties(Q3.prototype,{isThinkingOnEmpty:{configurable:!0,enumerable:!0,get:function(){return this.isLoading&&!this.hasSearched}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return!this.isLoading&&0===this.loadedIssueCount}},componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentId$.next(a)},get:function(){return Gk(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){this.contextRaw$.next(null!=a?a:"")}}});
Q3.\u0275fac=function(a){return new (a||Q3)(C(CV),C(ZI))};
Q3.\u0275cmp=r({type:Q3,selectors:[["similar-issues"]],hostVars:4,hostBindings:function(a,b){a&2&&Qf("thinking-on-empty",b.isThinkingOnEmpty)("is-empty-state",b.isEmpty)},inputs:{componentId:"componentId",context:"context"},features:[Ff],decls:9,vars:4,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"],["svgIcon","help-outline"],[4,"ngIf"],[3,"issueIds","tableColumns","options"]],template:function(a,b){a&1&&(G(0,"div",0),K(1,"mat-icon",1),G(2,"h3",2),S(3,"Possible duplicates"),I(),G(4,"a",3),K(5,"mat-icon",4),I(),E(6,bjb,1,0,"b-spinner",5),I(),E(7,cjb,1,3,"b-issues-table",6),V(8,"async"));if(a&2){var c;A(6);F("ngIf",b.isLoading&&!b.isThinkingOnEmpty);A();Uf((c=W(8,2,b.issueIds$))?7:-1,c)}},dependencies:[zw,nB,GL,P3,nE,OC,DA,Iw],styles:["[_nghost-%COMP%]{display:block}[_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 R3=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=hE(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=hE(this.activeSession,"enableDupSearchA");this.enableDupSearchB=hE(this.activeSession,"enableDupSearchB");this.enableDupSearchC=hE(this.activeSession,"enableDupSearchC");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC)};
R3.prototype.triggerSimilarIssuesSurvey=function(){return exc(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",WIc(this)).pipe(z(function(){}))};R3.prototype.trackTitleHoverOver=function(){Wo(this.analytics,sq.MAGIC_BOX,"titleHoverOver",this.getGroupName())};R3.prototype.trackTitleClick=function(){Wo(this.analytics,sq.MAGIC_BOX,"titleClick",this.getGroupName())};
var WIc=function(a){var b={},c={};a.enableDupSearchControl&&(b.experimentIds=["44573608"]);a.enableDupSearchA&&(b.experimentIds=["44573610"]);a.enableDupSearchB&&(b.experimentIds=["44573612"]);a.enableDupSearchC&&(b.experimentIds=["44573614"]);c.groupName=a.getGroupName();b.customData=c;return b};R3.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":"Control"};
R3.\u0275fac=function(a){return new (a||R3)(p(ZI),p(Zr),p(lX))};R3.\u0275prov=Pc({token:R3,factory:R3.\u0275fac,providedIn:"root"});var S3=function(a,b,c){this.paths=a;this.relatedIssuesService=b;this.experimentSupport=c;this.enableDupSearchControl=this.experimentSupport.enableDupSearchControl;this.enableDupSearchA=this.experimentSupport.enableDupSearchA;this.enableDupSearchB=this.experimentSupport.enableDupSearchB;this.enableDupSearchC=this.experimentSupport.enableDupSearchC},XIc=function(a,b,c){var d;return!!c.title||!!c.comment||!!c.priority||!!c.type||0<(null!=(d=c.hotlistId)?d:[]).length||a.hasCustomFieldValue(b)};
S3.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.filter(function(b){return!Hn(b)}).length:!1};
S3.prototype.searchAsync=function(a,b,c){var d=this;return(0,X.defer)(function(){return d.relatedIssuesService.get({query:a,nonParallelRequest:!0,sort:"modified_time:desc",count:b,page:null!=c?c:1}).then(function(e){var f,h;return{issues:(null!=(f=e.issueDigests)?f:[]).map(function(l){return{id:l.issueId,title:l.title,href:d.paths.editIssue(l.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
S3.prototype.fetchIssues=function(a){if(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC){var b=a.componentId;var c=a.customFieldMap,d=a.issue;if(XIc(this,c,d)){var e=fjb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var f=Di(d.componentId);e=(f?"componentid:"+f:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(f=fjb(Di(d.comment)||""),f=0<f.length?"comment:("+f.join(" ")+")":"",e+=f?" "+f:"",this.enableDupSearchA)b=e;else{f=Di(d.type);
var h=Di(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(f?"type:"+f:""));this.enableDupSearchB?b=e:(f=Di(d.hotlistId),e=e+(" "+(!f||1>(null==f?void 0:f.length)?"":"hotlistid:("+(f.join(" | ")+")")))+(" "+YIc(this,c,Di(d.customField))),b=this.enableDupSearchC?e:ZIc(b))}}else b=ZIc(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(ZIc(a.componentId),a.count,a.page)};
var ZIc=function(a){return"componentid:"+a+" status:open"},YIc=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return d}).filter(function(d){return!Hn(d)}).map(function(d){return $Ic(a,b,d)}).join(" ")},$Ic=function(a,b,c){if(Hn(c))return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=aJc(c.dateValue);break;case "ENUM":e='"'+c.enumValue+'"';break;case "NUMERIC":e=""+c.numericValue;break;
case "REPEATED_TEXT":e='("'+c.repeatedTextValue.values.join('" | "')+'")';break;case "REPEATED_DATE":e="("+c.repeatedDateValue.values.map(function(f){return aJc(f)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},aJc=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
S3.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};S3.\u0275fac=function(a){return new (a||S3)(p(RF),p(hX),p(R3))};S3.\u0275prov=Pc({token:S3,factory:S3.\u0275fac,providedIn:"root"});var ejb=RegExp("\\w+","g");var T3=function(a,b,c,d){Z.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new Uv;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new Uv;this.showSuggestedDupes=!1;this.enableSimilarIssues=this.experimentSupport.enableSimilarIssues;this.isRefreshing=!1;this.page=1;this.endIndex=this.startIndex=this.numPages=this.numTotalResults=
0;this.magicBoxIssues=[];this.isInitiallyLoading=!0;this.currentIssueData$=new X.Subject;this.CATEGORIES=sq};Y(T3,Z);T3.\u0275dir=Z.\u0275dir;g=T3.prototype;g.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(jf(750),lf(ki),xf(this.destroyed$)).subscribe(function(){a.refresh()})};
g.ngOnChanges=function(a){if(!Object.values(a).some(function(c){return c.isFirstChange()})){var b=!1;a.componentId&&(this.showInline&&(this.showInline=!1),b=!0);a.showInline&&(b=!0);this.enableSimilarIssues&&a.issue&&(this.showSuggestedDupes=XIc(this.relatedIssueFetcher,this.customFieldMap,this.issue),this.headerChange.emit(this.getHeader()),this.currentIssueData$.next({title:this.issue.title,component:this.issue.componentId}));b&&this.refresh()}};
g.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
g.fetchIssues=function(a){var b=this;a&&(this.page=a);this.componentId&&(this.isRefreshing=!0,this.relatedIssueFetcher.fetchIssues({issue:this.issue,customFieldMap:this.customFieldMap,count:this.numIssues,page:this.page,componentId:this.componentId}).pipe(xf(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(u(b.magicBoxIssues),u(d)):d;d=b.numIssues;b.numTotalResults=c.numTotalResults;b.numPages=Math.ceil(b.numTotalResults/
d);b.startIndex=0===b.numTotalResults?0:((null!=a?a:1)-1)*d+1;b.endIndex=Math.min(b.startIndex+d-1,b.numTotalResults);b.viewAllHref=c.viewAllHref;c=b.numTotalResults;b.totalText=c<=(null!=a?a:1)*d?c.toString():1===a?"many":c.toString();b.isInitiallyLoading=!1;b.isRefreshing=!1;b.cdr.detectChanges()}))};g.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};g.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(xf(this.destroyed$)).subscribe()};
g.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};g.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};g.getGroupName=function(){return this.experimentSupport.getGroupName()};T3.\u0275fac=function(a){return new (a||T3)(C(ME,2),C(ZI),C(S3),C(R3))};
T3.\u0275cmp=r({type:T3,selectors:[["b-magic-box"]],inputs:{componentId:"componentId",refreshMagicBox:"refreshMagicBox",showInline:"showInline",hideHeader:"hideHeader",issueTitle:"issueTitle",issue:"issue",customFieldMap:"customFieldMap",numIssues:"numIssues"},outputs:{refreshMagicBoxChange:"refreshMagicBoxChange",headerChange:"headerChange"},features:[wg([hX,ME]),Ff,xd],decls:3,vars:1,consts:[["afterLoaded",""],["issueHovercard","onedevHovercard"],["cardBody",""],["class","bv2-magic-box",4,"ngIf"],
[1,"bv2-magic-box"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["class","magic-box-text",4,"ngIf"],["class","magic-box-more",4,"ngIf"],["class","magic-box-load",4,"ngIf"],["class","magic-box-all",4,"ngIf"],["class","magic-box-pager",4,"ngIf"],["class","unstyled feedback-button","type","button","matTooltip","Send feedback for the suggested similar issues",3,"click",4,"ngIf"],[1,"magic-box-pager"],["class","magic-box-pagenums",4,"ngIf"],["format","icon","size","large","tooltip","Previous page","b-aria-label",
"Previous page",1,"left","compact",3,"onAction","disabled"],["name","arrow-left","size","large"],["format","icon","size","large","tooltip","Next page","b-aria-label","Next page",1,"right","compact",3,"onAction","disabled"],["name","arrow-right","size","large"],[1,"magic-box-pagenums"],["type","button","matTooltip","Send feedback for the suggested similar issues",1,"unstyled","feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s","gfx-muted"],[1,"magic-box-text"],[3,"ngClass",4,"ngFor",
"ngForOf"],[3,"ngClass"],[3,"onedevIsHovercardReady","issueId","location","init",4,"onedevHovercardLazyBody"],["target","_blank",1,"magic-box-title",3,"click","href","onedevHovercardTrigger"],[3,"init","onedevIsHovercardReady","issueId","location"],[1,"magic-box-more"],["target","_blank",3,"href"],[1,"magic-box-load"],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down"],[1,"magic-box-all"],["mat-button","",1,"gmat-button","primary","hovercard-action",3,"click"],["svgIcon","pop-out"]],
template:function(a,b){a&1&&E(0,hjb,2,2,"div",3)(1,vjb,9,8,"ng-template",null,0,Eg);a&2&&F("ngIf",b.componentId)},dependencies:[LK,iE,GL,Cw,Dw,zw,nB,NV,JL,KL,OL,LL,CA],styles:[".bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:28px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-clickable[_ngcontent-%COMP%]{cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--text-muted);padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:none}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]{position:absolute;right:10px;top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{float:left;margin-right:10px;margin-top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{min-width:34px;padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]{position:absolute;right:10px;top:12px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .magic-box-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:15px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-bottom:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-load[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]{float:right}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:3px}.jfk-bubble[_ngcontent-%COMP%]{left:12px;margin:0;padding:15px 20px 15px 15px}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:block}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-header[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-scroll[_ngcontent-%COMP%]{max-height:200px;overflow-y:scroll}.d-cozy[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:24px}.d-compact[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:20px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{margin-top:8px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:0}/*# sourceMappingURL=magic-box.css.map */"]});var bJc=["popOver"],xjb=function(a){return{$implicit:a}},Fjb=function(a){return{editingValue:a}},U3=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new Uv;this.editorOpen=new Uv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new ix("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};Y(U3,vO);g=U3.prototype;g.ngOnInit=function(){};g.valueChanged=function(){return this.editingValue.value!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
g.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Ac.Object.defineProperties(U3.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
U3.\u0275fac=function(a){return new (a||U3)(Od("required"))};
U3.\u0275cmp=r({type:U3,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&lg(bJc,7);if(a&2){var c;pg(c=qg())&&(b.popOver=c.first)}},inputs:{value:"value",allowMultipleLines:"allowMultipleLines",multilineMaxLines:"multilineMaxLines",newlineWithEnterKey:"newlineWithEnterKey",centerEditIcon:"centerEditIcon",disabled:"disabled",labelledById:"labelledById",valueTemplate:"valueTemplate",editorTemplate:"editorTemplate",hasBackdrop:"hasBackdrop",fitPopoverToViewport:"fitPopoverToViewport"},outputs:{valueChange:"valueChange",
editorOpen:"editorOpen"},features:[wg([{provide:Bw,useExisting:Yc(function(){return U3}),multi:!0},{provide:vO,useExisting:Yc(function(){return U3}),multi:!0}]),Ff],decls:11,vars:9,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["singleLineTemplate",""],[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","editorTemplate",
"newlineWithEnterKey","hasBackdrop","fitToViewport"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],[4,"ngIf"],[1,"textarea-wrapper"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl",
"cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){if(a&1){var c=v();G(0,"button",5,0);N("click",function(){x(c);return y(b.startEditing())})("focus",function(){x(c);return y(b.headerFocused=!0)})("blur",function(){x(c);return y(b.headerFocused=!1)});G(2,"span");E(3,yjb,2,4,"ng-container",6)(4,
zjb,1,1,"ng-template",null,1,Eg);I();E(6,Ajb,2,2,"svg",7);I();G(7,"onedev-pop-over-edit-panel",8,2);N("closedWithAction",function(f){x(c);return y(b.stopEditing(f))});I();E(9,Hjb,2,2,"ng-template",null,3,Eg)}if(a&2){a=R(1);var d=R(5),e=R(10);Hf("aria-labelledby",b.labelledById);A(3);F("ngIf",b.valueTemplate)("ngIfElse",d);A(3);F("ngIf",!b.disabled);A();F("anchor",a)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[zw,Hw,bh,cx,gB,uZ,px],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 cJc=Bh("indicatorRotate",[Fh("collapsed, void",Eh({transform:"rotate(0deg)"})),Fh("expanded",Eh({transform:"rotate(180deg)"})),Hh("expanded <=> collapsed, void => collapsed",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),dJc=Bh("bodyExpansion",[Fh("collapsed, void",Eh({height:"0px",visibility:"hidden"})),Fh("expanded",Eh({height:"*",visibility:""})),Hh("expanded <=> collapsed, void => collapsed",Ch("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var eJc=new rd("CdkAccordion");var fJc=0,V3=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=X.Subscription.EMPTY;this.closed=new Uv;this.opened=new Uv;this.destroyed=new Uv;this.expandedChange=new Uv;this.id="cdk-accordion-child-"+fJc++;this.disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,f){d.accordion&&!d.accordion.multi&&d.accordion.id===f&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g=V3.prototype;g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};
g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};Ac.Object.defineProperties(V3.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())}}});
V3.\u0275fac=function(a){return new (a||V3)(C(eJc,12),C(Pg),C(Gy))};V3.\u0275dir=jd({type:V3,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Ng],disabled:[2,"disabled","disabled",Ng]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[wg([{provide:eJc,useValue:void 0}]),Gf]});var W3=function(){};W3.\u0275fac=function(a){return new (a||W3)};W3.\u0275mod=hd({type:W3});W3.\u0275inj=Rc({});var gJc=new rd("MAT_ACCORDION");var hJc=new rd("MAT_EXPANSION_PANEL");var iJc=function(a,b){this._template=a;this._expansionPanel=b};iJc.\u0275fac=function(a){return new (a||iJc)(C(ig),C(hJc,8))};iJc.\u0275dir=jd({type:iJc,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});var jJc=["body"],kJc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],lJc=0,mJc=new rd("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),X3=function(a,b,c,d,e,f,h){V3.call(this,a,b,c);this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new Uv;this.afterCollapse=new Uv;this._inputChanges=new X.Subject;this._headerId="mat-expansion-panel-header-"+lJc++;this.accordion=a;this._document=e;this._animationsDisabled="NoopAnimations"===f;h&&(this.hideToggle=h.hideToggle)};
Y(X3,V3);X3.\u0275dir=V3.\u0275dir;g=X3.prototype;g._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};g._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};g.toggle=function(){this.expanded=!this.expanded};g.close=function(){this.expanded=!1};g.open=function(){this.expanded=!0};
g.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(vf(null),Ce(function(){return a.expanded&&!a._portal}),mf()).subscribe(function(){a._portal=new ny(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};g.ngOnDestroy=function(){V3.prototype.ngOnDestroy.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._animationStarted=function(a){if("void"!==a.fromState&&!this._animationsDisabled&&this._body){var b;null==(b=this._body)||b.nativeElement.setAttribute("inert","")}};g._animationDone=function(a){"void"!==a.fromState&&("expanded"===a.toState?this.afterExpand.emit():"collapsed"===a.toState&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))};
Ac.Object.defineProperties(X3.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}}});X3.\u0275fac=function(a){return new (a||X3)(C(gJc,12),C(Pg),C(Gy),C(jg),C(qh),C(sv,8),C(mJc,8))};
X3.\u0275cmp=r({type:X3,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&mg(c,iJc,5);if(a&2){var d;pg(d=qg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&lg(jJc,5);if(a&2){var c;pg(c=qg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&Qf("mat-expanded",b.expanded)("_mat-animation-noopable",b._animationsDisabled)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Ng],
togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[wg([{provide:gJc,useValue:void 0},{provide:hJc,useExisting:X3}]),Gf,Ff,xd,yg],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,b){if(a&1){var c=v();cg(kJc);dg(0);
G(1,"div",1,0);N("@bodyExpansion.start",function(d){x(c);return y(b._animationStarted(d))})("@bodyExpansion.done",function(d){x(c);return y(b._animationDone(d))});G(3,"div",2);dg(4,1);E(5,Ijb,0,0,"ng-template",3);I();dg(6,2);I()}a&2&&(A(),F("@bodyExpansion",b._getExpandedState())("id",b.id),Hf("aria-labelledby",b._headerId),A(4),F("cdkPortalOutlet",b._portal))},dependencies:[ry],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-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);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2,data:{animation:[dJc]},changeDetection:0});var nJc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Y3=function(a,b,c,d,e,f,h){var l=this;this.panel=a;this._element=b;this._focusMonitor=c;this._changeDetectorRef=d;this._animationMode=f;this._parentChangeSubscription=X.Subscription.EMPTY;this.tabIndex=0;var q=a.accordion?a.accordion._stateChanges.pipe(Ce(function(t){return!(!t.hideToggle&&!t.togglePosition)})):X.EMPTY;this.tabIndex=parseInt(h||"")||0;this._parentChangeSubscription=(0,X.merge)(a.opened,a.closed,q,a._inputChanges.pipe(Ce(function(t){return!!(t.hideToggle||
t.disabled||t.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(Ce(function(){return a._containsFocus()})).subscribe(function(){return Kx(c,b,"program")});e&&(this.expandedHeight=e.expandedHeight,this.collapsedHeight=e.collapsedHeight)};g=Y3.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:jh(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?Kx(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)};Ac.Object.defineProperties(Y3.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
Y3.\u0275fac=function(a){return new (a||Y3)(C(X3,1),C(Wd),C(Jx),C(Pg),C(mJc,8),C(sv,8),Od("tabindex"))};
Y3.\u0275cmp=r({type:Y3,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&N("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(Hf("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),Pf("height",b._getHeaderHeight()),Qf("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
"after"===b._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===b._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:Og(a)}]},standalone:!0,features:[Gf,yg],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&&(cg(nJc),G(0,"span",0),dg(1),dg(2,1),dg(3,2),I(),E(4,Jjb,3,1,"span",1));a&2&&(Qf("mat-content-hide-toggle",!b._showToggle()),A(4),Uf(b._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.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)}@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)}}.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)}.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)}.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)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],
encapsulation:2,data:{animation:[cJc]},changeDetection:0});var Z3=function(){};Z3.\u0275fac=function(a){return new (a||Z3)};Z3.\u0275dir=jd({type:Z3,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});var a4=function(){};a4.\u0275fac=function(a){return new (a||a4)};a4.\u0275mod=hd({type:a4});a4.\u0275inj=Rc({imports:[Zy,W3,sy]});var oJc=["descriptionConfirmDialog"],pJc=function(a){return{submitted:a}},Mjb=function(a,b){return{partner:a,"public":b}},$kb=function(a){return{"bv2-upload-ongoing":a}},Rkb=function(a){return{required:a}},flb=function(){return{standalone:!1}},qJc=new rd("titleBannedWordsChecker"),rJc=new rd("descriptionBannedWordsChecker"),sJc={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?"}},b4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa,Hb,od,db,Ra,nb,Nb,tb,cc,pc,mc){Z.call(this);var Bc=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=l;this.appHistory=
q;this.issueTemplate=t;this.issueTypeDialog=w;this.componentActions=B;this.activeSession=D;this.draftStore=J;this.pageTitle=H;this.analytics=O;this.issueApi=P;this.userApi=U;this.hotlistApi=aa;this.butterBar=pa;this.errorHandler=ka;this.matDialogService=Aa;this.appEvents=Ya;this.userPreferencesManager=Da;this.cdr=yb;this.issueRelationshipsFridge=Rb;this.issueFridge=Sb;this.componentFridge=Wa;this.clearcut=Hb;this.currentTracker=od;this.jspbPrincipalTypes=db;this.trackerFridge=Ra;this.titleBannedWordsChecker=
nb;this.descriptionBannedWordsChecker=Nb;this.confirmIssueAccessLimitSettingsService=tb;this.componentTemplateApi=cc;this.dismissalService=pc;this.hostElement=mc;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=il;this.userEmail=this.activeSession.getUserEmail();
this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.hotlistMap={};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.isLoadingComponent=!1;this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.showRecentIssuesInline=!0;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.customFieldAllowedValuesMap={};this.verifierText=this.reporterText=this.assigneeText=null;this.ccsText=[];this.collaboratorsText=[];this.collaboratorGroupsText=[];this.magicBoxHeader="Recent Issues";this.selectedComponent=null;this.selectedAccessLimitLevel=
"LIMIT_NONE";this.useCodefont=!1;this.selectedHotlistIds=[[]];this.isFormatInRoute=!1;this.isCollaboratorsValid=this.isChildIssueIdsValid=this.isParentIssueIdsValid=this.isBlockingIssueIdValid=this.isBlockedByIssueIdValid=!0;this.invalidCollaboratorsInput=[];this.startTime=new Date;this.recaptchaResponse="";this.toIssuePriority=di;this.toIssueSeverity=Mra;this.FieldType=Mpc;this.initialized=!1;this.trackerComponent$=(0,X.defer)(function(){return(0,X.of)(Bc.activeSession.getTracker())}).pipe(wf(function(Qc){return Qc?
Bc.componentFridge.watch(Number(Qc.componentId)).pipe(vf(void 0)):(0,X.of)(void 0)}));this.trackerId$=new X.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(wf(function(Qc){return Wn(Qc)?Bc.trackerFridge.watch(Qc):(0,X.of)(void 0)}));this.titleAfterBlur$=new X.Subject;this.similarIssuesSearchString$=this.titleAfterBlur$.pipe(kf(100));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=hE(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();this.onAnyClick=function(Qc){V_a(Qc).match("SIMILAR-ISSUES")&&
(Bc.everClickedSimilarIssues=!0,Wo(Bc.analytics,sq.SIMILAR_ISSUES,"click"))};this.getSingleEditFieldType=cSa;this.getListFieldType=WTa;this.shouldShowSimilarIssues=this.activeSession.isInternalSession()&&hE(this.activeSession,"enableCreatePageSimilarIssuesUi");this.didConfirmNavigateAway=function(){Bc.everShowedIssueHovercard||Bc.everClickedSimilarIssues?Wo(Bc.analytics,sq.CREATE_ISSUE,"abandon-happy"):Wo(Bc.analytics,sq.CREATE_ISSUE,"abandon-normal")};this.fetchUserHotlists();Ia.didConfirm=this.didConfirmNavigateAway;
this.subscriptions.add(this.tracker$.subscribe(function(Qc){Bc.updateCollaboratorGroups(Qc)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Bc.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(){Bc.everShowedIssueHovercard=!0;Wo(Bc.analytics,sq.SIMILAR_ISSUES,"hover")}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Bc.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Bc.fetchUserHotlists()}));
this.enableCreateIssueWithTemplate=hE(D,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=D.isInternalSession()||fE(D);this.priorityChoices=Xa.priorities.map(function(Qc){return{value:Qc,displayText:Qc}});this.severityChoices=Xa.severities.map(function(Qc){return{value:Qc,displayText:Qc}});this.issueTypeChoices=Xa.editIssueTypes.map(function(Qc){return{value:Qc,displayText:ei(Qc),altText:Xa.issueTypesShortDescriptions.get(Qc)}});this.urlTemplate=new wFc(ea,b);this.piiWarningMessage=
D.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":void 0;this.descriptionBoxId="bv2-description";this.componentAutocomplete=
ea.componentAutocomplete;this.componentRequestedInUrl=ea.component;this.templateIssueRequestedInUrl=ea.template_issue;ea.template&&(a=Number(ea.template))&&(this.preferredTemplateId=a);if(a=ea.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=ea.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=ea.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=li(jlb);hlb(this.issue,this);this.audience="EXTERNAL";ea.description?this.comment=new uQ(ea.description,!0):
(a=this.draftStore.$window.sessionStorage.getItem(jp("0"))||"",this.comment=new uQ(a));this.comment.formattingMode=tJc(this);a=uJc(ea);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(Da.preferences$.subscribe(function(Qc){var Xd;Bc.useCodefont=null!=(Xd=Qc.useCodefont)?Xd:Bc.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=yFc(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(IF(na,
{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Qc;null==(Qc=Bc.hotlistPicker)||Qc.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Bc.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,vJc(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?wJc(this,this.componentAutocomplete):(DFc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,xJc(this));this.originalIssueCopy=li(this.issue);ea.description&&(this.originalIssueCopy.comment=this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.pageTitle.setTitle("New issue");this.createRestrictedResourcesComponentIds=D.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(jY(Ia,function(){return Bc.hasUnsavedChanges()},
!1))};Y(b4,Z);b4.\u0275dir=Z.\u0275dir;b4.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var yJc=function(a){if(!a.templateTitle||!a.templateComment)return!1;var b=JFa(a.comment.value,a.templateComment);return JFa(a.issue.title,a.templateTitle)&&b},alb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};
b4.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||zJc(a,b))}))};b4.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var c4=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};b4.prototype.back=function(){O0(this.appHistory)};
var AJc=function(a){var b;return aq(a.selectedComponent)&&!(null==(b=a.selectedComponent)||!b.trackerId)&&!cp(a.currentTracker)},BJc=function(a,b){"LIMIT_VIEW"===b||"LIMIT_VIEW_TRUSTED"===b?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",wr(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.":
"")))};b4.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var zJc=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,CJc(a),a.audience=$p(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):(kc(a.issue,"componentId"),a.audience="EXTERNAL");a.submitRequested=!1;DJc(a);a.selectedComponentProcessedPromise=Promise.all([EJc(a),FJc(a)]).then(function(){});return a.selectedComponentProcessedPromise},GJc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},Pjb=function(a){return xUa(a.selectedComponent)?"External Google partners may be able to see this issue.":aq(a.selectedComponent)?
"Public users may be able to see this issue.":""};b4.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroupsText.length?"":1<this.collaboratorGroupsText.length?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};b4.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=Wk(a.collaboratorGroups),this.separateCollaboratorGroups())};
b4.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=k(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=a;if(0<this.collaboratorGroupsText.length&&!aq(this.selectedComponent)){var e;null==(e=this.advancedFieldsZippy)||e.open()}};
var xJc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new HJc(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},EJc=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(a.selectedTemplate=null);return a.selectedComponent?a.issueTemplate.templatesApi.query(a.selectedComponent.componentId).then(function(b){a.availablePredefinedTemplates=
b.map(function(e){var f=e.name;Rk(Qk(f))&&(f=e.default?"(default template)":"(unnamed template)");return new HJc(e.templateId,"predefined",f,e.default)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=k(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=d;break}}0<
a.availablePredefinedTemplates.length&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);c4(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},FJc=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=NG(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;c4(a)}),e=NG(a.userAccess,"writer",c).then(function(f){a.canEditIssuesInComponent=f;c4(a)});c=NG(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;c4(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;c4(a)});return Promise.all([d,
e,c,b]).then(function(){IJc(a);c4(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},LJc=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(li(jlb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=li(d);GJc(a);ilb(a,a.issue);var f=li(a.issue);if(a.appliedTemplate)for(var h=k(Object.keys(a.appliedTemplate)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a.appliedTemplate[l];if(Array.isArray(q)&&Array.isArray(f[l])){q=
k(q);for(var t=q.next();!t.done;t=q.next())Wra(f[l],t.value)}else ki(q,f[l])&&delete f[l]}a.appliedTemplate=e;klb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(mic(a.comment)||""===f||a.comment.value===f||(a.templateComment=f,JJc(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var w;a.templateCommentFormattingMode=null!=(w=e.formattingMode)?w:void 0;a.templateTitle=e.title||"";d.reporterUser=bl(a.userEmail);AJc(a)&&a.canEditIssuesInComponent?
BJc(a,d.issueAccessLimitLevel||"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;hlb(a.issue,a);IJc(a);GJc(a);ilb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);DFc(a.urlTemplate,a.issue,a.customFieldMap);hlb(a.issue,a);a.originalIssueCopy=li(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=li(a.issue.hotlistId);
c4(a)});KJc(a);a.collaboratorGroupsText=[];a.separateCollaboratorGroups();return a.selectedComponent?null:c.snapshot.componentId};"predefined"===a.selectedTemplate.type&&a.selectedComponent?a.componentTemplateApi.get(a.selectedComponent.componentId,a.selectedTemplate.id).then(nlb(a.selectedComponent)).then(b).then(function(){c4(a)}):"issue"===a.selectedTemplate.type&&(q$b(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){if(cp(a.currentTracker)&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Pe");
return b(c)}).then(function(c){c&&(vJc(a,c),c4(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),(0,X.firstValueFrom)(a.issueFridge.watch(String(a.selectedTemplate.id))).then(function(c){var d;null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));a.selectedTemplate.id!==a.preferredTemplateId&&Wo(a.analytics,sq.CREATE_ISSUE,"changeTemplate");DJc(a)}};
b4.prototype.isValid=function(){return!(0!==Rjb(this).length||0!==Sjb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Yjb(this.comment)&&!0};
var Rjb=function(a){var b=a.issue;a=a.canEditIssuesInComponent?["componentId","priority","type","title"]:["componentId","title"];a=a.filter(function(c){return!b[c]});return a.map(function(c){return"componentId"===c?"component":c})},Sjb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&Hn(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},MJc=function(a){return 0!==a.collaboratorsText.length&&a.canEditIssuesInComponent?d6b(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=k(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return k(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){a.butterBar.showWarning(b.message);return!1}):Promise.resolve(!0)},Ekb=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)},tkb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},zr=function(a){return a?a.join(", "):""},KJc=function(a){if(Hda(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};g=b4.prototype;g.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
g.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};g.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};g.getCustomFieldValue=function(a){return Gn(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});Wo(this.analytics,sq.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};g.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};g.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.values)?c:null};
g.saveCommentDraft=function(){this.descriptionBannedWordsChecker.reset();var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(jp("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();Wo(this.analytics,sq.CREATE_ISSUE,"changeHotlists")};g.removeHotlist=function(a){var b;wa(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};
g.setTitle=function(a){this.titleBannedWordsChecker.reset();this.issue=Object.assign({},this.issue,{title:a})};var gkb=function(a){var b,c,d=null!=(c=null==(b=a.issue.title)?void 0:b.trim())?c:"";a.titleAfterBlur$.next(d)};b4.prototype.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:di(a)});var b;Wo(this.analytics,sq.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};
b4.prototype.setIssueType=function(a){this.issue=Object.assign({},this.issue,{type:Lra(a)});var b;Wo(this.analytics,sq.CREATE_ISSUE,"changeType",null!=(b=this.issue.type)?b:void 0)};b4.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)});Gaa(this.selectedHotlists,function(b,c){return nr(b.name,c.name)})};
var NJc=function(a,b){var c,d,e,f,h,l,q,t,w,B,D;return me(function(J){switch(J.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){J.jumpTo(2);break}e=[];return 1===d.length?oe(J,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):oe(J,eac(a.issueRelationshipsFridge,c,d),5);case 5:h=J.yieldResult;e=h.notAdded;f=h.errors;J.jumpTo(4);break;case 6:l=J.yieldResult,e=l.notAdded,f=l.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if(null==(t=q)||!t.length){J.jumpTo(7);break}return oe(J,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(H){return{issueId:H}})),8);case 8:w=J.yieldResult,B=w.notAdded,D=w.errors,B.length&&a.butterBar.showWarning("Unable to add "+B+" as children. "+D);case 7:return J.return(b)}})},Ykb=function(a,b,c){var d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na;return me(function(Da){switch(Da.nextAddress){case 1:return a.sessionIsExternal&&
yJc(a)?(OJc(a),Da.return()):oe(Da,MJc(a),2);case 2:a.isCollaboratorsValid=Da.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return Da.return()}d.issueAccessLimitLevel=a.selectedAccessLimitLevel;d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&Wo(a.analytics,sq.ISSUE_ACCESS_LIMITS,"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&&"predefined"===a.selectedTemplate.type&&(f.templateId=a.selectedTemplate.id);a.judgementForNewContent&&"NONE_DETECTED"!==a.judgementForNewContent.severity&&(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.enableCreateIssueWithTemplate?[]:[a.userEmail]},f.snapshot=h);f.snapshot=ic(f.snapshot,function(Ia){return"string"!==typeof Ia||!Rk(Ia)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(Ia){return!Hn(Ia)}));ilb(a,f.snapshot);if(a.trackerId$.value&&"VULNERABILITY"===f.snapshot.type&&(l=jOa(a.activeSession.getEnvironmentType(),a.trackerId$.value),void 0!==l)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=[]);q=k(l);for(t=q.next();!t.done;t=q.next())w=
t.value,f.snapshot.collaboratorsUsers.push(w);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}0<a.collaboratorGroupsText.length&&(f.snapshot.collaboratorsUsers=Rwa(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");B=function(){a.isSaving=!0;a.newIssueStarted=!1;wr(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(Ia){return NJc(a,Ia)}).then(function(Ia){a.draftStore.$window.sessionStorage.removeItem(jp("0"));
a.originalIssueCopy=li(a.issue);Wo(a.analytics,sq.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");PJc(a);0<a.collaboratorGroupsText.length&&Wo(a.analytics,sq.QUICK_ADD_COLLABORATORS,"create","create_issue:"+Ia.issueId);if(c){var Xa;Wo(a.analytics,sq.CREATE_ISSUE,"fileAndRedirect","component",null!=(Xa=d.componentId)?Xa:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;NG(a.userAccess,"reader","issues/"+Ia.issueId).then(function(Sb){Sb?EFc(a.redirectUrl,
a.paths.editIssue(Ia.issueId),String(Ia.issueId)):(wr(a.butterBar,"New issue created: "+Ia.issueId+" (view access not granted)",0),EFc(a.redirectUrl,a.paths.listIssues()));c4(a)}).catch(function(Sb){a.errorHandler.errorHandler(null,Sb);a.isNavigatingAway=!1})}else{var yb;Wo(a.analytics,sq.CREATE_ISSUE,"fileAndNew","component",null!=(yb=d.componentId)?yb:void 0);Xa={};o$b(a.butterBar,xh(["New issue created: ",yh("a",(Xa.href=a.paths.editIssue(Ia.issueId),Xa),String(Ia.issueId))]),0);d.title=a.templateTitle;
a.comment=new uQ(a.templateComment);(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var Rb;Xa=k(null!=(Rb=a.magicBoxes)?Rb:[]);for(Rb=Xa.next();!Rb.done;Rb=Xa.next())Rb.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=li(a.issue)}c4(a)}).catch(function(Ia){403===Ia.status&&Xn(Ia)?rI(a.errorHandler,Yn(Ia)):a.errorHandler.errorHandler(null,
Ia);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return oe(Da,a.dismissalService.isDismissed(R0a("create-issue"))||a.canEditIssuesInComponent||a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||"INTERNAL"===a.selectedComponent.accessLimit.accessLevel?Promise.resolve(!0):(0,X.firstValueFrom)(a.matDialogService.open(xY,{width:"500px",data:{action:"create-issue",
content:"Submitting this bug report means your email address will be shared with the team that works on this product."}}).afterClosed()),3);case 3:return(D=Da.yieldResult)?oe(Da,QJc(a),4):Da.return();case 4:return(J=Da.yieldResult)?oe(Da,Hxc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:null==(H=f.snapshot.assigneeUser)?void 0:H.emailAddress,verifierUser:null==(O=f.snapshot.verifierUser)?void 0:O.emailAddress,ccUsers:null==(P=f.snapshot.ccUsers)?void 0:P.map(function(Ia){return Ia.emailAddress}).filter(Ei),
collaboratorsUsers:null==(U=f.snapshot.collaboratorsUsers)?void 0:U.map(function(Ia){return null==Ia?void 0:Ia.emailAddress}).filter(Ei),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,confirmationDialogText:sJc}),5):Da.return();case 5:return(aa=Da.yieldResult)?oe(Da,a.titleBannedWordsChecker.check(null!=(pa=a.issue.title)?pa:"",RJc(a),f.snapshot.componentId),6):Da.return();case 6:return ka=
Da.yieldResult,oe(Da,a.descriptionBannedWordsChecker.check(null!=(Aa=a.issue.comment)?Aa:"",RJc(a),f.snapshot.componentId),7);case 7:Ya=Da.yieldResult;if(!ka||!Ya)return null==(ea=b)||ea.preventDefault(),null==(na=b)||na.stopPropagation(),Da.return();B();se(Da)}})},OJc=function(a){a.isSaving=!0;wr(a.butterBar,"Creating...",0);setTimeout(function(){wr(a.butterBar,"New issue cr\u00e6ted");a.isSaving=!1;EFc(a.redirectUrl,a.paths.listIssues())},500)},RJc=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&
"EXTERNAL_PUBLIC"===a.selectedComponent.accessLimit.accessLevel},QJc=function(a){var b=Pj();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):aic(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},wJc=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){1===c.length?(zJc(a,c[0]),c4(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})},vJc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(cp(a.currentTracker)&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Qe");zJc(a,c);c4(a)}).catch(function(){a.butterBar.showWarning("Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};b4.prototype.hasUnsavedChanges=function(){var a=llb(this.issue),b=llb(this.originalIssueCopy);return!ki(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var pkb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;Wo(a.analytics,sq.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},JJc=function(a,b){a.matDialogService.open(a.descriptionConfirmDialog,{data:b}).afterClosed().pipe(pf()).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="")})},DJc=function(a){a.selectedComponent&&a.bLocation.search("component",a.selectedComponent.componentId);a.selectedTemplate&&("predefined"===a.selectedTemplate.type?(a.bLocation.search("template",a.selectedTemplate.id),a.bLocation.search("template_issue",null)):"issue"===a.selectedTemplate.type&&(a.bLocation.search("template_issue",
a.selectedTemplate.id),a.bLocation.search("template",null)))},Njb=function(a){return a.sessionIsExternal?!1:xUa(a.selectedComponent)},Ojb=function(a){return gE(a.activeSession)?!1:aq(a.selectedComponent)},CJc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=k(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
mlb(b);SJc(a)}},SJc=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=k(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}},IJc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(u(a.ccsText))):a.ccsText=[a.userEmail]};g=b4.prototype;g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);c4(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&wa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};g.createHotlist=function(a){var b=this;Wo(this.analytics,"baseIssue","createHotlist");wr(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){wr(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);c4(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);c4(b);return d},function(){var d=b.hotlistMap[c];kc(b.hotlistMap,c);wa(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(){c4(b)})};
var uJc=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},tJc=function(a){var b;return Ji(null==(b=AF(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
b4.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=null!=(c=null==(b=this.judgementForNewContent)?void 0:b.severity)?c:"NONE_DETECTED";this.showContentJudgementDialog({severity:d,contentJudgement:void 0,hasAclToCreate:!0}).pipe(xf(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};b4.prototype.showContentJudgementDialog=function(a){return this.matDialogService.open(GY,{panelClass:"no-jitter",width:"500px",data:a}).afterClosed()};
var PJc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);H$b("createIssue",c,"new-ui");Wo(a.analytics,sq.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);UI(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
Ac.Object.defineProperties(b4.prototype,{selectedTemplate:{configurable:!0,enumerable:!0,get:function(){return this.selectedTemplateInternal},set:function(a){var b=this;if(this.selectedTemplateInternal!==a){this.selectedTemplateInternal=a;var c;null==(c=this.selectedComponentProcessedPromise)||c.then(function(){LJc(b)})}}}});
b4.\u0275fac=function(a){return new (a||b4)(C(He),C(uF),C(lL),C(RF),C(P0),C(LG),C(TH),C(QF),C(N0),C(tI),C(jQ),C(SM),C(Zr),C(iQ),C(qH),C(ZI),C(fH),C(QI),C(EG),C(pI),C(qI),C(QA),C(gH),C(vQ),C(HF),C(zF),C(iY),C(kE),C(ME,2),C(BJ),C(iJ),C(ZH),C(TI),C(hM),C(LE),C(sK),C(qJc),C(rJc),C(IX),C(dI),C(wY),C(Wd))};
b4.\u0275cmp=r({type:b4,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(lg(OT,5),lg(mV,5),lg(oJc,5),lg(X3,5),lg(T3,5));if(a&2){var c;pg(c=qg())&&(b.hotlistPicker=c.first);pg(c=qg())&&(b.commentBox=c.first);pg(c=qg())&&(b.descriptionConfirmDialog=c.first);pg(c=qg())&&(b.advancedFieldsZippy=c.first);pg(c=qg())&&(b.magicBoxes=c)}},features:[wg([ME,{provide:qJc,useClass:hY},{provide:rJc,useClass:hY}]),Ff],decls:33,vars:15,consts:[["descriptionConfirmDialog",""],["collaboratorGroupField",
""],["templateMenu","matMenu"],["priorityMenu","matMenu"],["typeMenu","matMenu"],["severityMenu","matMenu"],[1,"a11y-only"],[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate",4,"ngIf"],["mat-button","",1,"gmat-button","medium","primary","valign-middle-mat-button-wrapper",3,"routerLinkObj"],
["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",3,"ngClass"],["class","bv2-create-component-external-warning",3,"ngClass",4,"ngIf"],["class","bv2-validation-error-banner","role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponentChange","selectedComponent","shouldFocus",
"isRequired"],["class","bv2-create-field bv2-right-button",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[1,"create-issue-right-sidebar","padded-s-top"],[3,"componentId","issueTitle","issue","customFieldMap","headerChange",4,"ngIf"],[3,"onApply","onLoad","onCreate","selectedHotlistIds","choices"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,
"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],[1,"bv2-create-field","bv2-right-button"],["for","bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",
4,"ngIf"],["mat-menu-item","",3,"click"],[1,"bv2-validation-error-banner"],["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",4,"ngIf"],[3,"suggestionAccepted",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],["class","bv2-recent-issues-inline-container",
4,"ngIf"],["class","bv2-create-field bv2-create-issue-assignee",4,"ngIf"],["class","bv2-create-field bv2-create-issue-collaborators",4,"ngIf"],["class","bv2-create-field bv2-create-issue-cc",4,"ngIf"],[1,"bv2-create-issue-details"],["for","bv2-description"],[3,"commentChange","onChange","onSubmit","onRestrict","supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn"],["class","banned-words-warning break-word",
"warning","",4,"ngIf"],["additionalToolbarItems","",3,"change","initialValue"],["class","bv2-create-issue-row access-level-row",4,"ngIf"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],["class","mat-elevation-z0 bg-secondary bordered",4,"ngIf"],["class","create-issue-recaptcha",4,"ngIf"],[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,"description"],[3,"suggestionAccepted"],[1,"banned-words-warning","break-word"],["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",3,
"click",4,"ngFor","ngForOf"],["for","bv2-type",1,"required"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"click","title"],[1,"bv2-recent-issues-inline-container"],[1,"bv2-recent-issues-toggle-container"],["tabindex","0",1,"bv2-recent-issues-toggle",3,"click","keydown.enter","keydown.space"],["class","bv2-recent-issues-inline",4,"ngIf"],[1,"bv2-recent-issues-inline"],[3,"headerChange","componentId","hideHeader","showInline","issueTitle",
"issue","customFieldMap"],[1,"bv2-create-field","bv2-create-issue-assignee"],["for","bv2-assignee"],[1,"overflow-hidden"],["id","bv2-assignee","type","text","name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],[1,"bv2-create-field","bv2-create-issue-collaborators"],["for","bv2-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions",
"matTooltipPosition","above","svgIcon","help-outline","tabindex","0",1,"collaborators-tooltip-icon"],["id","bv2-collaborators","type","text","name","collaborators","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],[1,"bv2-create-field","bv2-create-issue-cc"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],["warning","",1,"banned-words-warning",
"break-word"],[1,"bv2-create-issue-row","access-level-row"],["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","implicitAccessEnabled","defaultAccessLimitLevel"],["for","bv2-collaborator-groups","title","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"],[1,"mat-elevation-z0",
"bg-secondary","bordered"],["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","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],
["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModelChange","ngModel"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],
["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier","name","verifier","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],
["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],
["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],
[3,"value","options","includeEmptyOption","valueChange",4,"ngIf"],[3,"valueChange","id","value"],[3,"boundValueChange","boundValue","isRequired","bv2Id","bv2AriaLabelledby"],[3,"valueChange","value","options","includeEmptyOption"],["name","customInput","tabindex","0",3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate"],[1,"bg-off-main","rounded","bordered","padded-s-y","padded-l-x",3,"context","componentId"],[1,"create-issue-recaptcha"],[3,"onUpdate"],[3,"headerChange","componentId",
"issueTitle","issue","customFieldMap"],["mat-dialog-title",""],[1,"bv2-create-issue-default-description"],["mat-button","",3,"mat-dialog-close"],["mat-button","","mat-dialog-close",""],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){if(a&1){var c=v();G(0,"h2",6);S(1,"Create issue");I();G(2,"div",7)(3,"div",8)(4,"button",9);N("click",function(){x(c);
return y(b.back())});K(5,"mat-icon",10);I();G(6,"h2");S(7,"Create Issue");I();E(8,Kjb,1,2,"b-hotlist-picker",11)(9,Ljb,2,1,"a",12);I()();G(10,"div",13)(11,"div")(12,"div",14)(13,"form",15);E(14,Qjb,6,8,"div",16)(15,Zjb,4,3,"div",17)(16,akb,2,1,"div",18);G(17,"div",19)(18,"div",20)(19,"div",21)(20,"label",22);S(21,"Component");I()();G(22,"div",23)(23,"b-team-component-picker",24);N("selectedComponentChange",function(e){x(c);return y(zJc(b,null!==e&&void 0!==e?e:null))});I()()();E(24,dkb,11,5,"div",
25);I();E(25,ekb,3,0,"div",26)(26,blb,43,40,"div",27);I()();G(27,"div",28);E(28,clb,1,4,"b-magic-box",29);I()()();E(29,dlb,11,2,"ng-template",null,0,Eg)(31,glb,5,5,"ng-template",null,1,Eg)}if(a&2){var d;A(8);F("ngIf",b.canEditIssuesInComponent);A();Uf((d=b.issue.componentId)?9:-1,d);A(4);F("ngClass",Ag(13,pJc,b.submitRequested));A();F("ngIf",Njb(b)||Ojb(b));A();F("ngIf",b.submitRequested&&!b.isValid());A();F("ngIf",0<b.selectedHotlists.length);A(7);F("selectedComponent",b.selectedComponent)("shouldFocus",
!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);A();F("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);A();F("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);A();F("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);A(2);F("ngIf",!b.shouldShowSimilarIssues)}},dependencies:[LK,mV,PU,$S,
wO,vZ,HO,dB,WA,cY,kx,bh,cx,dx,ux,wx,jx,hx,GX,OT,iE,EX,AT,T3,CA,DA,gR,Ey,aR,bR,jz,RA,SA,TA,UA,X3,Y3,Z3,mE,IC,HC,JC,NR,OR,nE,OC,U3,gN,Cw,Dw,zw,Hw,nB,yV,HX,I3,L3,Q3,AR,VK,Iw],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}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-button.mat-flat-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}.create-issue-right-sidebar[_ngcontent-%COMP%]{display:none}@media (min-width:1100px){.create-issue-right-sidebar[_ngcontent-%COMP%]{display:inline-block;min-width:300px;max-width:400px;position:absolute}}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var jlb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},HJc=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var TJc=["form"],d4=function(a,b,c,d,e,f,h,l){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=f;this.appHistory=l;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};h.setTitle("Create SLO")};g=d4.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");wr(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){wr(a.butterBar,"SLO "+b.name+" saved.",2E3);Wo(a.analytics,"SLO","create");a.bLocation.replaceUrl(a.paths.editSlo(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){O0(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};d4.\u0275fac=function(a){return new (a||d4)(C(QF),C(bK),C(qI),C(RF),C(ZI),C(pI),C(qH),C(N0))};
d4.\u0275cmp=r({type:d4,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&lg(TJc,5);if(a&2){var c;pg(c=qg())&&(b.createSloForm=c.first)}},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=v();G(0,"div",
1)(1,"div",2)(2,"b-button",3);N("onAction",function(){x(c);return y(b.back())});K(3,"b-icon",4);I()()();G(4,"div",5)(5,"h2",6)(6,"span",7);S(7,"Create a new SLO");I()();G(8,"div",8)(9,"form",9,0);K(11,"b-error-banner",10);G(12,"div",11)(13,"label",12);S(14,"Name");I();G(15,"input",13);N("ngModelChange",function(d){x(c);return y(b.sloUnderEdit.name=d)});I()();G(16,"div",11)(17,"label",14);S(18,"Description");I();G(19,"textarea",15);N("ngModelChange",function(d){x(c);return y(b.sloUnderEdit.description=
d)});S(20,"        ");I()();G(21,"div",11)(22,"slo-elements-picker",16);N("onCollectionUpdate",function(d){x(c);return y(b.updateCollection(d))})("onValidation",function(d){x(c);return y(b.elementPickerIsValid=d)});I()();G(23,"p",17);S(24," Access controls may be defined once the slo is created. ");I();G(25,"div",18)(26,"b-button",19);N("onAction",function(){x(c);return y(b.save())});S(27," Save ");I();G(28,"b-button",20);N("onAction",function(){x(c);return y(b.revertChanges())});S(29," Revert changes ");
I()()()()()}a&2&&(A(9),Qf("show-errors",b.error),A(2),F("error",b.error),A(),Qf("bv2-edit-resource-readonly",b.isSaving),A(3),F("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),A(),Qf("bv2-edit-resource-readonly",b.isSaving),A(3),F("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),A(3),F("isDisabled",!1)("collection",b.sloUnderEdit.elements),A(4),F("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||
!b.elementPickerIsValid),A(2),F("disabled",!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[LK,j_,cY,kx,bh,cx,dx,ux,jx,hx,iE,C0],encapsulation:2});var e4=function(){this.nextPanelId=1};e4.\u0275fac=function(a){return new (a||e4)};e4.\u0275prov=Pc({token:e4,factory:e4.\u0275fac,providedIn:"root"});var f4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka){Z.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=f;this.userApi=h;this.bookmarkGroupsApi=l;this.hotlistApi=q;this.butterBar=t;this.pageTitle=w;this.dashboards=B;this.routeParams=D;this.appSearchState=H;this.userAccess=O;this.errorHandler=P;this.statusMessages=U;this.appEvents=aa;this.hotlistFridge=pa;this.issueFridge=ka;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=J.getUserEmail();this.groupId=D.groupId||null};Y(f4,Z);f4.\u0275dir=Z.\u0275dir;
f4.prototype.ngOnInit=function(){var a=this;this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.loadBookmarkGroup().then(function(b){UJc(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){VJc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){VJc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){VJc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){VJc(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 slb=function(a,b){var c=b.selectedIssues;if(a=WJc(a,b.panelId))a.selectedIssues=null!=c?c:[]},rlb=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=k(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},WJc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},XJc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};g=f4.prototype;
g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];ki(d,c)||(d&&wa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;Wo(this.analytics,this.ANALYTICS_CATEGORY,"createHotlist");wr(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);wr(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;wr(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=k(a);for(var d=a.next();!d.done;d=a.next()){d=k(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=k(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(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(this.panels);for(var e=b.next();!e.done;e=b.next()){e=k(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();wr(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return kJ(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(l){wr(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),t=q.next();!t.done;t=q.next()){t=k(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next()){var B=void 0;w.value.lastViewedTime=null!=(B=l)?B:null}}}).catch(function(l){for(var q=k(c.panels),t=q.next();!t.done;t=q.next()){t=k(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next())w=w.value,w.isRead=!!w.lastViewedTime&&w.lastViewedTime>=w.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
lNa(a).map(function(l){return l.fieldName});Wo(this.analytics,this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};wr(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(u(c.searchPanels),u(c.hotlistPanels))),t=q.next();!t.done;t=q.next()){t=t.value;var w=l;if(t.searchResults){t.searchResults=t.searchResults.clone();for(var B=0,D=k(t.searchResults.issues),J=D.next();!J.done;J=D.next()){J=J.value;if(w.affectedIssues[J.issueId]){var H=
w.affectedIssues[J.issueId];H=Uwa(H,w.componentMap[Number(sa(H.snapshot).componentId)]);H.selected=J.selected;t.searchResults.issues[B]=H;t.resultsLoaded.emit([t.searchResults.issues[B]])}B++}}}l.errors&&l.errors.length?(q=esa(l.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),Wo(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=eic(c.statusMessages,h))?wr(c.butterBar,l):wr(c.butterBar,"Saved "+mNa(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){NG(a.userAccess,"admin","bookmarkGroups/"+b.bookmarkGroupId).then(function(c){a.isAdmin=c;a.cdr.detectChanges()});a.pageTitle.setTitle(b.name);return b},function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)})};var UJc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return YJc(a,c,0===d?0:void 0)})};
f4.prototype.removePanel=function(a){var b=this,c=WJc(this,a);if(null!=c){wr(this.butterBar,"Saving changes...",0);a=li(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!ZJc(b,c,e)});$Jc(this,a)}};
var VJc=function(a,b,c){b=XJc(a,b);if(void 0!==b){var d=a.panels[b];c=c(b);if(c>=a.panels.length||0>c)a.$log.warn("Trying to move panel "+d.panelId+" to "+c);else{b=li(a.bookmarkGroup);var e,f,h=null==(e=a.bookmarkGroup)?void 0:null==(f=e.item)?void 0:f.findIndex(function(l){return ZJc(a,d,l)});void 0!==h&&(Jaa(b.item,h,c),$Jc(a,b))}}},$Jc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;aKc(a,a.bookmarkGroup.item);wr(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},ZJc=function(a,b,c){switch(b.type){case "HOTLIST":return c.hotlistId===b.resourceId;case "SAVED_SEARCH":return c.savedSearchId===b.resourceId;default:return a.$log.warn("Unknown type of a panel: "+b.type),!1}},bKc=function(a,b){return a.panels.find(function(c){return ZJc(a,c,b)})},YJc=function(a,b,c){var d=null,e=null;switch(b.resourceType){case "HOTLIST":d="HOTLIST";e=b.hotlistId;break;case "SAVED_SEARCH":d="SAVED_SEARCH";
e=b.savedSearchId;break;default:a.$log.warn("Unsupported item: "+b)}a=a.dashboards;b=a.nextPanelId;a.nextPanelId++;return{panelId:b,resourceId:e,type:d,focusedRowIndex:null!=c?c:null,selectedIssues:[]}},aKc=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=bKc(a,c))?d:YJc(a,c)})};
f4.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)}):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)})};f4.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
f4.\u0275fac=function(a){return new (a||f4)(C(ME),C(RF),C(QF),C(uF),C(ZI),C(fH),C(QI),C(kL),C(EG),C(pI),C(qH),C(e4),C(vQ),C(Zr),C(jM),C(LG),C(qI),C(lQ),C(gH),C(RI),C(iJ))};
f4.\u0275cmp=r({type:f4,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(lg(g0,5),lg(e0,5));if(a&2){var c;pg(c=qg())&&(b.searchPanels=c);pg(c=qg())&&(b.hotlistPanels=c)}},features:[wg([ME]),Ff],decls:9,vars:5,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"],[4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"bv2-dashboard-title"],
[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-dashboard-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"ngSwitch"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first",
"last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"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&&(G(0,"h2",0),S(1,"Dashboard"),I(),G(2,"div",1)(3,"div",2),S(4,"Bookmark groups dashboard"),I(),G(5,"b-dashboard-controls",3),N("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),I()(),G(6,"div",4),E(7,qlb,8,3,"div",5)(8,vlb,3,3,"div",6),I());a&2&&(A(5),F("hotlistChoices",b.hotlistChoices)("panels",b.panels),A(),F("bFocus",
!0),A(),F("ngIf",b.bookmarkGroup),A(),F("ngForOf",b.panels))},dependencies:[BX,xL,g0,e0,Dw,zw,Ew,Fw,cY,nE,OC],encapsulation:2});var g4=function(){};g4.\u0275fac=function(a){return new (a||g4)};g4.\u0275mod=hd({type:g4});g4.\u0275inj=Rc({imports:[CX,tM,h0,f0,rE,dY,vE]});var cKc=["editBookmarkGroupItemsContainer"],dKc=["bookmarkGroupName"],Vlb=function(a){return{"bv2-edit-resource-readonly":a}},Xlb=function(a){return{displayText:"Admins",values:a}},Wlb=function(a){return[a]},h4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa){Z.call(this);var pa=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=f;this.hotlistApi=h;this.paths=l;this.appHistory=q;this.pageTitle=t;this.userAccess=w;this.errorHandler=
D;this.appEvents=H;this.snackBar=O;this.confirmationDialog=P;this.cdr=U;this.documentationLinks=aa;this.selectedTabIndex=0;this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.selectedHotlistIds=[[]];this.userHotlists=[];this.userSavedSearches=null;this.savedSearchChoices=[];this.currentUserEmail=J.getUserEmail();this.accessPolicyUnderEdit=yp();this.flattenedAccessPolicy=yp();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);eKc(this);fKc(this);Promise.all([a,b]).then(function(){var ka;null==(ka=pa.bookmarkGroupNameInput)||ka.nativeElement.focus()});this.subscriptions.add(jY(B,function(){return pa.hasUnsavedChanges()},!1));B=function(){eKc(pa)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(B));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(B));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){fKc(pa)}))};
Y(h4,Z);h4.\u0275dir=Z.\u0275dir;g=h4.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};g.back=function(){O0(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!ki(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!ki(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=li(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[gKc(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];hKc(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=li(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",vh("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"),function(){a.doSaveAccessPolicy()})};
g.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",vh("Do you want to archive this bookmark group?"),function(){iKc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",vh("Do you want to unarchive this bookmark group?"),function(){iKc(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});jKc(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=Ap(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=zp(c);a.accessPolicyUnderEdit=li(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var iKc=function(a,b){var c=li(a.bookmarkGroup);"archive"===b?(a.snackBar.open('Archiving bookmark group "'+a.bookmarkGroup.name+' ..."',"dismiss",{duration:0}),c.archived=!0):(a.snackBar.open('Unarchiving bookmark group "'+a.bookmarkGroup.name+' ..."',"dismiss",{duration:0}),c.archived=!1);a.isArchiving=!0;a.bookmarkGroupsApi.update(c).then(function(d){"archive"===b?a.snackBar.open('Archived bookmark group "'+a.bookmarkGroup.name+'"."',"dismiss",{duration:2E3}):a.snackBar.open('Unarchived bookmark group "'+
a.bookmarkGroup.name+'"."',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});jKc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
h4.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){jKc(b,c);b.selectedHotlistIds=[gKc(b.bookmarkGroup.item)];hKc(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var jKc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=li(a.bookmarkGroup)};
h4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=zp(c);b.accessPolicyUnderEdit=li(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};h4.prototype.loadUserAccess=function(a){var b=this;return NG(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var eKc=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},fKc=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;hKc(a);a.cdr.detectChanges()})},hKc=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=kKc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
zlb=function(a,b){var c=Number(b);xa(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});lKc(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},Blb=function(a,b){xa(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});hKc(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},Olb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:vc(b.resourceType)}},Jlb=function(a,b){for(var c=k(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$450:void 0},d=c.next()){var f=k(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$450=qi(d);f&&!b.oldSelectionMap[e.id$jscomp$450]?(Mlb(a,e.id$jscomp$450),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.id$jscomp$450}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$450]&&
!f&&(lKc(a,e.id$jscomp$450),xa(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.id$jscomp$450}}(e)))}},Mlb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},lKc=function(a,b){wa(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Flb=function(a,b){-1===kKc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});
setTimeout(function(){hKc(a)})},kKc=function(a){return a?esa(a,"savedSearchId"):[]},gKc=function(a){return a?esa(a,"hotlistId"):[]},Klb=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)},Llb=function(a,b){var c=b.hotlistId;a.snackBar.open("Loading hotlist "+
c);return a.hotlistApi.get(c).then(function(d){a.userHotlists.push(d);b.successCallback(d);return d},b.errorCallback)};h4.prototype.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:vc(a.resourceType)}};h4.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
h4.\u0275fac=function(a){return new (a||h4)(C(vQ),C(QF),C(pI),C(TH),C(QI),C(kL),C(EG),C(RF),C(N0),C(qH),C(LG),C(iY),C(qI),C(Zr),C(gH),C(lI),C(nL),C(ME,2),C(TM))};
h4.\u0275cmp=r({type:h4,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(lg(cKc,5),lg(dKc,5),lg(ZU,5,Wd));if(a&2){var c;pg(c=qg())&&(b.editBookmarkGroupItemsContainer=c.first);pg(c=qg())&&(b.bookmarkGroupNameInput=c.first);pg(c=qg())&&(b.tabs=c)}},features:[wg([ME]),Ff],decls:9,vars:3,consts:[["bookmarkGroupName",""],["bookmarkItems",""],["editBookmarkGroupItemsContainer",""],["savedSearchMenu","matMenu"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button",
"","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary",3,"disabled","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary",3,"click","disabled"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[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",3,"ngClass"],["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"],[4,"ngIf","ngIfElse"],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],[3,"usersChange",
"isValid","users","includeAliases","includeViewAliases","containerChips"],[1,"edit-field"],["target","_blank",3,"href"],[1,"resource-archived"],["for","edit-bookmark-group-items-container"],["role","region","aria-label","Selected items","id","edit-bookmark-group-items-container",1,"keep-focus-ring","edit-bookmark-group-items-container"],["class","bv2-bookmark-item-chip",4,"ngFor","ngForOf"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],
[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices","checkEditAcl"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"itemSelect","showGroups","allowStarring"],["class","edit-bookmark-group-saved-search-picker",4,"ngIf"],[1,"bv2-bookmark-item-chip"],["class","bv2-saved-search-chip b-chip yellow split",4,"ngIf"],["class","edit-bookmark-group-none-select",4,"ngIf"],[3,"removeHotlist","id"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"left","interactive",
3,"href","matTooltip"],["role","button","tabindex","0",1,"right","interactive",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"edit-bookmark-group-none-select"],[1,"edit-bookmark-group-saved-search-picker"],["for","add-from-saved-searches-button"],["id","add-from-saved-searches-button","mat-button","","aria-describedby","select-from-saved-searches-button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["id","select-from-saved-searches-button"],["svgIcon","arrow-dropdown","color",
"primary"],["matMenuContent",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-bookmark-group-view-items"],[4,"ngFor","ngForOf"],[3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(G(0,"div",4)(1,"div",5)(2,"div",6)(3,"button",7),N("click",function(){return b.back()}),K(4,"mat-icon",
8),I(),E(5,wlb,2,1,"button",9)(6,xlb,2,1,"button",9),I()()(),G(7,"div",10),E(8,Ylb,48,40,"ng-container",11),I());a&2&&(A(5),F("ngIf",b.isAdmin&&!b.isArchived()),A(),F("ngIf",b.isAdmin&&b.isArchived()),A(2),F("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[Cw,Dw,zw,nB,nE,OC,CA,dV,ZU,$U,j_,MX,OT,TL,bh,cx,ux,jx,mE,IC,HC,GC,JC,nV],styles:[".edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);min-height:20px;padding:4px 6px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]   span.edit-bookmark-group-none-select[_ngcontent-%COMP%]{line-height:20px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);margin-top:-10px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]{padding:10px;display:block}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);min-height:20px;padding:4px 6px 4px 8px;width:586px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:2px}.edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%], .edit-bookmark-group-items-container[_ngcontent-%COMP%]{box-sizing:border-box}.edit-button-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:8px}/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var mKc=["savedSearchNameInput"],cmb=function(a){return{"bv2-edit-resource-readonly":a}},emb=function(a){return{displayText:"Admins",values:a}},dmb=function(a){return[a]},i4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P){Z.call(this);var U=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=l;this.documentationLinks=t;this.userAccess=B;this.errorHandler=D;this.snackBar=J;this.confirmationDialog=H;this.cdr=
O;this.appEvents=P;this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.currentUserEmail=q.getUserEmail();this.accessPolicyUnderEdit=yp();this.flattenedAccessPolicy=yp();this.pageTitle.setTitle("Saved Search Overview");a=this.loadSavedSearch(this.routeParams.savedSearchId);b=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);Promise.all([a,
b]).then(function(){var aa;null==(aa=U.savedSearchName)||aa.nativeElement.focus()});this.subscriptions.add(jY(w,function(){return U.hasUnsavedChanges()},!1))};Y(i4,Z);i4.\u0275dir=Z.\u0275dir;g=i4.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};
g.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=li(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=zp(c);b.accessPolicyUnderEdit=li(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return NG(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(){O0(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=li(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=li(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!ki(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!ki(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=li(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};g.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",vh("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"),function(){a.doSaveAccessPolicy()})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=Ap(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=zp(c);a.accessPolicyUnderEdit=li(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(Yn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",vh("Do you want to delete this saved search?"),function(){a.doDelete()})};
g.doDelete=function(){var a=this;this.snackBar.open("Deleting saved search "+this.savedSearch.name,"dismiss",{duration:0});this.isDeleting=!0;this.savedSearchApi.delete(this.savedSearch.searchId).then(function(){a.snackBar.open("Deleted saved search "+a.savedSearch.name,"dismiss",{duration:0});a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId,action:"delete"});F8b(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
g.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};i4.\u0275fac=function(a){return new (a||i4)(C(vQ),C(QF),C(TH),C(VJ),C(RF),C(N0),C(pI),C(qH),C(Zr),C(TM),C(iY),C(LG),C(qI),C(lI),C(nL),C(ME,2),C(gH))};
i4.\u0275cmp=r({type:i4,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(lg(mKc,5),lg(ZU,5,Wd));if(a&2){var c;pg(c=qg())&&(b.savedSearchName=c.first);pg(c=qg())&&(b.tabs=c)}},features:[wg([ME]),Ff],decls:9,vars:3,consts:[["savedSearchNameInput",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary","matTooltip","Delete saved search",
3,"disabled","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"click","disabled"],[1,"edit-resource-header"],[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",3,"ngClass"],["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"],["class","edit-button-row",4,"ngIf"],["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"],[1,"edit-field"],["target","_blank",3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(G(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),N("click",function(){return b.back()}),K(4,"mat-icon",5),I(),E(5,Zlb,2,1,"button",6),I()()(),G(6,"div",7),E(7,$lb,4,0,"ng-container",8)(8,fmb,51,38,
"ng-container",8),I());a&2&&(A(5),F("ngIf",b.isAdmin),A(2),F("ngIf",!b.isLoading&&!b.savedSearch),A(),F("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[Cw,zw,nB,nE,OC,CA,dV,ZU,$U,j_,bh,cx,ux,jx,nV],encapsulation:2});var j4=function(a){this.internalArray_=m(a)};Y(j4,n);g=j4.prototype;g.getAuthor=function(){return Gi(this,xi,1)};g.setAuthor=function(a){hj(this,xi,1,a)};g.hasAuthor=function(){return Ui(this,xi,1)};g.getTimestamp=function(){return Gi(this,aj,2)};g.setTimestamp=function(a){return hj(this,aj,2,a)};g.hasTimestamp=function(){return Ui(this,aj,2)};g.getAdd=function(){return Gi(this,Fo,3)};g.setAdd=function(a){return hj(this,Fo,3,a)};g.getRemove=function(){return Gi(this,Fo,4)};
g.setRemove=function(a){return hj(this,Fo,4,a)};g.getAddMask=function(){return Gi(this,cn,5)};g.setAddMask=function(a){return hj(this,cn,5,a)};g.getRemoveMask=function(){return Gi(this,cn,6)};g.setRemoveMask=function(a){return hj(this,cn,6,a)};g.getFieldUpdatesList=function(){return Ii(this,IG,7,hi())};j4.repeatedFields_=[7];var nKc=function(a){this.internalArray_=m(a)};Y(nKc,n);nKc.prototype.getIt=function(){return Gi(this,j4,7)};nKc.prototype.setIt=function(a){return hj(this,j4,7,a)};nKc.prototype.hasIt=function(){return Ui(this,j4,7)};var k4=function(a){this.internalArray_=m(a,0,k4.messageId)};Y(k4,n);k4.prototype.getUpdatesList=function(){return Ii(this,nKc,1,hi())};k4.repeatedFields_=[1];k4.messageId="b.SloHistory";var l4=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};l4.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),oKc(this,a))};var oKc=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:k4}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(MEa)}})};
l4.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};l4.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};l4.\u0275fac=function(a){return new (a||l4)(p(aG),p(IE))};l4.\u0275prov=Pc({token:l4,factory:l4.\u0275fac,providedIn:"root"});var m4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa){Z.call(this);var pa=this;this.routeParams=a;this.bLocation=b;this.appHistory=d;this.butterBar=e;this.pageTitle=f;this.documentationLinks=l;this.userAccess=t;this.accessPolicyApi=w;this.sloApi=B;this.sloUpdatesApi=D;this.sloUpdatesService=J;this.errorHandler=H;this.matDialogService=O;this.analytics=P;this.confirmationDialogService=U;this.appEvents=aa;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(pa.validity).some(function(ka){return!ka})};this.editableAccessPolicy=yp();this.flattenedAccessPolicy=yp();this.subscriptions.add(jY(q,function(){return pa.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Vn("SLO",qi(a));if(this.sloEnabled=h.isInternalSession())this.pageTitle.setTitle("SLO Overview"),pKc(this,a),this.loadUserAccess(a),this.loadAccessPolicy(a),
qKc(this,a);this.alertState={getValue:function(){return pa.editableCopy?"ON"===pa.editableCopy.alertState:!1},getSavedValue:function(){return pa.slo?"ON"===pa.slo.alertState:!1},setValue:function(ka){pa.editableCopy&&(pa.editableCopy.alertState=ka?"ON":"OFF")}};this.currentUserEmail=h.getUserEmail()};Y(m4,Z);m4.\u0275dir=Z.\u0275dir;
m4.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.bLocation.hash(e,!0)};m4.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};m4.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var pKc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=li(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
m4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=zp(c);b.editableAccessPolicy=li(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var rKc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return tFc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=m4.prototype;
g.loadUserAccess=function(a){var b=this;NG(this.userAccess,"admin",Vn("SLO",qi(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!ki(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!ki(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;sKc(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:xh([vh("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."),yh("br"),yh("br"),vh("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:MB})};
var jmb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:vh("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:MB}):c()}},sKc=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};
m4.prototype.save=function(){var a=this,b=this.editableCopy;wr(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.';sKc(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");wr(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=li(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);Wo(a.analytics,sq.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};m4.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:vh("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:MB}):this.doSaveAccessPolicy()};
m4.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Ap(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;wr(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){wr(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=zp(c);a.editableAccessPolicy=li(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);Wo(a.analytics,
sq.EDIT_SLO,"updateAccessPolicy")},function(c){a.butterBar.showWarning(Yn(c),0)}).finally(function(){a.isUpdating=!1})};m4.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var qKc=function(a,b){rKc(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&"buganizer-system@google.com"===Zk(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===Zk(d.author)&&(a.isUneditedFromBugScope=!0)}})};g=m4.prototype;
g.isRevokingDirectAdmin=function(){if(ki(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;sKc(this.slo.elements,this.editableCopy.elements)?this.editableCopy=li(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:xh([vh("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=li(a.slo)},onDismiss:MB})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=li(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){O0(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;rKc(this,this.slo.sloId).then(function(){a.matDialogService.open(L2,{width:"600px",data:{updateDiffs:a.historyDiffs}});Wo(a.analytics,sq.UPDATE_HISTORY_MODAL,"open");Wo(a.analytics,sq.EDIT_SLO,"viewHistory")})};
m4.\u0275fac=function(a){return new (a||m4)(C(vQ),C(QF),C(RF),C(N0),C(pI),C(qH),C(Zr),C(TM),C(iY),C(LG),C(TH),C(bK),C(l4),C(J0),C(qI),C(QA),C(ZI),C(nL),C(gH))};
m4.\u0275cmp=r({type:m4,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&lg(ZU,5,Wd);if(a&2){var c;pg(c=qg())&&(b.tabs=c)}},features:[Ff],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"],["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],
["gmat-tabs","",1,"bv2-tab-bar",3,"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"],["class","edit-field permission-toggle",
3,"bv2-edit-resource-readonly",4,"ngIf"],["id","bs-warning",4,"ngIf"],[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"],["class","edit-button-group",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],
["for","slo-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases"],["target","_blank",3,"href"],["class","edit-button-row",4,"ngIf"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"change","checked","disabled"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["id","bs-warning"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"onAction",
"disabled"],["tooltip","Discard any changes",3,"onAction","disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled","onAction",4,"ngIf"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction",4,"ngIf"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"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&&(G(0,"div",1)(1,"div",2)(2,"b-button",3),N("onAction",function(){return b.back()}),K(3,"b-icon",4),I()()(),G(4,"div",5),E(5,gmb,2,0,"div",6)(6,omb,55,32,"div",7),I());a&2&&(A(5),F("ngIf",b.isLoading),A(),F("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[LK,zw,kx,bh,cx,dx,ux,jx,hx,iE,dV,ZU,$U,nV,KM,LM,C0,GL],encapsulation:2});var n4=function(a,b,c,d,e){Z.call(this);var f=this;this.contextSensitiveRegistry=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.imageUrls=e;this.TEA_DARK=this.imageUrls.TEA_DARK;this.TEA_LIGHT=this.imageUrls.TEA_LIGHT;this.getStatus=function(h){return h.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(z(function(h){return{path:"/issues",params:{q:"blockedbyid:"+h}}}));this.issue$=this.id$.pipe(wf(this.issues.watch));this.blockingIds$=this.issue$.pipe(z(function(h){var l;
return null!=(l=null==h?void 0:h.snapshot[0].blockingIssueId)?l:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(wf(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(z(function(h){return h.filter(bo)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(z(function(h){return h.map(function(l){return String(l.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(z(function(h){return h.filter(function(l){return UCa(l)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(z(function(h){return h.map(function(l){return String(l.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(h){return[{type:"action",label:"Remove this relationship",action:function(){var l=Gk(f.id$);null!=l&&f.issues.removeBlocking(l,[String(h)]).catch(f.gotErr)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(h){var l=Gk(f.id$);null!=l&&f.issues.addBlocking(l,h).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(Yn(h)||"Error with network request","close",{panelClass:"error"})}};Y(n4,Z);
n4.\u0275dir=Z.\u0275dir;var pmb=function(a){a.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},a.didChooseBlocking)};n4.\u0275fac=function(a){return new (a||n4)(C(TK),C(iJ),C(mX),C(lI),C(XM))};
n4.\u0275cmp=r({type:n4,selectors:[["ng-component"]],features:[Ff],decls:5,vars:6,consts:[["hasResults",""],["notLoaded",""],["noBlockedAndOpen",""],[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",1,"light-only",3,"src"],["aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/block-issue",
"target","_blank",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip","Add something this issue is blocking",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"section-heading","muted"],[3,"issueIds","menuItemFactory",4,"ngIf"],[3,"issueIds","menuItemFactory"],[1,"muted","margin-bottom"],[1,"unstyled","reverse-padded-sides"],[4,"ngFor","ngForOf"],[1,"padded-x",3,"routerLink"],[1,"right"],["mat-icon-button","","aria-label","",1,"gmat-button",
"invisible"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(G(0,"section",3),E(1,Dmb,4,2,"ng-container",4),V(2,"async"),I(),E(3,Emb,2,0,"aside",5),V(4,"async"));a&2&&(A(),F("ngIf",W(2,2,b.blockingIds$)),A(2),F("ngIf",W(4,4,b.thinking$)))},dependencies:[Dw,zw,oF,CA,DA,nE,OC,GL,P3,Iw],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 o4=function(){};o4.\u0275fac=function(a){return new (a||o4)};o4.\u0275mod=hd({type:o4});o4.\u0275inj=Rc({providers:[UIc],imports:[Zy]});var p4=function(){};p4.\u0275fac=function(a){return new (a||p4)};p4.\u0275mod=hd({type:p4});p4.\u0275inj=Rc({imports:[Vx,BA,lA,rE,yx,cD,o4,eX,fV,vE,zx,sF,c0,$W,MK,aX,QN,wM,RV,VQ,WW,yO]});var q4=function(){};q4.\u0275fac=function(a){return new (a||q4)};q4.\u0275mod=hd({type:q4});q4.\u0275inj=Rc({imports:[rE,lA,BA,yx,zx,sF,cD,fV,vE,VW,yM,QN,wM,p4]});var r4=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};r4.\u0275fac=function(a){return new (a||r4)};
r4.\u0275cmp=r({type:r4,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:3,vars:6,consts:[["size","medium",3,"email",4,"ngFor","ngForOf"],[4,"ngIf"],["size","medium",3,"email"],[1,"link-button","subtle-link",3,"click","title"]],template:function(a,b){a&1&&(E(0,Fmb,1,1,"b-user-image",0),V(1,"slice"),E(2,Hmb,2,1,"ng-container",1));a&2&&(F("ngForOf",uma(1,2,b.emails,b.limit)),A(2),F("ngIf",0<b.emails.length-b.limit))},dependencies:[Dw,zw,OQ,Pw],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 Imb=function(){return[]},s4=function(){this.makeCritiqueUrl=fHa;this.submitted=[];this.pending=[]};s4.\u0275fac=function(a){return new (a||s4)};
s4.\u0275cmp=r({type:s4,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",4,"ngIf"],[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","class","subtle-link","title",
"Number of pending CLs associated with all of these issues",3,"href",4,"ngIf"],["target","_blank","title","Number of pending CLs associated with all of these issues",1,"subtle-link",3,"href"]],template:function(a,b){a&1&&E(0,Kmb,7,3,"div",0);a&2&&F("ngIf",b.submitted.length+b.pending.length)},dependencies:[zw],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 t4=function(){this.joinerStr=""};Ac.Object.defineProperties(t4.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(null!=a){var b=hDa(1049928)(a);this.startDate=sBa(null==b?void 0:b.dateValue);a=hDa(1049953)(a);this.endDate=sBa(null==a?void 0:a.dateValue);this.startDateShortStr=tBa(this.startDate);this.endDateShortStr=tBa(this.endDate);this.joinerStr=this.endDate?"\u2192":""}}}});t4.\u0275fac=function(a){return new (a||t4)};
t4.\u0275cmp=r({type:t4,selectors:[["issue-timeframe"]],inputs:{issue:"issue"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",4,"ngIf"],[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"],["class","margin-xs-right date",3,"title",4,"ngIf"],["class","date",3,"title",4,"ngIf"],[1,"margin-xs-right","date",3,"title"],[1,"date",3,"title"]],template:function(a,b){a&1&&E(0,Nmb,4,2,"div",
0);a&2&&F("ngIf",b.startDate||b.endDate)},dependencies:[zw,nB,Lw],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var tKc=function(){this.makePie=gHa;this.useXofYLabel=!1};tKc.\u0275fac=function(a){return new (a||tKc)};tKc.\u0275cmp=r({type:tKc,selectors:[["progress-pie"]],inputs:{closed:"closed",total:"total"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",3,"title","click",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"click","title"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&E(0,Omb,7,14,"div",0);a&2&&F("ngIf",0<b.total)},dependencies:[zw,Ow],encapsulation:2,changeDetection:0});var Qmb=function(){return[]},u4=function(a,b,c,d){Z.call(this);var e=this;this.issueRelationshipsFridge=a;this.metadataFridge=b;this.issueFridge=c;this.changelistFridge=d;this.id$=new X.ReplaySubject(1);this.issue$=this.id$.pipe(wf(this.issueFridge.watchOne));this.metadata$=this.id$.pipe(wf(this.metadataFridge.watchOne));this.closedAndTotal$=this.metadata$.pipe(z(HCa));this.metadata$.pipe(z(JCa));this.emails$=this.metadata$.pipe(z(KCa));this.pendingCls$=(0,X.combineLatest)([this.id$,this.metadata$]).pipe(wf(function(f){var h=
k(f);f=h.next().value;h=h.next().value;var l;h=null!=(l=null==h?void 0:h.issueIds)?l:[];l=[f].concat(u(h));return e.changelistFridge.watchMany({pendingForIssues:l})}),z(function(f){return f.results}));this.subscriptions.add((0,X.merge)(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFridge.memoryWasSet$,this.issueFridge.collectiveMemoryWasSet$).pipe(hf(this.id$),jf(2E3)).subscribe(function(f){return void e.metadataFridge.poke(f[1])}))};
Y(u4,Z);u4.\u0275dir=Z.\u0275dir;Ac.Object.defineProperties(u4.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});u4.\u0275fac=function(a){return new (a||u4)(C(BJ),C(EH),C(iJ),C(PH))};
u4.\u0275cmp=r({type:u4,selectors:[["rollups-project"]],inputs:{id:"id"},features:[Ff],decls:9,vars:12,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"closed","total",4,"ngIf"],[3,"issue"],[3,"submitted","pending",4,"ngIf"],[3,"emails",4,"ngIf"],[3,"closed","total"],[3,"submitted","pending"],[3,"emails"]],template:function(a,b){a&1&&(G(0,"section",0),E(1,Pmb,1,2,"progress-pie",1),V(2,"async"),K(3,"issue-timeframe",2),V(4,"async"),E(5,Rmb,2,5,"cl-counts",3),V(6,"async"),E(7,Smb,
1,1,"avatar-bunch",4),V(8,"async"),I());a&2&&(A(),F("ngIf",W(2,4,b.closedAndTotal$)),A(2),F("issue",W(4,6,b.issue$)),A(2),F("ngIf",W(6,8,b.metadata$)),A(2),F("ngIf",W(8,10,b.emails$)))},dependencies:[zw,r4,s4,tKc,t4,Iw],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 Vmb=function(a){this.internalArray_=m(a)};Y(Vmb,n);g=Vmb.prototype;g.getFilename=function(){return ec(this,1)};g.setFilename=function(a){Zh(this,1,a)};g.getLineNumber=function(a){return Fu(this,2,a)};g.getChangeNumber_asLegacyNumberOrString=function(){return Zi(this,3)};g.setChangeNumber=function(a){return pj(this,3,a)};Vmb.repeatedFields_=[2];var Xmb=function(a){this.internalArray_=m(a)};Y(Xmb,n);Xmb.repeatedFields_=[2];var uKc=function(a){this.internalArray_=m(a,0,uKc.messageId)};Y(uKc,n);uKc.repeatedFields_=[3];uKc.messageId="b.MentionSearchResult";var v4=function(a){this.executor=a};v4.\u0275fac=function(a){return new (a||v4)(p(IE))};v4.\u0275prov=Pc({token:v4,factory:v4.\u0275fac,providedIn:"root"});var w4=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},vKc=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=J$b(a.refreshMonitor,(0,X.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:uKc}).then(Ymb).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(vf({link:c}))).pipe(tf({refCount:!0,bufferSize:1})));return a.cachedEntry};
w4.prototype.displayPackageNames=function(a){var b;a=null==(b=a.mentions)?void 0:b.packageMentionSet;var c;return 1<(null==a?void 0:a.length)||"piper"!==(null==a?void 0:null==(c=a[0])?void 0:c.packageName)};w4.prototype.trackSqueegeeClick=function(){Wo(this.analytics,"codeMentions","clickSqueegeeLink")};w4.\u0275fac=function(a){return new (a||w4)(p(v4),p(gJ),p(ZI))};w4.\u0275prov=Pc({token:w4,factory:w4.\u0275fac,providedIn:"root"});var y4=function(a,b,c,d,e,f,h){var l=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=f;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(kf(1E3));this.issue$=this.id$.pipe(wf(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(wf(this.eventsForIssue.watch),z(function(q){var t;return null!=(t=null==q?void 0:q.events)?t:[]}));this.blockerIssueIds$=this.issue$.pipe(z(function(q){var t;return null!=
(t=null==q?void 0:q.snapshot[0].blockedByIssueId)?t:[]}),lf(ki));this.blockedIssueIds$=this.issue$.pipe(z(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].blockingIssueId)?t:[]}),lf(ki));this.parentIds$=this.issue$.pipe(z(function(q){var t;return null!=(t=null==q?void 0:q.parentIssueIds)?t:[]}),lf(ki));this.childrenIds$=this.id$.pipe(wf(this.issueRelationshipsFridge.watch),z(function(q){var t;return null!=(t=null==q?void 0:q.relatedChildren.map(function(w){return w.targetIssueId}))?
t:[]}));this.duplicateIssueIds$=this.issue$.pipe(z(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].duplicateIssueId)?t:[]}),lf(ki));this.blockersDualCount$=(0,X.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(wf(function(q){var t=k(q);q=t.next().value;t=t.next().value;return x4(l,q,t,["BLOCKED_BY"])}),tf({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(z(Ar),tf({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,X.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(wf(function(q){var t=k(q);q=t.next().value;t=t.next().value;return x4(l,q,t,["BLOCKING"])}),tf({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(z(Ar),tf({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,X.combineLatest)([this.id$,this.childrenIds$]).pipe(wf(function(q){var t=k(q);q=t.next().value;t=t.next().value;return x4(l,q,t,["CHILDREN"])}),tf({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(z(Ar),
tf({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,X.combineLatest)([this.id$,this.parentIds$]).pipe(wf(function(q){var t=k(q);q=t.next().value;t=t.next().value;return x4(l,q,t,["PARENT"])}),tf({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(z(Ar),tf({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,X.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(wf(function(q){var t=k(q);q=t.next().value;var w=t.next().value;t=t.next().value;
return x4(l,q,[].concat(u(t),u(w)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(z(Ar),tf({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,X.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(wf(function(q){var t=k(q);q=t.next().value;t=t.next().value;return x4(l,q,t,["DUPLICATE"])}),tf({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(z(function(q){return q.total}),z($mb),tf({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(z(function(q){var t;return null!=(t=null==q?void 0:q.relatedLinks)?t:[]}),z(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(t){return!FKa(t)})}),z(function(q){return Br(q.length)}),z($mb),tf({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Ce(Ei),wf(function(q){return vKc(l.codeMentions,q)}),z(function(q){var t,w;return Br(null!=(w=null==(t=q.mentions)?void 0:t.totalMentions)?w:0)}),z($mb),tf({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(z(function(q){return Br(q.filter(Zn).length)}),z($mb),tf({bufferSize:1,refCount:!0}))},x4=function(a,b,c,d){d=void 0===d?[]:d;c=Rj(c);if(!b||0===c.length)return(0,X.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return anb(b,e)}).filter(Ei).map(function(e){return"("+e+")"}).join(" OR ");return 99<c.length&&d?a.issueApi.listIssues(d,{p:1,count:100}).then(function(e){e=e.issues.filter(bo).filter(co).length;return{open:Br(e),
total:Br(c.length)}}):(0,X.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(z(function(e){return{open:Br(e.filter(Ei).filter(bo).filter(co).length),total:Br(e.filter(function(f){return!f||co(f)}).length)}}))};y4.\u0275fac=function(a){return new (a||y4)(p(tK),p(BJ),p(iJ),p(w4),p(fH),p(BI),p(Zr))};y4.\u0275prov=Pc({token:y4,factory:y4.\u0275fac,providedIn:"root"});var z4=function(a,b,c,d,e,f,h,l,q){Z.call(this);var t=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.contextSensitiveRegistry=e;this.issuePermissionService=f;this.issuePicker=h;this.errorHandler=l;this.counts=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(wf(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new Uv;this.tableColumns=[].concat(u(HIc));this.initialSort={active:"status",direction:"asc"};
this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(z(function(w){return null==w?void 0:w.snapshot[0]}),z(function(w){var B,D;return null!=(D=null==w?void 0:null==(B=w.blockedByIssueId)?void 0:B.map(String))?D:[]}));this.blockersCount$=this.blockerIds$.pipe(wf(function(w){return 0===w.length?(0,X.of)(0):t.counts.blockersDualCount$.pipe(z(function(B){return B.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(z(function(w){return 0<w}),vf(!0));
this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(w){return[{type:"action",label:"Remove blocker",action:function(){wKc(t,w)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var w=Gk(t.blockerIds$);if(null!=w){w=k(w);for(var B=w.next();!B.done;B=w.next())t.issueFridge.poke(B.value)}}))};Y(z4,Z);z4.\u0275dir=Z.\u0275dir;
var inb=function(a){var b;return me(function(c){b=Gk(a.issueId$);if(null==b)return c.return();Wo(a.analytics,sq.EDIT_ISSUE,"update","add-blocker");return oe(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){xKc(a,b,d)}),0)})},xKc=function(a,b,c){me(function(d){return 0===c.length?d.return():oe(d,a.issueFridge.addBlockedBy(b,c).catch(function(e){sI(a.errorHandler,e)}),0)})},wKc=function(a,b){var c,d;me(function(e){if(1==e.nextAddress){c=Gk(a.issueId$);
if(null==c)return e.return();Wo(a.analytics,sq.EDIT_ISSUE,"update","remove-blocker");ne(e,2);return oe(e,a.issueFridge.removeBlockedBy(c,[b]),4)}if(2!=e.nextAddress)return au(e,0);d=re(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(Xn(d)?Yn(d):d));se(e)})};z4.\u0275fac=function(a){return new (a||z4)(C(iJ),C(pI),C(ZI),C(gJ),C(TK),C(EQ),C(mX),C(qI),C(y4))};
z4.\u0275cmp=r({type:z4,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&lg(P3,5);if(a&2){var c;pg(c=qg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[Ff],decls:16,vars:13,consts:[["noBlockersState",""],["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"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["class","muted",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort","options"],[1,"muted"],[1,"subtle-link","unstyled",3,"click"],[1,"emoji"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"onAction","disabled"]],template:function(a,b){a&1&&(G(0,"div",2)(1,"h4",3)(2,"div",4),K(3,"mat-icon",
5),I(),S(4),V(5,"async"),I(),E(6,cnb,2,1,"ng-container",6),V(7,"async"),I(),E(8,enb,3,3,"ng-container",7),V(9,"async"),E(10,fnb,4,2,"p",8),V(11,"async"),E(12,hnb,6,1,"ng-template",null,0,Eg)(14,jnb,3,3,"ng-template",null,1,Eg));a&2&&(a=R(13),A(4),T(" Blockers ",W(5,5,b.counts.countBlockersDisplay$)," "),A(2),F("ngIf",W(7,7,b.showBlockersTable$)),A(2),F("ngIf",W(9,9,b.showBlockersTable$))("ngIfElse",a),A(2),F("ngIf",W(11,11,null==b.issuesTable?null:b.issuesTable.hiddenRowCount$)))},dependencies:[zw,
Hw,nB,nE,OC,LK,P3,Iw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var yKc=function(a){this.imageUrls=a;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};yKc.\u0275fac=function(a){return new (a||yKc)(C(XM))};
yKc.\u0275cmp=r({type:yKc,selectors:[["b-issue-dependencies-onboarding-dialog"]],decls:16,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-kids-x","centered-inside"],["width","601","height","480","aria-hidden","true","alt","",1,"light-only",3,"src"],["width","601","height","480","aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"centered"],["href","https://developers.google.com/issue-tracker/concepts/parent-child-relationships","target","_blank",1,"nowrap"],["mat-dialog-actions",
""],["mat-flat-button","","color","primary","matDialogClose","","cdkFocusInitial","",1,"gmat-button"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"About Dependencies"),I(),G(2,"div",1)(3,"div",2),K(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),I(),G(8,"article")(9,"p",5),S(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. "),G(11,"a",6),S(12,"Learn more"),I()()()(),G(13,"div",7)(14,
"button",8),S(15,"Ok"),I()());a&2&&(A(4),F("src",b.EMPTY_CHILD_LIGHT,Ye),A(),F("src",b.EMPTY_BLOCKER_LIGHT,Ye),A(),F("src",b.EMPTY_CHILD_DARK,Ye),A(),F("src",b.EMPTY_BLOCKER_DARK,Ye))},dependencies:[CA,RA,SA,TA,UA],styles:["article[_ngcontent-%COMP%]{text-align:center;max-width:30rem}img[_ngcontent-%COMP%]{flex-grow:1;max-width:45%;height:35.9400998336%}a[_ngcontent-%COMP%]:visited{color:#1a73e8;color:var(--link)}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mat-dialog-actions[_ngcontent-%COMP%]{margin-bottom:8px}"],
changeDetection:0});var zKc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},AKc=function(a,b){this.data=a;this.paths=b;this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=zKc};AKc.\u0275fac=function(a){return new (a||AKc)(C(PA),C(RF))};
AKc.\u0275cmp=r({type:AKc,selectors:[["b-issue-archive-dialog"]],decls:18,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["href","http://go/b-issue-archive","target","_blank"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"matDialogClose"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium",3,"matDialogClose"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"Archive with all descendant issues?"),
I(),G(2,"div",1),S(3),K(4,"br")(5,"br"),G(6,"a",2),S(7,"View all descendant issues"),I(),K(8,"br"),G(9,"a",3),S(10,"Learn more"),I()(),G(11,"div",4)(12,"button",5),S(13,"Cancel"),I(),G(14,"button",5),S(15," Just this one "),I(),G(16,"button",6),S(17," Archive all "),I()());a&2&&(A(3),T(" 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? "),A(3),fg("href",b.descendantIssuesUrl,
Ye),A(6),F("matDialogClose",b.ActionType.CANCEL),A(2),F("matDialogClose",b.ActionType.ARCHIVE_ONE),A(2),F("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[CA,RA,SA,TA,UA],encapsulation:2});var A4=function(a,b,c,d,e,f,h,l,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=l;this.editIssueService=q};
A4.prototype.submitArchivalState=function(a,b){var c=this;return me(function(d){if(1==d.nextAddress)return b?oe(d,c.archive(a),5):oe(d,c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);se(d)})};
A4.prototype.archive=function(a){var b=this,c,d,e,f,h,l,q,t,w,B;return me(function(D){if(1==D.nextAddress)return oe(D,Promise.all([b.getDescendants(a),(0,X.firstValueFrom)(b.issueFridge.watch(a))]),2);c=D.yieldResult;d=k(c);e=d.next().value;f=d.next().value;h=e;l=f;q=h;t=q.childToParents;w=q.completeResult;B=[].concat(u(t.keys()));t.set(a,l.parentIssueIds||[]);return 0===B.length?D.return(BKc(b,a,t)):w?D.return(CKc(b,a,B,t)):D.return(DKc(b,a,t))})};
var CKc=function(a,b,c,d){var e,f,h;return me(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},oe(l,(0,X.firstValueFrom)(a.dialog.open(AKc,f).afterClosed()),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(EKc(a,[b].concat(u(c)),d));case "ARCHIVE_ONE":return l.return(BKc(a,b,d));case "CANCEL":return l.return();default:return l.return(vc(h))}})},EKc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
FKc(a,c);wr(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){wr(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);GKc(a,c)})},BKc=function(a,b,c){FKc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){wr(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);GKc(a,c)})},DKc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:xh([vh("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."),yh("br",{}),yh("br",{}),yh("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),yh("br",{}),yh("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){BKc(a,b,c).then(d)},onDismiss:d})})},FKc=function(a,b){b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},GKc=function(a,b){b=[].concat(u(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
A4.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,l,q,t,w,B,D,J;return me(function(H){if(1==H.nextAddress)return oe(H,(0,X.firstValueFrom)(aac(b.issueRelationshipsFridge,a)),2);c=H.yieldResult;d=c.results;e=!0;f=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;t=k(q.relatedChildren);for(w=t.next();!w.done;w=t.next())B=w.value,D=void 0,J=null!=(D=f.get(B.targetIssueId))?D:[],J.push(q.issueId),f.set(B.targetIssueId,J);q.totalChildCount===q.relatedChildren.length||(e=!1)}return H.return({childToParents:f,
completeResult:e})})};A4.\u0275fac=function(a){return new (a||A4)(p(fH),p(QA),p(nL),p(BJ),p(iJ),p(BI),p(RF),p(pI),p(JQ))};A4.\u0275prov=Pc({token:A4,factory:A4.\u0275fac,providedIn:"root"});var B4=function(a){this.pathToAncestor=a},Dr=function(a){return new B4(a.split(">"))},HKc=function(a,b){return new B4([].concat(u(a.pathToAncestor),[b]))};B4.prototype.hash=function(){return this.pathToAncestor.join(">")};B4.prototype.equals=function(a){return!!a&&ki(this.pathToAncestor,a.pathToAncestor)};var IKc=function(a,b){a=k(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
B4.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};B4.prototype.some=function(a){return this.pathToAncestor.some(a)};B4.prototype.toString=function(){return this.hash()};
Ac.Object.defineProperties(B4.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 B4(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var C4=function(){var a=this;this.draftRows=new Map;this.changed$=new X.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};C4.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:HKc(a,d),level:a.size-1,issue$:(0,X.of)(b),afterDraftId:null==c?void 0:c.afterDraftId,afterIssueId:null==c?void 0:c.afterIssueId,id:d,saving:!1,draftStartedAt:new Date};this.set(a,b);return b};
C4.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};C4.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=k(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 JKc=function(a,b){return me(function(c){return c.return((0,X.firstValueFrom)(a.changed$.pipe(vf(a.draftRows),z(function(d){return![].concat(u(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Ce(Boolean),z(function(){}))))})};C4.prototype.isSaving=function(){return[].concat(u(this.draftRows.values())).flat().some(function(a){return a.saving})};C4.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(u(c),[b]));this.changed$.next(this.draftRows)};var KKc={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},LKc=function(a){var b=void 0;b=void 0===b?KKc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new X.ReplaySubject(1)},MKc=function(a,b){b=b.hash();return a.expansionState[b]},NKc=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},OKc=function(a,b,c){var d=!1;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;
var f=HKc(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===MKc(a,e)&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=k(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=k(l.value);var q=l.next().value;l=l.next().value;q=Dr(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new B4(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=l,d=!0)}}if(!MKc(a,b)){var t;
a.expansionState[b.hash()]=null!=(t=a.config.defaultExpandedChildren)?t:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var D4=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=bl(this.activeSession.getUserEmail())},QKc=function(a,b){var c,d,e;return me(function(f){if(1==f.nextAddress)return oe(f,PKc(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(LCa(d,e))})},SKc=function(a,b){var c;return me(function(d){if(1==d.nextAddress)return oe(d,RKc(a,b),2);c=d.yieldResult;return d.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})})},TKc=function(a,b,c){var d;return me(function(e){if(1==e.nextAddress)return oe(e,RKc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
D4.prototype.create=function(a){var b=this,c,d;return me(function(e){return 1==e.nextAddress?oe(e,b.issueApi.createIssue({snapshot:a}),2):3!=e.nextAddress?(c=e.yieldResult,d=c.issueId,oe(e,b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var RKc=function(a,b){var c,d,e,f,h;return me(function(l){if(1==l.nextAddress)return oe(l,(0,X.firstValueFrom)(a.issueFridge.watch(b).pipe(Ce(Ei))),2);if(3!=l.nextAddress)return c=l.yieldResult,oe(l,PKc(a,String(c.snapshot[0].componentId)),3);d=l.yieldResult;e=d.component;f=d.defaultTemplate;if(c){var q={};c.snapshot[0].priority&&(q.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(q.severity=c.snapshot[0].severity);c.snapshot[0].type&&(q.type=X$b[c.snapshot[0].type])}else q={};h=Object.assign({},
{componentId:e.componentId},{inProd:!1,status:"NEW",isDeleted:!1,deletionReason:"DELETION_REASON_UNSPECIFIED",isArchived:!1,formattingMode:"UNSPECIFIED_FORMATTING_MODE",reporterUser:a.currentUser,ccUsers:[a.currentUser]},q,UKc(f),VKc(e,f));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},UKc=function(a){if(!a)return{};a=ic(a.snapshot,function(b){return null==b||"string"===typeof b&&Rk(b)?!1:!0});delete a.componentId;return a},VKc=function(a,b){var c=[],d,e;a=k(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);e=a.next();for(d={};!e.done;d={customField$jscomp$46:void 0},e=a.next())if(d.customField$jscomp$46=e.value,d.customField$jscomp$46.required){var f=void 0;e=null!=(f=d.customField$jscomp$46.typedDefaultValue)?f:{customFieldId:d.customField$jscomp$46.customFieldId};var h=f=void 0,l=void 0,q=null!=(l=null==(f=b)?void 0:null==(h=f.snapshot.customField)?void 0:h.find(function(t){return function(w){return w.customFieldId===t.customField$jscomp$46.customFieldId}}(d)))?l:e;
q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},PKc=function(a,b){var c,d,e,f,h,l;return me(function(q){if(1==q.nextAddress)return oe(q,Promise.all([(0,X.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,X.firstValueFrom)(a.componentFridge.watch(b).pipe(Ce(Ei)))]),2);c=q.yieldResult;d=k(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return({component:l,defaultTemplate:h})})};D4.\u0275fac=function(a){return new (a||D4)(p(fH),p(Zr),p(iJ),p(ZH),p(uI))};
D4.\u0275prov=Pc({token:D4,factory:D4.\u0275fac,providedIn:"root"});var E4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J){c=void 0===c?1:c;Z.call(this);var H=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFridge=h;this.issuePicker=l;this.issueRelationshipsFridge=q;this.paths=t;this.router=w;this.issueCreationService=B;this.clearcut=D;this.refreshMonitor=J;this.defaultApiRequestDepth=this.defaultExpansionLevel+2;this.defaultExpandedChildren=10;this.saveExpansion=this.saveExpansionAtKey?
Aj(this.saveExpansionAtKey):function(){};this.expansion=new LKc(WKc(this));this.draftRows=new C4;this.refetchingAll$=new X.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(wf(function(){H.refetchingAll$.next(!0);var O=Gk(H.rows$),P=[];if(!O)return Promise.resolve();P.push(bac(H.issueRelationshipsFridge,H.rootIssueId,H.defaultApiRequestDepth));O=k(O);for(var U=O.next();!U.done;U=O.next())U=U.value,"data"===U.type&&P.push(H.issueFridge.poke(U.id)),U.level>H.defaultExpansionLevel&&
P.push(H.issueRelationshipsFridge.poke(U.id));return Promise.all(P).then(function(){H.refetchingAll$.next(!1)})}));this.rows$=(0,X.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,X.scheduled)((0,X.of)({}),X.asapScheduler)).pipe(wf(function(){return aac(H.issueRelationshipsFridge,H.rootIssueId,H.defaultApiRequestDepth)}),wf(function(){for(var O=new Map,P=k(Object.entries(H.expansion.expansionState)),U=P.next();!U.done;U=P.next()){U=k(U.value);var aa=U.next().value;
U=U.next().value;aa=Dr(aa).nodeId;var pa=void 0;U=Math.max(U,null!=(pa=O.get(aa))?pa:0);O.set(aa,U)}return XKc(H,O)}),hf(this.quickFilters.value$),wf(function(O){O=k(O);var P=O.next().value,U=O.next().value;return 0===U.size?(H.hiddenRowCount$.next(0),(0,X.of)(P)):YKc(H,P).pipe(z(function(aa){return ZKc(H,P,U,aa)}))}),z(function(O){return $Kc(H,O)}),tf({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new X.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Ce(Ei));this.ROOT_ROW=
{type:"data",id:this.rootIssueId,level:-1,ancestorChain:new B4([this.rootIssueId]),expandedCount:500,issue$:X.NEVER,hasChildren$:X.NEVER};this.supportsOneLineCreation=(0,X.firstValueFrom)(this.rootIssue$).then(function(O){return Ko(O.snapshot[0].componentId)}).then(function(O){return QKc(H.issueCreationService,O)});this.isOneLineCreationSupported=function(){return H.supportsOneLineCreation};this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(jf(100)).subscribe(this.saveExpansion))};
Y(E4,Z);E4.\u0275dir=Z.\u0275dir;E4.\u0275fac=Z.\u0275fac;
var WKc=function(a){a=a.saveExpansionAtKey;if(null!=a){a=lta(a)();a:if("object"!==typeof a||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=k(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if(c=c.value,!c||"number"!==typeof a[c]){b=!1;break a}b=!0}return b?a:void 0}},aLc=function(a,b,c){b=void 0===b?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,l,q,t;me(function(w){switch(w.nextAddress){case 1:return d=b.nodeId,oe(w,(0,X.firstValueFrom)(a.issueFridge.watch(d)),2);case 2:return(e=
w.yieldResult)?oe(w,a.supportsOneLineCreation,3):w.return();case 3:f=w.yieldResult;if(!f){w.jumpTo(4);break}return oe(w,SKc(a.issueCreationService,d),5);case 5:return h=w.yieldResult,w.return(a.draftRows.create(b,h,c));case 4:return l=e.snapshot[0].componentId,t={},oe(w,Fr(a.router,a.paths.createIssue((t.component=l?String(l):void 0,t.parentIssueId=e.issueId,t.redirectUrl=Vwa(a.rootIssueId),t.afterIssueId=null==(q=c)?void 0:q.afterIssueId,t))),6);case 6:return w.return()}})};
E4.prototype.addExistingChild=function(a){var b=this,c,d,e,f;me(function(h){if(1==h.nextAddress)return oe(h,(0,X.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return oe(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return me(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(f,l);Wo(b.analytics,sq.EDIT_ISSUE,"add","existing-child-issue");
return oe(q,Zo(),2)}a&&NKc(b.expansion,a.ancestorChain,500);se(q)})}),0)})};E4.prototype.saveDraft=function(a){var b=this,c;return me(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return oe(d,bLc(b,a),2)}return(c=d.yieldResult)?d.return(cLc(b,a,c)):d.return()})};
var bLc=function(a,b){var c,d,e,f;return me(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,ne(h,2),oe(h,TKc(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;au(h,3);break;case 2:return f=re(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var l=(new Date).getTime()-b.draftStartedAt.getTime();if(0<l){var q=Math.min(l,108E5);H$b("createIssue",q,"from-tree");Wo(a.analytics,sq.CREATE_ISSUE,
"createIssue","time-to-create-from-tree",q);UI(a.clearcut,l,"createIssue-fromTree")}NKc(a.expansion,b.ancestorChain.parentChain,500);l=a.draftRows;q=d;b.issueId=q;for(var t=k(l.draftRows.values()),w=t.next();!w.done;w=t.next()){w=k(w.value);for(var B=w.next();!B.done;B=w.next())B=B.value,B.afterDraftId===b.id&&(B.afterIssueId=q)}l.changed$.next(l.draftRows);return h.return(d)}})},cLc=function(a,b,c){var d,e,f,h,l,q;return me(function(t){if(1==t.nextAddress)return d=b.ancestorChain.parentNodeId,f=
null!=(e=b.afterIssueId)?e:b.afterDraftId,void 0===f||"-1"===f?t.jumpTo(2):oe(t,JKc(a.draftRows,f),2);if(4!=t.nextAddress)return oe(t,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=t.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(l));a.draftRows.remove(b);se(t)})},XKc=function(a,b,c){c=void 0===c?0:c;return(0,X.combineLatest)([a.rootIssueId].concat(u(b.keys())).map(function(d){return a.refetchingAll$.pipe(Ce(function(e){return!e}),
wf(function(){return $$b(a.issueRelationshipsFridge,d)}))})).pipe(wf(function(d){var e=new Map;d=k(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return(0,X.of)(e);d=dLc(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return XKc(a,d,c+1).pipe(z(function(h){var l=new Map(e);h=k(h.entries());for(var q=h.next();!q.done;q=h.next()){var t=k(q.value);q=t.next().value;t=t.next().value;l.set(q,t)}return l}))}))},dLc=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};0<a.length;e={current$jscomp$37:void 0})if(e.current$jscomp$37=a.pop(),e.current$jscomp$37.level===c&&d.push(e.current$jscomp$37.id),!(e.current$jscomp$37.level>c)){var f=void 0,h=void 0,l=null!=(h=null==(f=b.get(e.current$jscomp$37.id))?void 0:f.relatedChildren)?h:[];a.push.apply(a,u(l.map(function(q){return function(t){return{id:t.targetIssueId,level:q.current$jscomp$37.level+1}}}(e))))}return d},$Kc=function(a,b){for(var c=[],d=[a.ROOT_ROW],
e={};0<d.length;e={parentRow$jscomp$1:void 0,childrenLevel:void 0})if(e.parentRow$jscomp$1=d.pop(),"load-more-children"===e.parentRow$jscomp$1.type||"draft-issue"===e.parentRow$jscomp$1.type)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,l=null!=(h=null==(f=b.get(e.parentRow$jscomp$1.id))?void 0:f.relatedChildren)?h:[];f=l.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<l.length&&(h=HKc(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:l.length-f.length}));l=f.map(function(q){return function(t){var w=HKc(q.parentRow$jscomp$1.ancestorChain,t.targetIssueId),B=t.targetIssueId,D=q.childrenLevel,J=a.issueRelationshipsFridge.watch(t.targetIssueId).pipe(z(MDa));var H=q.childrenLevel;var O=w.nodeId,P=MKc(a.expansion,
w);if(void 0!==P)H=P;else if(H<a.defaultExpansionLevel){var U,aa;H=Math.min(a.defaultExpandedChildren,null!=(aa=null==(U=b.get(O))?void 0:U.relatedChildren.length)?aa:0)}else H=0;return{type:"data",id:B,level:D,hasChildren$:J,ancestorChain:w,expandedCount:H,issue$:a.issueFridge.watch(t.targetIssueId)}}}(e));d.push.apply(d,u(eLc(a,l,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},eLc=function(a,b,c){var d=[].concat(u(b));a=a.draftRows.get(c);a=k(a);var e=a.next();for(c={};!e.done;c={draft$jscomp$5:void 0},
e=a.next())c.draft$jscomp$5=e.value,b.some(function(f){return function(h){return h.id===f.draft$jscomp$5.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$5.afterDraftId||h.id===f.draft$jscomp$5.afterIssueId}}(c)),d.splice(-1===e?d.length:e+1,0,c.draft$jscomp$5));return d};
E4.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return me(function(l){if(1==l.nextAddress)return 0===b.length?l.return():oe(l,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return Yn(q)}))),l.return();se(l)})};
var YKc=function(a,b){for(var c=new Set,d=k(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=k(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,X.combineLatest)([].concat(u(c)).map(function(f){return a.issueFridge.watch(f)})).pipe(z(function(f){return f.filter(Ei)}))},ZKc=function(a,b,c,d){function e(q){if(!q)return!1;var t=f.get(q),w=h.get(q);if(!t||0===t.relatedChildren.length)return w;
var B=t.relatedChildren.filter(function(D){return e(D.targetIssueId)});l+=t.relatedChildren.length-B.length;f.set(q,Object.assign({},t,{relatedChildren:B}));return 0!==B.length||w}var f=new Map(b.entries()),h=new Map(d.map(function(q,t,w){return[q.issueId,Uhb(c,t,w)]})),l=0;e(a.rootIssueId);a.hiddenRowCount$.next(l);return f},F4=function(a,b,c,d,e,f,h,l,q,t){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=h;this.issueCreationService=
l;this.clearcut=q;this.refreshMonitor=t};F4.prototype.create=function(a,b,c,d){b=void 0===b?new GQ:b;return new E4(a,b,c,d,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};F4.\u0275fac=function(a){return new (a||F4)(p(ZI),p(pI),p(iJ),p(mX),p(BJ),p(RF),p(mF),p(D4),p(TI),p(gJ))};F4.\u0275prov=Pc({token:F4,factory:F4.\u0275fac,providedIn:"root"});var G4=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new X.Subject;this.onRowsMoved$=new X.Subject;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.activeDrag=!1;this.onDragOver=k0b(function(f,h){if(e.activeDrag){var l=f||0,q=h.getBoundingClientRect();f=q.height;l-=q.top;
f=mnb(l<=.25*f?"top":l>=.75*f?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var t=(l=null==(t=f.querySelector(".title-location"))?void 0:t.getBoundingClientRect().left)?l-f.getBoundingClientRect().left:0;t=f.offsetLeft+t;l="after"===h?f.offsetTop+
f.offsetHeight:f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=t+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-t+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};fLc(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,l=null==(h=f.target)?
void 0:h.closest("tr");if(l&&(e.onDragOver(f.clientY,l),l.classList.contains("dragging")||l.classList.contains("nodrop")))return!0;var q;if("none"===(null==(q=e.currentReorderingGuide)?void 0:q.position))return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){gLc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,hLc(e.rowSelectionModel),"mouse",4);gLc(e)})})};
G4.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(nnb(c));iLc(this.rowSelectionModel);jLc(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=1===this.rowSelectionModel.selectedCount?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=k(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var kLc=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)},lLc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=k(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if("load-more-children"===d.row.type){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
G4.prototype.moveUp=function(a){var b=a.element.previousElementSibling;if(b){if("load-more-children"===b.dataset.type){b=b.previousElementSibling;if(!b)return;b={position:"before",rowElement:b}}else b={position:"before",rowElement:b};this.reorder(b,[a.row.ancestorChain],"keyboard",0)}};
G4.prototype.moveDown=function(a){var b=this.rows.toArray();if(b=b.slice(b.findIndex(function(d){return d.row.ancestorChain.equals(a.row.ancestorChain)})+1).find(function(d){return d.row.level<=a.row.level})){var c=b.element.nextElementSibling;"load-more-children"===b.row.type?kLc(this,a):(b=c&&b.row.level<lnb(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
G4.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=nnb(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":kLc(this,b);break;case "ArrowRight":lLc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
G4.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=nnb(a.rowElement),h=void 0,l=f;switch(a.position){case "current":l=f;h={parentId:f.nodeId};break;case "before":case "after":l=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:knb(d)})})}};
var gLc=function(a){for(var b=k(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=k(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,f;null==(e=a.dragPreview)||null==(f=e.parentElement)||f.removeChild(a.dragPreview);
a.activeDrag=!1},fLc=function(a,b,c){if("current"!==c)a.longHoveredRow=void 0;else if(!b.classList.contains("dragging")&&!b.classList.contains("nodrop"))if(!a.longHoveredRow||a.longHoveredRow.row!==b)a.longHoveredRow={row:b,enterTime:Date.now()};else if(1E3<=Date.now()-a.longHoveredRow.enterTime&&!a.longHoveredRow.emitted){var d=a.rows.toArray().find(function(e){return nnb(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},jLc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(vf(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=k(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 H4=function(a){Z.call(this);var b=this;this.analytics=a;this.dragStarted$=new X.Subject;this.onRowsMoved$=new X.Subject;(0,X.merge)(this.dragStarted$,this.onRowsMoved$).pipe(mwa(),xf(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=Rj(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";Wo(b.analytics,sq.EDIT_ISSUE,"reorderChildren",c);H$b("reorderChildren",d,c)})};Y(H4,Z);H4.\u0275dir=Z.\u0275dir;
H4.\u0275fac=function(a){return new (a||H4)(p(ZI))};H4.\u0275prov=Pc({token:H4,factory:H4.\u0275fac,providedIn:"root"});var I4=function(){this.changed$=new X.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};I4.prototype.init=function(a){this.visibleRows=a};I4.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var $nb=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(vf(a.selectedRowHashes),z(function(f){return f.has(b.hash())}),lf(),tf({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
I4.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};I4.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var iLc=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=k(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Dr(e.value);for(var f=k(b),h=f.next();!h.done;h=f.next())h=h.value,IKc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},hLc=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return"data"===f.type}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(u(a.selectedRowHashes.values())).map(function(f){return Dr(f)}).map(function(f){return f.nodeId})),d=[];a=k(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};
Ac.Object.defineProperties(I4.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(u(this.selectedRowHashes)).map(function(a){return Dr(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var mLc=function(){return["focus-indicator","load-more-children"]},J4=sq.EDIT_ISSUE,nLc={type:"data",id:"",issue$:X.NEVER,hasChildren$:X.NEVER,ancestorChain:new B4([]),level:0,expandedCount:0},K4=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H){Z.call(this);var O=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=t;this.cdr=w;this.relationsTableModelFactory=B;this.liveAnnouncer=
D;this.clearcut=J;this.paths=H;this.defaultExpansionLevel=1;this.internalFilters=new GQ;this.isClosed=UCa;this.tableColumns=[].concat(u(IIc));this.options={};this.trackBy=function(P,U){return U.ancestorChain.hash()+U.type};this.isLoadMoreRow=function(P,U){return"load-more-children"===U.type};this.isDataRow=function(P,U){return"data"===U.type};this.isDraftRow=function(P,U){return"draft-issue"===U.type};this.selectionModel=new I4;this.hasLogged=!1;this.correctedDisplayedRows=new kg;this.TITLE_FIXED_OFFSET_PX=
42;this.rowDirectiveMap=new Map;this.getRowIndex=function(P){var U;return(null!=(U=Gk(O.rows$))?U:[]).findIndex(function(aa){return Cr(aa,P)})};this.showError=function(P){return function(U){O.butterBar.showWarning(P+". "+(Xn(U)?Yn(U):U))}};this.subscriptions.add(jY(l,function(){return O.tableModel.draftRows.isSaving()||O.issueRelationshipsFridge.isSaving()},!1))};Y(K4,Z);K4.\u0275dir=Z.\u0275dir;
K4.prototype.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=(0,X.scheduled)([this.tableModel.rows$,(0,X.of)([nLc])],X.asyncScheduler).pipe(xe(1),tf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(wf(function(c){return(0,X.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),jf(0,X.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();
oLc(a,c)}));this.rowReorderingModel=new G4(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?Unb(a,d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,MKc(c,d)||NKc(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return me(function(e){if(1==e.nextAddress)return fac(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")),OKc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),oe(e,(0,X.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(z(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),Ce(Boolean),Ee(6E4))),2);d=e.yieldResult;d.focus();se(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var oLc=function(a,b){if(!a.hasLogged&&0!==b.length){a.hasLogged=!0;var c=b.length,d=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;w$b(a.clearcut,"view-relations-"+(d?"all-loaded":"some-loaded"));Wo(a.analytics,J4,"view-relations","visible-count",c);d&&(b=b.filter(function(e){var f;return null!=(null==e?void 0:null==(f=e.snapshot[0])?void 0:f.effort)}).length/
c,c=.5<b?"most-estimated":"most-unestimated",w$b(a.clearcut,"view-relations-"+c),Wo(a.analytics,J4,"view-relations","ratio-estimated",b),Wo(a.analytics,J4,"view-relations",c))}};
K4.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,X.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(xf(this.destroyed$)).subscribe(function(b){b=k(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);og(a.correctedDisplayedRows)});this.focusManager=hy(new Zvc(this.correctedDisplayedRows,
Cr))};K4.prototype.toggleExpansion=function(a){NKc(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};K4.prototype.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(Wo(this.analytics,J4,"navigate","to-child-issue"),b=el(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?iq(this.domSafe,b):Fr(this.router,b))};
var Unb=function(a,b){var c;return me(function(d){if(1==d.nextAddress)return c=a.getRowIndex(b),NKc(a.tableModel.expansion,b.ancestorChain.parentChain,500),oe(d,Zo(),2);a.focusManager.setActiveItem(c);se(d)})},Qnb=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return pLc(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
K4.prototype.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!Gk(a.hasChildren$),action:function(){var c=gl({q:"parentid:"+a.id});b.domSafe.openInNewTab(c)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return me(function(c){if(1==c.nextAddress)return oe(c,
Zo(),2);qLc(b,a);se(c)})},title:"Create child",icon:"add",hintText:"Shift+Enter"},{type:"action",label:"Add child",action:function(){b.addExistingChild(a)},title:"Add existing issue as child",icon:"add"},{type:"action",label:"Create sibling",action:function(){return me(function(c){if(1==c.nextAddress)return oe(c,Zo(),2);rLc(b,a);se(c)})},title:"Create sibling",icon:"add",hintText:"Enter"},{type:"submenu",label:"Reorder",icon:"reorder_24px",items:[{type:"action",label:"Move up",action:function(){b.rowReorderingModel.moveUp(b.rowDirectiveMap.get(a.ancestorChain.hash()))},
title:"Move up",icon:"arrow-up",hintText:"shift+ctrl+up"},{type:"action",label:"Move down",action:function(){b.rowReorderingModel.moveDown(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move down",icon:"arrow-down",hintText:"shift+ctrl+down"},{type:"action",label:"Indent",action:function(){lLc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){kLc(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(){sLc(b,a)},title:"Archive issue",icon:"archive_24px"}]};
K4.prototype.saveDraft=function(a){var b=this,c,d;return me(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return oe(e,(0,X.firstValueFrom)(b.displayedRows.changes.pipe(z(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Ce(Boolean),Ee(6E4))),2)}c=e.yieldResult;Cr(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);se(e)})};
var Er=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Cr(null==(c=a.focusManager.activeItem)?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},qLc=function(a,b){aLc(a.tableModel,null==b?void 0:b.ancestorChain,{afterIssueId:"-1"})},rLc=function(a,b){"data"===b.type?aLc(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):aLc(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};K4.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var tLc=function(a){return a.tableColumns.map(function(b){return"title"===b?"editable-title":"menu"===b?"save":"id"===b?"empty-id":b})};K4.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
K4.prototype.onRowKeydown=function(a,b){var c=this,d;return me(function(e){switch(e.nextAddress){case 1:switch(b.keyCode){case 39:case 37:if(b.ctrlKey)break;"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(Unb(c,a),b.preventDefault());break;case 13:return e.jumpTo(2)}e.jumpTo(3);break;case 2:return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?oe(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();"data"===
a.type&&(b.shiftKey?qLc(c,a):rLc(c,a));"draft-issue"===a.type&&a.saving&&rLc(c,a);b.preventDefault();e.jumpTo(3);break;case 3:if("INPUT"===b.target.tagName)return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);se(e)}})};
var pLc=function(a,b,c){var d,e,f,h,l,q,t,w;return me(function(B){if(1==B.nextAddress)return b.defaultPrevented||"mouseup"===b.type&&b instanceof MouseEvent&&1!==b.button?B.return():oe(B,(0,X.firstValueFrom)(c.issue$),2);d=B.yieldResult;t={};w=a.paths.createIssue((t.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),t.parentIssueId=c.ancestorChain.parentChain.nodeId,t.redirectUrl=Vwa(a.rootIssueId),t.afterIssueId=c.afterIssueId,t.title=c.title,t.priority=null!=(l=null==(f=d)?void 0:f.snapshot[0].priority)?
l:void 0,t.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,t));if(b.ctrlKey||b.metaKey||b instanceof MouseEvent&&1===b.button)return Er(a,c),a.domSafe.openInNewTab(w),B.return();if(b&&b.shiftKey)return Er(a,c),iq(a.domSafe,w),B.return();Fr(a.router,w);se(B)})},sLc=function(a,b){var c,d;me(function(e){if(1==e.nextAddress)return Wo(a.analytics,J4,"update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),oe(e,(0,X.firstValueFrom)(a.rows$.pipe(z(function(f){return!f.find(function(h){return"data"===
h.type&&h.id===b.id})}),Ce(Boolean),Ee(6E4))),2);Cr(null==(d=a.focusManager.activeItem)?void 0:d.row,b)&&a.focusManager.setActiveItem(c);se(e)})};
K4.prototype.unlinkFromParent=function(a){var b=this,c,d;return me(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;Wo(b.analytics,J4,"update","unlink-child-issue");return oe(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){wr(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};K4.prototype.isOpen=function(a){return bo(a)};
K4.prototype.getAssigneeString=function(a){var b,c;return wFa(Zk(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};Ac.Object.defineProperties(K4.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.hiddenRowCount$}}});
K4.\u0275fac=function(a){return new (a||K4)(C(BJ),C(mF),C(pI),C(ZI),C(A4),C(He),C(Wd),C(iY),C(XN),C(H4),C(ME),C(F4),C(Ux),C(TI),C(RF))};
K4.\u0275cmp=r({type:K4,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&lg(QV,5);if(a&2){var c;pg(c=qg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumns:"tableColumns",options:"options"},features:[wg([ME]),Ff],decls:46,vars:10,consts:[["focusIndicator",""],["dragHandle",""],["saving",""],["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource",
"trackBy"],["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef",
"save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus",
"",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"expansionChange","issue","expandable","expanded","level"],[3,"issue"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],
[3,"issue",4,"ngSwitchDefault"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],[3,"issue","showPendingFix"],["buttonLabel","More options",3,"click","menuItems"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],[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-header-row",""],["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&&(G(0,"table",3),L(1,4),E(2,onb,1,0,"th",5)(3,pnb,2,0,"td",6),M(),L(4,7),E(5,qnb,1,0,"th",5)(6,rnb,3,0,"td",8),M(),L(7,9),E(8,snb,2,0,"th",5)(9,tnb,2,1,"td",10),M(),L(10,11),E(11,unb,2,0,"th",5)(12,vnb,2,0,"td",10),M(),L(13,12),E(14,wnb,2,0,"th",5)(15,xnb,4,8,"td",10),M(),L(16,13),E(17,ynb,2,0,"th",5)(18,znb,3,3,"td",10),M(),L(19,14),E(20,Cnb,4,2,"th",5)(21,Inb,4,2,"td",10),M(),L(22,15),E(23,Jnb,2,0,"th",5)(24,Knb,3,4,"td",10),M(),L(25,
16),E(26,Lnb,2,0,"th",5)(27,Mnb,3,3,"td",10),M(),L(28,17),E(29,Nnb,1,0,"th",5)(30,Onb,2,1,"td",10),M(),L(31,18),E(32,Pnb,1,0,"th",5)(33,Tnb,4,2,"td",19),M(),L(34,20),E(35,Vnb,6,7,"td",21),M(),L(36,22),E(37,Wnb,2,0,"th",5)(38,Xnb,7,6,"td",21),M(),E(39,Znb,2,1,"ng-container",23)(40,aob,3,12,"tr",24)(41,bob,1,4,"tr",25)(42,cob,1,2,"tr",26),I(),K(43,"div",27)(44,"div",28)(45,"div",29));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),A(39),F("ngIf",!b.options.hideColumnHeaders),A(),F("matRowDefColumns",
b.tableColumns)("matRowDefWhen",b.isDataRow),A(),F("matRowDefColumns",zg(9,mLc))("matRowDefWhen",b.isLoadMoreRow),A(),F("matRowDefColumns",tLc(b))("matRowDefWhen",b.isDraftRow))},dependencies:[Gx,zw,Ew,Fw,Gw,nB,TV,OW,BW,HW,DW,AW,JW,EW,GW,KW,MW,nE,OC,a0,EV,LK,QW,RW,HV,KV,SW,TW,ZW,ON,GL,QV,OQ,Iw],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-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-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 L4=function(a,b,c,d,e){Z.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new X.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=Vwa;this.tableColumns=[].concat(u(HIc));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return uLc(f,h)},title:"Unlink parent",icon:"link"}]};
this.showError=function(h){return function(l){f.butterBar.showWarning(h+". "+(Xn(l)?Yn(l):l))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=k(f.parentIssueIds$.value),l=h.next();!l.done;l=h.next())f.issueFridge.poke(l.value)}))};Y(L4,Z);L4.\u0275dir=Z.\u0275dir;L4.prototype.ngOnInit=function(){};
var uLc=function(a,b){var c;return me(function(d){Wo(a.analytics,sq.EDIT_ISSUE,"update","remove-parent");c=a.issueId;return oe(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};Ac.Object.defineProperties(L4.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(null!=a?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.hiddenRowCount$}}});
L4.\u0275fac=function(a){return new (a||L4)(C(iJ),C(pI),C(ZI),C(gJ),C(BJ))};
L4.\u0275cmp=r({type:L4,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&lg(P3,5);if(a&2){var c;pg(c=qg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[Ff],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","options","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(E(0,dob,2,6,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.parentIssueIds$))},dependencies:[zw,P3,Iw],encapsulation:2,
changeDetection:0});var M4=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 Uv;this.onConfirm=new Uv;this.onCancel=new Uv;this.internalSelectedOptions=new GQ};M4.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};M4.prototype.cancel=function(a){this.onCancel.emit();a.close()};
Ac.Object.defineProperties(M4.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});M4.\u0275fac=function(a){return new (a||M4)};
M4.\u0275cmp=r({type:M4,selectors:[["select-menu"]],inputs:{buttonSize:"buttonSize",buttonAriaLabel:"buttonAriaLabel",buttonSvgIcon:"buttonSvgIcon",buttonTooltip:"buttonTooltip",showActiveState:"showActiveState",overlayTitle:"overlayTitle",options:"options",selectedOptions:"selectedOptions",confirmButtonLabel:"confirmButtonLabel",cancelButtonLabel:"cancelButtonLabel",showActionButtons:"showActionButtons"},outputs:{onChange:"onChange",onConfirm:"onConfirm",onCancel:"onCancel"},decls:11,vars:15,consts:[["trigger",
"onedevPopupPanelTrigger"],["optionsPanel","onedevPopupPanel"],["mat-icon-button","","onedevPopupPanelTrigger","","aria-haspopup","true",1,"gmat-button",3,"click","onedevPopupPanelTriggerFor","color","matTooltip"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],[1,"padded-s","flex-kids-y"],["class","title margin-s-x padded-s",4,"ngIf"],["class","flex-kids-x",4,"ngFor","ngForOf"],["class","badge",3,"title",4,"ngIf"],[1,"badge",3,"title"],[1,"title","margin-s-x","padded-s"],
[1,"flex-kids-x"],[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"change","checked"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",1,"cancel",3,"click"],["mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=v();G(0,"button",2,0);V(2,"async");N("click",function(){x(c);var d=R(1),e;null!=(e=d.isOpen)&&e?d.close():d.open();return y()});K(3,"mat-icon",3);E(4,fob,3,3,"ng-container",
4);I();G(5,"onedev-popup-panel",5,1)(7,"div",6);E(8,gob,2,1,"h1",7)(9,job,7,5,"div",8)(10,kob,7,2,"ng-container",4);I()()}a&2&&(a=R(6),Qf("large","large"===b.buttonSize)("small","small"===b.buttonSize),F("onedevPopupPanelTriggerFor",a)("color",b.showActiveState&&W(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip),Hf("aria-label",b.buttonAriaLabel),A(3),F("svgIcon",b.buttonSvgIcon),A(),F("ngIf",b.showActiveState),A(4),F("ngIf",b.overlayTitle),A(),F("ngForOf",b.options),
A(),F("ngIf",b.showActionButtons))},dependencies:[Dw,zw,nB,CA,KM,LM,oE,nE,OC,qO,rO,Iw],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 vLc=function(){return[]},qob=function(a){return{filteredCount:a}},N4=function(a,b,c,d,e,f,h,l,q,t,w,B,D){Z.call(this);var J=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=f;this.element=h;this.analytics=l;this.issuePermissionService=q;this.activeSession=t;this.counts=w;this.matDialog=B;this.butterBar=D;this.recallFilters=lta("deps-filters");this.saveFilters=Aj("deps-filters");this.isThinking$=(0,X.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(z(function(H){return H.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Ce(Ei),z(Ko));this.issue$=this.brain.issueJs$.pipe(Ce(Ei));this.parentIds$=this.issue$.pipe(z(function(H){var O;return null!=(O=null==H?void 0:H.parentIssueIds)?O:[]}));this.parentIssues$=this.parentIds$.pipe(wf(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(z(function(H){return H.filter(co).length}));this.childrenIds$=this.issueId$.pipe(wf(this.issueRelationshipsFridge.watch),
z(function(H){var O;return null!=(O=null==H?void 0:H.relatedChildren.map(function(P){return P.targetIssueId}))?O:[]}));this.totalDaysOpen$=this.issue$.pipe(z(function(H){var O,P;return(null==(O=OCa(H))?void 0:null==(P=O.effort)?void 0:P.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(z(function(H){var O,P;return(null==(O=OCa(H))?void 0:null==(P=O.effort)?void 0:P.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(z(function(H){return H.length}));this.isTotalEstimatesEnabled=
hE(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=hE(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=(0,X.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(z(function(H){var O=k(H);H=O.next().value;O=O.next().value;return H+O}));this.totalDaysDisplayPercent$=Kob(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=
(0,X.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(z(function(H){var O=k(H);H=O.next().value;var P=O.next().value;O=O.next().value;return Lob(Math.round(100*H)/100)+" completed | "+Lob(Math.round(100*P)/100)+" open | "+O+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new X.Subject;this.issueFilters=new GQ;this.ISSUE_FILTER_OPTIONS=[{key:yr.OPEN.key,title:yr.OPEN.displayAs,description:"Hides closed issues"},
{key:yr.ASSIGNED_TO_ME.key,title:yr.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,X.firstValueFrom)(U_a("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(xf((0,X.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var H=function(){FFc(J.routePerformance,"issue-details-w-tree")};requestAnimationFrame(H);setTimeout(H)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(Vhb))}catch(H){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(H){J.saveFilters([].concat(u(H)))}))};
Y(N4,Z);N4.\u0275dir=Z.\u0275dir;
var Gob=function(a){var b,c;return me(function(d){if(1==d.nextAddress)return Wo(a.analytics,sq.EDIT_ISSUE,"update","add-parent"),oe(d,(0,X.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issueId;return oe(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){wLc(a,c,e)}),0)})},wLc=function(a,b,c){var d=k(c).next().value,e,f,h,l;me(function(q){if(1==q.nextAddress)return(e=d)?oe(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();f=q.yieldResult;
h=f.errors;return(null==(l=h)?0:l.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):oe(q,a.issueFridge.poke(b),0)})};N4.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};N4.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};N4.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||qLc(a)};
N4.prototype.openLearnMore=function(){this.matDialog.open(yKc,{maxWidth:"1300px",width:"90%"})};N4.\u0275fac=function(a){return new (a||N4)(C(CQ),C(mX),C(BJ),C(iJ),C(mF),C(Q0),C(Wd),C(ZI),C(EQ),C(Zr),C(y4),C(QA),C(pI))};
N4.\u0275cmp=r({type:N4,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(lg(K4,5),lg(z4,5),lg(L4,5));if(a&2){var c;pg(c=qg())&&(b.relationsTable=c.first);pg(c=qg())&&(b.blockersTable=c.first);pg(c=qg())&&(b.parentsTable=c.first)}},features:[Ff],decls:15,vars:13,consts:[["filterInfo",""],["addParent",""],["addChildren",""],["noParentsState",""],["progressHovercard","onedevHovercard"],["effortHovercard","onedevHovercard"],[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],
[4,"ngIf"],["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle","Only show issues that are",3,"onChange","options","selectedOptions","showActionButtons","showActiveState"],["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"],["class","pos-rel carded margined-s bg-main flex-kids-y gap-l",4,"ngIf"],[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",4,"ngIf","ngIfElse"],[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"],["class","progress-header",4,"ngIf"],["class","margin-s-bottom",3,"id",4,"ngIf"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[3,"issueId","parentIds","filters"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"muted"],[1,"progress-header"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],
[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["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-bottom",3,"id"],["class","muted",4,"ngIf"],[1,"subtle-link","unstyled",3,"click"],["size","small","title","Add a parent of the current issue",1,"add",3,"onAction","disabled"],["class","add","size","small","title","Create an issue as a child",3,"disabled","onAction",4,"ngIf"],["size","small","title","Add an existing issue as a child",1,"add",3,"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=v();G(0,"div",6);E(1,lob,1,0,"b-spinner",7);V(2,"async");G(3,"select-menu",8);V(4,"async");N("onChange",function(e){x(c);return y(b.issueFilters.reset(e))});I();G(5,"button",9);N("click",function(){x(c);return y(b.openLearnMore())});K(6,"mat-icon",10);I()();E(7,Dob,41,48,"div",11);V(8,"async");E(9,Fob,1,1,"ng-template",null,0,Eg)(11,Hob,3,3,"ng-template",null,1,Eg)(13,Job,4,4,"ng-template",null,2,Eg)}if(a&2){var d;A();F("ngIf",W(2,
6,b.isThinking$));A(2);F("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(d=W(4,8,b.issueFilters.value$))&&void 0!==d?d:zg(12,vLc))("showActionButtons",!1)("showActiveState",!0);A(4);F("ngIf",W(8,10,b.issueId$))}},dependencies:[zw,Hw,nB,JL,OL,CA,nE,OC,LK,M4,GL,u4,z4,K4,L4,Iw,Ow],styles:["b-issue-dependencies h4 button{margin:-8px 0}b-issue-dependencies h4 button.gmat-button.mat-stroked-button.small{line-height:21px}b-issue-dependencies .carded{padding-top:0;margin-top:0}b-issue-dependencies .table-header{margin-top:0;margin-bottom:4px}b-issue-dependencies .status{padding:4px 16px}b-issue-dependencies .status b-spinner{margin-top:4px}b-issue-dependencies .status mat-icon{margin-top:-1px}b-issue-dependencies b-issue-relations-table{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 O4=function(a){this.imageUrls=a;this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};Ac.Object.defineProperties(O4.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=a?jHa(a):void 0}}});O4.\u0275fac=function(a){return new (a||O4)(C(XM))};
O4.\u0275cmp=r({type:O4,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},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"],["class","subtle-link",3,"routerLink",4,"ngIf"]],template:function(a,b){a&1&&(G(0,"div",0),K(1,"img",1),S(2," \u00a0 "),E(3,Nob,1,1,"a",2)(4,Oob,1,1),I());a&2&&(A(),F("src",b.LOGO_LIGHT,Ye),A(2),Uf(b.searchPageUrl?3:4))},
dependencies:[zw,oF],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 P4=function(){};P4.\u0275fac=function(a){return new (a||P4)};P4.\u0275mod=hd({type:P4});P4.\u0275inj=Rc({imports:[rE,fV,UC,sF,cD,VQ]});var xLc=function(){return[]},Q4=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.changelistFridge=b;this.query$=new X.ReplaySubject(1);this.issues$=this.query$.pipe(wf(function(d){return c.issueFridge.watchMany(d)}),z(function(d){return d.results}));this.emails$=this.issues$.pipe(z(function(d){return d.map(PCa).filter(Ei)}),z(Rj));this.submittedClLinks$=this.issues$.pipe(z(function(d){return d.flatMap(function(e){var f,h,l;return null!=(l=null==(f=e.snapshot)?void 0:null==(h=f[0])?void 0:
h.changelist)?l:[]})}));this.pendingCls$=this.issues$.pipe(z(function(d){return d.map(function(e){return e.issueId})}),wf(function(d){return c.changelistFridge.watchMany({pendingForIssues:d})}),z(function(d){return d.results}))};Y(Q4,Z);Q4.\u0275dir=Z.\u0275dir;Q4.prototype.getHotlistId=function(){if("hotlist"===Vo(this.ref))return Uo(this.ref)};Ac.Object.defineProperties(Q4.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});
Q4.\u0275fac=function(a){return new (a||Q4)(C(iJ),C(PH))};
Q4.\u0275cmp=r({type:Q4,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[Ff],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",4,"ngIf"],[1,"shrink-0","margin-left-auto"],["mat-stroked-button","","class","gmat-button small pop-out-link","target","_blank",3,"href",4,"ngIf"],[3,"emails"],["mat-stroked-button","","target","_blank",1,"gmat-button","small",
"pop-out-link",3,"href"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(G(0,"section",0)(1,"div",1),K(2,"issue-count",2),V(3,"async"),K(4,"cl-counts",3),V(5,"async"),V(6,"async"),E(7,Pob,1,1,"avatar-bunch",4),V(8,"async"),I(),G(9,"div",5),E(10,Qob,3,1,"a",6),I()());if(a&2){var c,d,e;A(2);F("ref",b.ref)("count",null==(c=W(3,6,b.issues$))?null:c.length);A(2);F("submitted",null!==(d=W(5,8,b.submittedClLinks$))&&void 0!==d?d:zg(14,xLc))("pending",null!==(e=W(6,10,b.pendingCls$))&&void 0!==
e?e:zg(15,xLc));A(3);F("ngIf",W(8,12,b.emails$));A(3);var f=void 0===f?Lj():f;a=b.getHotlistId();F("ngIf",null!=a&&f?"https://taskflow.corp.google.com/hotlists/"+a:void 0)}},dependencies:[zw,nB,DA,r4,s4,O4,Iw],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}.pop-out-link[_ngcontent-%COMP%]   .icon-xs[_ngcontent-%COMP%]{margin-top:-3px;margin-right:-4px}\n/*# sourceMappingURL=rollups_list.css.map */"],
changeDetection:0});var R4=function(a){var b=this;this.prefsService=a;this.isNumeric=Xo;this.isActive=function(){return yLc(b,b.prefsService.prefs,b.filter.key)};this.active$=this.prefsService.prefs$.pipe(z(function(c){var d;return yLc(b,c,null==(d=b.filter)?void 0:d.key)}))};
R4.prototype.onClick=function(){var a=!this.isActive();if(null!=this.prefKey){var b=this.prefsService,c=this.prefKey;a=a?this.filter.key:void 0;var d;b.prefs.workAreaQuickFilters=null!=(d=b.prefs.workAreaQuickFilters)?d:{};a?b.prefs.workAreaQuickFilters[c]=a:delete b.prefs.workAreaQuickFilters[c];Qr(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})}};var yLc=function(a,b,c){if(null==b||null==a.prefKey)return!1;var d;return(null==(d=b.workAreaQuickFilters)?void 0:d[a.prefKey])===c};
Ac.Object.defineProperties(R4.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){this.metadataInternal=a;if(null!=a)if("OPEN"===this.filter.key){if(null==a)var b=0;else{b=0;a=k(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0===c.issueIds?[]:c.issueIds,e=void 0;if(null==(e=cl[c.status])?0:e.open)b+=d.length}}this.countDisplay=b}else if("BROAD_IN_PROGRESS"===this.filter.key)b=ICa(a,"ASSIGNED"),a=ICa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("Re`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=yr[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.countDisplay="-";else{var b,c,d=null==(c=yr[null==(b=this.filter)?void 0:b.key])?void 0:c.check;this.countDisplay=a.filter(d).length}}}});R4.\u0275fac=function(a){return new (a||R4)(C(dM))};
R4.\u0275cmp=r({type:R4,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&N("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",prefKey:"prefKey",computeCountFor:"computeCountFor"},decls:5,vars:6,consts:[[1,"unstyled-button","stat-card",3,"title"],[4,"ngIf"],[1,"big-number"]],template:function(a,b){a&1&&(G(0,"button",0),V(1,"async"),G(2,"label"),S(3),I(),E(4,Rob,3,3,"ng-container",1),I());if(a&2){var c;F("title",null!==(c=b.filter.tooltip)&&void 0!==c?c:"");Hf("aria-pressed",
W(1,4,b.active$));A(3);rg(b.filter.displayAs);A();F("ngIf",b.metadata||void 0!==b.countDisplay)}},dependencies:[zw,Iw],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)}\n/*# sourceMappingURL=qif_stat.css.map */"],
changeDetection:0});var S4=function(){};S4.\u0275fac=function(a){return new (a||S4)};S4.\u0275mod=hd({type:S4});S4.\u0275inj=Rc({imports:[rE,fV,UC,cD]});var T4=function(a){var b=this;this.issueFridge=a;this.query$=new X.ReplaySubject(1);this.issues$=this.query$.pipe(wf(function(c){return b.issueFridge.watchMany(c)}),z(function(c){return c.results}))};Ac.Object.defineProperties(T4.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});T4.\u0275fac=function(a){return new (a||T4)(C(iJ))};
T4.\u0275cmp=r({type:T4,selectors:[["stat-cards-list"]],inputs:{prefKey:"prefKey",query:"query"},decls:15,vars:28,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"prefKey","computeCountFor"],["key","BROAD_IN_PROGRESS",3,"prefKey","computeCountFor"],["key","ASSIGNED_TO_ME",3,"prefKey","computeCountFor"],["key","NEWLY_FILED",3,"prefKey","computeCountFor"],["key","RECENTLY_ACTIVE",3,"prefKey","computeCountFor"],["key","HIGH_PRIORITY",3,"prefKey","computeCountFor"],["key","TRENDING",3,"prefKey","computeCountFor"]],
template:function(a,b){a&1&&(G(0,"div",0),K(1,"qif-stat",1),V(2,"async"),K(3,"qif-stat",2),V(4,"async"),K(5,"qif-stat",3),V(6,"async"),K(7,"qif-stat",4),V(8,"async"),K(9,"qif-stat",5),V(10,"async"),K(11,"qif-stat",6),V(12,"async"),K(13,"qif-stat",7),V(14,"async"),I());a&2&&(A(),F("prefKey",b.prefKey)("computeCountFor",W(2,14,b.issues$)),A(2),F("prefKey",b.prefKey)("computeCountFor",W(4,16,b.issues$)),A(2),F("prefKey",b.prefKey)("computeCountFor",W(6,18,b.issues$)),A(2),F("prefKey",b.prefKey)("computeCountFor",
W(8,20,b.issues$)),A(2),F("prefKey",b.prefKey)("computeCountFor",W(10,22,b.issues$)),A(2),F("prefKey",b.prefKey)("computeCountFor",W(12,24,b.issues$)),A(2),F("prefKey",b.prefKey)("computeCountFor",W(14,26,b.issues$)))},dependencies:[R4,Iw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],changeDetection:0});var U4=function(a){this.metadataFridge=a;this.id$=new X.ReplaySubject(1);this.metadata$=this.id$.pipe(wf(this.metadataFridge.watchOne))};Ac.Object.defineProperties(U4.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});U4.\u0275fac=function(a){return new (a||U4)(C(EH))};
U4.\u0275cmp=r({type:U4,selectors:[["stat-cards-project"]],inputs:{id:"id"},decls:5,vars:8,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"prefKey","metadata"],["key","BROAD_IN_PROGRESS",3,"prefKey","metadata"]],template:function(a,b){a&1&&(G(0,"div",0),K(1,"qif-stat",1),V(2,"async"),K(3,"qif-stat",2),V(4,"async"),I());a&2&&(A(),F("prefKey",b.id)("metadata",W(2,4,b.metadata$)),A(2),F("prefKey",b.id)("metadata",W(4,6,b.metadata$)))},dependencies:[R4,Iw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],
changeDetection:0});var V4=function(){};V4.\u0275fac=function(a){return new (a||V4)};V4.\u0275mod=hd({type:V4});V4.\u0275inj=Rc({imports:[rE,fV,UC,cD,P4,S4]});var W4=function(){};W4.\u0275fac=function(a){return new (a||W4)};W4.\u0275mod=hd({type:W4});W4.\u0275inj=Rc({imports:[rE,cD,PM,wE,vE,ZO]});var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275mod=hd({type:X4});X4.\u0275inj=Rc({imports:[Vx,BA,lA,rE,yx,yM,cD,VA,o4,eX,fV,vE,zx,sF,c0,$W,MK,VW,p4,aX,W4,QN,wM,V4,RV,VQ]});var Y4=function(a){this.internalArray_=m(a,0,Y4.messageId)};Y(Y4,n);Y4.prototype.getIssueId=function(){return Du(this,1)};Y4.prototype.getIssueId_asLegacyNumberOrString=function(){return Du(this,1)};Y4.prototype.getIssueId_asString=function(){return Ti(this,1)};Y4.prototype.setIssueId=function(a){return oj(this,1,a)};Y4.messageId="b.MonorailIssueRedirectRequest";var Z4=function(a){this.internalArray_=m(a,0,Z4.messageId)};Y(Z4,n);Z4.prototype.getUrl=function(){return Gi(this,dv,1)};Z4.prototype.setUrl=function(a){return hj(this,dv,1,a)};Z4.prototype.hasUrl=function(){return Ui(this,dv,1)};Z4.messageId="b.MonorailIssueRedirectResponse";var a5=function(a){this.executor=a},zLc=function(a,b){b=(new Y4).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:Z4}).pipe(z(function(c){return fta(c.getUrl())}),gf(function(){return(0,X.of)(null)}))};a5.\u0275fac=function(a){return new (a||a5)(p(HE))};a5.\u0275prov=Pc({token:a5,factory:a5.\u0275fac,providedIn:"root"});var Xob=function(a){this.internalArray_=m(a)};Y(Xob,n);g=Xob.prototype;g.getTitle=function(){return ec(this,1)};g.setTitle=function(a){return Zh(this,1,a)};g.getUrl=function(){return ec(this,2)};g.setUrl=function(a){return Zh(this,2,a)};g.hasUrl=function(){return Ni(this,2)};g.getIconUrl=function(){return ec(this,3)};g.setIconUrl=function(a){return Zh(this,3,a)};Xob.repeatedFields_=[5];var Vob=function(a){this.internalArray_=m(a)};Y(Vob,n);Vob.repeatedFields_=[1];var Uob=function(a){this.internalArray_=m(a)};Y(Uob,n);var Wob=[3,4,5,6,7];var b5=function(a){this.internalArray_=m(a)};Y(b5,n);g=b5.prototype;g.getMessageId=function(){return ec(this,1)};g.getText=function(){return ec(this,3)};g.setText=function(a){return Zh(this,3,a)};g.setModelId=function(a){Zh(this,4,a)};g.getClient=function(){return Qi(this,7,0)};g.setClient=function(a){return jj(this,7,a)};g.hasClient=function(){return Oi(this,7)};g.setUseForTraining=function(a){return $h(this,16,a)};b5.repeatedFields_=[13];var c5=function(a){this.internalArray_=m(a)};Y(c5,n);c5.prototype.setModelId=function(a){Zh(this,2,a)};c5.prototype.getText=function(){return ec(this,3)};c5.prototype.setText=function(a){return Zh(this,3,a)};c5.prototype.setUseForTraining=function(a){return $h(this,8,a)};c5.repeatedFields_=[6];var ALc=function(a){this.internalArray_=m(a)};Y(ALc,n);g=ALc.prototype;g.getResponse=function(){return Gi(this,b5,1)};g.getReadonlyResponse=function(){return Eq(this,b5,1)};g.getMutableResponse=function(){return xu(this,b5,1)};g.setResponse=function(a){return hj(this,b5,1,a)};g.getQuery=function(){return Gi(this,b5,2)};g.setQuery=function(a){return hj(this,b5,2,a)};g.clearQuery=function(){lp(this,2)};g.hasQuery=function(){return Ui(this,b5,2)};g.getResponsesList=function(){return Ii(this,b5,3,hi())};
var BLc=gc(ALc);ALc.repeatedFields_=[3,4];var CLc=new eD("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",c5,ALc,function(a){return a.serialize()},BLc);var DLc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new GD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};DLc.prototype.generateAnswers=function(a){return bD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},CLc)};var d5=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())};
d5.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?(0,X.of)({response:"",citationResources:[]}):(0,X.defer)(function(){var c=b.client,d=c.generateAnswers;var e=new c5;e=jj(e,5,9);return d.call(c,e.setUseForTraining(!1).setText(a))}).pipe(z(Tob()),gf(function(){return(0,X.of)({response:"",citationResources:[]})}))};
d5.prototype.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":return"https://autopush-ml4answers-googleapis.corp.google.com";case "PROD":return"https://ml4answers-googleapis.corp.google.com";default:return"https://staging-ml4answers-googleapis.corp.google.com"}};d5.\u0275fac=function(a){return new (a||d5)(p(Zr),p(e5))};d5.\u0275prov=Pc({token:d5,factory:d5.\u0275fac,providedIn:"root"});var e5=function(){};e5.prototype.create=function(a){return new DLc(a)};
e5.\u0275fac=function(a){return new (a||e5)};e5.\u0275prov=Pc({token:e5,factory:e5.\u0275fac,providedIn:"root"});var ELc=["container"],hpb=function(a,b){return b.issue.issueId},FLc=/(\w+\.)+\w*Exception/,f5=function(a,b,c,d,e,f,h,l,q){Z.call(this);var t=this;this.contextSensitiveRegistry=a;this.appEvents=b;this.formatter=c;this.eventsForIssueFridge=d;this.duckieService=e;this.issueFridge=f;this.changelistApi=h;this.imageUrls=l;this.analytics=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.events$=this.issueId$.pipe(xf(this.destroyed$),wf(this.eventsForIssueFridge.watch),z(function(w){return(null==
w?void 0:w.events)||[]}));this.firstEvent$=this.events$.pipe(z(function(w){return 0<w.length?w[0]:void 0}));this.isLlmLoading=!0;this.duckieResponse$=this.firstEvent$.pipe(z(function(w){return null==w?void 0:w.unlinkifiedComment}),wf(function(w){return w?t.duckieService.generateAnswers("You are a troubleshoot engineer specializing in fixing\n    programming exceptions. Explain how to fix the following stack trace\n    exception: "+w):(0,X.of)(null)}));this.duckieResponseMarkdown$=this.duckieResponse$.pipe(wf(function(w){return w?
t.formatter.format({comment:w.response,formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"help_me_fix"}):(0,X.of)(null)}),yf(function(){t.isLlmLoading=!1}),z(function(w){var B;return w?{content:null==(B=w.markdownFormat)?void 0:B.content}:null}));this.exceptionFirstLine$=this.firstEvent$.pipe(z(function(w){return null==w?void 0:w.unlinkifiedComment}),z(function(w){if(w)return w=w.match(FLc)||[],w.length?w[0]:void 0}));this.relatedFixedIssues$=this.exceptionFirstLine$.pipe(wf(function(w){return w?
t.issueFridge.watchMany({filter:w+" (status:fixed|status:verified) cl:any type:bug",pageSize:3,sort:"modified_time:desc"}):(0,X.of)({results:[]})}),z(function(w){return w.results||[]}),z(function(w){return w.map(function(B){var D={issue:B,changelists:[]},J;if(B.snapshot&&(null==(J=B.snapshot[0].changelist)?0:J.length))for(B=k(B.snapshot[0].changelist),J=B.next();!J.done;J=B.next())D.changelists.push(t.changelistApi.getChangelistDetails(J.value).pipe(z(kpb)));return D})}));this.Number=Number;this.hovercardConfig=
{delay:250,position:[Ybc,Xbc],triggerKey:[]};this.BUGANIZER_LOGO_URL=this.imageUrls.LOGO_LIGHT;this.containerScrolled=this.votedThumbsDown=this.votedThumbsUp=!1};Y(f5,Z);f5.\u0275dir=Z.\u0275dir;f5.prototype.closeSidebar=function(){this.appEvents.closeHelpMeFixSidebar.next()};f5.prototype.trackClick=function(a){Wo(this.analytics,sq.HELP_ME_FIX,"click",a)};f5.\u0275fac=function(a){return new (a||f5)(C(TK),C(gH),C(NU),C(BI),C(d5),C(iJ),C(NH),C(XM),C(ZI))};
f5.\u0275cmp=r({type:f5,selectors:[["help-me-fix-sidebar"]],viewQuery:function(a,b){a&1&&lg(ELc,5);if(a&2){var c;pg(c=qg())&&(b.container=c.first)}},features:[Ff],decls:24,vars:15,consts:[["container",""],["issueHovercard","onedevHovercard"],["cardBody",""],["changelistCard","onedevHovercard"],[1,"container",3,"scroll"],[1,"flex-kids-x","space-between","padded","padded-s-bottom","bg-main"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px"],[1,"heading-m","margin-s-left"],["mat-icon-button",
"","aria-label","close sidebar",1,"close-button",3,"click"],["svgIcon","close"],[1,"padded-x","padded-bottom"],[1,"card"],[1,"italic"],[1,"feedback","flex-kids-x","align-items-center","justify-flex-end","gap-s"],[1,"flex-kids-x","gap-xs"],["mat-icon-button","","aria-label","vote this was helpful",1,"gmat-button","small",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["mat-icon-button","","aria-label","vote this was not helpful",1,"gmat-button","small",3,"click","disabled"],["svgIcon",
"thumb_down_24px",1,"icon-s"],[3,"content"],[1,"disclaimer","type-s","muted","italic","border-top","padded-s-top"],["href","http://go/code-ai-policy","target","_blank",1,"hover-link"],[1,"card",3,"hidden"],[1,"heading-xs","margin-s-bottom"],[1,"margin-s-bottom"],[1,"issue-row","flex-kids-x","gap-s","align-items-center"],["height","24","width","24","alt","Buganizer logo",3,"src"],["target","_blank",1,"flex-1","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger",
"onedevHovercardConfig"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","issueId"],[1,"changelist-row","flex-kids-x","gap-s","align-items-center","border-left"],["svgIcon","critique-logo",1,"icon-xs"],["target","_blank",1,"flex-1","muted","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady",
"changelistId"]],template:function(a,b){if(a&1){var c=v();G(0,"div",4,0);N("scroll",function(){x(c);b.containerScrolled=0===b.container.nativeElement.scrollTop?!1:!0;return y()});G(2,"header",5)(3,"div",6);K(4,"mat-icon",7);G(5,"span",8);S(6,"Help me fix");I()();G(7,"button",9);N("click",function(){x(c);return y(b.closeSidebar())});K(8,"mat-icon",10);I()();G(9,"div",11)(10,"div",12);E(11,Yob,6,1);V(12,"async");E(13,Zob,3,0,"span",13);I();E(14,jpb,1,1);V(15,"async");G(16,"div",14)(17,"span");S(18);
I();G(19,"div",15)(20,"button",16);N("click",function(){x(c);b.votedThumbsUp=!0;Wo(b.analytics,sq.HELP_ME_FIX,"click","thumbsUp");return y()});K(21,"mat-icon",17);I();G(22,"button",18);N("click",function(){x(c);b.votedThumbsDown=!0;Wo(b.analytics,sq.HELP_ME_FIX,"click","thumbsDown");return y()});K(23,"mat-icon",19);I()()()()()}if(a&2){var d,e;A(2);Qf("elevated",b.containerScrolled);A(9);Uf((d=W(12,11,b.duckieResponseMarkdown$))?11:13,d);A(3);Uf((e=W(15,13,b.relatedFixedIssues$))?14:-1,e);A(4);T(" ",
b.votedThumbsUp||b.votedThumbsDown?"Thanks for the feedback!":"Was this helpful?"," ");A(2);Qf("voted",b.votedThumbsUp);F("disabled",b.votedThumbsUp||b.votedThumbsDown);A(2);Qf("voted",b.votedThumbsDown);F("disabled",b.votedThumbsUp||b.votedThumbsDown)}},dependencies:[nB,GL,CA,FU,JL,KL,OL,LL,NV,fT,Iw],styles:[".container[_ngcontent-%COMP%]{display:block;width:400px;height:100%;overflow-y:scroll}header[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0}.card[_ngcontent-%COMP%]{margin-bottom:24px;overflow-wrap:break-word}.issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}.feedback[_ngcontent-%COMP%]   button.voted[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}"]});var GLc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},g5=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_JS_TERSE=m5b;this.URLS=Hr;this.ListIssuesHovercardMode=GLc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new X.ReplaySubject(1);this.init=new X.ReplaySubject(1);this.issues$=this.issueIds$.pipe(Ce(Ei),wf(this.issueFridge.watchSet),z(function(d){return"parent"===c.mode?d.filter(co):d.filter(bo)}))};Y(g5,Z);g5.\u0275dir=Z.\u0275dir;
g5.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var qpb=function(a){var b;null==(b=a.hovercardInstance)||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=null!=c?c:[];for(var d="id:(",e=k(c.entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}a.router.navigate([Hr.ISSUE_LIST],{queryParams:{q:d}})})};
g5.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(xf(this.destroyed$)).subscribe(function(){a.init.next()})};Ac.Object.defineProperties(g5.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});g5.\u0275fac=function(a){return new (a||g5)(C(iJ),C(mF))};
g5.\u0275cmp=r({type:g5,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[Ff],decls:5,vars:5,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],["class","border-bottom header-container",4,"ngIf"],[4,"ngIf"],[1,"border-bottom","header-container"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class",4,"ngIf"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["mat-button","",1,"gmat-button","primary","small",3,"click"]],template:function(a,b){a&1&&(G(0,"div",0),E(1,lpb,5,3,"div",1)(2,mpb,5,3,"div",1)(3,tpb,4,3,"div",2),V(4,"async"),
I());a&2&&(A(),F("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),A(),F("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),A(),F("ngIf",W(4,3,b.issues$)))},dependencies:[Cw,Dw,zw,nB,oF,CA,Iw],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 h5=function(a,b){this.issueFridge=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=GLc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};h5.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&HLc(this).then(function(c){b.issueIdToTitle=c})};h5.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var HLc=function(a){var b,c,d;return me(function(e){a.reorderedAncestors=[];for(b=a.issueId;;)if(c=a.ancestors.get(b))if(1===c.sourceIssueIds.length)b=c.sourceIssueIds[0],a.reorderedAncestors.push(b);else{a.multiParentIssueIds=c.sourceIssueIds;break}else break;a.reorderedAncestors.reverse();d=Rj(a.reorderedAncestors);return 0===d.length?e.return(new Map):e.return((0,X.firstValueFrom)((0,X.combineLatest)(d.map(a.issueFridge.watch)).pipe(z(function(f){return f.filter(Ei)}),z(function(f){var h=new Map;
f=k(f);for(var l=f.next();!l.done;l=f.next())l=l.value,h.set(l.issueId,l.snapshot[0].title);return h}))))})};h5.\u0275fac=function(a){return new (a||h5)(C(iJ),C(RF))};
h5.\u0275cmp=r({type:h5,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[xd],decls:3,vars:2,consts:[["card","onedevHovercard"],["cardBody",""],["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right","class","icon-xs chevron muted",4,"ngIf"],[4,"onedevHovercardLazyBody"],["svgIcon","chevron-right",1,"icon-xs","chevron",
"muted"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(K(0,"mat-icon",2),E(1,wpb,7,5,"ng-container",3)(2,xpb,4,5,"ng-container",4));a&2&&(A(),F("ngIf",1<b.multiParentIssueIds.length),A(),F("ngForOf",b.reorderedAncestors))},dependencies:[Dw,zw,nB,CU,JL,KL,OL,LL,g5],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:middle}[_nghost-%COMP%]     a{color:#202124;color:var(--text-default);line-height:22px;vertical-align:middle}[_nghost-%COMP%]     a.muted{color:#5f6368;color:var(--text-muted)}[_nghost-%COMP%]     a:hover, [_nghost-%COMP%]     a:focus{color:#1a73e8;color:var(--link);text-decoration:underline}.chevron[_ngcontent-%COMP%]{width:18px}.chevron.last[_ngcontent-%COMP%]{margin-right:-3px}"]});var i5=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new Uv;this.currentUserEmail=this.activeSession.getUserEmail()};i5.prototype.ngOnInit=function(){};i5.prototype.isDirectAdmin=function(a){return a?Wk(a.adminUsers).includes(this.currentUserEmail):!1};i5.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};i5.\u0275fac=function(a){return new (a||i5)(C(RF),C(Zr))};
i5.\u0275cmp=r({type:i5,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked",
4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"click","keydown.enter","routerLink"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starClicked","starMessage","unStarMessage","acceptInput","starred"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&E(0,Apb,9,4,"div",0);a&2&&F("ngIf",b.hotlist)},dependencies:[zw,nB,oF,xL,nE,OC,Iw],encapsulation:2,changeDetection:0});var ILc=function(){this.tokens=new Map};ILc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};ILc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new JLc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var JLc=function(a){this.sortedEntries=a};
JLc.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};JLc.prototype.search=function(a){var b=new Set;a=k(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=k(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var KLc=function(a,b){if(0===b.length)return new Set;for(var c=a.search(b[0]),d=1;d<b.length&&0<c.size;d++){var e=[].concat(u(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var LLc=function(a){this.hotlists=a;var b=new ILc,c=new ILc;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(null==(e=d.name)?0:e.trim())?EFa(d.name.toLowerCase()):[];e=k(f);for(f=e.next();!f.done;f=e.next())b.add(f.value,d);e=void 0;f=(null==(e=d.description)?0:e.trim())?EFa(d.description.toLowerCase()):[];e=k(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,
l){return[h,l]}))};
LLc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=k(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(bsa(a)&&String(h).includes(a)||(null==(l=f)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}a=EFa(a);c=k(KLc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=k(KLc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return MLc(this,b)};var MLc=function(a,b){return[].concat(u(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var j5=function(){this.innerHeight$=(0,X.concat)((0,X.defer)(function(){return(0,X.of)(window.innerHeight)}),(0,X.fromEvent)(window,"resize").pipe(z(function(){return window.innerHeight})))};j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275prov=Pc({token:j5,factory:j5.\u0275fac,providedIn:"root"});var k5=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);var B=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=f;this.appEvents=h;this.errorHandler=l;this.userApi=q;this.windowHeight=t;this.permissionsFridge=w;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new X.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(jf(100),vf(""));this.hotlists=[];this.allHotlistIds=
new Set(this.data.selectedHotlistIds);this.selectedHotlistIds=new Set(this.data.selectedHotlistIds);this.previousSelectedHotlistIds=new Set(this.selectedHotlistIds);this.usePreviousSelectedHotlists=!1;this.originalIds=new Set(this.data.selectedHotlistIds);this.pristine=!0;this.saveBtnLabel="Save";this.saveBtnTooltip="Save your hotlist choices (Shift + Enter)";this.hotlistUnderEdit=new gx({name:new ix("",Zw),description:new ix("")});this.starredHotlists=new GQ;this.isSavingStar=new GQ;this.userHotlists$=
u$b(this.hotlistFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=z(function(D){var J=B.permissionsFridge.watchSet(D.map(function(H){return"hotlists/"+H.hotlistId}));return D.map(function(H,O){return Object.assign({},H,{permissions$:J.pipe(z(function(P){return P[O]}))})})});this.hotlists$=(0,X.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(z(function(D){var J=k(D);D=J.next().value;J=J.next().value;return[].concat(u(D),
u(J))}),z(Vta(function(D){return D.hotlistId})),z(function(D){return D.filter(Ei)}),z(function(D){return D.sort(Rpb)}),z(function(D){return D.sort(function(J,H){var O=B.selectedHotlistIds;J=O.has(J.hotlistId);H=O.has(H.hotlistId);return J&&H?0:J?-1:H?1:0})}),this.combineHotlistsWithPermissions,tf({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(z(function(D){return new LLc(D)}),tf({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new X.Subject;this.matchedHotlists$=(0,X.combineLatest)([this.debouncedQuery$,
this.hotlistQuerySearcher$,this.hotlists$]).pipe(z(function(D){var J=k(D);D=J.next().value;var H=J.next().value;J=J.next().value;return""!==D.trim()?H.search(D):J}),tf({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,X.combineLatest)([this.matchedHotlists$,(0,X.merge)(this.matchedHotlists$.pipe(z(function(){return!1})),this.forceShowOverflow$)]).pipe(z(function(D){var J=k(D);D=J.next().value;J=J.next().value;return 200<D.length&&!J?D.slice(0,200):D}),tf({bufferSize:1,refCount:!0}));this.isOverflowMode$=
(0,X.combineLatest)([this.matchedHotlists$,this.visibleHotlists$]).pipe(z(function(D){var J=k(D);D=J.next().value;J=J.next().value;return D.length!==J.length}));this.showLoadById$=this.query$.pipe(z(function(D){D=D.trim();return!B.allHotlistIds.has(Number(D))&&bsa(D)}));this.showCreateNew$=(0,X.combineLatest)([this.query$,this.matchedHotlists$]).pipe(z(function(D){var J=k(D);D=J.next().value;J=J.next().value;return Spb(D,J)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(z(function(D){return Math.max(1,
Math.floor(.5*D/24))}),lf());this.compactNumberOfHotlistsToShow$.pipe(z(function(D){return 24*D}));this.subscriptions.add(this.hotlists$.subscribe(function(D){B.hotlists=D;D=k(D);for(var J=D.next();!J.done;J=D.next())B.allHotlistIds.add(J.value.hotlistId)}))};Y(k5,Z);k5.\u0275dir=Z.\u0275dir;k5.prototype.ngOnInit=function(){var a=this;NLc(this);this.query$.pipe(xf(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
k5.prototype.onChangeMatList=function(a){var b=this;a=a.options;this.previousSelectedHotlistIds=new Set(this.selectedHotlistIds);a.forEach(function(d){d.selected?b.selectedHotlistIds.add(d.value):b.selectedHotlistIds.delete(d.value)});a=Qra(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(Tpb(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Gr=function(a){a.dialogRef.close(a.usePreviousSelectedHotlists?a.previousSelectedHotlistIds:a.selectedHotlistIds)},Gpb=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},OLc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},Fpb=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=Gpb(a),c=OLc(a);a.hotlistApi.createHotlist(b,c).then(function(d){a.snackBar.open('Hotlist "'+d.name+"'\" saved.",
"dismiss",{duration:3E3});d=d.hotlistId;a.appEvents.hotlistChanged.next({hotlistId:d});a.selectedHotlistIds.add(d);a.dialogRef.close(a.selectedHotlistIds)}).catch(function(d){a.errorHandler.errorHandler(null,d)})},NLc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=k(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=k(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=k(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)})};
k5.prototype.toggleStar=function(a){var b=this,c,d,e;return me(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};ne(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),oe(f,b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return oe(f,b.userApi.saveFavorite(d),3);case 3:pe(f);b.isSavingStar.delete(a);qe(f,4);break;case 2:e=re(f);sI(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
NLc(b),se(f)}})};var Jpb=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Gr(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};k5.prototype.trackByHotlistId=function(a,b){return b.hotlistId};k5.\u0275fac=function(a){return new (a||k5)(C(NA),C(PA),C(RF),C(RI),C(EG),C(lI),C(gH),C(qI),C(QI),C(j5),C(PJ))};
k5.\u0275cmp=r({type:k5,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&N("keydown.meta.enter",function(){return Gr(b)})("keydown.shift.enter",function(){return Gr(b)})("keydown.control.enter",function(){return Gr(b)})},features:[Ff],decls:13,vars:4,consts:[["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",""],["createNewHotlistPane",""],["searchBox",""],["content",""],["tooltip","matTooltip"],[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close",
"","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"click","disabled"],["mat-flat-button","","color","primary",1,"gmat-button",3,"click","mat-dialog-close","matTooltip","disabled"],["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"],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["checkboxPosition","before",3,"focus",
"blur","selected","disabled","value"],[3,"starClicked","hotlist","isCompact","starredHotlists","isSavingStar"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,
b){if(a&1){var c=v();E(0,Cpb,2,1,"ng-container",7);G(1,"mat-dialog-actions")(2,"button",8);N("click",function(){x(c);b.dialogRef.close();return y()});S(3," Cancel ");I();E(4,Epb,2,1,"ng-container",7);I();E(5,Hpb,2,1,"ng-template",null,0,Eg)(7,Ipb,2,5,"ng-template",null,1,Eg)(9,Ppb,15,9,"ng-template",null,2,Eg)(11,Qpb,14,1,"ng-template",null,3,Eg)}if(a&2){a=R(8);var d=R(10);F("ngIf",b.showCreateNewPane)("ngIfElse",d);A(4);F("ngIf",b.showCreateNewPane)("ngIfElse",a)}},dependencies:[Dw,zw,Hw,nB,RA,SA,
TA,UA,CA,LO,UO,TO,kx,bh,cx,dx,ux,qx,rx,nE,OC,i5,Iw],styles:["[_nghost-%COMP%]     .mat-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-mdc-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var l5=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},QLc=function(a,b){var c,d,e,f,h,l,q,t;return me(function(w){switch(w.nextAddress){case 1:return oe(w,(0,X.firstValueFrom)(b),2);case 2:return c=w.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?oe(w,PLc(a,e),3):w.return();case 3:f=w.yieldResult;if(null==f)return w.return();h=f.added.map(String);l=f.removed.map(String);q=String(c.issueId);ne(w,4,5);return oe(w,N$b(a.issueFridge,
q,h,l),5);case 5:pe(w);a.eventsForIssueFridge.poke(q);qe(w,0);break;case 4:t=re(w),sI(a.errorHandler,t),w.jumpTo(5)}})},PLc=function(a,b){var c,d,e,f;return me(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(k5,c),oe(h,(0,X.firstValueFrom)(d.afterClosed()),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=Qra(new Set(b),new Set(e));return h.return(Promise.resolve(f))})};
l5.\u0275fac=function(a){return new (a||l5)(p(QA),p(iJ),p(BI),p(qI))};l5.\u0275prov=Pc({token:l5,factory:l5.\u0275fac,providedIn:"root"});var m5=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new X.ReplaySubject(1);this.issue$=this.issueId$.pipe(wf(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(z(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(z(function(d){return null==d?void 0:d.length}),vf(0));this.label$=this.count$.pipe(z(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=br};m5.prototype.onClick=function(){QLc(this.hotlistPicker,this.issue$)};Ac.Object.defineProperties(m5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});m5.\u0275fac=function(a){return new (a||m5)(C(iJ),C(RI),C(l5))};
m5.\u0275cmp=r({type:m5,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},decls:4,vars:7,consts:[["mat-stroked-button","",1,"gmat-button","small",3,"onHotkey","click","hotkey","disabled"]],template:function(a,b){a&1&&(G(0,"button",0),V(1,"async"),N("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),S(2),V(3,"async"),I());a&2&&(F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",W(1,3,b.isDisabled$)),A(2),T(" ",W(3,5,b.label$),"\n"))},dependencies:[JF,CA,
Iw],encapsulation:2});var RLc=function(a,b){var c=b.permissions,d=b.retentionState,e=b.isComponentAdmin;if(b.isInternal){if("INDEFINITE"===b.retentionOverride)return{type:"action",label:"Revert to component retention...",title:e?"Revert to component retention...":"You must be a component administrator to perform this action.",disabled:!c.admin,action:function(){a.showComponentRetentionDialog()}};if(!d||d.scheduledDeletionTime)return{type:"action",label:"Retain issue indefinitely...",title:e?"Retain issue indefinitely...":
"You must be a component administrator to perform this action.",disabled:!c.admin,action:function(){a.showIndefiniteRetentionDialog()}}}},SLc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},TLc=function(a,b){var c=!b.isArchived,d=c?"Archive issue":"Unarchive issue";return{type:"action",label:d,title:d+' (requires "issue writer" access)',icon:"archive_24px",disabled:!b.permissions.writer,
action:function(){a.submitArchivalState(c)}}},ULc=function(a,b){if(!b.isDeleted&&"EXTERNAL_PUBLIC"===b.accessLevel)return{type:"action",label:"Mark as spam...",title:'Mark as spam... (requires "issue admin" access)',icon:"flag",disabled:!b.permissions.admin,action:function(){a.showFlagAsSpamDialog()}}};var VLc=function(a){return{isDupe:a}},n5=function(a,b,c,d,e){Z.call(this);var f=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new X.ReplaySubject(1);this.issue$=this.issueId$.pipe(wf(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(z(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(wf(function(h){return f.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(z(function(h){return!(null==h||!h.writer)}),vf(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&O$b(f.fridge,l,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(Yn(h)||"Error with network request","close",{panelClass:"error"})}};
Y(n5,Z);n5.\u0275dir=Z.\u0275dir;
var Upb=function(a){var b,c;return me(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!Gk(a.canEdit$)?d.return():oe(d,(0,X.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,oe(d,(0,X.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?WLc(a,c):a.issuePicker.open({title:"Mark issue as duplicate of:",allowMultipleIds:!1,componentId:c.snapshot[0].componentId,edgeType:"canonical",currentResource:{id:c.issueId,type:"issue"}},
a.didChooseCanonical(c.issueId));se(d)})},WLc=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;null!=c&&a.fridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};Ac.Object.defineProperties(n5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});n5.\u0275fac=function(a){return new (a||n5)(C(iJ),C(PJ),C(mX),C(lI),C(BI))};
n5.\u0275cmp=r({type:n5,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[Ff],decls:2,vars:5,consts:[["mat-stroked-button","","class","gmat-button small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"gmat-button","small",3,"click","disabled","title"]],template:function(a,b){a&1&&(E(0,Vpb,3,5,"button",0),V(1,"async"));a&2&&F("ngIf",Ag(3,VLc,W(1,1,b.isDupe$)))},dependencies:[zw,CA,Iw]});var o5=function(){this.label=""};o5.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};o5.\u0275fac=function(a){return new (a||o5)};
o5.\u0275cmp=r({type:o5,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&lg(OL,5);if(a&2){var c;pg(c=qg())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(G(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",2),
E(4,Xpb,2,1,"ng-container",3),I()()(),K(5,"mat-icon",4));a&2&&(a=R(1),A(2),Hf("aria-label",b.label),A(2),F("ngIf",b.content),A(),F("onedevHovercardTrigger",a))},dependencies:[zw,Hw,nB,JL,OL],encapsulation:2});var p5=function(){};p5.\u0275fac=function(a){return new (a||p5)};p5.\u0275mod=hd({type:p5});p5.\u0275inj=Rc({imports:[rE,yM]});var q5=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=f;this.editIssueService=h;this.matDialogService=l;this.analytics=q;this.issueId$=new X.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=br;this.issue$=this.issueId$.pipe(wf(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(z(function(t){var w,B,D,J,H,O,P;return{modifiedTimeMilliseconds:null!=
(null==t?void 0:null==(w=t.aggregatedData)?void 0:w.modifiedTimeMicros)?t.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(O=null==t?void 0:null==(B=t.userData)?void 0:B.voted)?O:!1,voteCount:null!=(P=null==t?void 0:null==(D=t.aggregatedData)?void 0:D.voteCount)?P:0,notificationSubscription:Di(null==t?void 0:null==(J=t.userData)?void 0:J.notificationSubscription),retentionState:null==t?void 0:null==(H=t.aggregatedData)?void 0:H.retentionState}}));this.menuItems$=XLc(this);this.state$=(0,X.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(z(function(t){var w=k(t);t=w.next().value;var B=w.next().value;w=w.next().value;return Object.assign({},{issueId:t},B,{menuItems:w})}))};Y(q5,Z);q5.\u0275dir=Z.\u0275dir;g=q5.prototype;g.updateSubscription=function(a){var b=this,c;return me(function(d){if(1==d.nextAddress)return(c=Gk(b.issueId$))?oe(d,b.editIssueService.updateSubscription(c,a),2):d.return();Wo(b.analytics,sq.EDIT_ISSUE,"updateSubscription",a);se(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 me(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():oe(d,(0,X.firstValueFrom)(b.matDialogService.open(mzc,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?oe(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return me(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():oe(d,(0,X.firstValueFrom)(b.matDialogService.open(izc,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?oe(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return me(function(d){return 1==d.nextAddress?oe(d,(0,X.firstValueFrom)(b.matDialogService.open(lzc,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?oe(d,Xic(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var XLc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(Q0a(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=Gk(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=Gk(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=Gk(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=Gk(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,X.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value,f;d={permissions:d.next().value,accessLevel:VNa(c),isArchived:null!=(f=null==c?void 0:c.isArchived)?f:!1,isDeleted:TNa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:YNa(c),retentionState:aOa(c)};return[TLc(b,d),ULc(b,d),SLc(b,d),RLc(b,d)].filter(Ei)}))};
Ac.Object.defineProperties(q5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});q5.\u0275fac=function(a){return new (a||q5)(C(iJ),C(EQ),C(Zr),C(gH),C(A4),C(XN),C(JQ),C(QA),C(ZI))};
q5.\u0275cmp=r({type:q5,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&lg(o5,5);if(a&2){var c;pg(c=qg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[Ff],decls:2,vars:3,consts:[["smartDupeBtn",""],["menu","matMenu"],["retentionHelpContent",""],[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"onHotkey","issueId","hotkey"],["aria-label","Notification menu",3,"subscriptionChange","showNotificationSettings","subscription","issueId","iconOnly"],["buttonClassname",
"small","aria-label","Insights Graph menu",3,"iconOnly"],["mat-icon-button","","aria-label","More actions","matTooltip","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-actions-menu"],["mat-menu-item","",3,"disabled","title","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","disabled","title"],[1,"icon-s",3,"svgIcon"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon","",1,"icon-s"],[3,"retentionState"],
["label","Learn more about retention",3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(E(0,bqb,15,13,"ng-container",3),V(1,"async"));a&2&&F("ngIf",W(1,1,b.state$))},dependencies:[MV,Dw,zw,nB,o5,JF,A_,CA,mE,IC,HC,JC,nE,OC,q0,NZ,MZ,n5,m5,Iw],styles:["[_nghost-%COMP%]{display:flex;gap:4px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:empty{margin-left:-4px}[mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}[_nghost-%COMP%]     .gmat-button.small{font-size:.8125rem}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}  .issue-actions-menu .mat-mdc-menu-content button.mat-mdc-menu-item.informational-only mat-icon.mat-icon{vertical-align:text-bottom}"]});var YLc=["issueTitleEl"],ZLc=["issueTitleInputEl"],r5=function(a,b){this.issuePermissionService=a;this.bannedWordsChecker=b;this.disabled=!1;this.updateTitle=new Uv;this.isEditMode=!1;this.editModeWidth=0};r5.prototype.ngDoCheck=function(){$Lc(this)};var fqb=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
r5.prototype.saveTitle=function(a){var b=this,c;return me(function(d){if(1==d.nextAddress)return a&&b.isModified(a)?oe(d,b.bannedWordsChecker.check(a,"EXTERNAL_PUBLIC"===b.issuePermissionService.accessLevel(),b.componentId),3):d.jumpTo(2);if(2!=d.nextAddress){c=d.yieldResult;if(!c)return b.issueTitleInputEl.nativeElement.focus(),d.return();b.updateTitle.emit(a.trim());b.bannedWordsChecker.reset()}b.isEditMode=!1;$Lc(b);se(d)})};r5.prototype.isModified=function(a){return a!==this.titlePlain};
var dqb=function(a,b){if(b)"Enter"===b.key?a.saveTitle(b.target.value):"Escape"===b.key||"Esc"===b.key?fqb(a):a.bannedWordsChecker.reset();else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;a.saveTitle(b)}},$Lc=function(a){var b=a.editModeWidth,c,d;a.editModeWidth=null!=(d=Number(null==(c=a.issueTitleEl)?void 0:c.nativeElement.offsetWidth)+50)?d:b};
Ac.Object.defineProperties(r5.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=DFa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});r5.\u0275fac=function(a){return new (a||r5)(C(EQ),C(hY))};
r5.\u0275cmp=r({type:r5,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(lg(YLc,5),lg(ZLc,5));if(a&2){var c;pg(c=qg())&&(b.issueTitleEl=c.first);pg(c=qg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},features:[wg([hY])],decls:5,vars:4,consts:[["issueTitleEl",""],["issueTitleInputEl",""],[1,"issue-title-container"],["class","heading-m",4,"ngIf"],["subscriptSizing","dynamic",
3,"width","banned-words-warning",4,"ngIf"],["mat-icon-button","","class","small","matTooltip","Edit issue title","aria-label","Edit issue title",3,"disabled","click",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"heading-m"],["subscriptSizing","dynamic"],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"keyup","blur","value"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small",3,"click","disabled"],["svgIcon","edit-outline",
1,"icon-xxs"],[1,"banned-words-warning","break-word"],["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&&(G(0,"div",2),E(1,cqb,3,2,"h3",3)(2,eqb,3,5,"mat-form-field",4)(3,gqb,2,1,"button",5),I(),E(4,hqb,4,1,"p",6));a&2&&(A(),F("ngIf",!b.isEditMode),A(),F("ngIf",b.isEditMode),A(),F("ngIf",b.hasAclToEdit),A(),F("ngIf",b.bannedWordsChecker.showWarning()))},dependencies:[zw,
nB,CA,nE,OC,HO,dB,JO,jB],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%}[_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)}"]});var s5=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueInteractionsTracking=c;this.bLocation=d;this.paths=e;this.refreshMonitor=f;this.butterBar=h;this.internalSearchResults$=new X.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(lf(),wf(function(q){return q?q.changed$:(0,X.of)(null)}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=this.searchResults$.pipe(z(function(q){var t;return null!=(t=null==q?void 0:
q.totalText)?t:""}));this.backNavigationLabel$=this.searchResults$.pipe(z(function(q){return(null==q?0:q.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,X.combineLatest)([this.searchResults$,this.issueId$]).pipe(z(function(q){var t=k(q);q=t.next().value;t=t.next().value;var w;return null!=(w=t&&(null==q?void 0:PF(q,t)))?w:-1}));this.hasPreviousIssue$=(0,X.combineLatest)([this.searchResults$,this.issueId$]).pipe(z(function(q){var t=k(q);q=t.next().value;t=t.next().value;
var w;if(w=t)null==q?q=0:(t=PF(q,t),q=null==t||-1===t?!1:t>q.startIndex||1<q.params.page),w=q;return!!w}));this.hasNextIssue$=(0,X.combineLatest)([this.searchResults$,this.issueId$]).pipe(z(function(q){var t=k(q);q=t.next().value;t=t.next().value;var w;if(w=t)null==q?q=0:(t=PF(q,t),q=null==t||-1===t?!1:t<q.endIndex||q.params.page<q.numPages),w=q;return!!w}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){aMc(l)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(q){l.issueId=
q;aMc(l)}))};Y(s5,Z);s5.\u0275dir=Z.\u0275dir;
var bMc=function(a){var b,c,d=null!=(c=null==(b=a.internalSearchResults$.value)?void 0:b.params.returnUrl)?c:"";a.issueInteractionsTracking.trackNavigation(""===d?"home":"up");a.bLocation.hash("");a.bLocation.setUrl(d)},lqb=function(a){var b=Gk(a.hasNextIssue$),c=Gk(a.issueIndex$);b&&c&&cMc(a,c+1)},kqb=function(a){var b=Gk(a.hasPreviousIssue$),c=Gk(a.issueIndex$);b&&c&&cMc(a,c-1)},aMc=function(a){var b,c,d;me(function(e){if(1==e.nextAddress)return oe(e,G9b(a.issuePagination).catch(iqb),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=PF(b,a.issueId);return-1===d?e.jumpTo(0):oe(e,H9b(a.issuePagination,d).catch(iqb),0)})},cMc=function(a,b){H9b(a.issuePagination,b).then(function(c){a.bLocation.setUrl(a.paths.editIssue(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};s5.\u0275fac=function(a){return new (a||s5)(p(CQ),p(oH),p(BQ),p(QF),p(RF),p(gJ),p(pI))};s5.\u0275prov=Pc({token:s5,factory:s5.\u0275fac,providedIn:"root"});var mqb=function(a){return{"invisible zero-width":a}},dMc=function(a){this.currentSearchResults=a;this.HOTKEYS=br};dMc.\u0275fac=function(a){return new (a||dMc)(C(s5))};
dMc.\u0275cmp=r({type:dMc,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"gmat-button","medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&
1&&(E(0,nqb,9,12,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.currentSearchResults.issueIndex$))},dependencies:[Cw,zw,nB,JF,CA,nE,OC,Iw],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}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}/*# sourceMappingURL=pagination_one_issue.css.map */"],changeDetection:0});var t5=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};t5.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};t5.prototype.toggleAccessLimits=function(){var a=this;return me(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});se(b)})};
t5.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};t5.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var eMc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===Exc.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=k(NZa),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?zq.descriptionWithExpandedAccess:zq.descriptionNoExpandedAccess}else b="";return b};t5.\u0275fac=function(a){return new (a||t5)(C(TM),C(pZ),C(TH))};
t5.\u0275cmp=r({type:t5,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["card","onedevHovercard"],["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=v();G(0,"button",1);N("click",function(){x(c);return y(b.toggleAccessLimits())})("keydown.enter",function(d){x(c);return y(b.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){x(c);return y(b.toggleAccessLimitsWithKeystroke(d))});K(1,"mat-icon",2);G(2,"span",3);S(3);I()();G(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",
5)(8,"span",6);S(9);G(10,"a",7);S(11," Learn more");I()()()()()}a&2&&(a=R(5),F("onedevHovercardTrigger",a),A(3),rg(b.getAccessLimitLevelDisplay(b.accessLimitLevel)),A(6),T(" Issue access is limited. ",eMc(b,b.accessLimitLevel)," "),A(),F("href",b.documentationLinks.getIssueAccessLimit(),Ye))},dependencies:[nB,nE,OC,JL,OL],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 fMc=function(a,b,c){var d=this;this.brain=a;this.activeSession=b;this.accessIndicatorService=c;this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips");this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(Ce(Ei));this.retentionState$=this.issue$.pipe(z(function(e){var f;return null==(f=e.aggregatedData)?void 0:f.retentionState}));this.modifiedTime$=this.issue$.pipe(z(function(e){var f;return(null==(f=e.aggregatedData)?0:f.modifiedTimeMicros)?e.aggregatedData.modifiedTimeMicros/
1E3:void 0}),Ce(Ei));this.accessLevel$=this.issue$.pipe(z(function(e){var f;return null==(f=e.accessLimit)?void 0:f.accessLevel}),Ce(Ei));this.issueAccessLimitLevel$=this.issue$.pipe(z(function(e){return e.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(z(function(e){return e.issueId}));this.hasAccessIndicator$=this.issue$.pipe(wf(function(e){return Uac(d.accessIndicatorService,e.issueId)}),z(function(e){return"no_indicator"!==e.type}));this.state$=(0,X.combineLatest)([this.retentionState$,
this.issueAccessLimitLevel$,this.modifiedTime$,this.issueId$,this.brain.componentId$,(0,X.combineLatest)([this.accessLevel$,this.hasAccessIndicator$])]).pipe(z(function(e){var f=k(e);e=f.next().value;var h=f.next().value,l=f.next().value,q=f.next().value,t=f.next().value,w=k(f.next().value);f=w.next().value;w=w.next().value;return{retentionState:e,isAccessLimited:"LIMIT_VIEW"===h||"LIMIT_APPEND"===h||"LIMIT_VIEW_TRUSTED"===h,isShowingRetention:null==(null==e?void 0:e.scheduledDeletionTime)?!1:P5a(e),
isShowingPublicPartner:"INTERNAL"!==f,modifiedTime:l,accessLevel:f,issueId:q,componentId:t,issueAccessLimitLevel:h,hasAccessIndicator:w}}))};fMc.\u0275fac=function(a){return new (a||fMc)(C(CQ),C(Zr),C(vK))};
fMc.\u0275cmp=r({type:fMc,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"issueId"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(E(0,uqb,2,1,"ng-container",0),
V(1,"async"));a&2&&F("ngIf",W(1,1,b.state$))},dependencies:[t5,zw,VM,OZ,qV,Iw],encapsulation:2});var u5=function(a){this.teamsService=a;this.onTeamLoaded=new X.ReplaySubject(1);this.teamName$=new X.BehaviorSubject("");this.isTeamLoaded=!1};u5.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):kK(this.teamsService,String(this.teamId)).pipe(mf(),z(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
u5.\u0275fac=function(a){return new (a||u5)(C(jK))};
u5.\u0275cmp=r({type:u5,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[xd],decls:7,vars:6,consts:[["card","onedevHovercard"],[3,"isReady"],["class","b-chip squared s",3,"onedevHovercardTrigger",4,"ngIf"],[3,"componentId","teamId"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",1),E(1,vqb,4,4,"div",2),V(2,
"async"),I(),G(3,"onedev-hovercard",null,0),L(5),K(6,"b-team-card",3),M(),I());if(a&2){var c;F("isReady",b.isTeamLoaded);A();F("ngIf",W(2,4,b.teamName$));A(5);F("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[zw,nB,EV,JL,OL,nT,Iw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var v5=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=f;this.eventsForIssueFridge=h;this.cdr=l;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new X.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=GLc;this.blockedIdsToUrlQuery=function(t){if(!(2>t.length))return{q:"blockingid:"+q.issueId}};this.HOTKEYS=br;
this.issue$=this.issueId$.pipe(wf(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(z(function(t){return null==t?void 0:t.snapshot[0].title}));this.starred$=this.issue$.pipe(z(function(t){var w;return Di(null==t?void 0:null==(w=t.userData)?void 0:w.starred)}));this.componentId$=this.issue$.pipe(z(function(t){return Di(null==t?void 0:t.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(z(function(t){return Di(null==t?void 0:t.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(z(function(t){return!!(t&&
0<t.size)}));this.teamId$=this.issue$.pipe(z(function(t){var w;return Di(null==t?void 0:null==(w=t.aggregatedData)?void 0:w.teamId)}));this.blockedByids$=this.issue$.pipe(z(function(t){var w;return null!=(w=null==t?void 0:t.snapshot[0].blockedByIssueId)?w:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(wf(this.issueFridge.watchSet),z(function(t){return t.filter(bo)}),z(function(t){return t.length}));Fk(this.issuesBlockedByCount$.pipe(z(Gqb),xf(this.destroyed$)),"Blocked");this.blockedByids$.pipe(z(Hqb));
this.blockedByids$.pipe(z(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(z(function(t){return(null==t?void 0:t.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(z(function(t){return q.computeStatusCssClass(t)}));this.prettyStatus$=this.status$.pipe(Ce(Ei),z(function(t){return Tk[t]}));this.statusIsFeatured$=this.status$.pipe(z(function(t){return!!o5b[t]}));this.toggleStar=function(){var t=
!!Gk(q.starred$);q.starToggleDisabled=!0;K$b(q.issueFridge,q.issueId,!t).pipe(pf(),xf(q.destroyed$)).subscribe(function(){q.starToggleDisabled=!1;q.cdr.markForCheck()})};this.toggleStarDebounced=NB(this.toggleStar,1E3)};Y(v5,Z);v5.\u0275dir=Z.\u0275dir;var gMc=function(a,b){a.editTitleDisabled=!0;M$b(a.issueFridge,a.issueId,b).pipe(xf(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId);a.cdr.markForCheck()})};
v5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};v5.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};Ac.Object.defineProperties(v5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});v5.\u0275fac=function(a){return new (a||v5)(C(iJ),C(EQ),C(mF),C(gJ),C(s5),C(hM),C(BI),C(Pg))};
v5.\u0275cmp=r({type:v5,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[Ff],decls:41,vars:50,consts:[["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],["card","onedevHovercard"],["cardBody",""],[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[4,"ngIf","ngIfElse"],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],
[1,"left","flex-kids-x","align-items-center"],[1,"nowrap"],["mat-icon-button","",1,"small","back-btn",3,"onHotkey","click","hotkey","matTooltip"],["svgIcon","arrow-backward",1,"icon-s"],["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"],[1,"right","pos-rel","flex-kids-x","align-items-center"],[3,"updateTitle","title","componentId","disabled","hasAclToEdit"],
["class","b-chip squared bad xs margin-xs-left",3,"onedevHovercardTrigger",4,"ngIf"],[4,"onedevHovercardLazyBody"],[1,"pos-br",3,"issueId"],["inert","","aria-hidden","true",3,"issueId"],[4,"ngTemplateOutlet"],[3,"onTeamLoaded","componentId","teamId"],[4,"ngIf"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId",4,"ngIf"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"ancestors","issueId"],[3,"componentId","issueId"],
[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"]],template:function(a,b){if(a&1){var c=v();G(0,"div",4);V(1,"async");V(2,"async");V(3,"async");K(4,"aside",5);V(5,"async");V(6,"async");G(7,"div",6)(8,"div",7);E(9,xqb,2,1,"ng-container",8);V(10,"async");
E(11,Aqb,4,7,"ng-template",null,0,Eg)(13,Cqb,4,7,"ng-template",null,1,Eg);I();G(15,"div",9);K(16,"b-pagination-one-issue");I()();G(17,"div",10)(18,"div",11)(19,"div",12)(20,"button",13);V(21,"async");V(22,"async");N("onHotkey",function(){x(c);return y(bMc(b.currentSearchResults))})("click",function(){x(c);return y(bMc(b.currentSearchResults))});K(23,"mat-icon",14);I();G(24,"button",15);N("onHotkey",function(){x(c);return y(b.refresh())})("click",function(){x(c);return y(b.refresh())});K(25,"mat-icon",
16);I();G(26,"b-star-toggle",17);V(27,"async");N("starClicked",function(){x(c);return y(b.toggleStar())})("onHotkey",function(){x(c);return y(b.toggleStarDebounced())});I()();K(28,"issue-chip-indicators");I();G(29,"div",18)(30,"issue-title",19);V(31,"async");V(32,"async");V(33,"async");N("updateTitle",function(e){x(c);return y(gMc(b,e))});I();E(34,Eqb,3,2,"div",20);V(35,"async");G(36,"onedev-hovercard",null,2);E(38,Fqb,4,7,"ng-container",21);I();K(39,"issue-actions",22)(40,"issue-actions",23);I()()()}if(a&
2){var d;a=R(14);Qf("overline",W(1,24,b.statusIsFeatured$))("color-field",W(2,26,b.statusIsFeatured$));fg("ngClass",W(3,28,b.statusCssClass$));A(4);gg("title","[",W(5,30,b.prettyStatus$),"] ",W(6,32,b.issueTitle$),"");A(5);F("ngIf",W(10,34,b.hasAncestors$))("ngIfElse",a);A(11);F("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=W(21,36,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");Hf("aria-label",W(22,38,b.currentSearchResults.backNavigationLabel$));A(4);F("hotkey",b.HOTKEYS.REFRESH_ISSUE);
A(2);F("starred",W(27,40,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);A(4);F("title",W(31,42,b.issueTitle$))("componentId",W(32,44,b.componentId$))("disabled",b.editTitleDisabled)("hasAclToEdit",W(33,46,b.issuePermissionService.hasAclToEdit$));A(4);F("ngIf",W(35,48,b.issuesBlockedByCount$));A(5);F("issueId",b.issueId);A();F("issueId",b.issueId)}},dependencies:[h5,Cw,zw,Hw,nB,nZ,JF,JL,KL,OL,LL,GV,r5,g5,CA,nE,OC,xL,u5,dMc,q5,fMc,Iw],styles:[".row-1[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{align-items:flex-start}.row-2[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{flex-grow:1}.chip[_ngcontent-%COMP%]{margin-left:8px}mat-divider[_ngcontent-%COMP%]{height:16px;margin-left:12px;border-color:#dadce0;border-color:var(--divider)}.back-btn[_ngcontent-%COMP%]{margin-left:-4px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px}b-star-toggle[_ngcontent-%COMP%]{margin-right:4px}b-pagination-one-issue[_ngcontent-%COMP%]{margin-left:8px;height:22px;margin-top:-5px}issue-actions.pos-br[_ngcontent-%COMP%]{bottom:0;right:0}issue-actions[inert][_ngcontent-%COMP%]{display:inline-flex;visibility:hidden}[_nghost-%COMP%]     .b-chip{margin-right:0;max-width:100%}[_nghost-%COMP%]     issue-title, [_nghost-%COMP%]     issue-title h3{display:inline}[_nghost-%COMP%]     b-app-vote-button .gmat-button:not([disabled]):not([aria-pressed=true]), [_nghost-%COMP%]     smart-dupe-btn .mat-stroked-button:not([disabled]), [_nghost-%COMP%]     hotlist-picker-btn .mat-stroked-button:not([disabled]){background-color:#fff;background-color:var(--background)}"]});var w5=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.issueTrackerId$=new X.BehaviorSubject("");var e;this.currentTrackerId=null==(e=this.activeSession.getTracker())?void 0:e.trackerId;this.showTrackerBanner$=this.issueTrackerId$.pipe(z(function(f){return!Wn(d.currentTrackerId)&&!!Wn(f)}));this.tracker$=this.issueTrackerId$.pipe(wf(function(f){return Wn(f)?d.trackerFridge.watch(f):(0,X.of)(void 0)}));this.trackerRedirectUrl$=this.tracker$.pipe(z(function(f){return iM(d.currentTracker,
String(d.issueId),f)}))};Ac.Object.defineProperties(w5.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});w5.\u0275fac=function(a){return new (a||w5)(C(hM),C(sK),C(Zr))};
w5.\u0275cmp=r({type:w5,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[["class","tracker-banner",4,"ngIf"],[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-button","small",3,"href"]],template:function(a,b){a&1&&(E(0,Iqb,7,6,"div",0),V(1,"async"),V(2,"async"));a&2&&F("ngIf",W(1,1,b.showTrackerBanner$)&&W(2,3,b.tracker$))},dependencies:[zw,DA,Iw],styles:[".tracker-banner[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);background-color:#fef7e0;background-color:var(--archived-bg-pale);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.tracker-banner[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--fab-button-bg);margin-left:auto}.tracker-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}.tracker-banner[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:.8125rem}"]});var x5=function(a,b,c,d){var e=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.imageUrls=d;this.trackerId$=new X.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(wf(function(f){return Wn(f)?e.trackerFridge.watch(f):(0,X.of)(void 0)}));this.trackerName$=this.tracker$.pipe(z(function(f){return f?f.name:e.activeSession.getAppName()}));this.currentTrackerLogo$=(0,X.of)(this.getLogoUrl(this.activeSession.getTracker()));this.trackerLogo$=this.tracker$.pipe(z(function(f){return e.getLogoUrl(f)}));
this.trackerRedirectUrl$=this.tracker$.pipe(z(function(f){var h="";e.issue&&(h=String(e.issueId));e.component&&(h="components/"+e.componentId);return f?iM(e.currentTracker,h,f):Occ(e.currentTracker,h)}))};x5.prototype.getLogoUrl=function(a){if(a){var b;if(null==(b=a.branding)||!b.logoUrl)return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}else return this.imageUrls.LOGO_LIGHT;var c,d;return null!=(d=null==(c=a.branding)?void 0:c.logoUrl)?d:""};
x5.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
Ac.Object.defineProperties(x5.prototype,{showResourceContainer:{configurable:!0,enumerable:!0,get:function(){return null!=this.issue||null!=this.component}},issueId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.issue)?void 0:a.issueId}},issueType:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.issue)?void 0:a.snapshot[0],c;return ei(null!=(c=null==b?void 0:b.type)?c:"TYPE_UNSPECIFIED")}},issueStatus:{configurable:!0,enumerable:!0,get:function(){var a,
b=null==(a=this.issue)?void 0:a.snapshot[0],c;return Tk[null!=(c=null==b?void 0:b.status)?c:"STATUS_UNSPECIFIED"]}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.component)?void 0:a.componentId}}});x5.\u0275fac=function(a){return new (a||x5)(C(hM),C(sK),C(Zr),C(XM))};
x5.\u0275cmp=r({type:x5,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[xd],decls:1,vars:1,consts:[["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[4,"ngIf"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",1,"gmat-button",
3,"href"]],template:function(a,b){a&1&&E(0,Kqb,15,13,"div",0);a&2&&F("ngIf",b.showResourceContainer)},dependencies:[zw,nB,DA,nE,OC,Iw],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 y5=function(){};y5.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,X.concat)((0,X.defer)(function(){return(0,X.of)(document.getElementById(a))}),T_a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(z(function(){return document.getElementById(a)}))).pipe(Ce(Ei),mf())};y5.\u0275fac=function(a){return new (a||y5)};y5.\u0275prov=Pc({token:y5,factory:y5.\u0275fac,providedIn:"root"});var z5=function(a){this.idWatch=a},hMc=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(mf(),z(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};z5.\u0275fac=function(a){return new (a||z5)(p(y5))};z5.\u0275prov=Pc({token:z5,factory:z5.\u0275fac,providedIn:"root"});var A5=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new X.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
A5.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(hMc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(xf(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};A5.prototype.ngOnDestroy=function(){this.destroyed$.next()};
A5.\u0275fac=function(a){return new (a||A5)(p(z5),p(RF),p(vQ),p(Q2))};A5.\u0275prov=Pc({token:A5,factory:A5.\u0275fac});var B5=function(a,b){Z.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(Ce(iwa),xf(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,f=null==(e=c.el.nativeElement)?void 0:e.scrollTop;f?window.sessionStorage.setItem(d,String(f)):window.sessionStorage.removeItem(d)});this.router.events.pipe(Ce(hwa),xf(this.destroyed$)).subscribe(function(d){Lqb(c.el.nativeElement,["scrollY",c.rememberScroll,d.url].join("-"))})};Y(B5,Z);
B5.\u0275fac=function(a){return new (a||B5)(C(Wd),C(mF))};B5.\u0275dir=jd({type:B5,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[Ff]});var C5=function(){};C5.\u0275fac=function(a){return new (a||C5)};C5.\u0275mod=hd({type:C5});C5.\u0275inj=Rc({imports:[rE,sF]});var Pqb=function(a){return{monorailRedirectUrl:a}},krb=function(){return{exact:!0}},D5=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya){Z.call(this);var ea=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=l;this.checkBeforeExit=q;this.butterBar=t;this.routerEvents=w;this.devopsGraph=B;this.refreshMonitor=D;this.eventsForIssueFridge=J;this.hotlistFridge=H;
this.permissionsFridge=O;this.issueRelationshipsFridge=P;this.issueService=U;this.errorHandler=aa;this.currentTracker=pa;this.monorailIssueRedirectApi=ka;this.domSafe=Aa;this.analytics=Ya;this.id$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.id$.pipe(wf(this.issueFridge.watch));this.readyForView$=(0,X.race)(this.issue$.pipe(z(function(na){return{success:!!na}})),this.issueFridge.error$.pipe(zf(this.id$),Ce(function(na){var Da=k(na);na=Da.next().value;Da=Da.next().value;return!(!Da||
Da!==na.idOrKey)}),z(function(){return{success:!1}})));this.hasIssueFetchResponseError$=this.issueFridge.error$.pipe(zf(this.id$),wf(function(na){var Da=k(na);na=Da.next().value;Da=Da.next().value;switch(na.status){case 403:return(0,X.of)(iMc(ea,na,!1));case 404:return jMc(ea,na,Da);default:return(0,X.of)(iMc(ea,na,!0))}}),tf({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(z(function(na){return null==na?void 0:na.trackerId}));this.showTrackerRedirect$=(0,X.combineLatest)([this.currentTracker.trackerId$,
this.issueTrackerId$]).pipe(z(function(na){var Da=k(na);na=Da.next().value;Da=Da.next().value;return ea.shouldShowTrackerRedirect(na,lsa("")(Da))}));this.snapshot$=this.issue$.pipe(z(function(na){return null==na?void 0:na.snapshot[0]}));this.archived$=this.snapshot$.pipe(z(function(na){return null==na?void 0:na.isArchived}));this.deleted$=this.snapshot$.pipe(z(function(na){return null==na?void 0:na.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(z(function(na){return na?
void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(z(function(na){return(null==na?void 0:na.isArchived)&&!(null==na?0:na.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(z(function(na){return(null==na?void 0:na.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Ce(Ei),z(function(na){return Tk[na]}));this.issue$.pipe(z(function(na){var Da;return null!=(Da=null==na?void 0:na.snapshot[0].title)?Da:""}));this.issuesBeingBlocked$=this.issue$.pipe(z(function(na){var Da;
return null!=(Da=null==na?void 0:na.snapshot[0].blockingIssueId)?Da:[]}),kf(1E3),wf(this.issueFridge.watchSet));this.issue$.pipe(z(function(na){var Da;return null!=(Da=null==na?void 0:na.snapshot[0].duplicateIssueId)?Da:[]}),kf(1E3),wf(this.issueFridge.watchSet));this.issueMetadata$=(0,X.defer)(function(){return ea.id$}).pipe(Ce(Ei),wf(function(na){return ea.issueService.getMetadata(na)}),tf({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(u(hE(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]));this.enableHelpMeFixSidebar$=this.snapshot$.pipe(z(function(na){return hE(ea.activeSession,
"enableHelpMeFixSidebar")&&ea.activeSession.isInternalSession()&&!(null==na||!na.componentId)&&ea.activeSession.getHelpMeFixSidebarComponentAllowlist().has(na.componentId)}));this.isHelpMeFixSidebarOpen=!1};Y(D5,Z);D5.\u0275dir=Z.\u0275dir;D5.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
D5.prototype.ngOnInit=function(){var a=this,b,c,d;return me(function(e){if(1==e.nextAddress)return b=vB,c=b.assertExists,oe(e,(0,X.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(a.hasIssueFetchResponseError$.pipe(Ce(function(f){return 404===f.status&&!!f.monorailRedirectUrl})).subscribe(function(f){setTimeout(function(){YN(a.domSafe,f.monorailRedirectUrl)},1E3)}));a.subscriptions.add(jY(a.checkBeforeExit,
function(){return a.editIssueService.issueCommentDraft(d).comment().hasContent()},!1));a.subscriptions.add(a.routerEvents.routeChangeSuccess.subscribe(function(){a.butterBar.dismiss()}));a.subscriptions.add(a.issue$.pipe(Ce(Ei),mf()).subscribe(function(f){kJ(a.issueFridge,[f.issueId],{userActivityType:"VIEW"})}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);
a.issueFridge.poke(d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(t$b);kJ(a.issueFridge,[d],{userActivityType:"RELOAD"})}));a.subscriptions.add(a.appEvents.openHelpMeFixSidebar.subscribe(function(){a.isHelpMeFixSidebarOpen=!0;Wo(a.analytics,sq.HELP_ME_FIX,"open","sidebarOpened")}));a.subscriptions.add(a.appEvents.closeHelpMeFixSidebar.subscribe(function(){a.isHelpMeFixSidebarOpen=!1;Wo(a.analytics,sq.HELP_ME_FIX,"close","sidebarClosed")}));a.destroyed$.subscribe(function(){a.devopsGraph.close();
var f=a.issueInteractionsTracking,h=f.getState(d);f.trackDestroy("edit-count",h.editCount);var l=Date.now()-h.startTime;xic(f,l,"idp-time-on-page",h.variations);f.resetState(d);a.editIssueService.clear(d)});se(e)})};
var iMc=function(a,b,c){(void 0===c?0:c)&&a.errorHandler.errorHandler(null,b);return{status:b.status,monorailRedirectUrl:null}},jMc=function(a,b,c){return c&&c===b.idOrKey?zLc(a.monorailIssueRedirectApi,c).pipe(z(function(d){return d?{status:b.status,monorailRedirectUrl:d.toString()}:iMc(a,b,!0)})):(0,X.of)(iMc(a,b,!0))};D5.\u0275fac=function(a){return new (a||D5)(C(TK),C(iJ),C(Zr),C(EQ),C(JQ),C(y4),C(gH),C(BQ),C(iY),C(pI),C(xF),C(HZ),C(gJ),C(BI),C(RI),C(PJ),C(BJ),C(fJ),C(qI),C(hM),C(a5),C(XN),C(ZI))};
D5.\u0275cmp=r({type:D5,selectors:[["issue-details-wrapper"]],features:[wg([ME,KQ,{provide:AU,useClass:A5}]),Ff],decls:14,vars:6,consts:[["showIssueDetails",""],["issueDetails",""],["showTrackerRedirect",""],["showMonorailRedirect",""],["showNoAccessScreen",""],["tabPanel",""],["rla","routerLinkActive"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["hasBackdrop","false"],[4,"ngTemplateOutlet"],["mode","side","position","end",
3,"opened","disableClose"],["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType","caution","class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center",
"cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],[3,"issueId",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target","_blank",4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],
["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error","format","app",1,"border-bottom"],[4,"ngIf"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],["mat-button","","aria-label",
"Undelete issue",3,"click","matTooltip","disabled"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[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&&(E(0,Mqb,2,1,"h2",7),V(1,"async"),E(2,Tqb,3,4),V(3,"async"),E(4,Zqb,3,3,"ng-template",null,0,Eg)(6,prb,2,4,"ng-template",null,1,Eg)(8,qrb,3,3,"ng-template",null,2,Eg)(10,rrb,4,2,"ng-template",null,3,Eg)(12,urb,3,1,"ng-template",null,4,Eg));if(a&2){var c;F("ngIf",W(1,2,b.id$));A(2);Uf((c=W(3,4,b.readyForView$))?2:-1,c)}},dependencies:[X0,Dw,zw,Hw,BE,CE,Ey,f5,v5,R_,CA,VZ,UZ,TZ,eV,aV,$uc,
bV,nE,OC,B5,YE,oF,pF,w5,x5,Iw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px;border-bottom:1px solid var(--divider)}mat-sidenav-container[_ngcontent-%COMP%]{height:100%}"]});var E5=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new X.BehaviorSubject([]);this.tableColumns="focus-indicator title team id createdTime reporter menu".split(" ");this.initialSort={active:"createdTime",direction:"desc"};this.getMenuItems=function(d){return[{type:"action",label:"Remove duplicate",action:function(){c.removeDuplicate(d)},title:"Remove duplicate",icon:"clear"}]}};Y(E5,Z);E5.\u0275dir=Z.\u0275dir;E5.prototype.ngOnInit=function(){};
E5.prototype.removeDuplicate=function(a){var b=this,c;return me(function(d){if(1==d.nextAddress)return ne(d,2),oe(d,b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return au(d,0);c=re(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);se(d)})};Ac.Object.defineProperties(E5.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
E5.\u0275fac=function(a){return new (a||E5)(C(iJ),C(pI))};E5.\u0275cmp=r({type:E5,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[Ff],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(E(0,vrb,2,4,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.duplicateIssueIds$))},dependencies:[zw,P3,Iw],encapsulation:2,changeDetection:0});var F5=function(a,b,c,d,e,f){Z.call(this);var h=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.imageUrls=f;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(z(function(l){return{path:"/issues",params:{q:"canonicalid:"+l}}}));this.issue$=this.id$.pipe(wf(this.issues.watch));this.duplicateIds$=this.issue$.pipe(z(function(l){var q;return null!=(q=null==l?void 0:l.snapshot[0].duplicateIssueId)?
q:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(wf(function(l){return 0===l.length?(0,X.of)(0):h.counts.duplicatesDualCount$.pipe(z(function(q){return q.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(z(function(l){return 0<l}),vf(!0));this.didChooseDupes=function(l){var q=Gk(h.id$);null!=q&&O$b(h.issues,q,l[0]).catch(h.gotErr)};this.gotErr=function(l){h.snackBar.open(Yn(l)||"Error with network request","close",{panelClass:"error"})}};Y(F5,Z);F5.\u0275dir=Z.\u0275dir;
F5.prototype.isThinking=function(){return this.issues.isThinking()};var wrb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};F5.\u0275fac=function(a){return new (a||F5)(C(tK),C(iJ),C(mX),C(lI),C(y4),C(XM))};
F5.\u0275cmp=r({type:F5,selectors:[["ng-component"]],features:[Ff],decls:4,vars:4,consts:[["hasResults",""],[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/duplicate-issue",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip",
"Add a duplicate to the current issue",1,"gmat-button","small",3,"click"],[1,"section-heading","muted"],["mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"gmat-button","small","add",3,"click"],[3,"issueId","duplicateIds",4,"ngIf"],[1,"margin-s-top","flex-kids-x","gap-s"],[3,"issueId","duplicateIds"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(G(0,"section",1),
E(1,Brb,5,4,"ng-container",2),V(2,"async"),I(),E(3,Crb,2,0,"aside",3));a&2&&(A(),F("ngIf",W(2,2,b.duplicateIds$)),A(2),F("ngIf",b.isThinking()))},dependencies:[zw,oF,CA,DA,nE,OC,GL,E5,Iw],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 G5=function(){};G5.\u0275fac=function(a){return new (a||G5)};G5.\u0275mod=hd({type:G5});G5.\u0275inj=Rc({imports:[rE,lA,BA,yx,zx,sF,cD,fV,vE,yM,VW,QN,wM,p4]});var H5=function(a){this.internalArray_=m(a)};Y(H5,n);g=H5.prototype;g.getIssueId=function(){return Zi(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Zi(this,1)};g.getIssueId_asString=function(){return Eu(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return Zi(this,2)};g.setAttachmentId=function(a){return xl(this,2,a)};g.getRestrictedRetention=function(){return Qi(this,3,0)};
g.setRestrictedRetention=function(a){return zl(this,3,a)};var kMc=function(a){this.internalArray_=m(a)};Y(kMc,n);kMc.prototype.getIt=function(){return Gi(this,H5,4)};kMc.prototype.setIt=function(a){return hj(this,H5,4,a)};kMc.prototype.hasIt=function(){return Ui(this,H5,4)};var I5=function(a){this.executor=a};I5.prototype.updateRetention=function(a,b,c){c=(new kMc).setIt((new H5).setIssueId(a).setAttachmentId(b).setRestrictedRetention(Bl(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:nQ}).pipe(z(qNa))};I5.\u0275fac=function(a){return new (a||I5)(p(HE))};I5.\u0275prov=Pc({token:I5,factory:I5.\u0275fac,providedIn:"root"});var J5=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new Uv};J5.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};J5.\u0275fac=function(a){return new (a||J5)};
J5.\u0275cmp=r({type:J5,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"click","href","rel"]],template:function(a,b){a&1&&E(0,Drb,2,3,"span",0)(1,Erb,2,3,"a",1);a&2&&(F("ngIf",b.isGreyedOut||
!b.linkEnabled),A(),F("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[zw],encapsulation:2,changeDetection:0});var K5=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O){Z.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=f;this.differs=h;this.paths=l;this.userAccess=q;this.butterBar=t;this.errorHandler=w;this.analytics=B;this.issueCommentDialogsService=D;this.issuePermissionService=J;this.editIssueService=H;this.routeParams=O;this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=!1;this.canDeleteAttachment$=
new X.BehaviorSubject(!1);this.canUndeleteAttachment$=new X.BehaviorSubject(!1)};Y(K5,Z);K5.\u0275dir=Z.\u0275dir;
K5.prototype.ngOnInit=function(){var a=this;this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create());var b;this.attachmentRetentionOverride=null==(b=this.attachment)?void 0:b.piiRetention;lMc(this);mMc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(xf(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);lMc(a)});this.issuePermissionService.canUndeleteAttachment$(this.attachment,this.attachmentUploader).pipe(xf(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);
lMc(a)})};K5.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&lMc(this)};K5.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var lMc=function(a){a.actionMenuItems=[];var b;if(null==(b=a.attachment)?0:b.attachmentId)a.canDeleteAttachment$.value&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."}),a.canUndeleteAttachment$.value&&a.actionMenuItems.push({type:"action",action:function(){Yic(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.actionMenuItems.push({type:"action",action:function(){WBc(a.issueCommentDialogsService,a.issueId,
a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});if(a.isRestricted()&&a.isActive()&&a.activeSession.isInternalSession()){var c="COMPONENT_DEFAULT"===a.attachmentRetentionOverride;a.actionMenuItems.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";VBc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&nMc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}a.cdr.markForCheck()};
K5.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,NG(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};K5.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
K5.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var Irb=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Se");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return t2b(a,"download",b)};K5.prototype.isActive=function(){var a;if(null==(a=this.attachment)||!a.attachmentId)return!1;var b;return"ACTIVE"===(null==(b=this.attachment.entityStatus)?void 0:b.status)};
K5.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getRestrictionSeverity()};K5.prototype.getRestrictionSeverity=function(){var a;return Io(null==(a=this.attachment)?void 0:a.contentVerdict)};K5.prototype.getRestrictedLabel=function(){return XEa(this.getRestrictionSeverity())};
var Jrb=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+WEa(a):""},Hrb=function(a,b){Wo(a.analytics,sq.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(ZN,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};K5.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var nMc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(Wo(a.analytics,sq.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(xf(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);wr(a.butterBar,"Attachment retention updated",4E3);
a.attachmentRetentionOverride="INDEFINITE"===b?"INDEFINITE":"COMPONENT_DEFAULT";lMc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;rI(a.errorHandler,"Attachment retention update failed")}})):rI(a.errorHandler,"Attachment id is missing")},mMc=function(a){var b,c,d;me(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,Hrb(a,d));se(e)})};
K5.\u0275fac=function(a){return new (a||K5)(C(Zr),C(TM),C(XN),C(QA),C(I5),C(ME,2),C(ww),C(RF),C(LG),C(pI),C(qI),C(ZI),C(lZ),C(EQ),C(JQ),C(vQ))};
K5.\u0275cmp=r({type:K5,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[wg([ME]),Ff,xd],decls:16,vars:8,consts:[["restrictedAccessHelp",""],[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info"],[3,"label","retentionState","contentType",4,"ngIf"],["class","bv2-issue-attachment-overflow-menu",
4,"ngIf"],[3,"class",4,"ngIf"],[3,"panelTemplate"],["class","bv2-restricted-access-help-icon help-icon",4,"ngIf"],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"customHandler","isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler"],[1,"bv2-restricted-access-help-icon","help-icon"],["aria-label","Restricted Access Help","mat-icon-button","","target","_blank",1,"help","small",
3,"href","disableRipple"],[3,"svgIcon"],[1,"implicit-access-help-bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"div",1),K(1,"b-icon",2),I(),G(2,"div")(3,"div",3),S(4),G(5,"span",4),E(6,Frb,1,3,"b-restricted-chip",5)(7,Grb,2,3,"span",6),I()(),G(8,"div"),S(9),E(10,Krb,2,8,"span",7)(11,Lrb,2,8,"span",7),G(12,"xap-bubble",8),E(13,Mrb,3,3,"span",9)(14,Nrb,4,1,"ng-template",null,0,Eg),I()()());if(a&2){a=R(15);A(4);T(" ",b.getFilename()," ");A(2);F("ngIf",b.isRestricted());A();
F("ngIf",0<b.actionMenuItems.length);A(2);T(" ",uFa(b.getSize())," ");A();var c;var d=b.isActive()&&dsa(null==(c=b.attachment)?void 0:c.contentType);F("ngIf",d);A();F("ngIf",b.isActive());A();F("panelTemplate",a);A();F("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[zw,nB,a0,J5,iE,DA,nE,OC,B2,UM],encapsulation:2,changeDetection:0});var oMc=new RegExp(/^.*?Exception.*(?:[\r\n]+^\s*at .*)+/m);var pMc=["commentActionsMenu"],qMc=["editDescription"],ksb=function(){return[]},L5=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O){Z.call(this);var P=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=f;this.errorHandler=h;this.analytics=l;this.butterBar=q;this.userAccess=t;this.issueCommentDialogsService=w;this.issuePermissionService=B;this.commentHistoryDialogService=D;this.dateFormatter=J;this.appEvents=H;
this.domSafe=O;this.id$=new X.ReplaySubject(1);this.accessLevel$=this.id$.pipe(wf(this.issueFridge.watch),z(function(U){var aa;return null==U?void 0:null==(aa=U.accessLimit)?void 0:aa.accessLevel}));this.firstEvent$=new X.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(z(function(U){return U}));this.commentActionMenuItems$=new X.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=Fk(this.firstEvent$.pipe(Ce(Ei),z(function(U){return U.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(Ce(Ei),z(function(U){return U.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Ce(Ei),z(function(U){return"DELETED"===U.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,X.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(z(function(U){var aa=k(U);U=aa.next().value;aa=aa.next().value;return!(!U||aa)}));this.isRestricted$=this.firstEvent$.pipe(Ce(Ei),z(function(U){return Io(U.commentContentVerdict)}),z(function(U){switch(U){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;
case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:vc(U)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Ce(Ei),z(function(U){return U.commentRetention}));this.commentHistoryEnabled=hE(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,X.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(z(function(U){var aa=k(U);U=aa.next().value;aa=aa.next().value;return!(!(hE(P.activeSession,"enableCommentHistoryUi")&&0<((null==U?void 0:U.commentVersion)||
0))||aa)}));this.canEditComment$=this.firstEvent$.pipe(wf(function(U){return U?P.issuePermissionService.canEditComment$(U):(0,X.of)(!1)}),tf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Gk(P.canEditComment$)};this.mayReadPii$=this.isRestricted$.pipe(wf(function(U){return U?P.mayReadPii():(0,X.of)(void 0)}));this.reporterUser$=this.id$.pipe(wf(function(U){return P.issueFridge.watch(U)}),z(function(U){var aa;return null==U?void 0:null==(aa=U.snapshot[0])?void 0:aa.reporterUser}));
this.reporterUserEmailAddress$=this.reporterUser$.pipe(z(function(U){return Zk(U)||""}));this.allEvents$=this.id$.pipe(wf(function(U){return P.eventsForIssue.watch(U)}));this.attachments$=this.allEvents$.pipe(z(function(U){var aa,pa;return null!=(pa=null==U?void 0:null==(aa=U.events[0])?void 0:aa.attachments)?pa:[]}));this.initialReporterEmail$=this.allEvents$.pipe(z(function(U){return null==U?void 0:U.events[0]}),z(function(U){U=k((null==U?void 0:U.postDiffs)||[]);for(var aa=U.next();!aa.done;aa=
U.next())if(aa=aa.value,"reporter"===aa.name)return aa.newValue||"";return""}));this.onBehalfOfEmail$=(0,X.combineLatest)([this.initialReporterEmail$,this.reporterUserEmailAddress$]).pipe(z(function(U){var aa=k(U);U=aa.next().value;aa=aa.next().value;return U||aa}));this.originalAuthor$=this.allEvents$.pipe(z(function(U){return null==U?void 0:U.events[0]}),z(function(U){return null==U?void 0:U.userPerformingActionUser}));this.originalAuthorEmail$=this.originalAuthor$.pipe(z(Zk));this.isAuthorNotReporter$=
(0,X.combineLatest)([this.originalAuthorEmail$,this.onBehalfOfEmail$]).pipe(z(function(U){var aa=k(U);U=aa.next().value;aa=aa.next().value;return U!==aa}));this.doesDescriptionContainStackTrace$=this.firstEvent$.pipe(z(function(U){if(!U||!U.unlinkifiedComment)return!1;var aa;return 0<(null!=(aa=U.unlinkifiedComment.match(oMc))?aa:[]).length}),tf({refCount:!0,bufferSize:1}));this.showHelpMeFix$=this.id$.pipe(wf(this.issueFridge.watch),z(function(U){var aa;return hE(P.activeSession,"enableHelpMeFixSidebar")&&
P.activeSession.isInternalSession()&&!!(null==U?0:null==(aa=U.snapshot[0])?0:aa.componentId)&&P.activeSession.getHelpMeFixSidebarComponentAllowlist().has(U.snapshot[0].componentId)}),tf({refCount:!0,bufferSize:1}))};Y(L5,Z);L5.\u0275dir=Z.\u0275dir;L5.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(wf(function(b){return(0,X.defer)(function(){return NG(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){Ek("error: ",c);return!1})})}))};
L5.prototype.ngOnInit=function(){var a=this;rMc(this,"PLAIN");this.id$.pipe(wf(function(b){return a.issueFridge.watch(b)}),z(function(b){return(null==b?void 0:b.description)&&EAa(null==b?void 0:b.description,b)}),xf(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(xf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(xf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.formattingMode$.pipe(xf(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";rMc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(xf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.subscriptions.add((0,X.combineLatest)([this.doesDescriptionContainStackTrace$,this.showHelpMeFix$]).pipe(mf()).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;
b&&Wo(a.analytics,sq.HELP_ME_FIX,"display","descriptionContainsStackTrace");b&&c&&Wo(a.analytics,sq.HELP_ME_FIX,"display","openButtonShown")}))};L5.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next()};
L5.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push(Object.assign({},TDc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}));var c=Gk(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){Jr(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:Gk(this.isRedacted$)});
Gk(this.isShowCommentHistoryActionInMenu$)&&c&&b.push(Object.assign({},VDc,{action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));c&&Bic(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&TBc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&Aic(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){QBc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});c&&Gk(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},UDc,{action:function(){UBc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(Gk(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&!Gk(this.isDeleted$)&&
this.activeSession.isInternalSession()){var d="COMPONENT_DEFAULT"===Gk(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";VBc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}Q9a({userIsExternal:!this.activeSession.isInternalSession(),issueIsExternal:"INTERNAL"!==Gk(this.accessLevel$)})&&
b.push(Object.assign({},SDc,{action:function(){var e=R9a({bugId:a.id,comment:1});a.domSafe.openInNewTab(e)}}));this.commentActionMenuItems$.next(b)};
var rMc=function(a,b){var c={};a.formattingModeMenuItems=(c.PLAIN={type:"select",action:function(){a.formattingMode$.next("PLAIN");a.initializeActionsMenu()},label:"Classic",selected:"PLAIN"===b},c.MARKDOWN={type:"select",action:function(){a.formattingMode$.next("MARKDOWN");a.initializeActionsMenu()},label:"Markdown",selected:"MARKDOWN"===b},c.LITERAL={type:"select",action:function(){a.formattingMode$.next("LITERAL");a.initializeActionsMenu()},label:"Source",selected:"LITERAL"===b},c)};
L5.prototype.updateCommentRetention=function(a){var b=this,c=Gk(this.firstEvent$),d=Gk(this.id$);c&&!c.commentNumber&&rI(this.errorHandler,"Comment number is missing");Wo(this.analytics,sq.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(xf(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);wr(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){rI(b.errorHandler,"Comment retention update failed")}})};
L5.prototype.loadRestrictedComment=function(a,b){var c=this;Wo(this.analytics,sq.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=b.commentNumber||0,e=Io(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(mf(),xf(this.destroyed$)).subscribe(function(f){f=MCa(b,f);c.firstEvent$.next(f);c.initializeActionsMenu()},function(f){var h;c.butterBar.showWarning("Error showing comment "+d+": "+(null==(h=f.error)?void 0:h.message))})};
L5.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};var Orb=function(a){var b=Gk(a.firstEvent$);b&&Jr(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},Urb=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=Vk(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",hO(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
Ac.Object.defineProperties(L5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return Gk(this.id$)}}});L5.\u0275fac=function(a){return new (a||L5)(C(BI),C(zF),C(iJ),C(AU),C(Zr),C(GK),C(qI),C(ZI),C(pI),C(LG),C(lZ),C(EQ),C(XQ),C(gO),C(gH),C(XN))};
L5.\u0275cmp=r({type:L5,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(lg(pMc,5),lg(qMc,5));if(a&2){var c;pg(c=qg())&&(b.commentActionsMenu=c.first);pg(c=qg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[Ff],decls:4,vars:4,consts:[["loading",""],["commentActionsMenu",""],["showFirstComment",""],["editDescription",""],["card",""],["showNote",""],["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["id","comment1",1,"flex-kids-x"],["svgIcon","description_24px",
"color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x"],[1,"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","class","gmat-button update-button small margin-xs-right","aria-label","Edit description",3,"click",4,"ngIf"],[4,"ngIf"],["class","keep-focus-ring first-comment",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[4,
"ngIf","ngIfElse"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],[3,"onedevHovercardTrigger","model"],[3,"email"],[3,"email","showEmail"],[1,"keep-focus-ring","first-comment",3,"click","routerLinkObj"],[1,"muted",3,"matTooltip"],[1,"description-deleted"],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",3,"onConfirm","disabled"],[1,"help-me-fix","margin-s-top"],["class",
"muted critical-feature",4,"ngIf"],["mat-flat-button","",1,"gmat-button",3,"click"],["svgIcon","spark_24px",1,"margin-xs-right"],["class","critical-feature",3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"muted","critical-feature"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",
3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(E(0,lsb,27,26,"div",6),V(1,"async"),E(2,msb,1,0,"ng-template",null,0,Eg));a&2&&(a=R(3),F("ngIf",W(1,2,b.firstEvent$))("ngIfElse",a))},dependencies:[a0,K5,QU,Dw,zw,nB,iO,JL,OL,LQ,CA,nE,OC,D2,AR,GL,MQ,NQ,Iw],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}.help-me-fix[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-radius:24px;padding-left:16px;padding-right:24px}.help-me-fix[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:relative;top:-1px}"]});var M5=function(a,b,c,d){Z.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(z(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),vf(""))};Y(M5,Z);M5.\u0275dir=Z.\u0275dir;
M5.prototype.onClick=function(){var a=this,b;return me(function(c){if(1==c.nextAddress)return a.isSaving?c.return():oe(c,(0,X.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);se(c)})};
M5.prototype.save=function(a){var b=this;Wo(this.analytics,sq.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,X.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){b.butterBar.showWarning('Couldn\'t save "full history" setting.');b.isSaving=!1;b.cdr.markForCheck()});this.prefs.save({commentFilterPreferences:{commentFilter:a?"FULL_HISTORY":"ALL_COMMENTS"}}).pipe(xf(this.destroyed$)).subscribe()};
M5.\u0275fac=function(a){return new (a||M5)(C(zF),C(Pg),C(ZI),C(pI))};
M5.\u0275cmp=r({type:M5,selectors:[["smart-full-history-btn"]],features:[Ff],decls:7,vars:16,consts:[["mat-icon-button","",1,"gmat-button",3,"click","matTooltip","disabled"],["svgIcon","history","class","icon-s",4,"ngIf"],[4,"ngIf"],["svgIcon","history",1,"icon-s"]],template:function(a,b){a&1&&(G(0,"button",0),V(1,"async"),V(2,"async"),V(3,"async"),V(4,"async"),N("click",function(){return b.onClick()}),E(5,nsb,1,0,"mat-icon",1)(6,osb,1,0,"b-spinner",2),I());a&2&&(Qf("on",W(1,8,b.on$)),F("matTooltip",
W(2,10,b.tooltip$))("disabled",b.isSaving),Hf("aria-pressed",W(3,12,b.on$))("aria-label",W(4,14,b.tooltip$)),A(5),F("ngIf",!b.isSaving),A(),F("ngIf",b.isSaving))},dependencies:[zw,nB,CA,nE,OC,GL,Iw],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-mdc-progress-spinner circle {\n      stroke: var(--text-inverse); \n\n    }"],changeDetection:0});var N5=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.activeSession=h;this.issueTypeToDisplay=ei;this.STATUS_JS_FULL_TEXT=Tk;this.STATUS_JS_TERSE=m5b;this.DUPLICATE="DUPLICATE";this.id$=new X.ReplaySubject(1);this.issue$=this.id$.pipe(wf(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(z(ysb));this.textOfHotlistBtn$=this.hotlistIds$.pipe(z(function(q){var t;
return null!=(t=null==q?void 0:q.length)?t:0}),z(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(z(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(z(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].type)?t:void 0}));this.canonicalId$=this.issue$.pipe(z(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(z(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(z(function(q){return o5b[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(z(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=br;this.enableCommentFilters=hE(this.activeSession,"enableCommentFiltering")};Y(N5,Z);N5.\u0275dir=Z.\u0275dir;N5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
var usb=function(a){return me(function(b){return oe(b,QLc(a.hotlistPickerService,a.issue$),0)})},ssb=function(a,b){var c,d;return me(function(e){switch(e.nextAddress){case 1:return oe(e,(0,X.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;yic(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});ne(e,3,4);var f=N$b(a.issueFridge,c,[],[String(b)]);return oe(e,f,6);case 6:return oe(e,a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:pe(e);a.eventsForIssueFridge.poke(c);
qe(e,0);break;case 3:d=re(e),sI(a.errorHandler,d),e.jumpTo(4)}})};Ac.Object.defineProperties(N5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});N5.\u0275fac=function(a){return new (a||N5)(C(iJ),C(BI),C(l5),C(BQ),C(qI),C(Ux),C(Zr))};
N5.\u0275cmp=r({type:N5,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[Ff],decls:14,vars:13,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],[1,"flex-kids-x","gap-s"],[1,"chip-container","border-right","padded-s-right"],[4,"ngIf"],[3,"class",4,"ngIf"],[3,"issuePriority"],["class","flex-1 hotlist-container chip-container",4,"ngIf"],["class","thread-filters",4,"ngIf"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],["class",
"type-s nowrap",4,"ngIf"],[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[1,"flex-1","hotlist-container","chip-container"],["mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"gmat-button","small","add-hotlists-btn",3,"onHotkey","click","hotkey"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id","removeHotlist",4,"ngFor","ngForOf"],["removable","check-acl",3,"removeHotlist","id"],[1,"thread-filters"],[3,"onedevIsHovercardReady","issueId"]],
template:function(a,b){a&1&&(G(0,"div",2)(1,"div",3),E(2,qsb,6,10,"div",4),V(3,"async"),E(4,rsb,2,4,"span",5),V(5,"async"),K(6,"b-issue-priority-display",6),V(7,"async"),I(),E(8,vsb,6,5,"div",7),V(9,"async"),E(10,wsb,2,0,"div",8),I(),G(11,"onedev-hovercard",null,0),E(13,xsb,3,4,"b-issue-card",9),I());a&2&&(A(2),F("ngIf",W(3,5,b.statusForChip$)),A(2),F("ngIf",W(5,7,b.type$)),A(2),F("issuePriority",W(7,9,b.priority$)),A(2),F("ngIf",W(9,11,b.hotlistIds$)),A(2),F("ngIf",!b.enableCommentFilters))},dependencies:[Dw,
zw,nB,JF,MX,JL,KL,OL,LL,NV,IV,CA,nE,OC,oF,M5,Iw],styles:["[_nghost-%COMP%]{display:block}.add-hotlists-btn[_ngcontent-%COMP%], button.gmat-button[_ngcontent-%COMP%]:not(.mat-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);margin:0 -2px;margin-top:-3px}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-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 O5=function(a,b,c,d){Z.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=hE(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Ir.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=sMc;this.showRecentEventsFirst=!1};Y(O5,Z);O5.\u0275dir=Z.\u0275dir;
O5.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ce(Ei),xf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(xf(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=Gsb(b.commentFilter):(a.selectedFilter=AF(a.preferences).showFullHistory?Dsb:Ir,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(xf(a.destroyed$)).subscribe())})};
O5.\u0275fac=function(a){return new (a||O5)(C(zF),C(Zr),C(TI),C(ZI))};
O5.\u0275cmp=r({type:O5,selectors:[["b-event-stream-header"]],features:[Ff],decls:8,vars:3,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","subscriptSizing","dynamic","class","filter-select",4,"ngIf"],["mat-stroked-button","","color","primary",1,"gmat-button","sort-order-button",3,"click"],[4,"ngIf"],["appearance","outline","subscriptSizing","dynamic",1,"filter-select"],[3,"valueChange","selectionChange","value"],["class","filter-option",3,"value",
4,"ngFor","ngForOf"],[1,"filter-option",3,"value"],[1,"filter-option-name"],[1,"filter-option-description"],["svgIcon","arrow-downward",1,"sort-order-arrow","icon-xs"],["svgIcon","arrow-upward",1,"sort-order-arrow","icon-xs"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"h4",1),S(2,"Comments"),I(),G(3,"div",2),E(4,Asb,5,3,"mat-form-field",3),G(5,"button",4),N("click",function(){gta("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;w$b(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(xf(b.destroyed$)).subscribe()}),
E(6,Bsb,4,0,"ng-container",5)(7,Csb,4,0,"ng-container",5),I()()());a&2&&(A(4),F("ngIf",b.enableCommentFilters),A(2),F("ngIf",!b.showRecentEventsFirst),A(),F("ngIf",b.showRecentEventsFirst))},dependencies:[Dw,zw,nB,CA,HO,dB,gR,aR,bR,jz],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-button[_ngcontent-%COMP%]   .mat-button-wrapper[_ngcontent-%COMP%]{display:inline-block;height:24px}.sort-order-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;height:24px;line-height:20px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px}[_nghost-%COMP%]     .filter-select{max-width: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 Dsb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Ir={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},Esb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},Fsb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},sMc=[Dsb,Ir,Esb,Fsb];var P5=function(){this.reactionState$=new X.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(Ce(Ei),z(function(a){return a.recentResponders.map(Zk).filter(function(b){return""!==b}).slice(0,5)}))};Ac.Object.defineProperties(P5.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});P5.\u0275fac=function(a){return new (a||P5)};
P5.\u0275cmp=r({type:P5,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:4,vars:3,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),E(2,Jsb,5,3,"ng-container",2),V(3,"async"),I()());a&2&&(A(2),F("ngForOf",W(3,1,b.emails$)))},dependencies:[Dw,
zw,Iw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var tMc=function(){};tMc.\u0275fac=function(a){return new (a||tMc)};tMc.\u0275cmp=r({type:tMc,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[[4,"ngIf"],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&E(0,Lsb,7,2,"ng-container",0);a&2&&F("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[zw,iO],encapsulation:2,changeDetection:0});var Q5=function(){this.texts=[]};Q5.prototype.getIssueId=function(a){return a.text};Q5.prototype.trackByIndex=function(a){return a};Q5.\u0275fac=function(a){return new (a||Q5)};
Q5.\u0275cmp=r({type:Q5,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[3,"email","withProfile",4,"ngSwitchCase"],[3,"href","issueId",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&E(0,Psb,5,3,"ng-container",0);a&2&&F("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[CU,Dw,Ew,Fw,Gw,TQ],encapsulation:2,changeDetection:0});var uMc=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Hr.HOTLIST_SEARCH};uMc.\u0275fac=function(a){return new (a||uMc)(C(RI))};uMc.\u0275cmp=r({type:uMc,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(G(0,"a",0),S(1),V(2,"async"),I());if(a&2){var c;F("href",b.HOTLIST_SEARCH(b.id),Ye);A();rg((null==(c=W(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[Iw],encapsulation:2,changeDetection:0});var R5=function(a){var b=this;this.componentFridge=a;this.id$=new X.ReplaySubject(1);this.name$=this.id$.pipe(lf(),wf(function(c){return b.componentFridge.watchOne(c).pipe(z(function(d){var e;return d?yUa(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};R5.prototype.ngOnChanges=function(){this.id$.next(this.id)};R5.\u0275fac=function(a){return new (a||R5)(C(ZH))};
R5.\u0275cmp=r({type:R5,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[xd],decls:6,vars:4,consts:[["thisHovercard","onedevHovercard"],["cardBody",""],[3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(G(0,"span",2),S(1),V(2,"async"),I(),G(3,"onedev-hovercard",null,0),E(5,Qsb,3,2,"ng-container",3),I());a&2&&(a=R(4),F("onedevHovercardTrigger",a),A(),rg(W(2,2,b.name$)||b.id))},dependencies:[JL,KL,OL,LL,
ZQ,Iw],encapsulation:2,changeDetection:0});var ntb=function(a){return{"bv2-diff-newvalue-nextline":a}},Htb=function(a,b,c){return{diff:a,change:b,isLast:c}},S5=function(a,b){Z.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=ni;this.isLinkedItemArray=nBa;this.isIssueDiff=kBa;this.isHotlistDiff=lBa;this.DiffType=s5b};Y(S5,Z);S5.\u0275dir=Z.\u0275dir;
var vMc=function(a){if(2>a.internalDiffs.length)return!1;var b=a.internalDiffs[0];a=a.internalDiffs.slice(1).find(function(e){return e.timestamp&&e.timestamp!==b.timestamp});if(!a)return!1;var c,d;return(null!=(c=b.timestamp)?c:0)<=(null!=(d=a.timestamp)?d:0)},wMc=function(a){if(2>a.internalDiffs.length)return!1;var b=a.internalDiffs[0];a=a.internalDiffs.slice(1).find(function(e){return e.timestamp&&e.timestamp!==b.timestamp});if(!a)return!1;var c,d;return(null!=(c=b.timestamp)?c:0)>=(null!=(d=a.timestamp)?
d:0)};S5.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ce(Ei),xf(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&vMc(a)||!b&&wMc(a))&&a.internalDiffs.reverse()})};S5.prototype.trackByIndex=function(a){return a};
var Ttb=function(a,b,c){return"<none>"===Nda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},Utb=function(a,b,c){return"<none>"===Nda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};S5.prototype.asNumber=function(a){return Number(a)};
S5.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};Ac.Object.defineProperties(S5.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(u(a))}}});S5.\u0275fac=function(a){return new (a||S5)(C(Zr),C(zF))};
S5.\u0275cmp=r({type:S5,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[Ff],decls:6,vars:2,consts:[["changeCollection",""],["effortNameDisabled",""],["nonEffortFieldNames",""],["notIssue",""],["plainLink",""],[1,"bv2-event-details"],["class","bv2-diff-row",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-diff-row"],[4,"ngIf"],["mode","time",1,"float-right",3,"timestamp"],[3,"ngSwitch"],
["class","bv2-diff-detail",4,"ngSwitchCase"],["class","bv2-diff-detail",4,"ngSwitchDefault"],[1,"bv2-diff-detail"],[4,"ngIf","ngIfElse"],[1,"bv2-diff-arrow"],[3,"email","showEmail"],[3,"id"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],[3,"email","showEmail",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title","For more detail, click on the three-dot menu near status update",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],["title","For more detail, click on the three-dot menu near status update"],[1,"muted","inline-block","margin-none","unhandled-diff-type"],[3,"href","issueId"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"div",5),E(1,jub,2,1,"div",6),I(),E(2,sub,1,1,"ng-template",null,0,Eg)(4,tub,2,0,"ng-template",null,1,Eg));a&2&&(A(),F("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[Cw,Dw,zw,Hw,Ew,Fw,Gw,iO,MQ,CU,uMc,R5,Mw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],
changeDetection:0});var T5=function(a){Z.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(xf(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case void 0:b.formattingModeOverride=void 0;break;default:vc(c.commentDisplayOverride)}})};Y(T5,Z);T5.\u0275dir=Z.\u0275dir;
T5.prototype.ngOnInit=function(){};T5.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";xMc(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL":"EXTERNAL";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var xMc=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=DFa(a.rawComment,250);else{var b=a.rawComment.split("\n").filter(function(c){return!(new Set(["","BEGIN_PUBLIC","END_PUBLIC"])).has(c.trim())}).slice(0,2);a.rawComment="MARKDOWN"===a.formattingMode||"MARKDOWN"===a.formattingModeOverride?b.join("\n\n"):b.join("\n")}};T5.\u0275fac=function(a){return new (a||T5)(C(zF))};
T5.\u0275cmp=r({type:T5,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[Ff,xd],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&K(0,"b-live-preview",0);a&2&&F("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[OU],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var yMc=["commentActionsMenu"],zMc=["commentReactionButton"],Cub=function(){return[]},Sub=function(a){return{"no-upvote-reactions":a}},U5=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa){Z.call(this);var pa=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=l;this.analytics=q;this.userPreferencesManager=t;this.issueDetailsBrain=w;this.editIssueService=B;this.issuePermissionService=D;
this.commentHistoryDialogService=J;this.issueCommentDialogsService=H;this.dateFormatter=O;this.paths=P;this.domSafe=U;this.eventsForIssueFridge=aa;this.isSummarized=!1;this.issueId$=new X.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(lf());this.event$=new X.ReplaySubject(1);this.isCommentEvent=Zn;this.isNonObfuscatedEmail=Pn;this.commentActionMenuItems$=new X.BehaviorSubject([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.formattingMode="PLAIN";this.commentRetentionOverride=null;this.wasSummarized=!1;a={};this.formattingModeMenuItems=(a.PLAIN={type:"select",action:function(){pa.formattingMode="PLAIN";pa.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){pa.formattingMode="MARKDOWN";pa.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){pa.formattingMode="LITERAL";pa.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(wf(function(ka){return pa.issuePermissionService.canEditComment$(ka)}),tf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Gk(pa.canEditComment$)};this.commentHistoryEnabled=hE(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=hE(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(wf(function(ka){return pa.editIssueService.editableIssue$(ka)}));this.modifiedDateDisplay$=this.event$.pipe(z(function(ka){return new Date(ka.modifiedDate)}),wf(function(ka){return hO(pa.dateFormatter,ka)}));this.ariaLabelHeading$=(0,X.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(z(function(ka){var Aa=k(ka);ka=Aa.next().value;Aa=Aa.next().value;if(null==ka)ka="";else{var Ya=[];ka.commentNumber&&Ya.push("Comment #"+
ka.commentNumber);ka.userPerformingActionUser&&Ya.push(Vk(ka.userPerformingActionUser));Ya.push("Modified: "+Aa);ka=Ya.join(", ")}return ka}));this.ReactionType=b5b;this.upvoteReactionCount$=this.event$.pipe(z(function(ka){var Aa,Ya,ea;return null!=(ea=null==(Aa=ka.commentReactions)?void 0:null==(Ya=Aa.get("UPVOTE"))?void 0:Ya.count)?ea:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(z(function(ka){return ka&&0!==ka?999<ka?"999+":String(ka):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(z(function(ka){return 0===ka}));this.commentReactionsHovercardConfig=Object.assign({},new ML,{position:[Zbc]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(z(function(ka){var Aa;return null!=(Aa=ka.commentFilter)?Aa:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(z(function(ka){return"FULL_HISTORY"===
ka}));this.preEventDiffs$=(0,X.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(z(function(ka){ka=k(ka);var Aa=ka.next().value;return ka.next().value?Aa.postDiffs:Aa.preDiffs}));this.postEventDiffs$=(0,X.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(z(function(ka){ka=k(ka);var Aa=ka.next().value;return ka.next().value?Aa.preDiffs:Aa.postDiffs}));this.hasAclToUpvoteReact$=(0,X.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(z(function(ka){var Aa=
k(ka);ka=Aa.next().value;Aa=Aa.next().value;var Ya,ea;return(null==(Ya=ka.commentReactions)?void 0:null==(ea=Ya.get("UPVOTE"))?void 0:ea.hasReacted)||Aa}));this.showCommentReactionHovercard$=(0,X.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(z(function(ka){var Aa=k(ka);ka=Aa.next().value;Aa=Aa.next().value;return ka&&0<Aa&&5>=Aa}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(z(function(ka){return ka&&$ub(pa)&&(0<pa.event.preDiffs.length||
0<pa.event.postDiffs.length)}));this.getCommentNumberLink=function(ka){return hl(pa.issueId,{comment:ka})}};Y(U5,Z);U5.\u0275dir=Z.\u0275dir;
U5.prototype.ngOnInit=function(){var a=this;this.event.commentNumber&&this.el.nativeElement.setAttribute("id","comment"+this.event.commentNumber);this.commentRetentionOverride=this.event.commentRetention;this.event$.pipe(xf(this.destroyed$)).subscribe(function(){Zn(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,X.of)(void 0)});AMc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(xf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(xf(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(xf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(xf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var AMc=function(a){if(a.formattingMode){for(var b=k(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=U5.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||rI(this.errorHandler,"Comment number is missing");Wo(this.analytics,sq.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(xf(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});wr(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride="INDEFINITE"===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){rI(b.errorHandler,"Comment retention update failed")}})};
g.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(null==b?void 0:b.commentVersion)!==(null==a?void 0:a.commentVersion)||(null==b?void 0:b.commentContentVerdict)!==(null==a?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&("UNSPECIFIED_FORMATTING_MODE"===this.event.formattingMode?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return XEa(Io(this.event.commentContentVerdict))};g.isRestricted=function(){var a=Io(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:vc(a)}};g.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};
var Kr=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
U5.prototype.loadRestrictedComment=function(){var a=this;Wo(this.analytics,sq.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,Io(this.event.commentContentVerdict)).pipe(mf()).subscribe(function(c){a.deobfuscatedEvent=MCa(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+(null==(d=c.error)?void 0:d.message))})};
U5.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)){this.isFormattingOverrideEnabled||(b.push(Object.assign({},TDc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]})),AMc(this));this.canEditComment()&&b.push({type:"action",action:function(){Jr(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Kr(this)});this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Kr(this)&&b.push(Object.assign({},VDc,{action:function(){a.event.commentNumber&&a.showCommentHistoryDialog(a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));!this.canonicalIssueId||this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){var d=a.paths.editIssue(a.canonicalIssueId,{template_issue:a.issueId,template_comment:a.event.commentNumber,
do_attribution:!0});a.domSafe.openInNewTab(d);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:Kr(this)});this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){OBc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Kr(this)});Bic(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){TBc(a.issueCommentDialogsService,
String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"});Aic(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){QBc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"});Gk(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},UDc,{action:function(){UBc(a.issueCommentDialogsService,
String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted()){var c="COMPONENT_DEFAULT"===this.commentRetentionOverride;b.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";VBc(a.issueCommentDialogsService,"comment",d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":
"Revert to component retention"})}Q9a({userIsExternal:!this.isInternalSession,issueIsExternal:"INTERNAL"!==this.issueAccessLevel})&&b.push(Object.assign({},SDc,{action:function(){null==a.event.commentNumber&&Ek("unable to buildLegalReportingUrl() correctly without an event.commentNumber");var d,e=R9a({bugId:a.event.issueId,comment:null!=(d=a.event.commentNumber)?d:0});a.domSafe.openInNewTab(e)}}))}this.commentActionMenuItems$.next(b)};var $ub=function(a){return Zn(a.event)&&!!a.event.unlinkifiedComment};
U5.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};U5.prototype.mayReadPii=function(){var a=NG(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){Ek("error: ",b);return!1});return(0,X.from)(a)};
var Qub=function(a){if(Gk(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=Tub(a,"UPVOTE"),c;a.issueCommentDialogsService.updateCommentReaction({issueId:a.issueId,commentId:null!=(c=a.event.commentNumber)?c:2,reactionType:"UPVOTE",hasReacted:!b}).then(function(d){a.commentReactionIsSaving=!1;if(d){var e=a.event;e.commentReactions=d;a.event$.next(e);CH(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=NCa(f.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});Wo(a.analytics,
sq.EDIT_ISSUE,"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},Tub=function(a,b){var c,d,e;return null!=(e=null==(c=a.event.commentReactions)?void 0:null==(d=c.get(b))?void 0:d.hasReacted)?e:!1},Rub=function(a,b){var c;a=null==(c=a.event.commentReactions)?void 0:c.get(b);if(!a)return"Comment reaction button";b="UPVOTE"===b?"Thumbs up":"";1===a.count?b+=", "+a.count+" reaction":1<a.count&&(b+=", "+a.count+" reactions");a.hasReacted&&(b+=", reacted");return b};
Ac.Object.defineProperties(U5.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});U5.\u0275fac=function(a){return new (a||U5)(C(TM),C(Zr),C(AU),C(GK),C(Wd),C(LG),C(pI),C(qI),C(ZI),C(zF),C(CQ),C(JQ),C(EQ),C(XQ),C(lZ),C(gO),C(RF),C(XN),C(BI))};
U5.\u0275cmp=r({type:U5,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(lg(yMc,5),lg(zMc,5));if(a&2){var c;pg(c=qg())&&(b.commentActionsMenu=c.first);pg(c=qg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[Ff,xd],decls:2,vars:3,consts:[["emailDisplay",""],["card",""],["commentActionsMenu",""],["commentReactionButton",""],["commentReactionCard","onedevHovercard"],[4,"ngIf"],[1,"bv2-event-user-image-cell"],
[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],[4,"ngIf","ngIfElse"],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],
["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class",
"align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",4,"ngIf"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"click","routerLinkObj"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],["content-type","comment",3,"label","retention","retentionState"],
[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"bv2-event-major-status"],[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"onConfirm","disabled"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-button","",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],["mat-stroked-button","",1,"comment-reaction-button",
3,"click","ariaLabel","ngClass","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive"],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],[3,"reactionState","issueId","commentNumber",4,"ngIf"],["svgIcon","thumb_up_24px",1,"icon-s"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],[3,"reactionState","issueId","commentNumber"],[1,"bv2-event-note-edit-timestamp"],[3,"event"],[3,"click",
4,"ngIf"],[3,"click"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(E(0,avb,41,29,"ng-container",5),V(1,"async"));a&2&&F("ngIf",W(1,1,b.issue$))},dependencies:[a0,K5,QU,Cw,Dw,zw,Hw,nB,iO,JL,OL,S5,LQ,B2,D2,AR,OQ,NQ,UQ,nE,OC,T5,CA,P5,tMc,Q5,Iw],styles:[".bv2-event-user[_ngcontent-%COMP%]{font-weight:400;margin:0;margin-bottom:12px}.bv2-event-user[_ngcontent-%COMP%]   b-user-membership-chip[_ngcontent-%COMP%]{margin-left:-8px}.bv2-event-user   .d-cozy[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-cozy   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:10px}.bv2-event-user   .d-compact[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-compact   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:8px}.summarized-note-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-top:8px;margin-left:-22px}.summarized-note-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{padding-right:8px}.comment-reaction-button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);min-width:20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px;margin-right:6px}.comment-reaction-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.comment-reaction-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.comment-reaction-button[_ngcontent-%COMP%]:focus:enabled:not(.comment-reaction-button[aria-disabled=true]), .comment-reaction-button[_ngcontent-%COMP%]:hover:enabled:not(.comment-reaction-button[aria-disabled=true]){box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}[_nghost-%COMP%]     .comment-reaction-button[aria-disabled=true].mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;color:#bdc1c6;color:var(--text-disabled)}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:rgba(26,115,232,.4);color:var(--hover-btn)}.no-upvote-reactions[_ngcontent-%COMP%]{border:0;margin-right:2px}.no-upvote-reactions[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:0}.comment-timestamp[_ngcontent-%COMP%]{margin-top:14px;-webkit-box-flex:0.92;-webkit-flex:0.92;-moz-box-flex:0.92;-ms-flex:0.92;flex:0.92}.comment-number[_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=history_event.css.map */"],
changeDetection:0});var BMc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},V5=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);var B=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.dynamicScrollIntoView=d;this.bLocation=e;this.elementRef=f;this.activeSession=h;this.routerEvents=l;this.analytics=q;this.teamFridge=t;this.issueFridge=w;this.issueId$=new X.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=BMc;this.internalEvents=[];this.showRecentEventsFirst=
null;this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=hE(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(wf(this.issueFridge.watch));this.events$=new X.ReplaySubject(1);this.commentsToFormat$=new X.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(wf(function(D){var J=new Set;return"TEAM_AND_ASSIGNEE"!==
D.commentFilter?(0,X.of)(J):B.issue$.pipe(wf(function(H){var O;if(void 0!==(null==H?void 0:null==(O=H.snapshot[0].assigneeUser)?void 0:O.emailAddress)){var P;J.add(null==H?void 0:null==(P=H.snapshot[0].assigneeUser)?void 0:P.emailAddress)}var U;if(void 0!==(null==H?void 0:null==(U=H.snapshot[0].verifierUser)?void 0:U.emailAddress)){var aa;J.add(null==H?void 0:null==(aa=H.snapshot[0].verifierUser)?void 0:aa.emailAddress)}var pa;if(void 0===(null==H?void 0:null==(pa=H.aggregatedData)?void 0:pa.teamId))return(0,X.of)(J);
var ka;return CMc(B,String(null==H?void 0:null==(ka=H.aggregatedData)?void 0:ka.teamId)).pipe(wf(function(Aa){Aa=k(Aa);for(var Ya=Aa.next();!Ya.done;Ya=Aa.next())J.add(Ya.value);return(0,X.of)(J)}))}))}));this.isLoading$=(0,X.combineLatest)([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(kf(0),z(function(D){var J=k(D);D=J.next().value;J=J.next().value;return D||J}));this.sendAnalytics=NB(function(){var D=[].concat(u(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(J){return J.innerText}).join("").length;
Wo(B.analytics,sq.EDIT_ISSUE,"updateCommentThread","visibleCharCount",D)},200);this.scrollToCommentOrAttachment=NB(function(){var D=B.bLocation.hash();if(D&&B.internalEvents){var J,H=k(null!=(J=D.match(RegExp("(comment|attachment)([0-9]+)")))?J:[]);H.next();J=H.next().value;var O=H.next().value;H=J;var P=O;if("lastcomment"===D){H=SCa(B.internalEvents);if(-1===H)return;P=String(H);H="comment"}if(H&&P){if(D=B.internalEvents.findIndex(function(U){return U.commentNumber===Number(P)}),J=-1<D,O=B.internalEvents.flatMap(function(U){return U.attachments}).some(function(U){return U.attachmentId===
Number(P)}),J||O)J&&"folded"===B.eventDisplayMode.get(D)&&(B.eventDisplayMode.set(D,"full"),DMc(B,D)),O&&(D=B.internalEvents.findIndex(function(U){return-1<U.attachments.findIndex(function(aa){return aa.attachmentId===Number(P)})}),B.eventDisplayMode.get(D)||(B.eventDisplayMode.set(D,"full"),DMc(B,D))),hMc(B.dynamicScrollIntoView,{elementId:H+P,parentElement:B.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(xf(B.destroyed$)).subscribe()}else hMc(B.dynamicScrollIntoView,
{elementId:D,parentElement:B.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(xf(B.destroyed$)).subscribe()}},200)};Y(V5,Z);V5.\u0275dir=Z.\u0275dir;
V5.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.authoritativeEmails$.subscribe(function(b){a.authoritativeEmails=b}));this.preferences.showRecentEventsFirst$.pipe(Ce(Ei),xf(this.destroyed$),lf()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,EMc(a))});(0,X.combineLatest)([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).subscribe(function(b){b=k(b);var c=b.next().value,d=b.next().value,e=b.next().value;b=[];
if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,FMc(a,c,d.commentFilter,e),GMc(a),c=k(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=k(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(Ce(Ei),xf(this.destroyed$),wf(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){HMc(a,
b)});this.routerEvents.navigationEnd$.pipe(xf(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var HMc=function(a,b){for(var c={i$jscomp$1120:0};c.i$jscomp$1120<a.internalEvents.length;c={i$jscomp$1120:c.i$jscomp$1120},c.i$jscomp$1120++)if(fvb(a.eventDisplayMode.get(c.i$jscomp$1120))&&Zn(a.internalEvents[c.i$jscomp$1120])){var d=b.find(function(e){return function(f){return f.id.commentId===a.internalEvents[e.i$jscomp$1120].commentNumber}}(c));d&&(a.internalEvents[c.i$jscomp$1120]=Object.assign({},a.internalEvents[c.i$jscomp$1120],{formattedComment:d.formattedComment.formattedComment,formattingMode:d.formattedComment.formattingMode}))}EMc(a)},
FMc=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=IMc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");Zn(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=b[c].commentNumber)?e:0))}break;case "ALL_COMMENTS":for(c=0;c<b.length;c++)e=JMc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),Zn(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add(null!=
(e=b[c].commentNumber)?e:0));break;case "HUMAN_ONLY":KMc(a,b,function(f){var h;return null!=(h=CBa(f.userPerformingAction)&&f.isMajorEvent)?h:!0});break;case "TEAM_AND_ASSIGNEE":KMc(a,b,function(f){var h;return null!=(h=d.has(f.userPerformingAction)&&f.isMajorEvent)?h:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),Zn(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=b[c].commentNumber)?e:0))}a.sendAnalytics()},GMc=function(a){if("FULL_HISTORY"!==
a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)Zn(a.internalEvents[b])&&go(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),DMc(a,b))},KMc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var l=c(b[h]);a.eventDisplayMode.set(h,l?"full":"folded");if(l){if(0<d||0<e)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Zn(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?
l:0))}else{if(Zn(b[h])&&b[h].commentNumber||$n(b[h]))d++,f=h;e++}}if(0<d||0<e)b=1===SCa(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:LMc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},LMc=function(a){return yaa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},IMc=function(a){return Zn(a)&&!!a.unlinkifiedComment||$n(a)||0<a.preDiffs.length||0<a.postDiffs.length},JMc=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&
(Zn(a)&&!!a.unlinkifiedComment||$n(a)||0<a.preDiffs.length||0<a.postDiffs.length)},EMc=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=MMc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=MMc(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;FMc(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY",a.authoritativeEmails);GMc(a)}a.internalEvents&&
0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},MMc=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};V5.prototype.trackEventByVersion=function(a,b){return b.version};
var DMc=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=null!=(d=null==(c=a.foldedCommentsCounts.get(b))?void 0:c.commentFoldedCount)?d:0,f,h;c=null!=(h=null==(f=a.foldedCommentsCounts.get(b))?void 0:f.eventFoldedCount)?h:0;1<e&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(u(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=k(e.entries()),f=e.next();!f.done;f=e.next())if(h=
k(f.value),f=h.next().value,h=h.next().value,f>b){if(0===h.commentFoldedCount-(f-b))a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(Zn(a.internalEvents[c])||$n(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}},
fvb=function(a){return"summarized"===a||"full"===a},CMc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(z(function(d){if(void 0!==d){d=k(d.members.map(function(f){return f.user.emailAddress}).filter(Ei));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
Ac.Object.defineProperties(V5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a&&(this.internalIssueId=a,this.issueId$.next(a))}},events:{configurable:!0,enumerable:!0,set:function(a){if(a&&0<a.length){var b=a;a=[].concat(u(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Yta(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
V5.\u0275fac=function(a){return new (a||V5)(C(HI),C(zF),C(BI),C(z5),C(QF),C(Wd),C(Zr),C(xF),C(ZI),C(oK),C(iJ))};
V5.\u0275cmp=r({type:V5,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[Ff],decls:6,vars:8,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(E(0,bvb,2,0,"aside",0),V(1,"async"),G(2,"div",1),E(3,gvb,3,2,"ng-container",2),I(),E(4,hvb,2,0,"aside",0),V(5,"async"));a&2&&(F("ngIf",b.showRecentEventsFirst&&W(1,4,b.isLoading$)),A(3),F("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),A(),F("ngIf",!b.showRecentEventsFirst&&W(5,6,b.isLoading$)))},dependencies:[Dw,zw,U5,CA,GL,Iw],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px}[_nghost-%COMP%]     .initial-diffs .bv2-event-details{margin-top:16px}.bv2-event[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.bv2-edit-issue-history-stream[_ngcontent-%COMP%] > .fold-indication[_ngcontent-%COMP%]:first-child{margin-top:16px}.fold-indication[_ngcontent-%COMP%]{margin-top:-12px;position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.fold-indication[_ngcontent-%COMP%]   .horizontal-divider[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto}.fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:1px solid;border-color:#1a73e8;border-color:var(--primary);background-color:#fff;background-color:var(--background);line-height:16px;height:24px;padding:0 8px}.fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus, .fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{border:1px solid;border-color:#1a73e8;border-color:var(--primary)}"]});var W5=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};W5.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};W5.\u0275fac=function(a){return new (a||W5)(C(eI),C(iI))};
W5.\u0275cmp=r({type:W5,selectors:[["refresh-data-notification"]],decls:6,vars:1,consts:[["role","button","aria-label","Refresh data",1,"refresh-data-notification-container",3,"click"],["svgIcon","refresh",1,"margin-right"],[1,"margin-xs-top","full-width"],["mat-icon-button","","aria-label","Dismiss new data notification",1,"refresh-data-notification-dismiss-button","small",3,"click"],["svgIcon","close",1,"icon-m"]],template:function(a,b){a&1&&(G(0,"div",0),N("click",function(){return b.snackbarRef.dismissWithAction()}),
K(1,"mat-icon",1),G(2,"p",2),S(3),I()(),G(4,"button",3),N("click",function(c){return b.onDismiss(c)}),K(5,"mat-icon",4),I());a&2&&(A(3),T(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[nB,CA],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 X5=function(a){this.snackbar=a},NMc=function(a){var b=br.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(W5,c);return a.currentSnackBar};X5.\u0275fac=function(a){return new (a||X5)(p(lI))};X5.\u0275prov=Pc({token:X5,factory:X5.\u0275fac,providedIn:"root"});var Y5=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);var B=this;this.eventsForIssue=a;this.issueFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=l;this.eventsForIssueWatcher=q;this.analytics=t;this.appEvents=w;this.id$=new X.ReplaySubject(1);this.events$=this.id$.pipe(wf(this.eventsForIssue.watch),z(function(D){var J;return null!=(J=null==D?void 0:D.events)?J:[]}));this.issue$=this.id$.pipe(wf(function(D){return B.issueFridge.watch(D)}));
this.accessLevel$=this.issue$.pipe(z(function(D){var J;return null==D?void 0:null==(J=D.accessLimit)?void 0:J.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(z(function(D){return D&&hE(B.activeSession,"enableImageSummary")}),vf(!0))};Y(Y5,Z);Y5.\u0275dir=Z.\u0275dir;
Y5.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.issueDetailsBrain.urlComment$.subscribe(function(b){var c=b.commentNumber;b=b.commentVersion;if(c&&void 0!==b&&-1<b){var d=Gk(a.id$);d&&a.commentHistoryDialogService.show(d,c,null!=b?b:-1)}}));this.subscriptions.add(this.eventsForIssue.error$.subscribe(function(b){a.errorHandler.errorHandler(null,b)}));this.subscriptions.add(KBc(this.eventsForIssueWatcher,Gk(this.id$)).subscribe(function(){OMc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(mf()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var OMc=function(a){Wo(a.analytics,sq.PUSH_UPDATE,"display","comment");NMc(a.refreshDataNotification).afterDismissed().subscribe(function(b){b.dismissedByAction?(Wo(a.analytics,sq.PUSH_UPDATE,"fetchResource","comment"),a.issueFridge.poke(Gk(a.id$)),a.eventsForIssue.poke(Gk(a.id$)),a.appEvents.scrollToCommentBox.next()):Wo(a.analytics,sq.PUSH_UPDATE,"dismiss","comment")})};Ac.Object.defineProperties(Y5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
Y5.\u0275fac=function(a){return new (a||Y5)(C(BI),C(iJ),C(zF),C(Zr),C(XQ),C(CQ),C(qI),C(X5),C(iZ),C(ZI),C(gH))};
Y5.\u0275cmp=r({type:Y5,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[Ff],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(K(0,"b-event-stream",0),V(1,"async"),V(2,"async"),V(3,"async"),V(4,"async"),V(5,"async"));a&2&&(F("issueId",W(1,5,b.id$))("events",W(2,7,b.events$))("issueAccessLevel",W(3,9,b.accessLevel$))("showFullHistory",W(4,11,b.preferences.showFullHistory$)),Hf("data-will-inline-screenshots",W(5,13,b.enableInlineScreenshots$)?
!0:null))},dependencies:[V5,Iw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var uvb=function(a,b){return{empty:a,"never-focused":b}},Z5=function(a,b,c,d,e,f,h,l,q,t,w,B,D){var J=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=f;this.issueDetailsBrain=h;this.issueCommentDialogsService=l;this.appEvents=q;this.bannedWordsChecker=t;this.componentFridge=w;this.currentTracker=B;this.butterBar=D;this.issueId$=new X.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(lf());this.issue$=
this.distinctIssueId$.pipe(wf(function(H){return J.editIssueService.editableIssue$(H)}));this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips");this.recaptchaResponse$=new X.BehaviorSubject("");this.commentSubmitted=new Uv;this.issueComponent$=this.issue$.pipe(wf(function(H){return J.componentFridge.watch(null==H?void 0:H.componentId)}));this.issueAccessLimitLevel$=
this.issuePermissionService.accessLimitLevel$.pipe(z(function(H){return null!=H?H:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(z(function(H){return"LIMIT_VIEW"===H||"LIMIT_APPEND"===H||"LIMIT_VIEW_TRUSTED"===H}));this.HOTKEYS=br;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(z(function(H){return H.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(z(function(H){return J.editIssueService.issueCommentDraft(H)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(wf(function(H){return H.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(wf(function(H){return H.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;
this.savingState$=this.issueId$.pipe(z(function(H){return J.editIssueService.savingState(H)}));this.isSaving$=this.savingState$.pipe(wf(function(H){return uq(H.propertiesBeingSaved,Ko("comment"))}));this.commentLimitReached$=this.events$.pipe(z(function(H){var O=J.activeSession.getCommentNumberLimit();return SCa(H)>=O}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(z(function(H){return H?"The comment limit has been reached and no additional comments are permitted.":J.activeSession.isAnonymous()?
"Sign in to use full features.":J.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,X.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(z(function(H){var O=k(H);H=O.next().value;var P=O.next().value;O=O.next().value;return H&&!P&&!O}));this.showRecaptcha$=(0,X.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(z(function(H){var O=k(H);H=O.next().value;O=
O.next().value;return H&&!O&&J.enableRecaptcha}));this.commentDraftUpdated$=new X.BehaviorSubject(!0);this.commentButtonEnabled$=(0,X.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(z(function(H){var O=k(H);H=O.next().value;var P=O.next().value,U=O.next().value;O=O.next().value;return H&&nic(P)&&!U&&(!J.enableRecaptcha||""!==O)}));this.empty$=(0,X.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(z(function(H){var O,
P;return null!=(P=null==(O=k(H).next().value)?void 0:O.value)?P:""}),z(function(H){return 0===H.length}));this.doAutoRestrictComment$=(0,X.combineLatest)([this.issueComponent$,this.comment$,this.commentDraftUpdated$]).pipe(z(function(H){H=k(H);var O=H.next().value,P=H.next().value;H.next();H=cp(J.currentTracker);var U=Gk(J.judgementForNewContent$);O=null!=O?O:null;P=0<P.uploads.length;var aa=!(null==O||!O.trackerId);U="RESTRICTED"!==(null==U?void 0:U.severity)&&"RESTRICTED_PLUS"!==(null==U?void 0:
U.severity);return aq(O)&&aa&&!H&&P&&U}))};Z5.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
Z5.prototype.autoRestrictComment=function(a){var b=this,c;return me(function(d){a&&(c={severity:"RESTRICTED",judgementReason:"Auto-restricted for issue on public tracker being edited from outside of a tracker",contentJudge:"",resourcePath:void 0,contentJudgementId:void 0},b.setJudgementForNewContent(b.issueId,c),wr(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."));se(d)})};
Z5.prototype.ngOnInit=function(){this.doAutoRestrictComment$.subscribe(this.autoRestrictComment.bind(this))};var kvb=function(a){var b;return me(function(c){b=!AF(a.userPreferencesManager).autoCcOnComment;Wo(a.analytics,sq.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return oe(c,(0,X.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
Z5.prototype.saveCommentDraft=function(){var a=this,b;return me(function(c){if(1==c.nextAddress)return a.bannedWordsChecker.reset(),oe(c,(0,X.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(jp(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);se(c)})};
Z5.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,l;return me(function(q){if(1==q.nextAddress)return a.stopPropagation(),c=b.enableRecaptcha?b.recaptchaResponse$.getValue():void 0,d=b.editIssueService.issueCommentDraft(b.internalIssueId).comment(),e=b.editIssueService.editableIssue(b.internalIssueId),oe(q,b.bannedWordsChecker.check(d.value,"EXTERNAL_PUBLIC"===b.issuePermissionService.accessLevel(),e.componentId),2);if(3!=q.nextAddress)return f=q.yieldResult,f?oe(q,b.issueCommentDialogsService.submitCommentBox(String(e.componentId),
b.internalIssueId,d,c),3):(null==(h=a)||h.preventDefault(),null==(l=b.commentBox)||svb(l),q.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();se(q)})};Z5.prototype.showNewContentJudgementDialog=function(){var a=this;return me(function(b){return oe(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
Z5.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&hE(this.activeSession,"enableReducePlusOneComments")&&!Gk(this.issueDetailsBrain.voted$)};Ac.Object.defineProperties(Z5.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)}}});
Z5.\u0275fac=function(a){return new (a||Z5)(C(EQ),C(zF),C(JQ),C(ZI),C(iQ),C(Zr),C(CQ),C(lZ),C(gH),C(hY),C(ZH),C(hM),C(pI))};
Z5.\u0275cmp=r({type:Z5,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&lg(mV,5);if(a&2){var c;pg(c=qg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},features:[wg([hY])],decls:2,vars:3,consts:[["commentBox",""],[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered","hotkey","supportsPreview","issueId","comment",
"componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn"],["class","banned-words-warning break-word","warning","",4,"ngIf"],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"onAction","click","format","disabled","color"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"issueId"],
[3,"accessLevel"],["warning","",1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["recaptchaContainer",""],[3,"onUpdate"],[3,"change","checked","disabled"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"change","initialValue"],[3,"issueId","componentId","accessLimitLevel"]],template:function(a,b){a&1&&(E(0,wvb,2,1,"ng-container",1),V(1,"async"));a&2&&F("ngIf",W(1,1,b.issue$))},dependencies:[LK,mV,PU,Cw,zw,VM,JF,KM,LM,yV,t5,qV,Iw],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-button.mat-flat-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}[_nghost-%COMP%]     .bv2-comment-toolbar .goog-inline-block b-button .gmat-button.mat-flat-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 $5=function(a){this.issueReferenceResolver=a;this.userToString=Zk};$5.prototype.ngOnInit=function(){};$5.prototype.getCommentNumberLink=function(a){return hl(this.issueId,{comment:a})};$5.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};$5.\u0275fac=function(a){return new (a||$5)(C(AU))};
$5.\u0275cmp=r({type:$5,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["personCard",""],["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"click","routerLinkObj"]],template:function(a,b){a&1&&E(0,Bvb,5,3,"span",1);a&2&&F("ngForOf",b.comments)},
dependencies:[Dw,zw,JL,OL,LQ,AR,lN],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 a6=function(a){Z.call(this);this.ngZone=a};Y(a6,Z);a6.\u0275dir=Z.\u0275dir;var PMc=function(a,b){return(new X.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var f=e[0];c.next({height:f.contentRect.height,width:f.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(xf(a.destroyed$))};a6.\u0275fac=function(a){return new (a||a6)(p(He))};a6.\u0275prov=Pc({token:a6,factory:a6.\u0275fac,providedIn:"root"});var QMc=["imagesSummaryWidget"],b6=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new X.ReplaySubject(1);this.paginate=!1;this.container$=new X.ReplaySubject(1);this.containerResize$=this.container$.pipe(z(function(e){return e.nativeElement}),wf(function(e){return PMc(d.resizeService,e)}));this.issueId$=new X.ReplaySubject(1);this.lastRenderedImageIndex$=new X.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(z(function(e){e=e.map(function(f){if(f.comment){var h=
IKa(f.href);if(h)return{src:h,comment:f.comment}}}).filter(Ei);return Ivb(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(z(function(e){return Math.floor((e.width-16)/216)}),tf({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(z(function(e){return 2*e}));this.imagesToRender$=(0,X.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(z(function(e){var f=k(e);e=f.next().value;var h=f.next().value;f=f.next().value;
return d.paginate?h.slice(0,f||e):h.slice(0,e)}),lf())};b6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};b6.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};b6.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};Ac.Object.defineProperties(b6.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return Gk(this.imageLinks$)}}});
b6.\u0275fac=function(a){return new (a||b6)(C(a6),C(mF),C(lk))};
b6.\u0275cmp=r({type:b6,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&lg(QMc,7);if(a&2){var c;pg(c=qg())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],["withoutPagination",""],[4,"ngIf"],[1,"container"],["class","image-wrapper",4,"ngFor","ngForOf"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["mat-button","",
"class","gmat-button small load-more-screenshots",3,"click",4,"ngIf","ngIfElse"],["mat-button","",1,"gmat-button","small","load-more-screenshots",3,"click"],["mat-button","",1,"gmat-button","small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(G(0,"div",null,0),E(2,Hvb,3,3,"ng-container",2),V(3,"async"),I());a&2&&(A(2),F("ngIf",W(3,1,b.allImages$)))},dependencies:function(){return[$5,Dw,zw,CA,NN,Iw,c6]},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 c6=function(){};c6.prototype.transform=function(a){return a.split(".png")[0]};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275pipe=kd({name:"removePngExtension",type:c6,pure:!0});var RMc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},Vwb=[].concat(u(Object.values(RMc)));var SMc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=no(function(d){Wo(c.analytics,sq.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=no(function(){Wo(c.analytics,sq.EDIT_ISSUE,"view","SW")})},Gwb=function(a,b,c){a.recordInteractionOnce(c);Lr(a.issueInteractionsTracking,b,c+"-content-interacted");Lr(a.issueInteractionsTracking,b,"SW-content-interacted")};var d6=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
d6.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=Pvb(b.markdownFormat.content);break a}if(b.literalFormat){a=Pvb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=k(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(Pvb(c));break a}}a=void 0}if(a=a&&TMc(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(UMc.has(c.nodeName))break;d=void 0;b.push(null!=(d=c.textContent)?d:"")}this.leftText=b.reverse().join("");b=[];for(c=a;c.nextSibling;){c=c.nextSibling;if(UMc.has(c.nodeName))break;d=void 0;b.push(null!=(d=c.textContent)?d:"")}this.rightText=b.join("");this.linkText=a.innerText||a.href}else this.relatedLink&&
(c=b=a="",fp(this.relatedLink)?c=b=this.relatedLink.href:JKa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?isa(iM(this.currentTracker,c),""):this.getIssueUrl(c)),this.issueId=a,this.originalHref=this.redirectedHref=b,this.isExternalLink=!1,this.rightText=this.leftText="",this.linkText=c)};
var TMc=function(a,b){if(a.relatedLink){if(JKa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(u(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(fp(a.relatedLink)){var d=a.relatedLink;return[].concat(u(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})}}};
d6.prototype.getIssueUrl=function(a){return iM(this.currentTracker,a)};d6.\u0275fac=function(a){return new (a||d6)(C(Zr),C(hM))};
d6.\u0275cmp=r({type:d6,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[xd],decls:8,vars:4,consts:[["internalLink",""],["hyperLink",""],[1,"wrapper"],["class","muted margin-xs-right left","aria-hidden","true",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","muted margin-xs-left right","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],[3,"href","issueId",4,"ngIf","ngIfElse"],
[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"],["aria-hidden","true",1,"muted","margin-xs-left","right"]],template:function(a,b){a&1&&(G(0,"div",2),S(1," \u201c "),E(2,Jvb,3,3,"span",3)(3,Kvb,3,3,"ng-container",4)(4,Nvb,3,2,"ng-template",null,0,Eg)(6,Ovb,2,1,"span",5),S(7," \u201d\n"),I());a&2&&(a=R(5),A(2),F("ngIf",b.leftText),A(),F("ngIf",b.isExternalLink)("ngIfElse",a),A(3),F("ngIf",b.rightText))},dependencies:[xU,CU,zw,dL],styles:["[_nghost-%COMP%]{overflow:hidden}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%], b-external-hyperlink-widget[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}b-external-hyperlink-widget[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{max-width:max(80%,350px)}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%]{flex-shrink:1000000;max-width:max(80%,200px);user-select:none}.left[_ngcontent-%COMP%]{direction:rtl;text-align:left;unicode-bidi:bidi-override}"],
changeDetection:0});var UMc=new Set(["BR"]);var e6=function(a,b,c,d,e){var f=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new X.ReplaySubject(1);this.currentIssueId$=new X.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new X.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(Ce(Ei),wf(function(h){var l=Rj(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(l).pipe(z(function(q){return new Map(q.map(function(t){return[null==
t?void 0:t.issueId.toString(),t]}))}),z(function(q){return new Map(l.map(function(t){return[t,q.get(t)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Ce(Ei),z(function(h){var l=new Map;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=q.issueId.toString();l.has(t)?l.get(t).push(q):l.set(t,[q])}return l}));this.allMentionedIssues$=(0,X.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(z(function(h){h=k(h);var l=h.next().value;h=h.next().value;return[].concat(u(h)).filter(function(q){return k(q).next().value!==
f.issueId}).map(function(q){var t=k(q);q=t.next().value;t=t.next().value;var w=l.get(q),B=null==w?void 0:w.map(function(D){var J,H,O=null==(J=D.comment)?void 0:null==(H=J.userPerformingActionUser)?void 0:H.emailAddress;return{commentNumber:D.sourceCommentNumber,author:(null==O?void 0:O.split("@")[0])+"@",issueEvent:D.comment}});return{hasViewAccess:!!t,issueId:q,shortIssueUrl:isa(f.activeSession.getAppBaseUrl(),q),sourceComments:B,title:null==t?void 0:t.snapshot[0].title,priority:t?t.snapshot[0].priority:
null,relatedLinks:w}})}));this.mentionedIssuesToRender$=(0,X.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(z(function(h){var l=k(h);h=l.next().value;l=l.next().value;return f.paginate?h.slice(0,l):h.slice(0,5)}))};e6.prototype.getCommentNumberLink=function(a){return hl(this.issueId,{comment:a})};e6.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
e6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Ac.Object.defineProperties(e6.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}}});e6.\u0275fac=function(a){return new (a||e6)(C(Zr),C(iJ),C(mF),C(lk),C(AU))};
e6.\u0275cmp=r({type:e6,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[["withoutPagination",""],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-issues",3,"click",4,"ngIf","ngIfElse"],
["mat-button","",1,"gmat-button","small","load-more-issues",3,"click"],["mat-button","",1,"gmat-button","small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(E(0,Wvb,3,3,"ng-container",1),V(1,"async"));a&2&&F("ngIf",W(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[Dw,zw,IV,CA,nE,OC,d6,$5,Iw,f6]},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 f6=function(){};f6.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(Ei)};f6.\u0275fac=function(a){return new (a||f6)};f6.\u0275pipe=kd({name:"toComments",type:f6,pure:!0});var g6=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new X.ReplaySubject(1);this.issueId$=new X.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new X.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(z(function(d){return aua(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,X.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(z(function(d){var e=k(d);d=e.next().value;
e=e.next().value;return c.paginate?dwb(d,e):6===d.length?dwb(d,6):dwb(d,5)}))};g6.prototype.ngOnInit=function(){};g6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Ac.Object.defineProperties(g6.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Te");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Gk(this.issueId$)}}});
g6.\u0275fac=function(a){return new (a||g6)(C(mF),C(lk))};
g6.\u0275cmp=r({type:g6,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[["withoutPagination",""],[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-links",
3,"click",4,"ngIf","ngIfElse"],["mat-button","",1,"gmat-button","small","load-more-links",3,"click"],["mat-button","",1,"gmat-button","small","see-all-links",3,"click"]],template:function(a,b){a&1&&(E(0,bwb,3,3,"ng-container",1),V(1,"async"));a&2&&F("ngIf",W(1,1,b.allLinkGroups$))},dependencies:function(){return[$5,Dw,zw,CA,d6,Iw,h6]},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 cwb=Nm(function(a){return Math.min.apply(Math,u(a.map(function(b){return b.sourceCommentNumber})))},Om),h6=function(){};h6.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(Ei)};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275pipe=kd({name:"toComments",type:h6,pure:!0});var i6=function(a,b,c,d,e,f){Z.call(this);var h=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.snackBar=c;this.analytics=d;this.hostElement=e;this.appEvents=f;this.similarIssueIds$=new X.ReplaySubject(1);this.isLoading=!0;this.issueIds$=this.similarIssueIds$.pipe(z(function(l){return l.slice(0,3)}),yf(function(l){h.mostRecentIssueIds=l;setTimeout(function(){h.isLoading=!1})}));this.mostRecentIssueIds=[];this.tableColumns=["title","dupeCount","voteCount","createdTime","menu"];this.tableOptions=
{modes:{createdTime:"date"},enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(l){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){VMc(h,l)}}]};this.gotErr=function(l){h.snackBar.open({message:Yn(l)||"Error with network request",snackbarType:"ERROR"})};this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(l){if(h.mostRecentIssueIds.includes(l)){var q;null==(q=h.analytics)||Wo(q,"similar-issues-idp",
"hovercard")}}))};Y(i6,Z);i6.\u0275dir=Z.\u0275dir;i6.prototype.ngOnInit=function(){this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0)};i6.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var VMc=function(a,b){var c=String(a.issueIdInternal);c&&O$b(a.issueFridge,b,c).then(function(){WMc(a,b);WMc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"}).afterDismissed().subscribe(function(d){d.dismissedByAction&&XMc(a,b,c)});Wo(a.analytics,"similar-issues-idp","closeAsDuplicate","fromSummaryWidget")}).catch(a.gotErr)},XMc=function(a,b,c){a.issueFridge.removeDuplicate(b,c).then(function(){WMc(a,b);WMc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);
Wo(a.analytics,"similar-issues-idp","undoCloseAsDuplicate","fromSummaryWidget")},WMc=function(a,b){a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b)};i6.prototype.captureAnyClick=function(){var a;null==(a=this.analytics)||Wo(a,"similar-issues-idp","any-click")};
Ac.Object.defineProperties(i6.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("Ue");}}});i6.\u0275fac=function(a){return new (a||i6)(C(iJ),C(BI),C(nI),C(ZI),C(Wd),C(gH))};
i6.\u0275cmp=r({type:i6,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId",similarIssueIds:"similarIssueIds"},features:[Ff],decls:3,vars:9,consts:[[3,"issueIds","tableColumns","options","menuItemFactory"],[4,"ngIf"]],template:function(a,b){a&1&&(K(0,"b-issues-table",0),V(1,"async"),E(2,ewb,2,0,"div",1));a&2&&(Qf("hidden",b.isLoading),F("issueIds",W(1,7,b.issueIds$))("tableColumns",b.tableColumns)("options",b.tableOptions)("menuItemFactory",b.menuItemFactory),A(2),F("ngIf",b.isLoading))},
dependencies:[zw,P3,GL,Iw],encapsulation:2});var j6=function(){qy.apply(this,arguments)};Y(j6,qy);j6.\u0275fac=function(){var a;return function(b){return(a||(a=Td(j6)))(b||j6)}}();j6.\u0275dir=jd({type:j6,selectors:[["","expandable-tab-content",""]],features:[Ff]});var k6=function(){qy.apply(this,arguments)};Y(k6,qy);k6.\u0275fac=function(){var a;return function(b){return(a||(a=Td(k6)))(b||k6)}}();k6.\u0275dir=jd({type:k6,selectors:[["","expandable-tab-header",""]],features:[Ff]});var l6=function(){qy.apply(this,arguments)};Y(l6,qy);
l6.\u0275fac=function(){var a;return function(b){return(a||(a=Td(l6)))(b||l6)}}();l6.\u0275dir=jd({type:l6,selectors:[["","expandable-tab-icon",""]],features:[Ff]});var m6=function(){};m6.prototype.ngOnInit=function(){};m6.\u0275fac=function(a){return new (a||m6)};
m6.\u0275cmp=r({type:m6,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(mg(c,k6,5,ig),mg(c,j6,5,ig),mg(c,l6,5,ig));if(a&2){var d;pg(d=qg())&&(b.tabHeaderTemplate=d.first);pg(d=qg())&&(b.tabContentTemplate=d.first);pg(d=qg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var YMc=function(a){return{allTabsExpanded:a}},fwb=function(a){return{tab:a}},wwb=function(){return[]},n6=function(){Z.apply(this,arguments);this.internalTabKeys$=new X.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new GQ;this.visibleExpandedTabs$=(0,X.combineLatest)([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(z(function(a){a=k(a);var b=a.next().value,c=a.next().value;return b.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new Uv;this.contentShownChanged=
new Uv;this.tabs$=new X.BehaviorSubject([]);this.allTabsExpanded$=(0,X.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(z(function(a){a=k(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));this.trackByKey=function(a,b){return b.key}};Y(n6,Z);n6.\u0275dir=Z.\u0275dir;
n6.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(vf(void 0),z(function(){return a.internalTabs.toArray()}),z(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),wf(function(b){return(0,X.combineLatest)([(0,X.of)(b),a.internalTabKeys$])}),z(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,X.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return Rra(new Set(b),new Set(c))}),lf(ki)).subscribe(function(b){a.contentShownChanged.emit(b)}))};n6.prototype.ngOnInit=function(){};n6.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,u(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
n6.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var mwb=function(a){var b;return me(function(c){if(1==c.nextAddress)return oe(c,(0,X.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();se(c)})};
Ac.Object.defineProperties(n6.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(u(a)))},get:function(){var a;return null!=(a=Gk(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(u(this.internalExpandedTabs))}}});n6.\u0275fac=function(){var a;return function(b){return(a||(a=Td(n6)))(b||n6)}}();
n6.\u0275cmp=r({type:n6,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&mg(c,m6,5);if(a&2){var d;pg(d=qg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[Ff],decls:11,vars:14,consts:[["headerText",""],["notExpanded",""],["spacer",""],["noTemplate",""],[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable",
"true",1,"expandable-tabs","flex-kids-x","centered-inside"],["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button",
"small",3,"click"],["role","tabpanel",3,"class","id",4,"ngIf"],["role","tabpanel",3,"id"],[1,"spacer"]],template:function(a,b){a&1&&(G(0,"div",4)(1,"div",5),E(2,lwb,8,17,"button",6),V(3,"async"),I(),E(4,nwb,3,6,"ng-container",7),V(5,"async"),I(),G(6,"div",8),E(7,ywb,3,3,"ng-container",9),V(8,"async"),I(),E(9,Dwb,3,2,"ng-template",null,0,Eg));a&2&&(A(),Hf("aria-label",b.ariaLabel),A(),F("ngForOf",W(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),A(2),F("ngIf",Ag(12,YMc,W(5,8,b.allTabsExpanded$))),A(3),
F("ngForOf",W(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[Dw,zw,Hw,nB,CA,Iw],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:4px 12px 4px 8px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.expanded[_ngcontent-%COMP%]{color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);border-color:transparent}.expandable-tab[_ngcontent-%COMP%]:hover{-webkit-filter:brightness(95%);filter:brightness(95%)}[_nghost-%COMP%]     .expandable-tab .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}[_nghost-%COMP%]     .expandable-tab.mat-button{line-height:unset}.expandable-tabs-hide-all[_ngcontent-%COMP%], .expandable-tabs-show-all[_ngcontent-%COMP%]{margin-left:auto}.expandable-tab-content[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expandable-tab-content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;color:#202124;color:var(--c900);margin:16px 0}.expandable-tab-content[_ngcontent-%COMP%]   .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 Hwb=function(){return[]},o6=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.similarIssuesApi=h;this.TabKeys=RMc;this.issueId$=new X.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(wf(function(q){return l.issueFridge.watch(q)}),Ce(Ei));this.commentNumberToEventMap$=this.issueId$.pipe(wf(function(q){return l.eventsForIssueFridge.watch(q)}),
z(function(q){var t;return null!=(t=null==q?void 0:q.events)?t:[]}),z(function(q){return new Map(q.filter(function(t){return!!t.commentNumber}).map(function(t){return[t.commentNumber,t]}))}));this.relatedLinks$=(0,X.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(z(function(q){q=k(q);var t=q.next().value,w=q.next().value,B;return(null==(B=t.relatedLinks)?void 0:B.map(function(D){return Object.assign({},D,{comment:w.get(D.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(z(function(q){return q.filter(FKa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(z(function(q){return Qj(q,function(t){return IKa(t.href)})}),z(function(q){return q.length}));this.shouldShowImages$=this.imageLinks$.pipe(z(function(q){return l.activeSession.isInternalSession()&&hE(l.activeSession,"enableImageSummary")&&ZMc(l,q)}));this.issues$=this.relatedLinks$.pipe(z(function(q){return q.filter(JKa)}));this.distinctIssuesCount$=this.issues$.pipe(z(function(q){return q.filter(function(t){return t.issueId!==l.issueId})}),z(function(q){return Qj(q,
function(t){return t.issueId})}),z(function(q){return q.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(z(function(q){return hE(l.activeSession,"enableRelatedIssuesWidget")&&!!q}));this.otherLinks$=this.relatedLinks$.pipe(z(function(q){return q.filter(KKa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(z(function(q){return Qj(q,function(t){return t.href})}),z(function(q){return q.length}));this.shouldShowLinks$=this.otherLinks$.pipe(z(function(q){return hE(l.activeSession,
"enableLinksWidget")&&l.shouldShowLinks(q)}));this.similarIssueIds$=this.issueId$.pipe(Ce(Ei),wf(function(q){return l.activeSession.isInternalSession()?Mvc(l.similarIssuesApi,{issueId:Number(q)}).pipe(z(function(t){return t.similarIssues})):(0,X.of)([])}),yf(function(q){q.forEach(function(t){l.issueFridge.announce(t)})}),z(function(q){return q.map(function(t){return t.issueId})}),tf({bufferSize:1,refCount:!0}));this.shouldShowSimilarIssues$=this.similarIssueIds$.pipe(z(function(q){return 0<q.length}));
this.tabKeys$=(0,X.combineLatest)([this.shouldShowSimilarIssues$.pipe(z(function(q){return{show:q,key:"SW-similar-issues"}})),this.shouldShowImages$.pipe(z(function(q){return{show:q,key:"SW-images"}})),this.shouldShowIssues$.pipe(z(function(q){return{show:q,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(z(function(q){return{show:q,key:"SW-links"}}))]).pipe(z(function(q){return q.filter(function(t){return t.show}).map(function(t){return t.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(z(function(q){return!!q.length}),
kf(0,X.asapScheduler));this.initiallyExpandedTabs=Vwb.map(function(q){return c8b(l.userPreferencesManager,q)?void 0:q}).filter(Ei);this.onTabExpanded$=new Uv;this.issueSummaryTracking=new SMc(this.issueInteractionsTracking,this.analytics)};Y(o6,Z);o6.\u0275dir=Z.\u0275dir;
o6.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(jf(1E3),wf(function(b){var c=b.expandedTabKeys;return b8b(a.userPreferencesManager,Object.fromEntries(b.allTabKeys.map(function(d){return[d,!c.has(d)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=k(b),f=e.next();!f.done;f=e.next())Lr(c.issueInteractionsTracking,
d,f.value+"-available");0<b.size&&Lr(c.issueInteractionsTracking,d,"SW-available")}))};o6.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var ZMc=function(a,b){if(0===b.length)return!1;b=b.every(function(c){var d;return 1===c.sourceCommentNumber&&"MARKDOWN"===(null==(d=c.comment)?void 0:d.formattingMode)});return AF(a.userPreferencesManager).showInlineImages&&b?!1:!0};
Ac.Object.defineProperties(o6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Gk(this.issueId$)}}});o6.\u0275fac=function(a){return new (a||o6)(C(Zr),C(zF),C(BQ),C(iJ),C(ZI),C(BI),C(CV))};
o6.\u0275cmp=r({type:o6,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[Ff],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["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"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"click","issueId","imageLinks"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"click","issueReferences","currentIssueId"],["svgIcon","link",1,"icon-s"],[3,"click",
"links","issueId"],["svgIcon","spark_24px","color","primary",1,"icon-s"],[3,"issueId","similarIssueIds","click",4,"ngIf"],[3,"click","issueId","similarIssueIds"]],template:function(a,b){a&1&&(G(0,"h3",0),S(1,"Issue summary"),I(),E(2,Wwb,17,6,"expandable-tabs",1),V(3,"async"));a&2&&(A(2),F("ngIf",W(3,1,b.tabKeys$)))},dependencies:[zw,nB,m6,j6,k6,l6,n6,b6,e6,g6,i6,Iw],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}"]});var p6=function(a){this.matDialog=a};p6.prototype.show=function(a){this.dialog=this.matDialog.open(q6,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,X.firstValueFrom)(this.dialog.afterClosed())};p6.\u0275fac=function(a){return new (a||p6)(p(QA))};p6.\u0275prov=Pc({token:p6,factory:p6.\u0275fac,providedIn:"root"});var q6=function(a,b,c){Z.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};Y(q6,Z);q6.\u0275dir=Z.\u0275dir;
q6.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(xf(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(xf(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};q6.\u0275fac=function(a){return new (a||q6)(C(PA),C(p6),C(NA))};
q6.\u0275cmp=r({type:q6,selectors:[["ng-component"]],features:[Ff],decls:8,vars:2,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],["class","version",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],
[1,"update-email"],[3,"email"]],template:function(a,b){a&1&&(G(0,"h1",0),S(1,"History for Status Update"),I(),G(2,"section",1)(3,"ul",2),E(4,Xwb,19,12,"li",3),I()(),G(5,"footer",4)(6,"button",5),S(7," Close "),I()());a&2&&(A(4),F("ngForOf",b.statusUpdates),A(2),F("mat-dialog-close",void 0))},dependencies:[Dw,iO,CA,RA,SA,TA,UA,bQ,OQ,NQ,jN,cQ],styles:[".history-list[_ngcontent-%COMP%]{overflow:auto;padding:0}.history-list[_ngcontent-%COMP%]   .version[_ngcontent-%COMP%]:first-child{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.version[_ngcontent-%COMP%]{position:relative;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);padding:8px 5px}.version-header[_ngcontent-%COMP%]{margin-left:40px}pre[_ngcontent-%COMP%]{cursor:auto;display:block;margin:20px 0 10px 40px;white-space:prewrap}b-formatted-date-time[_ngcontent-%COMP%]{float:right}.bv2-event-user-image-cell[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px;margin:0}.update-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=status_update_history.css.map */"],
changeDetection:0});var $Mc=["noteContainer"],jxb=function(a){return[a]},aNc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},r6=function(a,b,c,d,e,f,h,l,q){Z.call(this);var t=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=f;this.issuePermissionService=h;this.statusUpdateService=l;this.statusUpdateHistoryDialogService=q;this.Freshness=aNc;this.UiState=bNc;this.FormattingMode=SD;this.issueId$=new X.ReplaySubject(1);
this.issue$=this.issueId$.pipe(wf(this.issueFridge.watch));this.componentId$=this.issue$.pipe(z(function(w){return null==w?void 0:w.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(z(function(w){var B;return null==w?void 0:null==(B=w.accessLimit)?void 0:B.accessLevel}));this.issue$.pipe(z(function(w){var B;return null==w?void 0:null==(B=w.aggregatedData)?void 0:B.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(z(function(w){return null==w?void 0:w.statusUpdate}));this.statusUpdateAsNote$=
this.statusUpdate$.pipe(Ce(Ei),z(function(w){return{unlinkifiedComment:w.updateText,formattedComment:w.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(z(function(w){var B;return null!=(B=HFa(null==w?void 0:w.updateText))?B:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(z(function(w){return""===((null==w?void 0:w.updateText)||"").trim()}));this.freshnessIndicator$=(0,X.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(z(function(w){var B=k(w);w=B.next().value;B=B.next().value;
if(w)return 2;var D;w=(null==B?void 0:null==(D=B.updateTime)?void 0:D.seconds)||0;return 86400>Date.now()/1E3-w?0:1}));this.uiState$=this.statusIsEmpty$.pipe(z(function(w){return w?1:2}),vf(0));this.formattingModeOverride$=new X.BehaviorSubject(void 0);this.formattingMode$=(0,X.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(z(function(w){var B=k(w);w=B.next().value;return(B=B.next().value)?B:(null==w?void 0:w.formattingMode)||"PLAIN"}));this.menuItems$=(0,X.combineLatest)([this.issueId$,
this.statusUpdate$,this.issuePermissionService.hasAclToEdit$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(z(function(w){var B=k(w),D=B.next().value,J=B.next().value;w=B.next().value;var H=B.next().value;B=B.next().value;var O=null!=J;J=J&&""!==(null==J?void 0:J.updateText);var P=[];J&&P.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){t.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===B},{type:"select",
label:"Markdown",action:function(){t.formattingModeOverride$.next("MARKDOWN")},selected:"MARKDOWN"===B},{type:"select",label:"Source",action:function(){t.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===B}]});w&&P.push({type:"action",label:"Edit Status Update",action:function(){t.editStatusUpdate()}});O&&P.push({type:"action",label:"Show editing history",action:function(){cNc(t,D)}});J&&H&&P.push({type:"action",label:"Delete Status Update",action:function(){t.confirmationDialogService.open({title:"Delete Status Update?",
content:vh("\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(){t.doDelete()}})}});P.push(dNc);return P}));this.showEditButton$=this.issuePermissionService.hasAclToEdit$};Y(r6,Z);r6.\u0275dir=Z.\u0275dir;
r6.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return me(function(d){if(1==d.nextAddress)return oe(d,(0,X.firstValueFrom)(a.uiState$.pipe(Ce(function(e){return 0!==e}))),2);b=d.yieldResult;c=lxb(b);Wo(a.analytics,sq.ISSUE,"statusUpdateDisplay",c);se(d)})},1E3)};r6.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
r6.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,l,q;return me(function(t){switch(t.nextAddress){case 1:return oe(t,(0,X.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,oe(t,(0,X.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=null!=(e=Gk(a.statusUpdate$))?e:d,oe(t,(0,X.firstValueFrom)(a.accessLevel$),4);case 4:return h=t.yieldResult,l="INTERNAL"===h?"INTERNAL":"EXTERNAL",oe(t,a.editStatusUpdateDialogService.show(f,
l,c),5);case 5:q=t.yieldResult;if(null==q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){a.didSave(b,w)},function(w){a.errorHandler.errorHandler(null,w)});se(t)}})};var $wb=function(a){var b,c;return me(function(d){if(1==d.nextAddress)return oe(d,(0,X.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=Gk(a.statusUpdate$);if(!c)return d.return();a.statusUpdateService.update(c).subscribe(function(e){a.didSave(b,e)},function(e){a.errorHandler.errorHandler(null,e)});se(d)})};
r6.prototype.didSave=function(a,b){CH(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var cNc=function(a,b){var c;me(function(d){if(1==d.nextAddress)return oe(d,(0,X.firstValueFrom)(Ayc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);se(d)})};
r6.prototype.doDelete=function(){var a=this,b;me(function(c){if(1==c.nextAddress)return oe(c,(0,X.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){CH(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});se(c)})};Ac.Object.defineProperties(r6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});r6.\u0275fac=function(a){return new (a||r6)(C(ZI),C(nL),C(tN),C(kY),C(qI),C(iJ),C(EQ),C(eY),C(p6))};
r6.\u0275cmp=r({type:r6,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&lg($Mc,5);if(a&2){var c;pg(c=qg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[Ff],decls:2,vars:3,consts:[["userCard",""],["noteContainer",""],[3,"display-none","short-height","class",4,"ngIf"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[4,"ngIf"],[1,"flex-kids-x","space-between","align-items-center"],[1,"uppercase","inline-block","margin-s-right"],[1,"empty-message",
"muted","margin-s-right"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small",3,"click"],[1,"flex-1-hemmed"],[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",4,"ngIf"],["mat-stroked-button","","aria-label","Edit Status Update",
"color","primary",1,"gmat-button","small","margin-xs-right",3,"click"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"gmat-button","small","margin-xs-right","mark-fresh",3,"click"],["class","fresh-checkmark","matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",4,"ngIf"],[3,"onedevHovercardTrigger"],
["mode","relativepast",1,"margin-s-right",3,"timestamp"],[3,"email"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],["mat-stroked-button","","color","primary","class","gmat-button small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button",
"","color","primary",1,"gmat-button","small","show-more",3,"click"]],template:function(a,b){a&1&&(E(0,kxb,5,13,"div",2),V(1,"async"));a&2&&F("ngIf",W(1,1,b.uiState$))},dependencies:[a0,QU,zw,nB,iO,JL,OL,LQ,CA,nE,OC,Iw,lN],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 bNc={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},dNc={type:"action",label:"Using the Status Update field...",action:function(){$da(window,qc("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var s6=function(a){this.internalArray_=m(a)};Y(s6,n);s6.prototype.setModelId=function(a){yl(this,1,a)};s6.prototype.setTemperature=function(a){lp(this,3,ib(a))};s6.repeatedFields_=[5,6];var t6=function(a){this.internalArray_=m(a)};Y(t6,n);t6.prototype.getOptions=function(){return Gi(this,s6,1)};t6.prototype.setOptions=function(a){hj(this,s6,1,a)};t6.prototype.hasOptions=function(){return Ui(this,s6,1)};t6.prototype.setInput=function(a){return yl(this,2,a)};var Mr=function(a){this.internalArray_=m(a)};Y(Mr,n);Mr.prototype.getContent=function(){return ec(this,1)};Mr.prototype.setContent=function(a){return yl(this,1,a)};Mr.prototype.getScore=function(){return Kl(this,2)};Mr.prototype.setScore=function(a){return sm(this,2,a)};var u6=function(a){this.internalArray_=m(a)};Y(u6,n);u6.prototype.setModelId=function(a){yl(this,4,a)};u6.repeatedFields_=[1];var v6=function(a){this.internalArray_=m(a,0,v6.messageId)};Y(v6,n);v6.prototype.getResponse=function(){return Gi(this,u6,1)};v6.prototype.getReadonlyResponse=function(){return Eq(this,u6,1)};v6.prototype.getMutableResponse=function(){return xu(this,u6,1)};v6.prototype.setResponse=function(a){return hj(this,u6,1,a)};v6.messageId="b.GoosePredictionGenerateTextWrappedResponse";var w6=function(a){this.executor=a};
w6.prototype.generate=function(a){var b=(new t6).setInput(a.input);if(a.options){var c=new s6;void 0!==a.options.modelId&&c.setModelId(a.options.modelId);void 0!==a.options.outputCount&&gj(c,2,a.options.outputCount);void 0!==a.options.temperature&&c.setTemperature(a.options.temperature);void 0!==a.options.maxDecoderSteps&&gj(c,4,a.options.maxDecoderSteps);void 0!==a.options.eosId&&Ip(c,5,a.options.eosId);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,
responseConstructor:v6}).then(mxb)};w6.\u0275fac=function(a){return new (a||w6)(p(IE))};w6.\u0275prov=Pc({token:w6,factory:w6.\u0275fac,providedIn:"root"});var x6=function(a){this.internalArray_=m(a,0,x6.messageId)};Y(x6,n);x6.prototype.getResponse=function(){return Gi(this,QD,1)};x6.prototype.getReadonlyResponse=function(){return Eq(this,QD,1)};x6.prototype.getMutableResponse=function(){return xu(this,QD,1)};x6.prototype.setResponse=function(a){return hj(this,QD,1,a)};x6.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var y6=function(a){this.internalArray_=m(a,0,y6.messageId)};Y(y6,n);y6.prototype.getResponsesList=function(){return Ii(this,Q4b,1,hi())};y6.repeatedFields_=[1];y6.messageId="b.PiperReadFilesWrappedResponse";var z6=function(a){this.executor=a},fNc=function(a,b){return eNc(a,{paths:[b]}).then(function(c){var d,e;return{content:null!=(d=c.content.get(b))?d:"",revisionNumber:null!=(e=c.revisionNumber.get(b))?e:0}})},eNc=function(a,b){b=pxb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:y6}).then(qxb)},gNc=function(a,b){var c=new O4b;b.citcAlias&&Zh(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new PD).setText(e.text);d.call(c,
e)}b=b.files.map(txb);mm(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:x6}).then(rxb)};z6.\u0275fac=function(a){return new (a||z6)(p(IE))};z6.\u0275prov=Pc({token:z6,factory:z6.\u0275fac,providedIn:"root"});var hNc=new Set([426586]),iNc=new Set([1328519]),A6=function(a,b,c,d,e,f){this.eventsForIssueFridge=a;this.issueFridge=b;this.piperApi=c;this.gooseApi=d;this.activeSession=e;this.analytics=f;this.issueDescription=this.issue=null;this.supportedIssueList=[jNc,kNc,lNc,mNc,nNc,oNc,pNc,qNc,rNc,sNc,tNc]},wNc=function(a,b){return(0,X.combineLatest)([uNc(a,b),vNc(a,b)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;a.issue=c;a.issueDescription=d;a:{c=a.issue;d=a.issueDescription;var e=hE(a.activeSession,
"enableGoosePrompting"),f=hE(a.activeSession,"enableGoosePromptingSupportedIssues");if(null!=c&&null!=d&&bo(c))if(e){d="BUG"===c.snapshot[0].type||"FEATURE_REQUEST"===c.snapshot[0].type;var h,l;e="VULNERABILITY"===c.snapshot[0].type&&("QA"===a.activeSession.getEnvironmentType()&&hNc.has(null!=(h=c.snapshot[0].componentId)?h:0)||"PROD"===a.activeSession.getEnvironmentType()&&iNc.has(null!=(l=c.snapshot[0].componentId)?l:0));d&&Wo(a.analytics,sq.BUG_2_CODE,"display","isBugOrFeatureRequest");e&&Wo(a.analytics,
sq.BUG_2_CODE,"display","isAllowedVulnComponent");c=d||e}else{if(f)for(h=k(a.supportedIssueList),l=h.next();!l.done;l=h.next()){l=l.value;var q=f=void 0,t=void 0;e=l.creatorEmail&&(null==d?void 0:null==(t=d.userPerformingActionUser)?void 0:t.emailAddress)!==l.creatorEmail?!1:l.reporterEmail&&(null==(q=c.snapshot[0].reporterUser)?void 0:q.emailAddress)!==l.reporterEmail?!1:l.matchingDescriptionSubstring&&!(null==d?0:null==(f=d.unlinkifiedComment)?0:f.includes(l.matchingDescriptionSubstring))?!1:!0;
if(e){Wo(a.analytics,sq.BUG_2_CODE,"display",l.metricTag);c=!0;break a}}c=!1}else c=!1}return c}))},uNc=function(a,b){return a.issueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){return c?c:null}))},vNc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return null;c=[].concat(u(c.events.slice(0,1)));return 0<c.length?c[0]:null}))},xNc=function(a){return a.filter(function(b){return"+"!==b.charAt(0)}).map(function(b){return b.slice(1)})},
yNc=function(a,b,c){return xNc(c).every(function(d,e){return d===a[b+e]})},zNc=function(a,b,c){for(var d=[],e=xNc(b).length,f=a.length-e;c<=f;c++)yNc(a,c,b)&&d.push(c);0===d.length&&console.log("No matching locations.");1<d.length&&console.log("Multiple matching locations.");a=d[0];return{startRange:a,endRange:a+e}};
A6.prototype.applyDiff=function(a){var b=a.outputs[0];if(0===b.length)return"";b="@@\n"+b;a=b.split("\n");var c=[],d=0,e=0,f=0;b=k(b.split("@@\n").slice(1));for(e=b.next();!e.done;e=b.next()){var h=e.value;d=zNc(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=h.split("\n").filter(function(l){return"-"!==l[0]}).map(function(l){return l.slice(1)});c.push([e,f,h])}d=e=b=0;c=k(c);for(e=c.next();!e.done;e=c.next())e=k(e.value),f=e.next().value,b=e.next().value,e=e.next().value,f+=d,b+=d,a.splice.apply(a,
[f,b-f].concat(u(e))),b-=f,e=e.length-b,d+=e;return a.join("\n")};A6.\u0275fac=function(a){return new (a||A6)(p(BI),p(iJ),p(z6),p(w6),p(Zr),p(ZI))};A6.\u0275prov=Pc({token:A6,factory:A6.\u0275fac,providedIn:"root"});
var B6=function(a,b,c,d){this.creatorEmail=a;this.reporterEmail=b;this.matchingDescriptionSubstring=c;this.metricTag=d},jNc=new B6(null,null,"Visit Upkeep to monitor tech debt of your","isUpkeepIssue"),kNc=new B6("cloud-control2-frontend-onboarding-automation@prod.google.com","cloud-control2-frontend-onboarding-automation@prod.google.com",null,"isCloudControl2FrontendOnboardingAutomationIssue"),lNc=new B6("flagbuster-prod@prod.google.com","flagbuster@prod.google.com",null,"isFlagBusterIssue"),mNc=
new B6("corpeng-compliance-checker@prod.google.com","corpeng-compliance-checker@prod.google.com",null,"isCorpEngComplianceCheckerIssue"),nNc=new B6("gce-fleet-deployment-autocleanup-jobs@prod.google.com","gce-fleet-deployment-autocleanup-jobs@google.com",null,"isGCEFleetDeploymentAutoCleanupIssue"),oNc=new B6("identity-metrics@prod.google.com","identity-metrics@prod.google.com",null,"isIdentityMetricsIssue"),pNc=new B6("dirt-federated-docs@prod.google.com","dirt-federated-docs@prod.google.com",null,
"isDirtFederatedDocsIssue"),qNc=new B6("rtc-bugle-mapreduce@prod.google.com","rtc-bugle-mapreduce@prod.google.com",null,"isRtcBugleMapreduceIssue"),rNc=new B6("assistant-server-dev@prod.google.com","assistant-server-dev@prod.google.com",null,"isAssistantServerDevIssue"),sNc=new B6("gce-turnup-smi-runner@prod.google.com","gce-turnup-smi-runner@prod.google.com",null,"isGCETurnupSmiRunnerIssue"),tNc=new B6("cloud-sdk-testing@prod.google.com","cloud-sdk-testing@prod.google.com",null,"isCloudSdkTestingIssue");var ANc=/:(\w+):/,BNc=/(\/\/depot\/)?(google3\/[A-Za-z0-9\.\/_-]+)/,C6=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.dialogRef=a;this.piperApi=b;this.gooseApi=c;this.issueFridge=d;this.eventsForIssueFridge=e;this.domSafe=f;this.analytics=h;this.data=l;this.stages=[];setTimeout(function(){return q.generate()},1E3)};Y(C6,Z);C6.\u0275dir=Z.\u0275dir;
C6.prototype.generate=function(){var a=this,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa;return me(function(ka){switch(ka.nextAddress){case 1:if(!Aa)var Aa=a.data.issueId;Aa=(0,X.firstValueFrom)(a.issueFridge.watch(Aa,{trustUncertainMemory:!0}).pipe(Ce(Ei),pf()));return oe(ka,Aa,2);case 2:return b=ka.yieldResult,oe(ka,CNc(a),3);case 3:e=null!=(d=null==(c=ka.yieldResult)?void 0:c.unlinkifiedComment)?d:"",h=(f=e.match(BNc))?"//depot/"+f[2]:"";case 4:return h?oe(ka,DNc(a,h),8):oe(ka,ENc(a),7);case 7:l=ka.yieldResult;
h=(q=l.match(BNc))?"//depot/"+q[2]:"";ka.jumpTo(4);break;case 8:return t=ka.yieldResult,D=null!=(B=null==(w=b)?void 0:w.snapshot[0].title.trim())?B:"",J=e.trim(),H="\u25a0 cat "+h+"\n"+t.content+"\n\u25a0 Bug b/2234234 title\n"+D+"\n\u25a0 Bug b/2234234 description\n"+J+'\n\u25a0 critique --cl_description --cl_number=541707606\nAutomated fix for "'+D+'"\n\u25a1 What is the code diff needed to fix the bug?\n\u25a0 patch --goose '+h+"\n@@\n",oe(ka,FNc(a,"Analyzing issue using LLM",H),9);case 9:return O=
ka.yieldResult,P="@@\n"+O,oe(ka,GNc(a,P),10);case 10:return oe(ka,a.applyDiff(t.content,P),11);case 11:return U=ka.yieldResult,aa="\u25a0 diff --goose --from=BASE --to=CURRENT "+h+"\n"+P+"\n\u25a1 What are the key changes in the code diff?\n\u25a0 critique --cl_description\n",oe(ka,FNc(a,"Generating changelist description",aa),12);case 12:return pa=ka.yieldResult,a.stages.push({title:"Create changelist",description:pa,state:"in-progress",type:"changelist-create",contents:U,revision:t.revision,path:h}),
Aa=Promise.resolve(),oe(ka,Aa,0)}})};
var CNc=function(a){if(!b)var b=a.data.issueId;return(0,X.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return null;c=c.events.slice(0,1);return 0<c.length?c[0]:null}),pf()))},ENc=function(a){return new Promise(function(b){var c={title:"Request file path (starting with either //depot/\u2026 or google3/\u2026)",state:"in-progress",value:"",type:"text-input",callback:function(){c.state="complete";b(c.value)}};a.stages.push(c)})},FNc=function(a,b,
c){var d={title:b,state:"in-progress",type:"process"};a.stages.push(d);return a.gooseApi.generate({input:c,options:{modelId:"/sax/goose2/goose_2_m_quant_in28k_out4k",temperature:0,maxDecoderSteps:4E3}}).then(function(e){if(e.outputBlocked)throw d.state="error",d.error="LLM output blocked.",Error("We");d.state="complete";return e.outputs[0]})},DNc=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return fNc(a.piperApi,b).then(function(d){c.state=
"complete";return{content:d.content,revision:d.revisionNumber}}).catch(function(d){c.state="error";c.error=d.message;throw d;})},GNc=function(a,b){var c={title:"Previewing code changes",state:"complete",type:"diff-preview",blocks:[]};a.stages.push(c);a=b.split(/^@@$/m).map(function(d){return d.trim()}).filter(function(d){return 0<d.length});a=k(a);for(b=a.next();!b.done;b=a.next())c.blocks.push({lines:b.value.split("\n")});console.log(c);return Promise.resolve()};
C6.prototype.applyDiff=function(a,b){var c={title:"Applying code changes",state:"in-progress",type:"process"};this.stages.push(c);try{var d=yxb(a,b);c.state="complete";return Promise.resolve(d)}catch(e){return c.state="error",c.error=""+e,Promise.reject(e)}};
C6.prototype.patch=function(a){var b=this;if("changelist-create"===a.type){a.state="complete";var c={sourceFile:{sourceFileId:{depotPath:a.path,revisionNumber:a.revision+1},fileOperation:0===a.revision?2:7},content:Kxb(a.contents)};a={changeDescription:{text:a.description+"\n\nGenerated by #bug2code\n\nBUG="+this.data.issueId+"\nBUG2CODE="+this.data.issueId},citcAlias:"bug2code_fix_"+Date.now(),files:[c]};return gNc(this.piperApi,a).then(function(d){var e=d.changeNumber;d="https://cider.corp.google.com/?createWs="+
d.workspaceName.match(ANc)[1]+"&patchCl="+e;b.domSafe.openInNewTab(d);Wo(b.analytics,sq.BUG_2_CODE,"patchCL");b.dialogRef.close()})}};C6.prototype.blocks=function(a){return"diff-preview"===a.type?a.blocks:[]};C6.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};C6.\u0275fac=function(a){return new (a||C6)(C(IZb),C(z6),C(w6),C(iJ),C(BI),C(XN),C(ZI),C(JZb))};
C6.\u0275cmp=r({type:C6,selectors:[["b-llm-generation-dialog"]],features:[Ff],decls:12,vars:1,consts:[[1,"dialog"],["mat-dialog-title","",1,"heading"],[1,"heading-m"],["svgIcon","spark_24px",1,"icon-m"],["mat-dialog-content","",1,"content"],[1,"stepper"],["class","stage",4,"ngFor","ngForOf"],["mat-dialog-actions","",1,"actions"],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],[1,"stage"],[1,"icon",3,"ngSwitch"],["svgIcon","clear","class","icon-s",4,"ngSwitchCase"],["svgIcon","done","class",
"icon-s",4,"ngSwitchCase"],["svgIcon","spark_24px","class","icon-s",4,"ngSwitchDefault"],[3,"ngSwitch","class",4,"ngIf"],["svgIcon","clear",1,"icon-s"],["svgIcon","done",1,"icon-s"],["svgIcon","spark_24px",1,"icon-s"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"block"],["type","text",3,"keyup","disabled"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"click","disabled"],["class","change-block codefont",4,"ngFor","ngForOf"],
[1,"change-block","codefont"],[1,"change"],["class","line",3,"remove","add",4,"ngFor","ngForOf"],[1,"line"],[1,"changelist-description","codefont"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","magic",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"article",0)(1,"header",1)(2,"h1",2),K(3,"mat-icon",3),G(4,"span"),S(5," Generate LLM suggested change "),I()()(),G(6,"section",4)(7,"div",5),E(8,Jxb,9,5,"div",6),I()(),G(9,"footer",
7)(10,"button",8),N("click",function(){b.dialogRef.close()}),S(11," Cancel "),I()()());a&2&&(A(8),F("ngForOf",b.stages.slice().reverse()))},dependencies:[Dw,zw,Ew,Fw,Gw,nB,CA,SA,TA,UA],styles:['.dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;padding:24px;gap:24px;box-sizing:border-box;min-width:60vw;overflow-y:scroll}.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%]{flex-grow:1}.dialog[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;gap:12px}.stepper[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{background:var(--blue);display:inline-block;border-radius:100%;padding:6px;color:var(--white);margin-right:12px;width:18px;height:18px;vertical-align:top;text-align:center;line-height:20px}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{vertical-align:top}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.3em;line-height:1.9}.stepper[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{border-left:1px solid var(--grey-400);margin:16px;padding:8px 16px}.stepper[_ngcontent-%COMP%]   section.process[_ngcontent-%COMP%]{padding:4px}.change-block[_ngcontent-%COMP%]{border:1px solid var(--grey-300);border-radius:8px;padding:8px 4px;overflow:auto}.change-block[_ngcontent-%COMP%]:not(:last-child){margin-bottom:12px}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{padding:0 12px;text-wrap:nowrap;white-space:pre}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line.add[_ngcontent-%COMP%]{background:var(--green-100)}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line.remove[_ngcontent-%COMP%]{background:var(--red-100)}.block[_ngcontent-%COMP%]{margin:4px 0}.block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:var(--muted);font-weight:500}.block[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{border:1px solid var(--text-secondary);border-radius:4px;width:100%;padding:4px}.block[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:focus{border-color:var(--primary);outline-color:var(--primary)}.changelist-description[_ngcontent-%COMP%]{margin-bottom:18px}.magic[_ngcontent-%COMP%]{flex-shrink:0}.magic[_ngcontent-%COMP%]:hover:not([disabled]){background:linear-gradient(135deg, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd) 50%/1500% 1500%;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite;color:var(--blue-800)}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}100%{background-position:top 37.5% left 37.5%}}']});var D6=function(a,b,c,d){this.llmSuggestionService=a;this.activeSession=b;this.matDialogService=c;this.analytics=d;this.issueId="";this.isInternalSession=this.activeSession.isInternalSession()};D6.prototype.ngOnInit=function(){this.showLlmSuggestion$=wNc(this.llmSuggestionService,this.issueId)};D6.prototype.openDialog=function(){Wo(this.analytics,sq.BUG_2_CODE,"generate",this.issueId);this.matDialogService.open(C6,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};
D6.\u0275fac=function(a){return new (a||D6)(C(A6),C(Zr),C(LA),C(ZI))};
D6.\u0275cmp=r({type:D6,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},decls:4,vars:3,consts:[["showHeader",""],["aiHelp",""],["class","carded margin-s-sides margin-s-bottom bg-main flex-kids-x",4,"ngIf"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","flex-kids-x"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[1,"flex-kids-x","gap-s"],["color","primary","mat-flat-button","","color",
"primary","aria-label","Generate a LLM-suggested CL for this bug.",1,"gmat-button","small","generate",3,"click"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank","href","http://go/bug2code-feedback","matTooltip","Provide feedback for bug2code.","aria-label","Page for providing feedback for bug2code.",1,"feedback-icon","feedback-button"],["svgIcon","feedback-outline",1,"icon-s"]],template:function(a,b){a&1&&(E(0,Lxb,7,1,"div",2),V(1,
"async"),E(2,Nxb,9,1,"ng-template",null,0,Eg));a&2&&F("ngIf",b.isInternalSession&&W(1,1,b.showLlmSuggestion$))},dependencies:[zw,Hw,nB,CA,aM,UM,Iw],styles:[".bg-main[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.generate[_ngcontent-%COMP%]{flex-shrink:0}.generate[_ngcontent-%COMP%]:hover{color:var(--blue-800);background:linear-gradient(135deg, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd) 50%/1500% 1500%;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}100%{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:#202124}"]});var HNc=["textarea"],E6=function(a,b,c){Z.call(this);var d=this;this.dialogData=a;this.prompts=b;this.cdr=c;this.resetRequested$=new X.ReplaySubject(1);this.defaultSummaryPrompt$=Qyc(this.prompts,this.dialogData.issueId,this.dialogData.summaryType);this.initialPromptText$=(0,X.merge)((0,X.of)(this.dialogData.customPrompt),this.resetRequested$.pipe(wf(function(){return d.defaultSummaryPrompt$})));this.dialogData.customPrompt||this.resetRequested$.next()};Y(E6,Z);E6.\u0275dir=Z.\u0275dir;
E6.prototype.ngAfterViewInit=function(){var a=this;this.initialPromptText$.pipe(xf(this.destroyed$)).subscribe(function(b){setTimeout(function(){a.textareaRef.nativeElement.value=b;a.cdr.markForCheck()})})};E6.\u0275fac=function(a){return new (a||E6)(C(PA),C(oY),C(Pg))};
E6.\u0275cmp=r({type:E6,selectors:[["b-custom-summary-prompt-dialog"]],viewQuery:function(a,b){a&1&&lg(HNc,7);if(a&2){var c;pg(c=qg())&&(b.textareaRef=c.first)}},features:[Ff],decls:12,vars:2,consts:[["textarea",""],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button",
"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=v();G(0,"h1",1);S(1,"Experiment with prompt");I();G(2,"div",2);K(3,"textarea",null,0);I();G(5,"div",3)(6,"button",4);S(7," Cancel ");I();G(8,"button",5);N("click",function(){x(c);return y(b.resetRequested$.next())});S(9," Reset prompt to default ");I();G(10,"button",6);S(11," Generate ");I()()}a&2&&(a=R(4),A(6),F("mat-dialog-close",void 0),A(4),F("mat-dialog-close",a.value))},dependencies:[CA,RA,SA,TA,UA],
styles:["textarea[_ngcontent-%COMP%] { width: 500px; height: 50vh}"]});var Oxb=function(a){return{stage:a}},Zxb=function(a,b){return{summary:a,stage:b}},byb=function(a){return{summary:a}},kyb=function(a){return{"has-reacted-icon":a}},F6=function(a,b,c,d,e,f){var h=this;this.llmService=a;this.prompts=b;this.matDialogService=c;this.activeSession=d;this.analytics=e;this.userFeedback=f;this.issueId="";this.INITIAL="initial";this.SHORT="short";this.LONG="long";this.CUSTOM="custom";this.TOO_LITTLE_TOOLTIP_TEXT="This feature is disabled because there's too little content on this issue.";
this.enableLlmDogfood=hE(this.activeSession,"enableLlmDogfood");this.isSummarizable$=(0,X.defer)(function(){return Myc(h.prompts,h.issueId)});this.stage$=new X.BehaviorSubject("initial");this.defaultSummaryRequested$=new X.ReplaySubject(1);this.defaultCommentThreadSummary$=this.defaultSummaryRequested$.pipe(zf(this.stage$),wf(function(l){l=k(l);l.next();l=l.next().value;return Nyc(h.llmService,h.issueId,qyb(l))}));this.customSummaryRequested$=new X.ReplaySubject(1);this.customCommentThreadSummary$=
this.customSummaryRequested$.pipe(wf(function(l){return Oyc(h.llmService,l).then(function(q){return{status:0,summary:q}})}));this.lastCustomPrompt="";this.commentThreadSummary$=(0,X.merge)((0,X.merge)(this.defaultSummaryRequested$,this.customSummaryRequested$).pipe(z(function(){})),this.defaultCommentThreadSummary$,this.customCommentThreadSummary$);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1},Txb=function(a){var b=pyb(a.stage$.value);a.stage$.next(b);Wo(a.analytics,sq.LLM_SUMMARIZE,
"click",b);a.defaultSummaryRequested$.next()},Wxb=function(a){var b,c;return me(function(d){if(1==d.nextAddress)return b={issueId:a.issueId,summaryType:1,customPrompt:a.lastCustomPrompt},oe(d,(0,X.firstValueFrom)(a.matDialogService.open(E6,{maxWidth:560,data:b}).afterClosed()),2);if(c=d.yieldResult)a.stage$.next("custom"),a.customSummaryRequested$.next(c),a.lastCustomPrompt=c;se(d)})};F6.prototype.isString=function(a){return"string"===typeof a};
F6.prototype.trackThumbsUp=function(){Dk("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;Wo(this.analytics,sq.LLM_SUMMARIZE,"accept",INc(this))};F6.prototype.trackThumbsDown=function(){Dk("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;Wo(this.analytics,sq.LLM_SUMMARIZE,"reject",INc(this))};var INc=function(a){return JSON.stringify({id:a.issueId,stage:a.stage$.value})};F6.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};
F6.prototype.copySummary=function(a){navigator.clipboard.writeText(a);Wo(this.analytics,sq.LLM_SUMMARIZE,"copy",INc(this))};F6.\u0275fac=function(a){return new (a||F6)(C(nY),C(oY),C(QA),C(Zr),C(ZI),C(yN))};
F6.\u0275cmp=r({type:F6,selectors:[["llm-summary"]],inputs:{issueId:"issueId"},decls:12,vars:3,consts:[["showHeader",""],["showStage",""],["summaryLoading",""],["renderedSummary",""],["showingSummary",""],["aiHelp",""],["notSummarizable",""],["plainTextSummary",""],["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides main-div",4,"ngIf"],[1,"summary","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides","main-div"],["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",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],[4,"ngIf"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","class","gmat-button small",3,"click",4,"ngIf","ngIfElse"],["mat-button","","color","secondary","class","gmat-button small",
3,"click",4,"ngIf"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"click"],[3,"matTooltip"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"disabled"],["mat-button","","color","secondary",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[3,"content",4,"ngIf","ngIfElse"],[3,"content"],[1,"white-space-pre-wrap","overflow"],[1,"flex-kids-x","space-between","full-width"],[1,"type-s","instructional"],["mat-icon-button","","matTooltip","Copy","aria-label",
"copy summary",1,"gmat-button","feedback-button",3,"click"],["svgIcon","copy"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"gmat-button","feedback-button",3,"click"],["svgIcon","feedback-outline"],["mat-icon-button","","aria-label","thumb up",1,"gmat-button","feedback-button",3,"click","disabled"],["svgIcon","thumb_up_24px",3,"ngClass"],["mat-icon-button","","aria-label","thumb down",1,"gmat-button","feedback-button",3,"click","disabled"],["svgIcon","thumb_down_24px",
3,"ngClass"],[1,"instructional"]],template:function(a,b){a&1&&(E(0,Qxb,6,4,"div",8),V(1,"async"),E(2,Sxb,7,1,"ng-template",null,0,Eg)(4,eyb,3,3,"ng-template",null,1,Eg)(6,fyb,1,0,"ng-template",null,2,Eg)(8,iyb,3,2,"ng-template",null,3,Eg)(10,oyb,3,3,"ng-template",null,4,Eg));a&2&&F("ngIf",W(1,1,b.isSummarizable$))},dependencies:[Cw,zw,Hw,nB,GL,CA,nE,OC,UM,aM,FU,Iw],styles:[".main-div[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.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 G6=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);var B=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=l;this.clearcut=q;this.activeSession=t;this.issuePermissionService=w;this.id$=this.brain.id$;this.issueAndEvents$=(0,X.combineLatest)([this.brain.issueJs$.pipe(Ce(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=hE(this.activeSession,"enableSummarySection");this.enableLlmSummarization=
hE(this.activeSession,"enableLlmSummarization")&&this.activeSession.isInternalSession();this.enableGoosePrompting=hE(this.activeSession,"enableGoosePrompting")&&this.activeSession.isInternalSession();this.enableGoosePromptingSupportedIssues=hE(this.activeSession,"enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Ce(Ei),wf(function(D){return B.editIssueService.issueCommentDraft(D).comment$}));this.finishedRendering$=
(0,X.combineLatest)([this.brain.eventsJs$.pipe(kf(0)),U_a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(mf())};Y(G6,Z);G6.\u0275dir=Z.\u0275dir;
G6.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ce(Ei),xf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){JNc(a)});U_a("#comment1 .critical-feature",this.element.nativeElement).pipe(xf(this.destroyed$)).subscribe(function(){var b=function(){FFc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(pf()).subscribe(function(b){var c=
k(b);b=c.next().value;c=c.next().value;KNc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(zf(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var KNc=function(a,b,c){var d=c.map(function(f){return f.unlinkifiedComment}),e=fDa(b,c).length;b=gDa(b,c);d=d.filter(Boolean).length;e=5<=e||10<=d||10<=b?"collab":"other";w$b(a.clearcut,"view_idp_"+e);Lk("dimension10",e);c=c.some(function(f){var h,l,q;return 0<(null!=(q=null==(h=f.commentReactions)?void 0:null==(l=h.get("UPVOTE"))?void 0:l.count)?q:0)});Wo(a.analytics,sq.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")},JNc=function(a){var b=a.scrollTiming;if((b=b.scrollTimingMap.has("flex-1 pos-rel bg-off-main overflow overflow-on-print-media")?
b.scrollTimingMap.get("flex-1 pos-rel bg-off-main overflow overflow-on-print-media"):[])&&!(2>b.length)){for(var c=b[0],d=b[0],e=0,f=1;f<b.length;f++)2E3>b[f]-d||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);Wo(a.analytics,sq.EDIT_ISSUE,"scroll","commentThread",e);UI(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};G6.\u0275fac=function(a){return new (a||G6)(C(CQ),C(zF),C(EN),C(ZI),C(Wd),C(JQ),C(gH),C(Q0),C(TI),C(Zr),C(EQ))};
G6.\u0275cmp=r({type:G6,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&N("unload",function(){JNc(b)},!1,$d)},features:[Ff],decls:7,vars:10,consts:[["issueSummaryCard",""],["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],[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",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(G(0,"div",1),E(1,tyb,6,5,"ng-container",2),V(2,"async"),E(3,uyb,3,5,"issue-summary-card",3),V(4,"async"),E(5,xyb,5,5,"div",4),V(6,"async"),I());a&2&&(F("bFocus",!0),A(),F("ngIf",W(2,4,b.id$)),A(2),F("ngIf",b.enableSummarySection&&W(4,6,b.id$)),A(2),F("ngIf",W(6,8,b.id$)))},dependencies:[zw,O5,cY,N5,L5,Y5,o6,Z5,r6,F6,D6,Iw],
styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var H6=function(){};H6.\u0275fac=function(a){return new (a||H6)};H6.\u0275mod=hd({type:H6});H6.\u0275inj=Rc({imports:[rE]});var I6=function(){};I6.\u0275fac=function(a){return new (a||I6)};I6.\u0275mod=hd({type:I6});I6.\u0275inj=Rc({imports:[rE,c0,H6,tE,cD,vE,E2,nN]});var J6=function(){};J6.\u0275fac=function(a){return new (a||J6)};J6.\u0275mod=hd({type:J6});J6.\u0275inj=Rc({imports:[c0,I6,gV,rE,yO,yM,SQ,cD,vE,E2,BR,wM,VQ]});var K6=function(){};K6.\u0275fac=function(a){return new (a||K6)};K6.\u0275mod=hd({type:K6});K6.\u0275inj=Rc({imports:[rE,wE,VA,sF,PM,cD,WO,PK,yx,zx,tM,vE,Jy]});var L6=function(){};L6.\u0275fac=function(a){return new (a||L6)};L6.\u0275mod=hd({type:L6});L6.\u0275inj=Rc({imports:[rE,cD,vE,IO,KO]});var M6=function(a){Z.call(this);this.prefs=a};Y(M6,Z);M6.\u0275dir=Z.\u0275dir;M6.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(xf(this.destroyed$)).subscribe()};M6.\u0275fac=function(a){return new (a||M6)(C(zF))};
M6.\u0275cmp=r({type:M6,selectors:[["b-toggle-code-font"]],features:[Ff],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"change","checked"]],template:function(a,b){a&1&&(cg(),G(0,"mat-slide-toggle",0),V(1,"async"),N("change",function(c){return b.onChange(c)}),dg(2),I());a&2&&F("checked",W(1,1,b.prefs.codeFont$))},dependencies:[NR,OR,nE,OC,Iw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var N6=function(){};N6.\u0275fac=function(a){return new (a||N6)};N6.\u0275mod=hd({type:N6});N6.\u0275inj=Rc({imports:[rE,cD,PM,VA,QR,PK,vE,wM]});var O6=function(){};O6.\u0275fac=function(a){return new (a||O6)};O6.\u0275mod=hd({type:O6});O6.\u0275inj=Rc({providers:[l5],imports:[rE,oN,KF,NX,K6,yM,VW,XW,WW,L6,cD,vE,sF,tM,N6]});var P6=function(){};P6.\u0275fac=function(a){return new (a||P6)};P6.\u0275mod=hd({type:P6});P6.\u0275inj=Rc({imports:[rE,cD,IO,hR]});var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275mod=hd({type:Q6});Q6.\u0275inj=Rc({imports:[rE]});var R6=function(){};R6.\u0275fac=function(a){return new (a||R6)};R6.\u0275mod=hd({type:R6});R6.\u0275inj=Rc({imports:[rE,yM,VW,yO,VQ,fR,gV]});var S6=function(){};S6.\u0275fac=function(a){return new (a||S6)};S6.\u0275mod=hd({type:S6});S6.\u0275inj=Rc({imports:[rE,gV]});var T6=function(){};T6.\u0275fac=function(a){return new (a||T6)};T6.\u0275mod=hd({type:T6});T6.\u0275inj=Rc({imports:[c0,I6,gV,rE,yO,yM,R6,SQ,E2,BR,VQ,vE,S6,cD,Q6]});var U6=function(){};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275mod=hd({type:U6});U6.\u0275inj=Rc({imports:[rE,T6,R6,cD,wM]});var V6=function(){};V6.\u0275fac=function(a){return new (a||V6)};V6.\u0275mod=hd({type:V6});V6.\u0275inj=Rc({imports:[rE,cD,PK]});var W6=function(){};W6.\u0275fac=function(a){return new (a||W6)};W6.\u0275mod=hd({type:W6});W6.\u0275inj=Rc({imports:[gV,rE,U6,J6,XW,L6,cD,vE,wM,tM,V6,VQ,PK]});var X6=function(){};X6.\u0275fac=function(a){return new (a||X6)};X6.\u0275mod=hd({type:X6});X6.\u0275inj=Rc({imports:[rE,mN,vE,yM,E_]});var Y6=function(){};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275mod=hd({type:Y6});Y6.\u0275inj=Rc({imports:[MK,xX,gV,rE,oN,yx,KF,cD,PM,zX,X6,vV]});var Z6=function(){};Z6.\u0275fac=function(a){return new (a||Z6)};Z6.\u0275mod=hd({type:Z6});Z6.\u0275inj=Rc({imports:[rE,yM,SQ,mN,BR]});var $6=function(){};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275mod=hd({type:$6});$6.\u0275inj=Rc({imports:[Z6,rE,yM,SQ,cD,mN,BR,sF,QN]});var a7=function(){};a7.\u0275fac=function(a){return new (a||a7)};a7.\u0275mod=hd({type:a7});a7.\u0275inj=Rc({imports:[gV,rE,fL]});var b7=function(){};b7.\u0275fac=function(a){return new (a||b7)};b7.\u0275mod=hd({type:b7});b7.\u0275inj=Rc({imports:[rE,WW,cD,vE,a7,QQ,BR,sF,Z6]});var c7=function(){};c7.\u0275fac=function(a){return new (a||c7)};c7.\u0275mod=hd({type:c7});c7.\u0275inj=Rc({imports:[Z6,rE,cD,a7]});var d7=function(){};d7.\u0275fac=function(a){return new (a||d7)};d7.\u0275mod=hd({type:d7});d7.\u0275inj=Rc({imports:[rE,p4,wM]});var e7=function(){};e7.\u0275fac=function(a){return new (a||e7)};e7.\u0275mod=hd({type:e7});e7.\u0275inj=Rc({imports:[rE,cD,sy]});var f7=function(){};f7.\u0275fac=function(a){return new (a||f7)};f7.\u0275mod=hd({type:f7});f7.\u0275inj=Rc({imports:[rE,e7,$6,b7,c7,d7]});var g7=function(){};g7.\u0275fac=function(a){return new (a||g7)};g7.\u0275mod=hd({type:g7});g7.\u0275inj=Rc({imports:[VA,PM,rE,Yy,cD,gV,kV]});var h7=function(){};h7.\u0275fac=function(a){return new (a||h7)};h7.\u0275mod=hd({type:h7});h7.\u0275inj=Rc({imports:[gV,rE]});var i7=function(){};i7.\u0275fac=function(a){return new (a||i7)};i7.\u0275mod=hd({type:i7});i7.\u0275inj=Rc({imports:[rE,yO,cD,VA,Yy,QQ,mN,h7,VQ]});var j7=function(){};j7.\u0275fac=function(a){return new (a||j7)};j7.\u0275mod=hd({type:j7});j7.\u0275inj=Rc({imports:[c0,gV,rE,yO,g7,yM,SQ,cD,vE,mN,i7,h7]});var k7=function(){};k7.\u0275fac=function(a){return new (a||k7)};k7.\u0275mod=hd({type:k7});k7.\u0275inj=Rc({imports:[rE,cD,VA,CM,nN]});var l7=function(){};l7.\u0275fac=function(a){return new (a||l7)};l7.\u0275mod=hd({type:l7});l7.\u0275inj=Rc({imports:[rE,wM,cD,VA,vE,nN,CM,gV]});var m7=function(){};m7.\u0275fac=function(a){return new (a||m7)};m7.\u0275mod=hd({type:m7});m7.\u0275inj=Rc({imports:[rE,BA,lA,yx,cD,VA,fV,zx,sF,P6,dY,O6,J6,W6,f7,b7,Y6,QN,j7,VQ,wM,l7,k7]});var LNc=function(a,b,c,d){var e=this;this.activeSession=a;this.issueFridge=b;this.issueDetailsBrain=c;this.eventsForIssueFridge=d;this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(wf(this.issueFridge.watch),Ce(Ei));this.commentNumberToEventMap$=this.issue$.pipe(z(function(f){return f.issueId}),wf(function(f){return e.eventsForIssueFridge.watch(f)}),z(function(f){var h;return null!=(h=null==f?void 0:f.events)?h:[]}),z(function(f){return new Map(f.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,X.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(z(function(f){f=k(f);var h=f.next().value,l=f.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(t){return Object.assign({},t,{comment:l.get(t.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(z(function(f){return f.filter(JKa)}));this.imageLinks$=this.relatedLinks$.pipe(z(function(f){return f.filter(FKa)}));this.otherLinks$=this.relatedLinks$.pipe(z(function(f){return f.filter(KKa)}))};
LNc.\u0275fac=function(a){return new (a||LNc)(C(Zr),C(iJ),C(CQ),C(BI))};
LNc.\u0275cmp=r({type:LNc,selectors:[["b-issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","paginate"],[1,"margin-bottom"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","paginate"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","paginate"]],template:function(a,b){a&1&&(G(0,"section",0),E(1,Fyb,7,9,"ng-container",1),V(2,"async"),I());a&2&&(A(),F("ngIf",W(2,1,b.issue$)))},dependencies:[zw,
nB,e6,b6,g6,Iw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=hd({type:n7});n7.\u0275inj=Rc({imports:[rE,b7,$6,c7]});var o7=function(a,b,c){var d=this;this.brain=a;this.codeMentions=b;this.imageUrls=c;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.brain.id$.pipe(Ce(Ei));this.codeMentionsState$=this.id$.pipe(wf(function(e){return vKc(d.codeMentions,e)}))};o7.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};o7.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};o7.\u0275fac=function(a){return new (a||o7)(C(CQ),C(w4),C(XM))};
o7.\u0275cmp=r({type:o7,selectors:[["issue-todos"]],decls:3,vars:3,consts:[["hasResults",""],[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"],[3,"issueId","packageMentionSet","displayPackageName",4,"ngFor","ngForOf"],[1,"margin-top"],["target","_blank",3,
"click","href"],[3,"issueId","packageMentionSet","displayPackageName"]],template:function(a,b){a&1&&(G(0,"section",1),E(1,Lyb,3,3,"ng-container",2),V(2,"async"),I());a&2&&(A(),F("ngIf",W(2,1,b.id$)))},dependencies:[Dw,zw,vHc,Iw],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 p7=function(a,b,c,d,e){this.cdr=a;this.pageTitle=b;this.userApi=c;this.paths=d;this.errorHandler=e;this.isLoading=!1;this.hotlists=[];this.createHotlistPath=this.paths.createHotlist()};p7.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
p7.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;this.userApi.getUserHotlists().then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};p7.\u0275fac=function(a){return new (a||p7)(C(ME,2),C(qH),C(QI),C(RF),C(qI))};
p7.\u0275cmp=r({type:p7,selectors:[["list-hotlists-page"]],features:[wg([ME])],decls:8,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large",4,"ngIf"],[3,"hotlists",4,"ngIf"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(G(0,"h2",0),S(1,"Browse Hotlists"),I(),G(2,"div",1)(3,"a",2),S(4," Create Hotlist "),I()(),G(5,"div",3),E(6,Myb,1,1,"b-spinner",4)(7,Nyb,1,1,"b-hotlist-grid",5),I());a&2&&
(A(3),F("href",b.createHotlistPath,Ye),A(3),F("ngIf",b.isLoading),A(),F("ngIf",!b.isLoading))},dependencies:[zw,n_,GL,DA],encapsulation:2});var MNc="comment priority status assignee self-assign self-unassign unassign".split(" "),NNc=["create"],q7=function(a,b){this.paths=a;this.issueFridge=b;this.toIssuePriority=di;this.getResponsibleEmailAddress=Syb;this.getChangelistNumber=Pyb;this.getPreviousDiffValue=Tyb;this.getNewDiffValue=Ryb;this.shorthandAllDiffs=Qyb;this.getClMetadata=Oyb;this.STATUS_CODE_FROM_DISPLAY_STRING=n5b;this.type="default"};q7.prototype.ngOnInit=function(){this.type=Uyb(this.event)};
q7.\u0275fac=function(a){return new (a||q7)(C(RF),C(iJ))};
q7.\u0275cmp=r({type:q7,selectors:[["recent-event-row"]],inputs:{event:"event"},decls:16,vars:16,consts:[[3,"ldapOnly","email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"id"],[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&&(K(0,"b-user-email",0),L(1,1),E(2,
Vyb,5,4,"ng-container",2)(3,Xyb,5,3,"ng-container",2)(4,Yyb,5,4,"ng-container",2)(5,Zyb,7,5,"ng-container",2)(6,azb,5,5,"ng-container",2)(7,czb,6,5,"ng-container",2)(8,dzb,7,6,"ng-container",2)(9,ezb,5,4,"ng-container",2)(10,fzb,5,4,"ng-container",2)(11,gzb,7,6,"ng-container",2)(12,hzb,6,4,"ng-container",2)(13,izb,6,5,"ng-container",3),M(),E(14,kzb,2,1,"ng-container",4)(15,mzb,2,1,"ng-container",4));a&2&&(F("ldapOnly",!0)("email",b.getResponsibleEmailAddress(b.event)),A(),F("ngSwitch",b.type),A(),
F("ngSwitchCase","create"),A(),F("ngSwitchCase","changelist"),A(),F("ngSwitchCase","comment"),A(),F("ngSwitchCase","priority"),A(),F("ngSwitchCase","status"),A(),F("ngSwitchCase","statusUpdate"),A(),F("ngSwitchCase","assignee"),A(),F("ngSwitchCase","self-assign"),A(),F("ngSwitchCase","self-unassign"),A(),F("ngSwitchCase","unassign"),A(),F("ngSwitchCase","component"),A(2),F("ngIf",MNc.includes(b.type)),A(),F("ngIf",NNc.includes(b.type)))},dependencies:[zw,Ew,Fw,Gw,TQ,iO,CU,IV,Npc],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 r7=function(a){Z.call(this);this.recentEventsForIssuesFridge=a;this.quickFilter=new ix("");this.printStats=Azb;this.defaultNumEvents=6;this.numDisplayed$=new X.BehaviorSubject(this.defaultNumEvents);this.query$=new X.ReplaySubject(1);this.renderDelay$=(0,X.of)(!0).pipe(kf(1E3));this.allEvents$=this.query$.pipe(Ce(Ei),xf(this.destroyed$),z(function(b){return[b,100].join("___")}),wf(this.recentEventsForIssuesFridge.watchOne),z(function(b){var c;return null!=(c=null==b?void 0:b.events)?c:[]}));this.events$=
(0,X.combineLatest)([this.allEvents$,this.quickFilter.valueChanges.pipe(vf(""))]).pipe(z(function(b){b=k(b);var c=b.next().value;c=void 0===c?[]:c;b=b.next().value;return c.filter(zzb(b))}));this.bucketedEvents$=(0,X.combineLatest)([this.events$,this.numDisplayed$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.slice(0,c)}),z(Bzb));this.allBucketedEvents$=this.events$.pipe(z(Bzb));this.bucketedEventStats$=this.allBucketedEvents$.pipe(z(function(b){return{"<24h":Czb("<24h",
b),"24h-7d":Czb("24h-7d",b),"7d-30d":Czb("7d-30d",b),">30d":Czb(">30d",b)}}))};Y(r7,Z);r7.\u0275dir=Z.\u0275dir;Ac.Object.defineProperties(r7.prototype,{numEvents:{configurable:!0,enumerable:!0,set:function(a){var b;a=null!=(b=a)?b:6;this.numDisplayed$.next(a);this.defaultNumEvents=a}},query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});r7.\u0275fac=function(a){return new (a||r7)(C(RJ))};
r7.\u0275cmp=r({type:r7,selectors:[["recent-events"]],inputs:{numEvents:"numEvents",query:"query"},features:[Ff],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"],[1,"link-button","margin-s-top"],[1,"muted","bold","margin-s-bottom"],[3,"event",4,"ngFor","ngForOf"],[3,"event"],[1,"muted","bold","margin-s-bottom","margin-top"],[1,"link-button","margin-s-top",
3,"click"]],template:function(a,b){a&1&&(E(0,yzb,5,4),V(1,"async"));a&2&&Uf(W(1,1,b.renderDelay$)?0:-1)},dependencies:[bh,cx,px,Dw,q7,Iw],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}"],changeDetection:0});var s7=function(){};s7.\u0275fac=function(a){return new (a||s7)};s7.\u0275mod=hd({type:s7});s7.\u0275inj=Rc({imports:[zx,yx,rE,VQ,yO,gV,WW,jT]});var t7=function(a,b){Z.call(this);this.dialogRef=a;this.savedSearchFridge=b;this.selectedIds=new Set;this.savedSearches$=this.savedSearchFridge.watchMany({parent:"me"}).pipe(z(function(c){return c.results}))};Y(t7,Z);t7.\u0275dir=Z.\u0275dir;t7.prototype.trackBySearchId=function(a,b){return b.searchId};t7.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};
t7.prototype.onSave=function(){var a=[].concat(u(this.selectedIds)).map(String);this.dialogRef.close(a)};t7.prototype.onCancel=function(){this.dialogRef.close()};t7.\u0275fac=function(a){return new (a||t7)(C(NA),C(WJ))};
t7.\u0275cmp=r({type:t7,selectors:[["saved-search-picker-dialog"]],features:[Ff],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"gmat-button","medium",3,"click","disabled"],["aria-label","Add a Saved Search",3,"selectionChange"],["checkboxPosition","before",3,"selected","value","height",4,"ngFor","ngForOf","ngForTrackBy"],
["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","type-m","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(G(0,"header",0),S(1," Add a Saved Search\n"),I(),G(2,"div",1),E(3,Fzb,3,2,"ng-container",2),V(4,"async"),I(),G(5,"div",3)(6,"button",4),N("click",function(){return b.onCancel()}),S(7," Cancel "),I(),G(8,"button",5),N("click",function(){return b.onSave()}),
S(9),I()());a&2&&(A(3),F("ngIf",W(4,3,b.savedSearches$)),A(5),F("disabled",0===b.selectedIds.size),A(),T(" Save ",1<b.selectedIds.size?"("+b.selectedIds.size+")":""," "))},dependencies:[Dw,zw,CA,SA,TA,UA,LO,UO,TO,Iw],styles:["[_nghost-%COMP%]     .mat-dialog-title{margin-bottom:8px}.mat-dialog-content[_ngcontent-%COMP%]{width:500px;padding:0}\n/*# sourceMappingURL=saved_search_picker_dialog.css.map */"]});var u7=function(){};u7.\u0275fac=function(a){return new (a||u7)};u7.\u0275mod=hd({type:u7});u7.\u0275inj=Rc({imports:[rE,cD,VA,vE,PM,WO,sF,BR,yx,zx,fL,cD,AM,VW,yM]});var v7=function(a){this.dialog=a};v7.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){b.dialog.open(t7,c).afterClosed().subscribe(function(e){e=void 0===e?[]:e;null==a||a(e);d(e)})})};v7.\u0275fac=function(a){return new (a||v7)(p(QA))};v7.\u0275prov=Pc({token:v7,factory:v7.\u0275fac,providedIn:"root"});var w7=function(a,b,c,d){Z.call(this);var e=this;this.prefsService=a;this.issueFridge=b;this.savedSearchFridge=c;this.analytics=d;this.TREE_COLUMNS=[].concat(u(KIc));this.TREE_OPTIONS=Object.assign({},MIc);this.refreshWorkArea=new X.Subject;this.hideRecentActivity=!1;this.typeAndId$=new X.BehaviorSubject([void 0,void 0]);this.typeAndId$.pipe(wf(function(f){var h=k(f);f=h.next().value;h=h.next().value;return"savedsearch"===f?e.savedSearchFridge.watchOne(h):(0,X.of)(void 0)}));this.issueFilter$=this.typeAndId$.pipe(z(function(f){var h=
k(f);f=h.next().value;h=h.next().value;if("issue"===f)return"parentid:"+h+"+ | id:"+h;if("savedsearch"===f)return"savedsearchid:"+h;if("hotlist"===f)return"hotlistid:"+h}));this.issueQuery$=this.issueFilter$.pipe(z(Mzb));this.issueIds$=this.issueQuery$.pipe(wf(function(f){return e.issueFridge.watchMany(f)}),z(function(f){return f.results.map(function(h){return h.issueId})}))};Y(w7,Z);w7.\u0275dir=Z.\u0275dir;
w7.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(xf(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};w7.prototype.getFilters=function(){return Kcc(this.prefsService,this.entityReference)};w7.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?0<this.getFilters().length:!0};
Ac.Object.defineProperties(w7.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=Uo(a);this.entityType=Vo(a);Wo(this.analytics,sq.MISSION_CONTROL,"view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});w7.\u0275fac=function(a){return new (a||w7)(C(dM),C(iJ),C(WJ),C(ZI))};
w7.\u0275cmp=r({type:w7,selectors:[["one-work-area"]],inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea",hideRecentActivity:"hideRecentActivity",numRecentActivityEvents:"numRecentActivityEvents",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},features:[Ff],decls:1,vars:1,consts:[[3,"searchString","prefKey","reference","onlyShowTableWhenFiltered"],[1,"margin-top",3,"query","numEvents"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options",
"defaultExpansionLevel"]],template:function(a,b){a&1&&E(0,Lzb,4,2);if(a&2){var c;Uf((c=b.referencedId)?0:-1,c)}},styles:["[_nghost-%COMP%] { display: block; }"]});var ONc=Object.assign({},LIc,{showTrending:!0}),PNc={active:"modifiedTime",direction:"desc"},x7=function(a,b){var c=this;this.prefsService=a;this.issueFridge=b;this.FLAT_LIST_COLUMNS=[].concat(u(JIc));this.TABLE_OPTIONS=Object.assign({},ONc);this.INITIAL_SORT=PNc;this.searchString$=new X.BehaviorSubject(void 0);this.issueQuery$=this.searchString$.pipe(z(Mzb));this.issueIds$=this.issueQuery$.pipe(wf(function(d){return c.issueFridge.watchMany(d)}),z(function(d){return d.results.map(function(e){return e.issueId})}))};
x7.prototype.getFilters=function(){return null==this.prefKey?[]:Kcc(this.prefsService,this.prefKey)};x7.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?0<this.getFilters().length:!0};Ac.Object.defineProperties(x7.prototype,{searchString:{configurable:!0,enumerable:!0,set:function(a){this.searchString$.next(null!=a?a:void 0)}}});x7.\u0275fac=function(a){return new (a||x7)(C(dM),C(iJ))};
x7.\u0275cmp=r({type:x7,selectors:[["one-work-area-list"]],inputs:{searchString:"searchString",prefKey:"prefKey",reference:"reference",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},decls:5,vars:9,consts:[[1,"margin-bottom",3,"ref","query"],[1,"margin-bottom",3,"prefKey","query"],[3,"issueIds","options","filters","tableColumns","initialSort"]],template:function(a,b){a&1&&(K(0,"rollups-list",0),V(1,"async"),K(2,"stat-cards-list",1),V(3,"async"),E(4,Nzb,2,7,"b-issues-table",2));a&2&&(F("ref",
b.reference)("query",W(1,5,b.issueQuery$)),A(2),F("prefKey",b.prefKey)("query",W(3,7,b.issueQuery$)),A(2),Uf(b.showTable()?4:-1))},dependencies:[Q4,T4,P3,Iw],styles:["[_nghost-%COMP%] { display: block; }"]});var y7=function(a,b,c,d,e,f,h,l,q,t,w,B){Z.call(this);var D=this;this.prefsService=a;this.issueFridge=b;this.hotlistFridge=c;this.savedSearchFridge=d;this.hotlistPicker=e;this.issuePicker=f;this.savedSearchPicker=h;this.analytics=l;this.clipboard=q;this.butterBar=t;this.parentIssueSuggestions=w;this.imageUrls=B;this.refreshData=new X.Subject;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;this.inferEntityType=Vo;this.makeBuganizerUrl=
jHa;this.makeIlpUrlForParentIssue=kHa;this.getEntityTypeName=iHa;this.extractLastDigits=Uo;this.suggestions=[];this.titles={};this.INITIAL_TAB_INDEX=Jcc(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(z(function(H){var O;return null!=(O=null==H?void 0:H.workAreaUrls)?O:[]}));this.issues$=this.workAreaReferences$.pipe(z(function(H){return H.filter(function(O){return"issue"===Vo(O)})}),z(function(H){return H.map(Uo)}),lf(ki),z(function(H){return H.filter(Ei)}),
wf(this.issueFridge.watchSet));this.hotlists$=this.workAreaReferences$.pipe(z(function(H){return H.filter(function(O){return"hotlist"===Vo(O)})}),z(function(H){return H.map(Uo)}),lf(ki),z(function(H){return H.filter(Ei)}),wf(this.hotlistFridge.watchSet));this.savedSearches$=this.workAreaReferences$.pipe(z(function(H){return H.filter(function(O){return"savedsearch"===Vo(O)})}),z(function(H){return H.map(Uo)}),lf(ki),z(function(H){return H.filter(Ei)}),wf(this.savedSearchFridge.watchSet));this.issues$.pipe(xf(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));
this.hotlists$.pipe(xf(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(xf(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));a=this.workAreaReferences.length;Wo(this.analytics,sq.MISSION_CONTROL,"display","num-work-areas-"+a,a);var J;a=Object.values(null!=(J=this.prefsService.prefs.workAreaQuickFilters)?J:{}).flat();0<a.length&&Wo(this.analytics,sq.MISSION_CONTROL,"view","workAreas-filters-"+a.join(","));(0,X.timer)(2E3).pipe(wf(function(){return D.parentIssueSuggestions.suggestions$}),
xf(this.destroyed$),mf()).subscribe(function(H){var O=3;O=void 0===O?3:O;if(0!==H.length){var P=H.slice(0,2*O),U=[].concat(u(P));if(!(1>=P.length))for(P=U.length-1;0<P;--P){var aa=Math.floor(Math.random()*(P+1)),pa=U[P];U[P]=U[aa];U[aa]=pa}O=U.slice(0,O);H=H[0];O.includes(H)||(O.pop(),O.unshift(H));H=O}D.suggestions=H;0===D.workAreaReferences.length&&(H=H.length,Wo(D.analytics,sq.MISSION_CONTROL,"suggestions-shown",String(H),H))})};Y(y7,Z);y7.\u0275dir=Z.\u0275dir;y7.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};
y7.prototype.updateTitlesForIssues=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=null==(c=b.snapshot[0])?void 0:c.title}};y7.prototype.updateTitlesForHotlists=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[So(b.hotlistId)]=b.name};y7.prototype.updateTitlesForSavedSearches=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[To(b.searchId)]=b.name};
var QNc=function(a){var b,c,d,e,f,h,l,q,t;return me(function(w){if(1==w.nextAddress)return b=a.workAreaReferences.filter(function(B){return"hotlist"===Vo(B)}).map(Uo).map(Number),oe(w,PLc(a.hotlistPicker,b),2);c=w.yieldResult;f=(null!=(e=null==(d=c)?void 0:d.added)?e:[]).map(So);q=(null!=(l=null==(h=c)?void 0:h.removed)?l:[]).map(So);t=a.workAreaReferences.slice();t=Xta(q,t);t=Zta(f,t);Qr(a.prefsService,{workAreaUrls:t});se(w)})},RNc=function(a){var b;return me(function(c){if(1==c.nextAddress)return oe(c,
a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;null!=b&&eM(a.prefsService,b);se(c)})},Qzb=function(a,b){var c=a.suggestions.map(function(d){return d.ref}).indexOf(b);Wo(a.analytics,sq.MISSION_CONTROL,"suggestion-chosen",String(c));null!=b&&eM(a.prefsService,b)},SNc=function(a){var b,c,d,e;return me(function(f){if(1==f.nextAddress)return oe(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=null!=(c=b)?c:[];if(0===d.length)return f.return();e=d.map(To);eM(a.prefsService,
e);se(f)})};Ac.Object.defineProperties(y7.prototype,{workAreaReferences:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefsService.prefs.workAreaUrls)?a:[]}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.workAreaReferences.length}},isCollapsed:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.isCollapsed("work-areas-wrapper-card")}}});
y7.\u0275fac=function(a){return new (a||y7)(C(dM),C(iJ),C(RI),C(WJ),C(l5),C(mX),C(v7),C(ZI),C(mR),C(pI),C(uN),C(XM))};
y7.\u0275cmp=r({type:y7,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&Qf("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},features:[Ff],decls:19,vars:3,consts:[["addMenu","matMenu"],["emptyState",""],["issueHovercard","onedevHovercard"],["editMenu","matMenu"],[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"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["mat-stroked-button","","class","gmat-button small add-work-area margin-s-left","title","Add a work area",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],["gmat-tabs","","class","main-content margin-s-top",
3,"selectedIndex","selectedIndexChange",4,"ngIf","ngIfElse"],["mat-stroked-button","","title","Add a work area",1,"gmat-button","small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["svgIcon","add",1,"icon-s"],[1,"flex-kids-y","align-items-center","text-align-center","empty-state","main-content"],[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[4,"ngIf"],[1,"type-l","muted","margin-y","match-image-width"],["mat-flat-button","","color","primary","title","Add a work area",
3,"matMenuTriggerFor"],["svgIcon","add"],[1,"pos-abs","work-area-suggestions"],[1,"unstyled"],["class","elevated rounded padded-s margined-s slide-in","tabindex","0",3,"title","click",4,"ngFor","ngForOf"],["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",4,"ngIf"],[3,"issueId"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndexChange","selectedIndex"],[4,"ngFor",
"ngForOf"],["mat-tab-label",""],["matTabContent",""],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","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"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click","disabled"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",
1,"icon-s"],["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"]],template:function(a,b){if(a&1){var c=v();G(0,"div",4)(1,"header",5)(2,"h3",6);S(3," Work areas ");I();K(4,"mat-icon",7);G(5,"button",
8);N("click",function(){x(c);return y(b.toggleCollapsed())});K(6,"mat-icon",9);I();E(7,Ozb,3,1,"button",10);G(8,"mat-menu",null,0)(10,"button",11);N("click",function(){x(c);return y(RNc(b))});S(11,"Issue (parent/child project)");I();G(12,"button",11);N("click",function(){x(c);return y(QNc(b))});S(13,"Hotlist");I();G(14,"button",11);N("click",function(){x(c);return y(SNc(b))});S(15,"Saved Search");I()()();E(16,Tzb,9,3,"ng-template",null,1,Eg)(18,bAb,2,2,"mat-tab-group",12);I()}a&2&&(a=R(17),A(7),F("ngIf",
0<b.workAreaReferences.length),A(11),F("ngIf",0<b.workAreaReferences.length)("ngIfElse",a))},dependencies:[Dw,zw,nB,oF,mE,IC,HC,JC,CA,oE,dV,SU,YU,ZU,$U,nE,OC,NV,JL,OL,w7],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%]{margin-top:-3px}.add-work-area.gmat-button[_ngcontent-%COMP%], .add-work-area.gmat-button.gmat-button.gmat-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 z7=function(){};z7.\u0275fac=function(a){return new (a||z7)};z7.\u0275mod=hd({type:z7});z7.\u0275inj=Rc({imports:[rE,sF,uE,UC,cD,wE,fV,vE,V4,p4,u7,X4,s7,VW,yM]});vma(w7,[u4,U4,K4,r7,x7],[Iw]);var TNc=new Set(["issueId","modifiedTime","createdTime"]),A7=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da){Z.call(this);var Ia=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.userApi=h;this.hotlistApi=l;this.activeSession=q;this.butterBar=t;this.analytics=w;this.appSearchState=B;this.issuePagination=D;this.userPreferencesManager=J;this.urlPreferences=H;this.gridPreferencesFetcher=O;this.paths=P;this.timeout=U;this.errorHandler=
aa;this.statusMessages=pa;this.domSafe=ka;this.appEvents=Aa;this.hotlistFridge=Ya;this.issueFridge=ea;this.batchIssueRelationshipsService=na;this.componentFridge=Da;this.enableIlpModesWorkArea=hE(this.activeSession,"enableIlpModesWorkArea");this.viewModesEnabled=this.activeSession.isInternalSession()&&this.enableIlpModesWorkArea;var Xa,yb,Rb,Sb;this.viewModeInternal=null!=(Sb=null!=(Rb=W_a())?Rb:null==(Xa=this.window)?void 0:null==(yb=Xa.sessionStorage)?void 0:yb.getItem("LIST_VIEW_MODE"))?Sb:"list";
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=[];a=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||V5a(Wa)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",
onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||W5a(Wa)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||jDc(Wa)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||lDc(Wa)}},{keys:[Tj("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||mDc(Wa,!0)}},{keys:[Tj("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||mDc(Wa,!1)}},{keys:[Uj("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||Wa.selectAll()}},{keys:[Uj("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var Wa;null==(Wa=Ia.resultsGrid)||gDc(Wa)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var Wa;null==(Wa=Ia.gridControls)||qX(Wa,null,0)}},{keys:["d"],
displayAs:"d",description:"Mark as duplicate",onPress:function(){var Wa;null==(Wa=Ia.gridControls)||qX(Wa,cl.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Wa;if(null!=(Wa=Ia.gridControls)&&Wa.hasSelectedIssues()){var Hb;null==(Hb=Wa.hotlistPicker)||Hb.open()}}},{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var Wa;null==(Wa=Ia.gridControls)||qxc(Wa)}},{keys:["u",Tj("r")],displayAs:"u / Shift+r",description:"Refresh search results",
onPress:function(){return Ia.refreshResults()}},{keys:[Uj("p","0"),Uj("p","1"),Uj("p","2"),Uj("p","3"),Uj("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(Wa){Ia.resultsGrid&&Ia.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+Wa}],issueIds:Ia.resultsGrid.getSelectedIssues().map(function(Hb){return Hb.issueId})}])}},{keys:[fua("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var Wa=c.document.activeElement;
if("A"===Wa.tagName){var Hb=Ia.paths.getBaseUrl();if(Wa.href&&!Wa.href.startsWith(Hb)){Ia.domSafe.openInNewTab(Wa.href);return}}var od;null==(od=Ia.resultsGrid)||YZ(od,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Wa){var Hb=c.document.activeElement;if(1===Wa&&"A"===Hb.tagName)if(Hb.href)Wa=Ia.paths.getBaseUrl(),Hb.href.startsWith(Wa)?Ia.bLocation.setUrl(Hb.href.slice(Wa.length)):Ia.domSafe.openInNewTab(Hb.href);else{var od;null==
(od=Ia.resultsGrid)||YZ(od)}else if(2===Wa){var db;null==(db=Ia.resultsGrid)||YZ(db,{openInNewTab:!0})}else{var Ra;null==(Ra=Ia.resultsGrid)||YZ(Ra)}}}];hE(this.activeSession,"enableIssueSidebar")&&a.push({keys:[Tj("o"),Tj("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(Wa){var Hb=c.document.activeElement;1===Wa&&"A"===Hb.tagName&&Hb.href?iq(Ia.domSafe,Hb.href):null!=(Wa=Ia.resultsGrid)&&(Wa.isIssueSidebarOpen=!Wa.isIssueSidebarOpen,Wa.cdr.detectChanges())}});
this.BASE_HOTKEYS=a};Y(A7,Z);A7.prototype.ngOnInit=function(){var a=this;UNc(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(xf(this.destroyed$)).subscribe(function(){UNc(a)})};
var VNc=function(a){var b=[].concat(u(eyc));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(Ok).filter(Ei)};
A7.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];ki(d,c)||(d&&wa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var UNc=function(a){return WNc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),XNc(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
A7.prototype.subscribeToIssueChanges=function(a){var b=this,c;null==(c=this.issueSubscriptions)||c.unsubscribe();this.issueSubscriptions=new X.Subscription;a=k(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(Ce(Ei),xf(this.destroyed$)).subscribe(function(d){var e;return me(function(f){if(1==f.nextAddress)return b.searchResults?oe(f,(0,X.firstValueFrom)(b.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);
if(2!=f.nextAddress){e=f.yieldResult;if(!e||!b.searchResults)return f.return();A8b(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();se(f)})}))};
var YNc=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},WNc=function(a){var b=Pj();YNc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},XNc=function(a,b,c){var d=Pj();YNc(a)||ZNc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},$Nc=function(a,b){if(b.maySkipResults){b=xh(["Too many matching results. Some issues may be omitted.",yh("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]);
var c={};c=yh("a",(c.href="http://go/buganizer-faq#restrict-search",c),"go/buganizer-faq");c=xh([yh("br"),"See ",c," for more details."]);b=a.activeSession.isInternalSession()?xh([b,c]):b;o$b(a.butterBar,b)}};g=A7.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Ok(a);if(d){var e=new Sk(d,"ASC"===b?"ASCENDING":"DESCENDING");xa(this.sortPreferences,function(f){return ki(f.fieldId,e.fieldId)});!c||TNc.has(a)?this.sortPreferences=[e]:this.sortPreferences=[e].concat(this.sortPreferences.slice(0,2));this.saveSortColumns(this.sortPreferences)}else this.$log.warn("WARNING: Invalid field name specified "+a)};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):oi(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};ki(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){q_(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=void 0===b?aOc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(u(b),u(Q_a(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Ok(b.name)});q_(this.urlPreferences,{displayColumns:this.displayColumns})};
g.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(Wo(this.analytics,this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?iq(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var Rr=function(a,b,c){void 0!==b&&a.goToPage(b+c)};g=A7.prototype;g.refreshResults=function(){pH(this.issuePagination);return UNc(this)};
g.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;null==(f=this.searchResults)||B8b(f,e,d)}this.cdr.detectChanges();wr(this.butterBar,"Saving changes...",0);return kJ(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(l){for(var q=k(a[0].issueIds),t=q.next();!t.done;t=
q.next()){t=t.value;var w=void 0,B=void 0;null==(w=c.searchResults)||B8b(w,t,void 0,null!=(B=l)?B:null)}wr(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),t=q.next();!t.done;t=q.next()){t=t.value;var w=void 0;null==(w=c.searchResults)||B8b(w,t)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=lNa(a).map(function(l){return l.fieldName});Wo(this.analytics,this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};wr(this.butterBar,"Saving changes...",0);return 1===a.length&&1===a[0].actions.length&&"parentId"===a[0].actions[0].fieldName?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=k(t.value);t=w.next().value;w=w.next().value;l.finishedIssues[w.issueId]&&(t=c.searchResults.issues[t],Twa(t,l.finishedIssues[w.issueId],null),
c.loadHotlists(t),Object.assign(c.customFieldMap,t.customFieldMap))}c.cdr.detectChanges()}w=a[0];q=l.notFinishedIssueIds;t=String(w.actions[0].value);w=w.actions[0].actionType;if("ADD"!==w&&"REMOVE"!==w)throw Error("Ke");q.length?(c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),Wo(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):wr(c.butterBar,("ADD"===w?"Added child issue(s) to parent ["+t+"]":"Removed child issue(s) from parent ["+t+"]")+" on "+String(Object.keys(l.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)}):this.issueApi.issueBulkEdit(h,b).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=k(t.value);t=w.next().value;w=w.next().value;l.affectedIssues[w.issueId]&&(w=l.affectedIssues[w.issueId],t=c.searchResults.issues[t],Twa(t,w,l.componentMap[sa(w.snapshot).componentId]),c.loadHotlists(t),Object.assign(c.customFieldMap,
t.customFieldMap))}c.cdr.detectChanges()}l.errors&&l.errors.length?(q="Failed to update issue(s) "+(esa(l.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),Wo(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=eic(c.statusMessages,h,c.customFieldMap))?wr(c.butterBar,l):wr(c.butterBar,"Saved "+mNa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
g.loadHotlists=function(a){var b=this;a=k(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=k(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,c=a.name,d=a.successCallback;a=a.errorCallback;Wo(this.analytics,this.ANALYTICS_CATEGORY,"createHotlist");wr(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);wr(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;wr(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(){Wo(this.analytics,this.ANALYTICS_CATEGORY,"exportCsv");YN(this.domSafe,this.getCsvUrl())};
var bOc=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(xf(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;q_(a.urlPreferences,{page:1});Wo(a.analytics,a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Ck(c)})},ZNc=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{I9b(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},pAb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
Ac.Object.defineProperties(A7.prototype,{viewMode:{configurable:!0,enumerable:!0,get:function(){return this.viewModeInternal},set:function(a){this.viewModeInternal=a;var b,c;null==(b=this.window)||null==(c=b.sessionStorage)||c.setItem("LIST_VIEW_MODE",a);var d;null!=(d=window)&&d.location&&history&&(b=new URLSearchParams(window.location.search),null==a?b.delete("mode"):b.set("mode",a),a=window.location.pathname,(b=decodeURIComponent(String(b)))?history.pushState(void 0,"",a+"?"+b):history.pushState(void 0,
"",a))}},issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){ki(this.issueColumnsInternal,a)||(Wo(this.analytics,this.ANALYTICS_CATEGORY,"columnModification",GDa(this.issueColumnsInternal.map(function(b){return b.toString()}),a.map(function(b){return b.toString()}))),this.issueColumnsInternal=a,this.saveColumns(this.issueColumns.slice(this.metaColumns.length)))}}});var aOc=[ZZ,$Z,a_];
A7.\u0275fac=function(a){return new (a||A7)(C(ME),C(xF),C(Window),C(QF),C(uF),C(fH),C(QI),C(EG),C(Zr),C(pI),C(ZI),C(jM),C(oH),C(zF),C(p_),C(r_),C(RF),C(FE),C(qI),C(lQ),C(XN),C(gH),C(RI),C(iJ),C(M0),C(ZH))};A7.\u0275dir=jd({type:A7,features:[Ff]});var dAb=function(){return{name:"List",value:"list",tooltip:"Classic view of Buganizer issues"}},eAb=function(){return{name:"Advanced",value:"adv",tooltip:"Stats, summaries, and recent activity"}},cAb=function(a,b){return[a,b]},kAb=function(){return{q:"status:open"}},B7=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa){A7.call(this,a,b,c,d,f,h,l,q,e,t,w,B,D,J,H,O,P,U,Ya,aa,pa,na,Ia,Xa,Rb,Sb);this.hotkeys=ka;this.pageTitle=Aa;this.routePerformance=ea;this.element=
Da;this.currentTracker=yb;this.imageUrls=Wa;this.ANALYTICS_CATEGORY=sq.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=this.imageUrls.SPACE_EMPTY_STATE;this.cancelConcurrentlyRunningSearches$=new X.Subject};Y(B7,A7);B7.\u0275dir=A7.\u0275dir;g=B7.prototype;
g.ngOnInit=function(){var a=this;A7.prototype.ngOnInit.call(this);this.subscriptions.add(IF(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="",kM(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,q_(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);kM(this.appSearchState,
this.query);b=Ucc(this.appSearchState);if(0<b)return F8b(this.bLocation,this.paths.viewHotlist(b)),q_(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=Vcc(this.appSearchState);if(0<b)return F8b(this.bLocation,this.paths.viewSavedSearch(b)),q_(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,X.concat)((0,X.timer)(0).pipe(pka()),U_a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){FFc(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 cOc);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:VNc(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=li(f);f.query=a.computeQuery(f);f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return E9b(a.issuePagination,f)}),(0,X.firstValueFrom)(this.cancelConcurrentlyRunningSearches$)]),d;(null==(d=this.query)?0:d.includes("teamid:"))&&
Wo(this.analytics,this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&Wo(this.analytics,this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(f){f instanceof cOc||$Nc(a,f)}).catch(function(f){"number"===typeof f?q_(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return Yo({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof cOc)return!1;a.searchResults=
a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.loadHotlists();a.cdr.detectChanges();Wo(a.analytics,a.ANALYTICS_CATEGORY,"issueSearch",f.displayColumns.join("|")+" ("+a.sortPreferences.join("|")+")");return!0})};g.processSearchResults=function(a){return a};g.computeQuery=function(){return this.query};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Ok(b.name)});d8b(this.userPreferencesManager,R_a(a)).pipe(xf(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===lM(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===Tcc(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this,c=this.bLocation.search();a=a.map(function(d){return{column:d.fieldId,order:d.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(xf(this.destroyed$)).subscribe(function(){q_(b.urlPreferences,{page:1,sortColumns:null});pAb();var d=b.bLocation.search();ki(c,d)&&b.refreshResults()})};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
B7.\u0275fac=function(a){return new (a||B7)(C(ME),C(xF),C(nH),C(QF),C(Zr),C(uF),C(fH),C(QI),C(EG),C(pI),C(ZI),C(jM),C(oH),C(zF),C(p_),C(r_),C(RF),C(FE),C(lQ),C(XN),C(HF),C(qH),C(qI),C(Q0),C(gH),C(Wd),C(RI),C(iJ),C(hM),C(M0),C(ZH),C(XM))};
B7.\u0275cmp=r({type:B7,selectors:[["list-issues-page"]],features:[wg([ME]),Ff],decls:11,vars:8,consts:[["noQuery",""],["noTracker",""],[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"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex",
"-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[3,"value","choices"],[3,"valueChange","value","choices"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches",
"target","_blank"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"],[1,"padded-s",3,"searchString","prefKey"],[1,"padded-s",3,"query","numEvents"],[3,"init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(G(0,"h2",2),S(1,"Issue search results"),I(),G(2,"div",3)(3,"b-grid-controls",4),N("init",function(d){return b.gridControls=
d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps,d.recaptchaToken)})("onCreateHotlist",function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),I(),E(4,gAb,1,1),G(5,"div",5)(6,"b-pagination",6),N("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return bOc(b,d.option)}),I()()(),G(7,"div",7),E(8,hAb,4,1,"div",
8)(9,nAb,9,8,"div",9)(10,rAb,3,1,"div",10),I());if(a&2){var c;A(3);F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);A();Uf((c=null==b.searchResults?null:b.searchResults.numResults)?4:-1,c);A(2);F("searchResults",b.searchResults);A();Hf("aria-busy",b.isLoading);A();F("ngIf",b.isLoading);A();F("ngIf",!b.isLoading&&!b.hasResults());A();F("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[d_,b0,XZ,zw,GL,cY,oF,EM,x7,r7,Iw],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});
var cOc=function(){},C7=function(){};C7.\u0275fac=function(a){return new (a||C7)};C7.\u0275mod=hd({type:C7});C7.\u0275inj=Rc({imports:[m_,d0,Y_,NK,rE,wM,dY,sF,yx,FM,z7,s7]});var D7=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa,Hb){B7.call(this,a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Xa,yb,Rb,Sb,Wa,Hb);this.issueLru=Ia;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};Y(D7,B7);D7.\u0275dir=B7.\u0275dir;
D7.prototype.ngOnInit=function(){B7.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};D7.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;return 0===this.recentIds.length?(this.isLoading=!1,Promise.resolve()):this.doSearch().then(function(b){b&&(a.isLoading=!1,a.initialLoad=!1,a.cdr.detectChanges())}).catch(function(){a.isLoading=!1;a.initialLoad=!1;a.cdr.detectChanges()})};
D7.prototype.computeQuery=function(a){a=a.resultsPerPage;var b=this.recentIds,c=b.length;c>a&&(b=b.slice(c-a));return b.map(function(d){return"id:"+d}).join("|")};D7.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=vAb(this.recentIds,a.issues));return a};
D7.\u0275fac=function(a){return new (a||D7)(C(ME),C(xF),C(nH),C(QF),C(Zr),C(uF),C(fH),C(QI),C(EG),C(pI),C(ZI),C(jM),C(oH),C(zF),C(p_),C(r_),C(RF),C(FE),C(lQ),C(XN),C(HF),C(qH),C(qI),C(Q0),C(gH),C(Wd),C(mM),C(RI),C(iJ),C(hM),C(M0),C(ZH),C(XM))};
D7.\u0275cmp=r({type:D7,selectors:[["list-issues-recent"]],features:[wg([ME]),Ff],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"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],
["id","no-results",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(G(0,"h2",0),S(1,"Recent Issues"),I(),G(2,"div",1)(3,"b-grid-controls",2),N("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()}),I(),G(4,"div",3)(5,"b-pagination",4),N("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return bOc(b,d.option)}),I()()(),G(6,"div",5),E(7,sAb,3,0,"div",6)(8,tAb,2,0,"div",7)(9,uAb,2,5,"div",8),I());if(a&2){var c;A(3);F("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);A(2);F("searchResults",
b.searchResults);A();Hf("aria-busy",b.isLoading);A();F("ngIf",b.isLoading);A();F("ngIf",!b.isLoading&&!b.hasResults());A();F("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[GL,d_,b0,XZ,zw],encapsulation:2});var E7=function(a,b,c,d,e,f){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=f;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};E7.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),dOc(this))};
var dOc=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)})};E7.\u0275fac=function(a){return new (a||E7)(C(ME,2),C(qH),C(RF),C(bK),C(qI),C(Zr))};
E7.\u0275cmp=r({type:E7,selectors:[["list-slos-page"]],features:[wg([ME])],decls:8,vars:5,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],["class","padded-sides",4,"ngIf"],[3,"large",4,"ngIf"],[4,"ngIf"],[1,"padded-sides"],[1,"muted"],[3,"large"],["class","slos-note",4,"ngIf"],[3,"slos",4,"ngIf"],[1,"slos-note"],[3,"slos"],[1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",
3,"svgIcon"],["class","conditional-slo-grid",4,"ngIf"],[1,"conditional-slo-grid"],["class","muted padded",4,"ngIf"],[1,"muted","padded"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"a",1),S(2," Create SLO "),I()(),G(3,"div",2),E(4,wAb,5,0,"div",3)(5,xAb,1,1,"b-spinner",4)(6,AAb,3,2,"ng-container",5)(7,EAb,6,5,"ng-container",5),I());a&2&&(A(),F("href",b.createSloPath,Ye),A(3),F("ngIf",b.sloEnabled),A(),F("ngIf",b.isLoading),A(),F("ngIf",!b.isLoading),A(),F("ngIf",!b.isLoading))},dependencies:[zw,
nB,DA,H0,GL],encapsulation:2});var Aza=function(a){this.internalArray_=m(a)};Y(Aza,n);g=Aza.prototype;g.getAuthor=function(){return Gi(this,xi,1)};g.setAuthor=function(a){hj(this,xi,1,a)};g.hasAuthor=function(){return Ui(this,xi,1)};g.getTimestamp=function(){return Gi(this,aj,2)};g.setTimestamp=function(a){return hj(this,aj,2,a)};g.hasTimestamp=function(){return Ui(this,aj,2)};g.getAdd=function(){return Gi(this,Sm,3)};g.setAdd=function(a){return hj(this,Sm,3,a)};g.getRemove=function(){return Gi(this,Sm,4)};
g.setRemove=function(a){return hj(this,Sm,4,a)};g.getAddMask=function(){return Gi(this,cn,5)};g.setAddMask=function(a){return hj(this,cn,5,a)};g.getRemoveMask=function(){return Gi(this,cn,6)};g.setRemoveMask=function(a){return hj(this,cn,6,a)};var eOc=function(a){this.internalArray_=m(a)};Y(eOc,n);eOc.repeatedFields_=[1];var fOc=function(a){this.internalArray_=m(a)};Y(fOc,n);g=fOc.prototype;g.getAuthor=function(){return Gi(this,$k,1)};g.setAuthor=function(a){hj(this,$k,1,a)};g.hasAuthor=function(){return Ui(this,$k,1)};g.getTimestamp=function(){return Gi(this,aj,2)};g.setTimestamp=function(a){return hj(this,aj,2,a)};g.hasTimestamp=function(){return Ui(this,aj,2)};g.getAdd=function(){return Gi(this,Tm,3)};g.setAdd=function(a){return hj(this,Tm,3,a)};g.getRemove=function(){return Gi(this,Tm,4)};
g.setRemove=function(a){return hj(this,Tm,4,a)};g.getAddMask=function(){return Gi(this,cn,5)};g.setAddMask=function(a){return hj(this,cn,5,a)};g.getRemoveMask=function(){return Gi(this,cn,6)};g.setRemoveMask=function(a){return hj(this,cn,6,a)};var F7=function(a){this.internalArray_=m(a,0,F7.messageId)};Y(F7,n);F7.prototype.getUpdatesList=function(){return Ii(this,fOc,1,hi())};F7.prototype.getIt=function(){return Gi(this,eOc,2)};F7.prototype.setIt=function(a){return hj(this,eOc,2,a)};F7.prototype.hasIt=function(){return Ui(this,eOc,2)};F7.repeatedFields_=[1];F7.messageId="b.ComponentHistory";var G7=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};G7.prototype.get=function(a){var b=this.componentHistoriesCache.get(String(a));return b?b:this.componentHistoriesCache.put(String(a),this.executor.get({url:"action/component_updates/"+a,responseConstructor:F7}).then(Bza))};G7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
G7.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};G7.\u0275fac=function(a){return new (a||G7)(p(aG),p(IE))};G7.\u0275prov=Pc({token:G7,factory:G7.\u0275fac,providedIn:"root"});var H7=function(){};H7.prototype.ngOnInit=function(){};H7.\u0275fac=function(a){return new (a||H7)};
H7.\u0275cmp=r({type:H7,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&E(0,FAb,4,1,"ng-container",0)(1,GAb,4,1,"ng-container",0);a&2&&(F("ngIf",b.teamPath),A(),F("ngIf",b.componentPath))},dependencies:[zw,CR,i0],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var gOc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},I7={},hOc=(I7[0]="basic",I7[1]="customFields",I7[2]="fieldOrdering",I7[3]="templates",I7[4]="access",I7),iOc={},jOc=(iOc[0]="access",iOc[1]="access_permissions",iOc),J7=function(a,b){Z.call(this);var c=this;this.bLocation=a;this.route=b;this.Tab=gOc;this.selectedAccessSubTabIndex=this.selectedTabIndex=0;this.componentReady$=new X.Subject;this.componentReady$.subscribe(function(){c.selectedTabIndex=
0;c.route.fragment.pipe(xf(c.destroyed$)).subscribe(function(d){if("basic"===d)c.selectedTabIndex=0;else if("customFields"===d)c.selectedTabIndex=1;else if("fieldOrdering"===d)c.selectedTabIndex=2;else if("templates"===d)c.selectedTabIndex=3;else if("access"===d||"access"===d||"access_permissions"===d)c.selectedTabIndex=4,"access_permissions"===d&&(c.selectedAccessSubTabIndex=1),NCb(c)})})};Y(J7,Z);J7.\u0275dir=Z.\u0275dir;
J7.prototype.tabChange=function(a){if(4===a&&0<this.selectedAccessSubTabIndex){var b,c=null!=(b=jOc[a])?b:"access";this.bLocation.hash(c,!0)}else b=null!=(c=hOc[a])?c:null,this.bLocation.hash(b,!0);this.selectedTabIndex=a};var NCb=function(a){1===a.selectedAccessSubTabIndex?a.bLocation.hash("access_permissions",!0):0===a.selectedAccessSubTabIndex&&a.bLocation.hash("access",!0)};J7.\u0275fac=function(a){return new (a||J7)(p(QF),p(lk))};J7.\u0275prov=Pc({token:J7,factory:J7.\u0275fac,providedIn:"root"});var LAb=function(a){this.internalArray_=m(a)};Y(LAb,n);var kOc=function(a){this.internalArray_=m(a,0,kOc.messageId)};Y(kOc,n);kOc.repeatedFields_=[1];kOc.messageId="b.BatchGroupMetadataResult";var K7=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var f=HAb(e);return kQb(d,function(h){return f[h]||null})})})};K7.prototype.get=function(a){return this.bulkGetter.get(a).then(function(b){return null!==b?b:{groupEmail:a,approximateSize:0,sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"}})};K7.\u0275fac=function(a){return new (a||K7)(p(L7),p(GE))};
K7.\u0275prov=Pc({token:K7,factory:K7.\u0275fac,providedIn:"root"});var L7=function(a){this.executor=a};L7.prototype.bulkGet=function(a){a=[].concat(u(new Set(a)));a=Un(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:kOc}).then(MAb)};L7.\u0275fac=function(a){return new (a||L7)(p(IE))};L7.\u0275prov=Pc({token:L7,factory:L7.\u0275fac,providedIn:"root"});var NAb=[{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 M7=function(a,b,c,d){var e=this;this.activeSession=a;this.confirmationDialogService=b;this.documentationLinks=c;this.groupMetadata=d;this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return aq(e.component)};this.hasUnsavedAccessLimitChanges=function(){return e.originalComponent&&e.component?e.originalComponent.accessLimit.accessLevel!==e.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(f){e.hasUnsavedAccessLimitChanges()&&
"INTERNAL"===e.component.accessLimit.accessLevel?e.confirmationDialogService.open({title:"Component Visibility Changed",content:vh("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(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(f){e.componentReaders.includes("GROUP:nobody@google.com")?
e.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:vh('"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: '+[e.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':null,e.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,e.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Issue Admins"':null,e.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,e.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,e.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?
'"View restricted content"':null].filter(function(h){return!!h}).join(", ")+". Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(f){XAb(e.activeSession.getUserEmail(),e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Component Administrators Changed",content:vh("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(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performRestrictedPlusGroupRemovalCheck=function(){return new Promise(function(f){WAb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:vh("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(){f(!0)},onDismiss:function(){f(!1)}}):
f(!0)})};this.retrieveGroupMetadata=function(f){f=vp(f);return vi(f)&&f.group.emailAddress?e.groupMetadata.get(f.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var f=Rj([].concat(u(si(e.componentAccessPolicyUnderEdit.admins,e.componentFlattenedAccessPolicy.admins)),u(si(e.issueDefaultAccessPolicyUnderEdit.admins,e.issueDefaultFlattenedAccessPolicy.admins)),u(si(e.issueDefaultAccessPolicyUnderEdit.editors,
e.issueDefaultFlattenedAccessPolicy.editors)),u(si(e.issueDefaultAccessPolicyUnderEdit.appenders,e.issueDefaultFlattenedAccessPolicy.appenders)),u(si(e.issueDefaultAccessPolicyUnderEdit.readers,e.issueDefaultFlattenedAccessPolicy.readers)),u(si(e.issueDefaultAccessPolicyUnderEdit.restrictedReaders,e.issueDefaultFlattenedAccessPolicy.restrictedReaders)),u(si(e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,e.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(f.map(function(h){return e.retrieveGroupMetadata(h)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return e.enableRostersChecks?e.evaluateNewGroups().then(function(f){var h=RAb(f);f=VAb(f);if(0===h.size&&0===f.size)return Promise.resolve(!0);var l=SAb(h.size,f.size);h=TAb(h);f=UAb(f);var q=xh([h,h===Sr?Sr:yh("br"),f]);h={};q=xh([q,yh("p",{},xh(["Please review the ",yh("a",(h.href=udc(e.documentationLinks),h.target="_blank",h),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);return new Promise(function(t){e.confirmationDialogService.open({title:l,
content:q,onConfirm:function(){t(!0)},onDismiss:function(){t(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(f){if(e.isPublic()&&QAb(e.issueDefaultAccessPolicyUnderEdit,e.issueDefaultFlattenedAccessPolicy)){var h={};h=xh([yh("p",{},"You are about to give a broad category of users permissions on a public component."),yh("p",{},xh(["Please review the ",yh("a",(h.href=tdc(e.documentationLinks),h.target="_blank",
h),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);e.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:h,onConfirm:function(){f(!0)},onDismiss:function(){f(!1)},confirmButtonText:"Add Group Alias"})}else f(!0)})};this.performChangedImplicitAccessCheck=function(){e.implicitAccess={getValue:function(){return e.componentAccessPolicyUnderEdit?"ALLOW"===e.componentAccessPolicyUnderEdit.implicitAccess:
!1},getSavedValue:function(){return e.componentFlattenedAccessPolicy?"ALLOW"===e.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(l){e.componentAccessPolicyUnderEdit&&(e.componentAccessPolicyUnderEdit=Object.assign({},e.componentAccessPolicyUnderEdit,{implicitAccess:l?"ALLOW":"DENY"}))}};var f={},h=yh("a",(f.href=$o(e.documentationLinks)+"#expanded-access",f),"Learn more.");return new Promise(function(l){e.implicitAccess.getValue()===e.implicitAccess.getSavedValue()?l(!0):e.implicitAccess.getValue()?
e.confirmationDialogService.open({title:"Turn on expanded access for component "+e.component.componentId+"?",content:xh(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",h]),onConfirm:function(){l(!0)},onDismiss:function(){l(!1)}}):e.confirmationDialogService.open({title:"Turn off expanded access for component "+e.component.componentId+"?",content:xh(["Some users may lose the ability to edit or comment on issues in this component. ",
h]),onConfirm:function(){l(!0)},onDismiss:function(){l(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var f=[].concat(u(OAb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)),u(OAb(e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit))),h=new Set;f=k(f);for(var l=f.next();!l.done;l=f.next()){l=k(l.value.addedPrincipals);for(var q=l.next();!q.done;q=l.next())q=vp(q.value),(ui(q)?EBa(q.user.emailAddress):vi(q)&&EBa(q.group.emailAddress))&&h.add(q)}return[].concat(u(h))};
this.performAutomationUserAccessCheck=function(){if(!e.enableComponentAutomationCheck)return Promise.resolve(!0);var f=e.getAddedAutomationInPolicyChange();return new Promise(function(h){if(f.length){var l={};l=yh("a",(l.href=rdc(e.documentationLinks),l)," automation account documentation");e.confirmationDialogService.open({title:"Adding automation accounts",content:xh([vh("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"),
yh("wbr"),l,vh("."),yh.apply(null,["ol",{}].concat(u(f.map(function(q){if(ui(q)){var t;return yh("li",{},vh(null!=(t=q.user.emailAddress)?t:""))}if(vi(q)){var w;return yh("li",{},vh(null!=(w=q.group.emailAddress)?w:""))}throw Error("Xe`"+JSON.stringify(q));})))),yh("br",{}),vh("Are you sure you wish to allow automation to access data in this component?")]),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}})}else h(!0)})};this.runValidation=function(f){var h,l,q;return me(function(t){switch(t.nextAddress){case 1:h=
k(f),l=h.next();case 2:if(l.done){t.jumpTo(4);break}q=l.value;return oe(t,q(),5);case 5:if(!t.yieldResult)return t.return(!1);l=h.next();t.jumpTo(2);break;case 4:return t.return(!0)}})};this.enableRostersChecks=hE(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=hE(this.activeSession,"enableComponentAutomationCheck")},lOc=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,f=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,l=b.issueDefaultAccessPolicyUnderEdit,
q=b.issueDefaultFlattenedAccessPolicy,t,w;return me(function(B){if(1==B.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,t=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,a.performAddedNewInternalAliasesCheck,
a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],oe(B,a.runValidation(t),2);w=B.yieldResult;return B.return(w)})};M7.\u0275fac=function(a){return new (a||M7)(p(Zr),p(nL),p(TM),p(K7))};M7.\u0275prov=Pc({token:M7,factory:M7.\u0275fac});var N7=function(a){Z.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};Y(N7,Z);N7.\u0275dir=Z.\u0275dir;
N7.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(u(this.componentReaders))),d=new Set([].concat(u(a.admins),u(a.inheritedAdmins)));a=new Set([].concat(u(d),u(a.appenders)));var e=new Set([].concat(u(b.admins))),f=new Set([].concat(u(e),u(b.editors))),h=new Set([].concat(u(f),u(b.appenders))),l=new Set([].concat(u(b.restrictedPlusReaders))),q=new Set([].concat(u(l),u(b.restrictedReaders)));b=new Set([].concat(u(q),u(h),u(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(u(d)).map(Tr)},{permission:"Create Issues",principals:[].concat(u(a)).map(Tr)},{permission:"Admin Issues",principals:[].concat(u(e)).map(Tr)},{permission:"Edit Issues",principals:[].concat(u(f)).map(Tr)},{permission:"Comment on Issues",principals:[].concat(u(h)).map(Tr)},{permission:"View Issues",principals:[].concat(u(b)).map(Tr)},{permission:"View Components",principals:[].concat(u(c)).map(Tr)},{permission:"View Restricted",principals:[].concat(u(q)).map(Tr)},
{permission:"View Restricted+",principals:[].concat(u(l)).map(Tr)}];mOc(this,this.templates)};
var mOc=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=k(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$14:void 0},d=c.next())e.principal$jscomp$14=d.value,"ALIAS"===e.principal$jscomp$14.principalType?e.principal$jscomp$14.detailedUserType="NO_DETAILED_TYPE":KE(a.principalTypes,e.principal$jscomp$14.value,!0).then(function(f){return function(h){f.principal$jscomp$14.detailedUserType=h.detailedUserType}}(e))}};N7.\u0275fac=function(a){return new (a||N7)(C(JE))};
N7.\u0275cmp=r({type:N7,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[Ff,xd],decls:7,vars:1,consts:[[1,"permissions-column-headers"],["scope","col"],[4,"ngFor","ngForOf"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText",4,"ngFor","ngForOf"],[3,"value","detailedUserType","principalType",
"accessLevel","displayText"]],template:function(a,b){a&1&&(G(0,"table")(1,"tr",0)(2,"th",1),S(3,"Permission"),I(),G(4,"th",1),S(5,"Users With Permission"),I()(),E(6,ZAb,6,2,"ng-container",2),I());a&2&&(A(6),F("ngForOf",b.templates))},dependencies:[Dw,tV],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 nOc=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"}),O7={},oOc=(O7.issueAdmin=new Set(["issueEditor"]),O7.issueEditor=new Set(["issueAppender"]),O7.issueAppender=new Set(["issueReader"]),O7.issueRestrictedReader=
new Set(["issueReader"]),O7.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),O7.issueReader=new Set(["componentReader"]),O7.componentAdmin=new Set(["componentAppender"]),O7.componentAppender=new Set(["componentReader"]),O7.componentReader=new Set,O7),iBb=op(nOc,function(a){return oOc[a]}),Ur=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"}),P7={},pOc=(P7.componentAdmin=new Set(["componentAdmin","issueAdmin"]),P7.issueAdmin=new Set(["issueAdmin","componentAppender"]),P7.issueEditor=new Set(["issueEditor","componentAppender"]),P7.issueContributor=new Set(["issueAppender","componentAppender"]),P7.componentAdminOnly=new Set(["componentAdmin"]),
P7.issueCreator=new Set(["componentAppender"]),P7.issueAdminOnly=new Set(["issueAdmin"]),P7.issueEditorExisting=new Set(["issueEditor"]),P7.issueCommenter=new Set(["issueAppender"]),P7.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),P7.restrictedViewer=new Set(["issueRestrictedReader"]),P7.issueViewer=new Set(["issueReader"]),P7),gBb=op(Ur,function(a){return pOc[a]}),qOc=jBb(),fBb=op(Ur,function(a){a=[].concat(u(gBb.get(a))).flatMap(function(b){return[].concat(u(qOc.get(b)))});return new Set(a)}),
hBb=op(Ur,function(a){return new Set(Ur.filter(function(b){return b!==a&&Sra(fBb.get(b),fBb.get(a))}))});var mBb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},rOc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var Q7=function(a,b,c,d,e,f,h){var l=this;this.accessPolicyApi=a;this.errorHandler=b;this.butterBar=c;this.userAccess=d;this.componentActions=e;this.componentValidator=f;this.analytics=h;this.isAdmin=!1;this.rolesMap=mBb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return l.componentAccessPolicyUnderEdit?"ALLOW"===l.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return l.componentFlattenedAccessPolicy?
"ALLOW"===l.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){l.componentAccessPolicyUnderEdit&&(l.componentAccessPolicyUnderEdit=Object.assign({},l.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))},isUpdated:function(){var q;return l.componentAccessPolicyUnderEdit.implicitAccess!==(null==(q=l.componentFlattenedAccessPolicy)?void 0:q.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=rOc;this.componentAccessPolicyUnderEdit=
yp();this.issueDefaultAccessPolicyUnderEdit=yp();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(q){a:{var t=l.issueDefaultFlattenedAccessPolicy;if(q&&t){t=t.restrictedPlusReaders;q=k(q);for(var w=q.next();!w.done;w=q.next())if(w=w.value,0===w.indexOf("GROUP:")&&-1===t.indexOf(w)){t=!1;break a}}t=!0}return t}}};Q7.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var sOc=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;wr(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Xn(b)&&(c+=Yn(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};Q7.prototype.updateComponentAndOriginalComponent=function(a){this.component=li(a);this.originalComponent=li(a)};
Q7.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId).then(function(b){a.updateComponentAndOriginalComponent(b);0<b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};Q7.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)})};
Q7.prototype.initialize=function(a){var b=this;a=void 0===a?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=zp(c);b.componentAccessPolicyUnderEdit=li(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
zp(c);b.issueDefaultAccessPolicyUnderEdit=li(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var tOc=function(a){a.rolesMap=nBb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},uOc=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&pBb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},vOc=function(a){var b=oBb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!pBb(a,c));return b||c},wOc=function(a,b){return oBb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=zp(c);if(oBb(d,a.componentAccessPolicyUnderEdit)){if(oBb(d,a.componentFlattenedAccessPolicy))return Promise.reject({data:{message:"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)};Q7.prototype.loadUserAccess=function(a){var b=this;return NG(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):NG(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
Q7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Ap(this.componentAccessPolicyUnderEdit);var c=Ap(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(vOc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,wr(this.butterBar,"Saving access settings...",0),uOc(this,c).then(function(d){d&&(b.readers=[].concat(u(d.admins||[]),u(d.editors||[]),u(d.appenders||[]),
u(d.readers||[]),u(d.restrictedPlusReaders||[]),u(d.restrictedReaders||[])));return wOc(a,b).catch(function(e){var f;return me(function(h){if(1==h.nextAddress)return f=Ap(a.issueDefaultFlattenedAccessPolicy),oe(h,uOc(a,f),2);throw e;})})}).then(function(){return sOc(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;tOc(a);var e=a.rolesMap,f={componentAdminOnly:d.componentAdminOnly,issueAdminOnly:d.issueAdminOnly,viewer:d.viewer,editExistingIssuesOnly:d.editExistingIssuesOnly,
createIssuesOnly:d.createIssuesOnly,commentOnly:d.commentOnly,viewRestricted:d.viewRestricted,viewRestrictedPlus:d.viewRestrictedPlus},h={componentAdminOnly:e.componentAdminOnly,issueAdminOnly:e.issueAdminOnly,viewer:e.viewer,editExistingIssuesOnly:e.editExistingIssuesOnly,createIssuesOnly:e.createIssuesOnly,commentOnly:e.commentOnly,viewRestricted:e.viewRestricted,viewRestrictedPlus:e.viewRestrictedPlus};d=qBb({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=qBb(f,h);switch(d&&f?2:d?0:f?1:3){case 0:Wo(a.analytics,sq.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:Wo(a.analytics,sq.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:Wo(a.analytics,sq.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:Wo(a.analytics,sq.ROLE_BASED_PERMISSIONS,"update","roles:neither")}wr(a.butterBar,"Access settings saved",0)}).catch(function(d){a.butterBar.showWarning(Yn(d),
0)}).finally(function(){return me(function(d){if(1==d.nextAddress)return oe(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;se(d)})});tOc(this);return sOc(this)};
var xOc=function(a,b){b=kBb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},CBb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(xOc(a,b),lOc(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();wr(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
Ac.Object.defineProperties(Q7.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){ki(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=lBb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){ki(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=lBb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});Q7.\u0275fac=function(a){return new (a||Q7)(p(TH),p(qI),p(pI),p(LG),p(SM),p(M7),p(ZI))};Q7.\u0275prov=Pc({token:Q7,factory:Q7.\u0275fac});var R7=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=R4b};R7.prototype.getRecentIssuesLink=function(){return il(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};R7.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!xUa(this.rolesEditor.parentComponent))};
R7.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!aq(this.rolesEditor.parentComponent))};R7.\u0275fac=function(a){return new (a||R7)(C(Zr),C(TM),C(Q7))};
R7.\u0275cmp=r({type:R7,selectors:[["access-limit-settings"]],decls:6,vars:3,consts:[["class","component-banner",4,"ngIf"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for",
"access-level-public"],["class","access-level-warning",4,"ngIf"],["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"],[1,"access-level-warning"],
["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(E(0,vBb,18,7,"div",0),G(1,"div",1)(2,"p"),S(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),G(4,"a",2),S(5,"Learn more"),I()()());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=
$p(b.rolesEditor.parentComponent)||$p(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}F("ngIf",a);A(4);eg("href","",$o(b.documentationLinks),"#recommended-role-based-permissions-configurations",Ye)}},dependencies:[zw,bh,mx,cx,jx],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 S7=function(a,b){this.documentationLinks=a;this.rolesEditor=b};S7.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};S7.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};S7.\u0275fac=function(a){return new (a||S7)(C(TM),C(Q7))};
S7.\u0275cmp=r({type:S7,selectors:[["expanded-access-settings"]],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&&(G(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),N("change",function(c){return b.setImplicitAccess(c.checked)}),I()(),G(3,"div",3)(4,"strong",4),S(5,"Expanded access"),I(),G(6,"div",5),S(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),G(8,"a",6),S(9,"Learn more"),I()()()());a&2&&(Qf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),A(2),F("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),A(6),eg("href","",$o(b.documentationLinks),"#expanded-access",Ye))},dependencies:[KM,LM],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 wBb=function(){return{}},yBb=function(a,b){return{displayText:a,values:b}},xBb=function(a){return[a]},zBb=function(){return[]},T7=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new Uv;this.formIsValid=new Uv;this.aclFormValidity=new Map};T7.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};T7.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};T7.\u0275fac=function(a){return new (a||T7)};
T7.\u0275cmp=r({type:T7,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:31,vars:1,consts:[["scope","col"],[4,"ngFor","ngForOf"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"usersChange","isValid","idForInputBox","users","ariaLabel","accessLevel",
"customValidators","includeAliases","includeViewAliases","containerChips"],["size","large",3,"name"]],template:function(a,b){a&1&&(G(0,"table")(1,"thead")(2,"tr")(3,"th",0),S(4,"Role Assignments"),I(),G(5,"th",0)(6,"h6"),S(7,"Admin Components"),I()(),G(8,"th",0)(9,"h6"),S(10,"Create Issues"),I()(),G(11,"th",0)(12,"h6"),S(13,"Admin Issues"),I()(),G(14,"th",0)(15,"h6"),S(16,"Edit Issues"),I()(),G(17,"th",0)(18,"h6"),S(19,"Comment on Issues"),I()(),G(20,"th",0)(21,"h6"),S(22,"View Issues"),I()(),G(23,
"th",0)(24,"h6"),S(25,"View Restricted"),I()(),G(26,"th",0)(27,"h6"),S(28,"View Restricted+"),I()()()(),G(29,"tbody"),E(30,ABb,26,29,"ng-container",1),I()());a&2&&(A(30),F("ngForOf",b.rolesTableData))},dependencies:[Dw,nB,nV,iE,CA,nE,OC],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .mat-mdc-tooltip-trigger{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;margin:5px 2px}.role-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]     .mat-icon-button{margin:0 5px;width:inherit;height:inherit}[_nghost-%COMP%]     .mat-icon-button mat-icon{display:flex;height:16px;width:16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var U7=function(){this.rolesMap=mBb;this.isSaving=!1;this.saveRolesMap=new Uv;this.rolesUnderEdit=mBb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},yOc=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:null==b?void 0:b.componentAdmin,roleType:"componentAdmin",
grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Component Admins are granted all the permissions to manage the component and all issues in this component. They can't view restricted content. Typical Component Admins are team leads."},{ariaLabel:"Issue Admin role",label:"Issue Admins",users:null==b?void 0:b.issueAdmin,roleType:"issueAdmin",
grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Issue Admins are granted all permissions to manage issues, but can't edit component settings. They can't view restricted content. Typical Issue Admins are team members."},{ariaLabel:"Issue Editor role",label:"Issue Editors",users:null==b?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,
createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(c=a.component.accessLimit)?void 0:c.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors are granted all issue-related permissions except for admin permissions such as delete an issue or comment, or change restrictions. They can't view restricted content. Typical Issue Editors are collaborating team members."},{ariaLabel:"Issue Contributor role",
label:"Issue Contributors",users:null==b?void 0:b.contributor,roleType:"contributor",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Issue Contributors can read, comment, and create issues, but they can't edit issues. They can't view restricted content. Typical Issue Contributors are external partners or public users."}];a.standardRolesTableData=
d;b=a.rolesUnderEdit;var e,f;d=[{ariaLabel:"Component Admin Only role",label:"Component Admins Only",users:null==b?void 0:b.componentAdminOnly,roleType:"componentAdminOnly",grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Component Admin Only role can edit the component settings and create issues, but otherwise have no issue-related permissions.",
chips:{displayText:"Inherited Admins",values:null!=(f=b.inheritedComponentAdmin)?f:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:null==b?void 0:b.createIssuesOnly,roleType:"createIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the issue Issue Creators Only role can create issues, but have no other permissions. For example, they are not able to view issues they have created."},
{ariaLabel:"Issue Admin Only role",label:"Issue Admins Only",users:null==b?void 0:b.issueAdminOnly,roleType:"issueAdminOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Issue Admin Only role have all issue permissions but cannot create new issues."},{ariaLabel:"Issue Editors (existing issues only) role",label:"Issue Editors (existing issues only)",
users:null==b?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(e=a.component.accessLimit)?void 0:e.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors (existing issues only) have the issue editor's permission on existing issues, but they can't create new issues in this component."},
{ariaLabel:"Issue Commenter Only role",label:"Issue Commenter Only",users:null==b?void 0:b.commentOnly,roleType:"commentOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the Issue Commenter Only role may view and comment on issues on this component"},{ariaLabel:"Restricted Plus Content Viewer role",label:"Restricted+ Content Viewer",
users:null==b?void 0:b.viewRestrictedPlus,roleType:"viewRestrictedPlus",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!0},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted+ Content Viewers can view Restricted+ content on an issue.",customValidators:a.rolesEditor.restrictedPlusReadersValidators},{ariaLabel:"Restricted Content Viewer role",label:"Restricted Content Viewer",users:null==
b?void 0:b.viewRestricted,roleType:"viewRestricted",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted Content Viewers can view restricted content on an issue."},{ariaLabel:"Issue Viewer role",label:"Issue Viewers",users:null==b?void 0:b.viewer,roleType:"viewer",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,
issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!0,tooltip:"Issue Viewers can only view issues in this component, but can't comment or edit issues."}];a.advancedRolesTableData=d},zOc=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},AOc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=U7.prototype;g.ngOnInit=function(){AOc(this);yOc(this)};
g.ngOnChanges=function(a){a.rolesMap&&AOc(this);yOc(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()&&(!ki(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};U7.\u0275fac=function(a){return new (a||U7)};
U7.\u0275cmp=r({type:U7,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[xd],decls:12,vars:11,consts:[[3,"rolesMapUpdated","formIsValid","rolesTableData","displayedTableColumns","canEdit","accessLevel"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"click","disabled"],["mat-raised-button","","aria-label",
"Revert Changes",3,"click","disabled"]],template:function(a,b){a&1&&(K(0,"access-limit-settings"),G(1,"roles-view-table",0),N("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),I(),G(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),S(5," Advanced Roles "),I()(),G(6,"roles-view-table",0),N("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),I()(),K(7,"expanded-access-settings"),
G(8,"button",2),N("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),S(9,"Update"),I(),G(10,"button",3),N("click",function(){AOc(b);yOc(b)}),S(11," Revert Changes\n"),I());a&2&&(A(),F("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),A(),F("expanded",zOc(b)),A(4),F("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),A(2),F("disabled",!b.canSave()),A(2),F("disabled",!!ki(b.rolesMap,b.rolesUnderEdit)))},dependencies:[X3,Y3,Z3,CA,T7,R7,S7],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 V7=function(a,b){Z.call(this);this.rolesEditor=a;this.route=b;this.tabIndex=0;this.onTabChange=new Uv;this.selectedTabIndex=this.tabIndex};Y(V7,Z);V7.\u0275dir=Z.\u0275dir;V7.prototype.ngOnChanges=function(a){a.tabIndex&&(this.selectedTabIndex=a.tabIndex.currentValue)};V7.prototype.ngOnInit=function(){var a=this;this.selectedTabIndex=this.tabIndex;this.route.paramMap.pipe(z(function(b){return b.get("componentId")}),Ce(Ei),wf(function(b){return a.rolesEditor.initialize(Number(b))}),xf(this.destroyed$)).subscribe(function(){tOc(a.rolesEditor)})};
V7.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;"access"===e?this.selectedTabIndex=0:"access_permissions"===e&&(this.selectedTabIndex=1);this.onTabChange.emit(a)};V7.prototype.isSaving=function(){return this.rolesEditor.isSaving};V7.\u0275fac=function(a){return new (a||V7)(C(Q7),C(lk))};
V7.\u0275cmp=r({type:V7,selectors:[["role-based-permissions"]],viewQuery:function(a,b){a&1&&lg(ZU,5,Wd);if(a&2){var c;pg(c=qg())&&(b.tabs=c)}},inputs:{tabIndex:"tabIndex"},outputs:{onTabChange:"onTabChange"},features:[wg([Q7,M7]),Ff,xd],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[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&&E(0,BBb,2,0,"div",0)(1,DBb,7,9,"div",1);a&2&&(F("ngIf",!(null==b.rolesEditor.component?0:b.rolesEditor.component.componentId)),A(),F("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[zw,dV,ZU,$U,GL,N7,U7],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var BOc=["archiveDialog"],COc=["archiveButton"],DOc=["metadataForm"],W7=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na){Z.call(this);var Da=this;this.cdr=a;this.routeParams=b;this.bLocation=c;this.templatesApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=l;this.activeSession=q;this.documentationLinks=t;this.matDialogService=w;this.analytics=B;this.checkBeforeExit=D;this.userAccess=J;this.componentActions=H;this.errorHandler=O;this.componentUpdates=P;this.componentUpdatesApi=
U;this.confirmationDialogService=aa;this.appEvents=pa;this.teamsService=ka;this.sloApi=Aa;this.sloService=Ya;this.currentTracker=ea;this.tabsService=na;this.componentId$=new X.ReplaySubject(1);this.componentListRoute=cxa;this.showSloInheritancePath=!1;this.component$=new X.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(z(function(Ia){return null==Ia?void 0:Ia.trackerId}));this.showTrackerRedirect$=this.componentTrackerId$.pipe(z(function(Ia){var Xa,yb;return Da.shouldShowTrackerRedirect(null!=
(yb=null==(Xa=Da.activeSession.getTracker())?void 0:Xa.trackerId)?yb:"",lsa("")(Ia))}));this.parentComponent$=new X.BehaviorSubject(null);this.componentTeam$=new X.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(wf(function(Ia){return(Ia=null==Ia?void 0:Ia.id)&&"0"!==Ia?kK(Da.teamsService,Ia):(0,X.of)(null)}));this.parentComponentTeam$=this.parentComponent$.pipe(wf(function(Ia){var Xa;return(Ia=null==Ia?void 0:null==(Xa=Ia.team)?void 0:Xa.id)&&"0"!==Ia?kK(Da.teamsService,Ia):(0,X.of)(null)}));
this.inheritedSloMetadata$=(0,X.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(z(function(Ia){var Xa=k(Ia);Ia=Xa.next().value;var yb=Xa.next().value;Xa=Xa.next().value;if((null==Ia?0:Ia.team)&&!Ia.team.inherit&&"0"!==Ia.team.id){var Rb,Sb=null!=(Rb=null==Xa?void 0:Xa.slo)?Rb:null;if(Sb)return{containerType:"TEAM",content:Sb}}else if(Rb=null!=(Sb=null==yb?void 0:yb.slo)?Sb:null)return{containerType:"COMPONENT",content:Rb};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(lf(),
wf(function(Ia){var Xa="0";Ia&&("TEAM"===Ia.containerType?Xa=Ia.content.sloId:"COMPONENT"===Ia.containerType&&(Xa=Ia.content.id));return"0"===Xa?(0,X.of)({id:"0"}):Da.sloService.get(Xa).then(function(yb){return{id:Xa,slo:yb}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(lf(),wf(function(Ia){if(!Ia)return(0,X.of)({name:"None",type:"none"});Ia=YCb(Ia);var Xa=Ia.sourceTeamId,yb=Ia.sourceComponentId;return Xa&&"0"!==Xa?Da.teamsService.getTeam(Xa).pipe(z(function(Rb){var Sb;return{name:null!=
(Sb=null==Rb?void 0:Rb.name)?Sb:Xa,type:"team",link:{path:"/teams/"+Xa+"/edit",fragment:"slo"}}})):yb?Da.componentActions.get(Number(yb)).then(function(Rb){var Sb;return{name:null!=(Sb=Rb.name)?Sb:yb,type:"component",link:{path:"/components/"+yb+"/edit"}}}):(0,X.of)(null)}));this.policySourcePath$=(0,X.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(z(function(Ia){var Xa=k(Ia);Ia=Xa.next().value;var yb=Xa.next().value,Rb=Xa.next().value;Xa=Xa.next().value;
if(!Ia||!Ia.componentPathInfo||!Xa)return null;var Sb=YCb(Xa);Xa=Sb.sourceComponentId;yb=$Cb(yb,Sb.sourceTeamId,Ia.team,Rb);return null===Xa?{componentPath:null,teamPath:yb}:{componentPath:ZCb(Ia,Xa),teamPath:yb}}));this.enableSloLockingCheck=hE(this.activeSession,"enableSloLockingCheck");this.component=null;this.effectiveCustomFields=[];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=hE(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=hE(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(Ce(Boolean),
wf(function(Ia){return Da.sloApi.executor.get({url:"action/components/"+Ia+"/slo_edit_policy",responseConstructor:Aac}).pipe(z(GEa))}));this.getSloManagementLink=dxa};Y(W7,Z);W7.\u0275dir=Z.\u0275dir;W7.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
W7.prototype.ngOnInit=function(){var a=this;this.componentId=qi(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.subscriptions.add(jY(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&EOc(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
FOc(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=GOc(b)}));this.hasInitialized=!0;this.tabsService.componentReady$.next()};var FOc=function(a){a=[HOc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};W7.prototype.isAdmin=function(){return this.isAdminInternal};var Wr=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};g=W7.prototype;
g.isSaving=function(){return this.isUpdating||this.isArchiving};g.isArchived=function(){return this.component?this.component.archived:!1};g.isPublic=function(){return aq(this.component)};g.isExternal=function(){return $p(this.component)};g.isParentPublic=function(){return!(!this.parentComponent||!aq(this.parentComponent))};g.isParentPartner=function(){return!(!this.parentComponent||!xUa(this.parentComponent))};
var nCb=function(a){if(!a.component||!a.component.slo)return!1;var b=!!a.component.team&&"0"!==a.component.team.id;return 0===a.component.parentComponentId?b:!a.component.slo.inherit};W7.prototype.hasUnsavedMetadataChanges=function(){return!(ki(this.component,this.originalComponent)&&ki(this.parentComponent,this.originalParentComponent))};W7.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var IOc=function(a){var b=Pj();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:vh("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},JOc=function(a){var b=Pj();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:xh([vh('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.'),yh("br",{}),yh("br",{}),vh('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.'),
yh("br",{}),yh("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};W7.prototype.saveMetadata=function(){var a=this;return KOc(this)?JOc(this).then(function(b){return b?IOc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return FOc(a)})}):Promise.resolve()};
W7.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;wr(this.butterBar,"Saving changes ...",0);return LOc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return MOc(a)}).then(function(){return NOc(a)}).then(function(){return OOc(a)}).then(function(){wr(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var LOc=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)},MOc=function(a){return a.component.slo&&!ki(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){Wo(a.analytics,
sq.MANAGE_COMPONENT,"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},NOc=function(a){return a.component.team&&!ki(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){Wo(a.analytics,sq.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},OOc=function(a){return POc(a)?
a.componentActions.update(a.component).then(function(){Wo(a.analytics,sq.MANAGE_COMPONENT,"update");a.commentEditsEnabled?Wo(a.analytics,"component","comment edits enabled","update"):Wo(a.analytics,"component","comment edits disabled","update");return!0}):Promise.resolve(!1)},POc=function(a){var b=li(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!ki(a.originalComponent,b)},KOc=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};W7.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var HOc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
W7.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=li(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState};
var GCb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=GOc(b.componentPathInfo.allCustomField)})},GOc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
W7.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;0<c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=GOc(c.componentPathInfo.allCustomField);b.pageTitle.setTitle("Component: "+c.name);b.archiveAction=c.archived?"Unarchive":"Archive";b.commentEditsEnabled="ENABLED"==c.commentEditState;0===b.component.parentComponentId&&(b.isParentComponentRequired=
!1)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.hasInitialized&&b.cdr.detectChanges()})};W7.prototype.loadUserAccess=function(a){var b=this,c=Vn("COMPONENT",a);NG(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:NG(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var EOc=function(a){NG(a.userAccess,"writer",Vn("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},PBb=function(a){var b,c=ur(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return cp(a.currentTracker)&&(!c||!c.componentPathId||0===c.componentPathId.length)},Xr=function(a){return a.isSaving()||!a.isEditorInternal};g=W7.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=li(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return il(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(this.paths.createComponent({parentId:this.component.componentId}))};g.trackClick=function(a){Wo(this.analytics,"editComponent","click",a)};
var EBb=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,wr(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1}).afterClosed().pipe(xf(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.")};
W7.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=null!=(c=a.retentionSettings.retentionPeriodDays)?c:0;return Ln(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:vc(b,"unexpected value "+b+"!")}};
W7.prototype.archive=function(){var a=this;this.isArchiving=!0;wr(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);wr(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);Wo(a.analytics,"component","archive");a.updateComponentAndOriginalComponent(b);a.archiveAction=b.archived?"Unarchive":"Archive";a.isArchiving=!1}).catch(function(b){a.component.archived=
!a.component.archived;wr(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Xn(b)?Yn(b):b));a.isArchiving=!1})};
W7.prototype.loadTemplates=function(a){var b=this;return this.templatesApi.query(a).then(function(c){b.templates=c.map(function(d){var e=d.name;e||(e=d.default?"(default template)":"(unnamed template)");var f={};f=b.paths.getBaseUrl()+"/"+b.paths.createIssue((f.component=a?String(a):void 0,f.template=d.templateId?String(d.templateId):void 0,f));return{name:e,description:d.description||"",url:f}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
W7.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var QOc=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=mPa(d.addMask.paths),h=mPa(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var t=k(new Set([].concat(u(f),u(h)))),w=t.next();!w.done;w=t.next()){var B=w.value;if(w=Bjc.get(B))if("name"===B){var D=qp(h,B,d.name);B=qp(f,B,q.name);l.diffs.push(rp(w,D,B))}else if("description"===
B)D=qp(h,B,d.description),B=qp(f,B,q.description),l.diffs.push(rp(w,D,B));else if("parentComponentId"===B)D=qp(h,B,String(d.parentComponentId)),B=qp(f,B,String(q.parentComponentId)),l.diffs.push(rp(w,D,B));else if("isArchived"===B)D=qp(h,B,String(d.archived)),B=qp(f,B,String(q.archived)),l.diffs.push(rp(w,D,B));else if("commentEditState"===B){var J=Cjc.get(d.commentEditState);D=Cjc.get(q.commentEditState);J&&D&&(J=qp(h,B,J),B=qp(f,B,D),l.diffs.push(rp(w,J,B)))}else"defaultTemplateId"===B?(D=qp(h,
B,String(d.defaultTemplateId)),B=qp(f,B,String(q.defaultTemplateId)),l.diffs.push(rp(w,D,B))):"slo"===B?e.sessionIsInternal&&(D=qp(h,B,sPa(d.slo)),B=qp(f,B,sPa(q.slo)),l.diffs.push(rp(w,D,B))):"team"===B?e.sessionIsInternal&&(D=qp(h,B,tPa(d.team)),B=qp(f,B,tPa(q.team)),l.diffs.push(rp(w,D,B))):"retentionSettings"===B?(D=qp(h,B,qPa(d.retentionSettings)),B=qp(f,B,qPa(q.retentionSettings)),l.diffs.push(rp(w,D,B))):e.$log.error("Unsupported diff field "+B)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};W7.prototype.showUpdateHistoryModal=function(){var a=this;QOc(this,this.componentId).then(function(){a.matDialogService.open(L2,{width:"600px",data:{updateDiffs:a.updateDiffs}});Wo(a.analytics,sq.UPDATE_HISTORY_MODAL,"open");Wo(a.analytics,sq.MANAGE_COMPONENT,"viewHistory")})};W7.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&ROc(this)};
var jCb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return Wr(a)&&(c||b)},pCb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return Wr(a)&&(!a.component.slo.inherit||c&&b)},TBb=function(a){var b,c,d,e;me(function(f){b=0===a.component.parentComponentId;c="0"!==a.component.team.id;return(0===a.component.parentComponentId?"0"!==a.component.team.id:!a.component.team.inherit&&"0"!==a.component.team.id)||b&&c?oe(f,(0,X.firstValueFrom)(a.team$.pipe(z(function(h){a.component.slo.id=
h.slo.sloId;ROc(a)}))),0):(d=SOc(a),e=d.id,a.component.slo.id=e,ROc(a),f.jumpTo(0))})},oCb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},SOc=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}},ACb=function(a,b){wr(a.butterBar,"Saving effort spec...",0);
a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);Wo(a.analytics,sq.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var f;wr(a.butterBar,(null==(f=a.component.effortSpec)?void 0:f.name)+" saved")}else wr(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
W7.prototype.updateComponentAndOriginalComponent=function(a){this.component=li(a);this.component$.next(this.component);this.originalComponent=li(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);ROc(this)};W7.prototype.back=function(){O0(this.appHistory)};var ROc=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
W7.\u0275fac=function(a){return new (a||W7)(C(ME,2),C(vQ),C(QF),C(dI),C(RF),C(N0),C(pI),C(qH),C(Zr),C(TM),C(QA),C(ZI),C(iY),C(LG),C(SM),C(qI),C(YQ),C(G7),C(nL),C(gH),C(jK),C(aK),C(bK),C(hM),C(J7))};
W7.\u0275cmp=r({type:W7,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(lg(BOc,5),lg(COc,5),lg(DOc,5));if(a&2){var c;pg(c=qg())&&(b.confirmArchiveDialog=c.first);pg(c=qg())&&(b.archiveButton=c.first);pg(c=qg())&&(b.metadataForm=c.first)}},features:[wg([ME]),Ff],decls:4,vars:4,consts:[["showTrackerRedirect",""],["archiveDialog",""],["archiveButton",""],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],["metadataForm",""],["noInheritedSlo",
""],["noPolicySource",""],["unlocked",""],[4,"ngIf","ngIfElse"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["format","icon","size","large","tooltip","Go back","ariaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[4,"ngIf"],["cdkScrollable","",1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["mat-button","",1,"gmat-button",3,"routerLinkObj"],["format","flat",3,"disabled","onAction",4,"ngIf"],["format","flat",3,"tooltip","disabled","onAction",4,"ngIf"],["format",
"flat",3,"onAction","disabled"],["format","flat",3,"onAction","tooltip","disabled"],[1,"bv2-view-loading"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[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","Templates",3,"id"],["label","Access Control",3,"id"],[1,"resource-archived"],[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"],["class","edit-field","tabindex","0","aria-label",
"Parent component",4,"ngIf"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",3,"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","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],
["class","edit-field","role","region","aria-label","Retention Settings",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","Team Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","SLO Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",1,"help-label"],
["id","edit-alias-help-bubble",1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],["class","spam-protection-enable","name","spam-protection-enable","labelPosition","before",3,"checked","disabled","change",4,"ngIf"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field",
"bv2-edit-resource-readonly"],[3,"children","onVisit",4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role",
"region","aria-label","Retention Settings",1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","componentId","initialModel"],["role","region","tabindex","0","aria-label","Team Configuration",
1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["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"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",
4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",
4,"ngIf"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"change","checked","disabled"],["class","edit-field component-slo-justification-text",4,"ngIf"],["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","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",
1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModelChange","ngModel","disabled"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button",
"small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],["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"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled",
"updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top","aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"updateComponent","effortSpec","parentEffortSpec","disabled"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring",
"target","_blank",3,"href",4,"ngIf"],[3,"onReload","fields","componentId","fieldOrdering","isAdmin"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor","ngForOf"],[1,"component-field"],[3,"onTabChange","tabIndex"],["mat-dialog-title",""],[1,"b-archive-component-list"],["mat-flat-button","","mat-dialog-close","",
"aria-label","Click to archive the component","color","primary",3,"click"],["mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more on how to recursively unarchive subcomponents",
"target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[4,"ngFor","ngForOf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(E(0,WCb,12,3,"ng-container",12),V(1,"async"),E(2,XCb,2,1,"ng-template",null,0,Eg));a&2&&(a=R(3),F("ngIf",!W(1,2,b.showTrackerRedirect$))("ngIfElse",a))},dependencies:[LK,Dw,zw,Hw,nB,VM,CR,eR,f2,lHc,o2,JX,j_,s2,kx,bh,cx,dx,ux,jx,hx,iE,CA,DA,KM,LM,RA,SA,TA,UA,Ey,NR,OR,dV,ZU,$U,nE,OC,u0,V7,AR,H7,s0,GL,gN,ZM,x5,Iw,Kw],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-button[_ngcontent-%COMP%]:focus, .mat-button[_ngcontent-%COMP%]:focus-visible, .mat-button[_ngcontent-%COMP%]:focus-within, .mat-flat-button.mat-primary[_ngcontent-%COMP%]:focus, .mat-flat-button.mat-primary[_ngcontent-%COMP%]:focus-visible, .mat-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-button.mat-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-button.mat-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-button.mat-button:not([disabled]):focus-within .mat-button-focus-overlay,   .gmat-button.mat-stroked-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-button.mat-stroked-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-button.mat-stroked-button:not([disabled]):focus-within .mat-button-focus-overlay{opacity:.06}\n/*# sourceMappingURL=manage_component.css.map */"]});var DDb=function(a){return{value:a}},EDb=function(a){return[a]},FDb=function(){return[]},TOc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},X7=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J){Z.call(this);var H=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=f;this.errorHandler=h;this.location=l;this.pageTitle=q;this.routeParams=t;this.teamsService=w;this.userAccess=B;this.sloApi=D;this.sloService=J;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new X.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new X.ReplaySubject(1);this.teamSlo$=this.team$.pipe(z(function(P){return P.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new X.BehaviorSubject("");this.sloLead$=new X.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(P){if(P){P=k(P);
for(var U=P.next();!U.done;U=P.next())if(0!==U.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(P){if(P){P=k(P);for(var U=P.next();!U.done;U=P.next())if(0!==U.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,X.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(z(function(P){return P.admins.filter(ui).map(tp)}));this.teamLeads$=this.team$.pipe(z(function(P){return P.members.filter(function(U){return U.isLead}).map(function(U){var aa,
pa;return"USER:"+(null!=(pa=null==(aa=U.user)?void 0:aa.emailAddress)?pa:"")})}));this.adminsAndLeads$=(0,X.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(z(function(P){var U=k(P);P=U.next().value;U=U.next().value;var aa=new Set(P);U=U.filter(function(pa){return!aa.has(pa)});return[].concat(u(P),u(U))}));this.associatedComponents$=(0,X.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(z(function(P){var U=P.pathNames;return P.pathIds.map(function(aa,
pa){return{id:aa,name:U[pa]}})}));this.isRootTeam$=this.teamPath$.pipe(z(function(P){return 1>=P.length?!0:!1}));this.parentTeam$=(0,X.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(wf(function(P){var U=k(P);P=U.next().value;U=U.next().value;return P?(0,X.of)(null):H.teamsService.getTeam(U[U.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(wf(function(P){var U=null==P?void 0:P.slo.sloId;return U&&"0"!==U?H.sloService.get(U).then(function(aa){return{id:U,link:dxa(U),
slo:aa}}):(0,X.of)({id:"0"})}));this.sloPolicySource$=(0,X.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(z(function(P){var U=k(P);P=U.next().value;U=U.next().value;var aa=null==P?void 0:P.slo.sourceTeamId;P=U.find(function(pa){return pa.id===aa});return aa&&P?{name:P.name,link:{path:"/teams/"+aa+"/edit",fragment:"slo"}}:null}));this.Tab=TOc;this.enableSloLockingUi=hE(this.activeSession,"enableSloLockingUi");this.isSloInheritEnabled$=new X.BehaviorSubject(!0);this.sloId$=new X.BehaviorSubject("0");
this.enableSloCheckedInternal=!1;this.sloLocked$=new X.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(wf(function(P){return NG(H.userAccess,"reader","slos/"+P)}),vf(!1));this.sloPickerLink$=(0,X.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(z(function(P){var U=k(P);P=U.next().value;U=U.next().value;return P&&0<Number(P)&&U?dxa(P):null}));this.hasUnsavedChanges$=(0,X.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(z(function(P){var U=
k(P),aa=U.next().value;P=U.next().value;var pa=U.next().value,ka=U.next().value,Aa=U.next().value;U=U.next().value;var Ya=aa.slo,ea,na;aa=null!=(na=null==(ea=aa.sloLead)?void 0:ea.emailAddress)?na:"";return Ya.inherit!==pa||Ya.sloId!==P||ka!==H.originalSloLock||Ya.comment!==Aa||aa!==U}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");this.team$.pipe(xf(this.destroyed$)).subscribe(function(P){H.pageTitle.setTitle("Team: "+P.name)});a=hE(this.activeSession,"enableSloLockingCheck")?"teams/"+
this.teamId+"/slo":"teams/"+this.teamId;NG(this.userAccess,"writer",a).then(function(P){H.hasEditAccess=P});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(z(function(P){return P.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:YJ}).pipe(z(EEa));var O=Fk(this.hasUnsavedChanges$.pipe(xf(this.destroyed$)),!1);this.subscriptions.add(jY(this.checkBeforeExit,function(){return O.getValue()},!1))};
Y(X7,Z);X7.\u0275dir=Z.\u0275dir;
X7.prototype.ngOnInit=function(){var a=this,b,c;return me(function(d){switch(d.nextAddress){case 1:return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),ne(d,2),oe(d,(0,X.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;au(d,3);break;case 2:return re(d),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),xDb(a),oe(d,(0,X.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,se(d)}})};X7.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};X7.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var wDb=function(a,b){var c,d,e,f,h,l;return me(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();wr(a.butterBar,"Saving changes...",0);ne(q,2);if((null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return oe(q,(0,X.firstValueFrom)(a.teamsService.updateTeam(Object.assign({},b,{sloLead:{emailAddress:a.sloLeadEmail}}))),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);break}var t=X.firstValueFrom;var w=
a.sloApi;var B=a.teamId,D=a.sloLocked,J=new XJ;D=zl(J,2,D?1:2).setTeamId(Number(B));w=w.executor.post({url:"action/teams/"+B+"/slo_edit_policy",responseConstructor:$J,body:D}).pipe(z(EEa));return oe(q,t.call(X,w),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:f=b.slo;if(f.inherit===a.isSloInheritEnabled&&f.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&f.comment===a.sloJustification){q.jumpTo(8);break}t=X.firstValueFrom;D={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?
"":a.sloJustification$.getValue(),sourceTeamId:"0"};w=a.teamsService;B=a.teamId;D=(new iK).setIt(kza(D));w=w.executor.post({url:"/action/teams/"+B+"/update_slo",body:D,responseConstructor:eK}).pipe(z(Ho));return oe(q,t.call(X,w),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:wr(a.butterBar,"Save complete.");au(q,0);break;case 2:l=re(q),sI(a.errorHandler,l),se(q)}})};
X7.prototype.validate=function(){if(!this.isSloInheritEnabled&&""===this.sloJustification$.getValue())return this.error="Justification is required",!1;if(!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var UOc=function(a){(0,X.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},VOc=function(a){(0,X.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},WOc=function(a){(0,X.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},xDb=function(a){a.error="";UOc(a);VOc(a);a.enableSloLockingUi&&WOc(a)};X7.prototype.back=function(){O0(this.appHistory)};
Ac.Object.defineProperties(X7.prototype,{sloJustification:{configurable:!0,enumerable:!0,get:function(){return this.sloJustification$.getValue()}},sloLeadEmail:{configurable:!0,enumerable:!0,get:function(){return this.sloLeadEmail$.getValue()}},sloLead:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLead$.getValue()&&(this.sloLead$.next(a),this.sloLeadEmail$.next(a?a.split(":")[1]:""))},get:function(){return this.sloLead$.getValue()}},isSloInheritEnabled:{configurable:!0,enumerable:!0,
set:function(a){a!==this.isSloInheritEnabled$.getValue()&&this.isSloInheritEnabled$.next(a)},get:function(){return this.isSloInheritEnabled$.getValue()}},sloId:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloId$.getValue()&&(this.sloId$.next(a),this.enableSloChecked="0"!==a)},get:function(){return this.sloId$.getValue()}},enableSloChecked:{configurable:!0,enumerable:!0,set:function(a){a!==this.enableSloCheckedInternal&&(this.enableSloCheckedInternal=a,a||(this.sloId="0"))},get:function(){return this.enableSloCheckedInternal}},
sloLocked:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLocked$.getValue()&&this.sloLocked$.next(a)},get:function(){return this.sloLocked$.getValue()}}});X7.\u0275fac=function(a){return new (a||X7)(C(Zr),C(TH),C(N0),C(pI),C(iY),C(SM),C(qI),C(QF),C(qH),C(vQ),C(jK),C(LG),C(aK),C(bK))};
X7.\u0275cmp=r({type:X7,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&lg(ZU,5,Wd);if(a&2){var c;pg(c=qg())&&(b.tabs=c)}},features:[Ff],decls:8,vars:3,consts:[["emptyDescription",""],["noPolicySource",""],["childTeamsLinks",""],["noInheritedSlo",""],["unlocked",""],["associatedComponentLinks",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",1,"gmat-button",
3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[4,"ngIf"],[1,"edit-resource-header"],["target","_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],[1,"field-label-with-help"],
[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["idForInputBox",
"team-slo-lead","ariaLabel","Team SLO lead email",3,"usersChange","isValid","users","customValidators","detailedUserValidators","maxUserAllowed"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,"teamPath"],[3,"users"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class",
"edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"change","disabled","checked"],["class","edit-field slo-justification",4,"ngIf"],["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","","class","gmat-button small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj","target",
4,"ngIf"],[1,"edit-field","slo-justification"],["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label","required","",1,"slo-justification-text",3,"ngModelChange","ngModel","disabled"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"change","checked","disabled"],[1,"edit-button-row"],
[1,"edit-button-group"],["gmat-button","","mat-flat-button","","color","primary",3,"click","disabled"],["gmat-button","","mat-stroked-button","","color","primary",3,"click","disabled"]],template:function(a,b){a&1&&(G(0,"div",6)(1,"div",7)(2,"div",8)(3,"button",9),N("click",function(){return b.back()}),K(4,"mat-icon",10),I()()()(),G(5,"div",11),E(6,GDb,99,48,"ng-container",12),V(7,"async"),I());a&2&&(A(6),F("ngIf",W(7,1,b.team$)))},dependencies:[Cw,Dw,zw,nB,j_,bh,cx,ux,jx,CA,DA,KM,LM,dV,ZU,$U,nE,OC,
Ey,NR,OR,nV,oF,AR,s0,i0,Iw],styles:[".description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-icon-button.large[_ngcontent-%COMP%]{height:36px;line-height:36px;width:36px}.team-hierarchy-container[_ngcontent-%COMP%]{margin-top:-5px;padding-bottom:32px;padding-left:20px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:flex;align-items:center}.team-slo-id-select[_ngcontent-%COMP%]{display:inline-block;width:450px}label[_ngcontent-%COMP%]{display:inline-block;line-height:2.2em}label[_ngcontent-%COMP%]   .edit-field-header[_ngcontent-%COMP%]{font-weight:bold}textarea.slo-justification-text[_ngcontent-%COMP%]{height:3em}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.2}.indented[_ngcontent-%COMP%], .slo-justification[_ngcontent-%COMP%], .team-slo-id-select[_ngcontent-%COMP%]{margin-left:24px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}/*# sourceMappingURL=manage_team.css.map */"]});var Y7=function(){};Y7.prototype.transform=function(a){var b=a.comeBackTimestamp;return"Upcoming out of office starting "+XOc.format(new Date(1E3*a.futureOooTimestamp.seconds))+" - back on "+XOc.format(new Date(1E3*b.seconds))};Y7.\u0275fac=function(a){return new (a||Y7)};Y7.\u0275pipe=kd({name:"futureAvailability",type:Y7,pure:!0});var XOc=new Iz(DO.WEEKDAY_MONTH_DAY_MEDIUM);var Z7=function(a,b){this.tasksApi=a;this.analytics=b;this.mentionedDriveComment$=(0,X.of)();this.contentReady$=new X.ReplaySubject(1)};Z7.prototype.ngOnInit=function(){var a=this;this.fileId&&this.commentId&&(Wo(this.analytics,sq.MENTIONS_CARD,"view","hovercard"),this.mentionedDriveComment$=tac(this.tasksApi,this.fileId,this.commentId).pipe(yf(function(){a.contentReady$.next()})))};Z7.\u0275fac=function(a){return new (a||Z7)(C(MJ),C(ZI))};
Z7.\u0275cmp=r({type:Z7,selectors:[["mentioned-drive-comments-card"]],inputs:{fileId:"fileId",commentId:"commentId",lastMentionLink:"lastMentionLink"},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&&(E(0,JDb,11,4,"div",0),V(1,"async"));
if(a&2){var c;Uf((c=W(1,1,b.mentionedDriveComment$))?0:-1,c)}},dependencies:[iO,NQ,Iw]});var PDb=function(a,b){return b.commentNumber},MDb=function(a){return{"margin-s-bottom padded-s-bottom border-bottom":a}},$7=function(a,b){this.issueCommentsBatchApi=a;this.analytics=b;this.commentNumbers=[];this.mentionedComments$=(0,X.of)();this.contentReady$=new X.ReplaySubject(1)};$7.prototype.ngOnInit=function(){var a=this;Wo(this.analytics,sq.MENTIONS_CARD,"view","hovercard");this.mentionedComments$=this.issueCommentsBatchApi.batchGet(this.issueId,this.commentNumbers).pipe(yf(function(){a.contentReady$.next()}))};
$7.prototype.getCommentNumberLink=function(a,b){return hl(a,{comment:b})};$7.\u0275fac=function(a){return new (a||$7)(C(GI),C(ZI))};
$7.\u0275cmp=r({type:$7,selectors:[["mentioned-issue-comments-card"]],inputs:{issueId:"issueId",commentNumbers:"commentNumbers"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"carded","bg-main"],[3,"ngClass"],[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"],["class","hover-link",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",3,"timestamp"],[1,"hover-link",3,"click","routerLinkObj"],[3,"issueId","note","formattingMode"]],
template:function(a,b){a&1&&(E(0,QDb,6,0,"ng-container",0),V(1,"async"));a&2&&F("ngIf",W(1,1,b.mentionedComments$))},dependencies:[Cw,zw,NQ,iO,QU,AR,Iw],styles:["[_nghost-%COMP%]{display:block;height:100%;max-width:700px;max-height:500px;overflow-y:auto}"]});var a8=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};Ac.Object.defineProperties(a8.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(RDb(a));if(void 0!==this.context)for(var c=k(RDb(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=k(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
a8.\u0275fac=function(a){return new (a||a8)(C(ig),C(jg))};a8.\u0275dir=jd({type:a8,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var WDb=function(a,b){return b.type},TDb=function(a){return{signal:a}},fEb=function(){return[]},YOc=function(a){this.activeSession=a;this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=mbc;this.SIGNAL_TO_ACTION_TEXT=nbc;this.getSignalUrgency=Lo;this.getHighestPrioritySignal=ZFa;this.enableMentionedCommentsHovercard=hE(this.activeSession,"enableMentionedCommentsHovercard");this.enableNeedsAttentionV2Api=hE(this.activeSession,"enableNeedsAttentionV2Api")},ZDb=function(a,b){return a.filter(function(c){return c!==
b}).map(function(c){return mbc.get(c.type)}).join("; ")},bEb=function(a,b){return a.enableMentionedCommentsHovercard&&("MENTIONED"===b.type||"MENTIONED_NEEDS_RESPONSE"===b.type||"COMMENT_MENTIONS_ME"===b.type)&&null!=b.commentNumbers&&0<b.commentNumbers.length&&null!=a.issueId},cEb=function(a,b){return a.enableNeedsAttentionV2Api&&"TAGGED_IN_COMMENT"===b.type&&null!=b.driveFileId&&null!=b.driveCommentId};YOc.\u0275fac=function(a){return new (a||YOc)(C(Zr))};
YOc.\u0275cmp=r({type:YOc,selectors:[["needs-attention-signals-cell"]],inputs:{issueId:"issueId",signals:"signals"},decls:4,vars:1,consts:[["signalChip",""],["mentionedCommentsHovercard","onedevHovercard"],["tooltip","matTooltip"],["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,"class","keep-focus-ring","onedevHovercardActive","onedevHovercardTrigger","matTooltip",
"mouseenter","mouseleave",4,"xapLet"],[3,"onedevIsHovercardReady","issueId","commentNumbers"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink"],[3,"mouseenter","mouseleave","onedevHovercardActive","onedevHovercardTrigger","matTooltip"],[3,"onedevIsHovercardReady","issueId","commentNumbers",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink",4,"onedevHovercardLazyBody"]],template:function(a,b){a&1&&E(0,XDb,3,0,"div",4)(1,aEb,1,1)(2,kEb,
5,3,"ng-template",null,0,Eg);a&2&&Uf(3>b.signals.length?0:1)},dependencies:[Hw,nE,OC,JL,KL,OL,LL,$7,Z7,a8],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)}"]});var b8=function(){this.DEFINITIONS=kbc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new Uv};b8.\u0275fac=function(a){return new (a||b8)};
b8.\u0275cmp=r({type:b8,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},decls:2,vars:1,consts:[["multiple","","aria-label","Source selection",3,"change"],[4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"value","selected",4,"ngIf"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(G(0,"mat-chip-listbox",0),N("change",function(c){b.selectedSources=c.value;
b.change.emit(c.value)}),E(1,mEb,2,1,"ng-container",1),I());a&2&&(A(),F("ngForOf",b.sourceFilterKeys))},dependencies:[Dw,zw,SV,ZV,XV,nE,OC],encapsulation:2});var ZOc=["menuTrigger"],$Oc={label:"Last 1 day",numberOfDays:1},aPc={label:"Last 7 days",numberOfDays:7},bPc={label:"Last 30 days",numberOfDays:30},cPc={label:"Last 90 days",numberOfDays:90},dPc=[$Oc,aPc,bPc,cPc],ePc={1:$Oc,7:aPc,30:bPc,90:cPc},c8=function(){this.timeBoundaries=dPc;this.change=new Uv};c8.prototype.getLabel=function(a){if(null==a)return"";var b,c;return null!=(c=null==(b=ePc[a])?void 0:b.label)?c:""};c8.prototype.openMenu=function(){this.menuTrigger.openMenu()};
c8.\u0275fac=function(a){return new (a||c8)};
c8.\u0275cmp=r({type:c8,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&lg(ZOc,5);if(a&2){var c;pg(c=qg())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},decls:8,vars:4,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"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","disabled"]],template:function(a,b){if(a&1){var c=v();G(0,"mat-chip-listbox",2)(1,"mat-chip-option",3,0);N("keyup.enter",function(){x(c);return y(b.openMenu())})("keyup.space",function(){x(c);return y(b.openMenu())});S(3);K(4,"mat-icon",4);I()();G(5,"mat-menu",5,1);E(7,nEb,2,2,"button",
6);I()}a&2&&(a=R(6),F("selectable",!1),A(),F("matMenuTriggerFor",a),A(2),T(" ",b.getLabel(b.selectedTimeBoundary)," "),A(4),F("ngForOf",b.timeBoundaries))},dependencies:[Dw,nB,SV,ZV,XV,VV,mE,IC,HC,JC],encapsulation:2});var fPc=[5433823,5418819,5421028,5122552,5422257];var d8=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 Uv},gPc=function(a){return fPc.some(function(b){var c;return null==(c=a.hotlistIds)?void 0:c.includes(b)})};d8.\u0275fac=function(a){return new (a||d8)};
d8.\u0275cmp=r({type:d8,selectors:[["onedev-dma-chip"]],inputs:{hotlistIds:"hotlistIds"},outputs:{onChipClicked:"onChipClicked"},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&&E(0,oEb,5,1,"ng-container",0);a&2&&F("ngIf",gPc(b))},dependencies:[zw,TC],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 OEb=function(a){return[a]},hPc=sq.MISSION_CONTROL,e8=function(a,b,c,d,e,f,h,l,q,t,w,B,D){Z.call(this);var J=this;this.needsAttentionApi=a;this.taskFridge=b;this.errorHandler=c;this.tasksService=d;this.missionControlPrefs=e;this.domSafe=f;this.router=h;this.appEvents=l;this.analytics=q;this.clipboard=t;this.activeSession=w;this.featureTooltipService=B;this.needsAttentionTaskFridge=D;this.BUGANIZER_SOURCE_ICON="bug_report_24px";this.gerritTasks=hE(this.activeSession,"enableGerritTasks")?["GERRIT"]:
[];this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=[].concat(u(hbc),u(this.gerritTasks));this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips");this.refreshTable=new X.Subject;this.SIGNAL_TO_DISPLAY_TEXT=mbc;this.SIGNAL_TO_ACTION_TEXT=nbc;this.TaskResourceType=j5b;this.needsAttentionIssues$=new X.BehaviorSubject([]);this.sources$=this.missionControlPrefs.needsAttentionSources$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(z(function(H){var O;return null!=(O=null==H?void 0:
H.needsAttentionDaysOld)?O:30}));this.allNeedsAttention$=new X.BehaviorSubject([]);this.tasksWithSignals$=this.timeBoundary$.pipe(wf(function(H){return J.taskFridge.watchMany({maxTaskAgeDays:H})}),z(RFa));this.liteTasks$=(0,X.combineLatest)([this.timeBoundary$,this.sources$]).pipe(xf(this.destroyed$),lf(function(H,O){return H[0]===O[0]&&ki(H[1],O[1])}),wf(function(H){var O=k(H);H=O.next().value;O=O.next().value.map(function(P){return J.sourceFilterToTaskResourceType(P)});return J.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:H,
sources:O})}),z(XFa));this.loading=!0;this.displayedColumns="selection type description timestamp signal action copy dismiss".split(" ");this.selection=new Fy(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=Lo;this.getHighestPrioritySignal=ZFa;this.enableNeedsAttentionV2Api=hE(this.activeSession,"enableNeedsAttentionV2Api");this.enableMentionedCommentsHovercard=hE(this.activeSession,"enableMentionedCommentsHovercard");this.TOOLTIP_ID_MENTIONED_COMMENTS_HOVERCARD=
"tooltipIdMentionedCommentsHovercard";this.TOOLTIP_POSITIONS=sB;this.showFeatureTooltip$=this.allNeedsAttention$.pipe(Ce(function(H){return H.some(function(O){return O.signals.some(function(P){return"MENTIONED"===P.type})})}),wf(function(){return O2b(J.featureTooltipService,"HIDDEN",["tooltipIdMentionedCommentsHovercard"]).pipe(Ce(function(H){return 0===H.length}),wf(function(){return L2b(J.featureTooltipService)}),Ce(Boolean),kf(1E3))}),z(function(){}));this.enableNeedsAttentionV2Api||this.needsAttentionApi.listIssues(void 0,
void 0,CFa()).then(function(H){J.needsAttentionIssues$.next(SFa(H))});(0,X.combineLatest)([this.enableNeedsAttentionV2Api?this.liteTasks$:this.tasksWithSignals$,this.needsAttentionIssues$,this.sources$,this.timeBoundary$]).pipe(xf(this.destroyed$),z(function(H){var O=k(H);H=O.next().value;var P=O.next().value,U=O.next().value;O=O.next().value;var aa=QFa(H,P,U,O,J.enableNeedsAttentionV2Api);setTimeout(function(){J.appEvents.missionControlTaskCount.next(aa.length)});return aa})).subscribe(function(H){J.loading=
!1;J.allNeedsAttention$.next(H)});this.taskFridge.error$.pipe(xf(this.destroyed$)).subscribe(function(H){J.loading=!1;J.errorHandler.errorHandler(null,H)});this.needsAttentionTaskFridge.error$.pipe(xf(this.destroyed$)).subscribe(function(H){J.loading=!1;J.errorHandler.errorHandler(null,H)})};Y(e8,Z);e8.\u0275dir=Z.\u0275dir;
e8.prototype.sourceFilterToTaskResourceType=function(a){return"CRITIQUE"===a?"CHANGELIST":"DRIVE"===a?"DRIVE":"BUGANIZER"===a&&this.enableNeedsAttentionV2Api?"ISSUE":"GERRIT"===a?"GERRIT":"TASK_RESOURCE_TYPE_UNSPECIFIED"};
e8.prototype.ngOnInit=function(){var a=this;this.refreshTable.pipe(xf(this.destroyed$)).subscribe(function(){a.loading=!0;a.taskFridge.pokeMany({});if(a.enableNeedsAttentionV2Api){var b,c;a.needsAttentionTaskFridge.pokeMany({maxTaskAgeDays:null!=(b=Gk(a.timeBoundary$))?b:0,sources:(null!=(c=Gk(a.sources$))?c:[]).map(function(d){return a.sourceFilterToTaskResourceType(d)})})}else a.needsAttentionApi.listIssues(void 0,void 0,CFa()).then(function(d){a.needsAttentionIssues$.next(SFa(d))})})};
var sEb=function(a,b){a.selection.selected.length===b.length?a.selection.clear():(b=b.map(function(c){return c.id}),a.selection.select.apply(a.selection,u(b)))},VEb=function(a,b){if("Buganizer"===b.type){var c=Uo(b.id);if(!c)return;z9b(a.needsAttentionApi,[c]).catch(function(d){return void a.errorHandler.errorHandler(null,d)})}else a.tasksService.dismiss([b.id]).subscribe(function(){},function(d){return void a.errorHandler.errorHandler(null,d)});c=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(c.filter(function(d){return d.id!==
b.id}));a.appEvents.missionControlTaskCount.next(c.length-1)};
e8.prototype.navigateToResource=function(a,b,c){if(!(a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"keydown"===a.type&&a instanceof KeyboardEvent&&"Enter"!==a.key)){this.sendClickAnalytics(b,c);var d;if(!a||"A"!==(null==(d=a.target)?void 0:d.tagName))if("Buganizer"===b.type||"ISSUE"===b.type)b=Uo(b.id),b=el(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):(null==a?0:a.shiftKey)?iq(this.domSafe,b):Fr(this.router,b);else{var e;
this.domSafe.openInNewTab(null!=(e=b.lastMentionLink)?e:b.link)}}};e8.prototype.sendClickAnalytics=function(a,b){Wo(this.analytics,hPc,"navigate","needsAttention-"+a.type+"-"+a.signals.map(function(c){return c.type}).join(","));b=k(gFb(a,b));a=b.next().value;b=b.next().value;Wo(this.analytics,hPc,"ctr-sig-yes",a);Wo(this.analytics,hPc,"ctr-sig-no",b)};e8.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var yEb=function(a){var b=a.selection.selected,c=b.filter(function(f){return f.startsWith("b/")}).map(function(f){return Uo(f)}),d=b.filter(function(f){return!f.startsWith("b/")});0<c.length&&z9b(a.needsAttentionApi,c).catch(function(f){return void a.errorHandler.errorHandler(null,f)});0<d.length&&a.tasksService.dismiss(d).subscribe(function(){},function(f){return void a.errorHandler.errorHandler(null,f)});var e=new Set(b);b=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(b.filter(function(f){return!e.has(f.id)}));
a.appEvents.missionControlTaskCount.next(b.filter(function(f){return!e.has(f.id)}).length);a.selection.clear()};e8.prototype.copyIdOrLink=function(a){"Buganizer"===a.type||"ISSUE"===a.type?(a=Uo(a.id))&&this.clipboard.copy(a):this.clipboard.copy(a.link)};e8.prototype.sendDmaAnalytics=function(){Wo(this.analytics,sq.MISSION_CONTROL,"click","dmaChip")};e8.prototype.extractLastDigits=function(a){var b;return null!=(b=Uo(a))?b:""};
e8.\u0275fac=function(a){return new (a||e8)(C(lH),C(dK),C(qI),C(MJ),C(dM),C(XN),C(mF),C(gH),C(ZI),C(mR),C(Zr),C(zC),C(OJ))};
e8.\u0275cmp=r({type:e8,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},features:[Ff],decls:10,vars:8,consts:[["loadingSpinner",""],["noTitle",""],[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],["class","muted border-bottom padded-s-y",4,"ngIf"],[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"],["mat-header-cell","",3,"onedevFeatureTooltip",4,"matHeaderCellDef"],[3,"showTooltip$",4,"ngIf"],["matColumnDef","action"],["matColumnDef","copy"],["mat-header-cell","","class","border-bottom",4,
"matHeaderCellDef"],["matColumnDef","dismiss"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-button","","class","gmat-button margin-s-top",3,"click",4,"ngIf"],["mat-header-cell",""],["aria-label","Select all alerts",3,"change","checked","indeterminate"],["mat-cell",""],["aria-label","Select alert",3,"click","change","checked"],["role","img","matTooltipPosition","left","matTooltipShowDelay",
"250",3,"matTooltip","svgIcon"],["mat-button","","class","gmat-button bulk-dismiss",3,"click",4,"ngIf"],["mat-button","",1,"gmat-button","bulk-dismiss",3,"click"],["class","alert-description",4,"ngIf","ngIfElse"],[1,"alert-description"],[3,"issueId"],[3,"accessLevel","compactMode"],["class","going-ooo",3,"matTooltip",4,"ngIf"],["class","review-estimate","matTooltip","Estimated review time (visible only to you)",4,"ngIf"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],["tabindex","0","role",
"link",1,"subtle-link","break-word",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],[1,"going-ooo",3,"matTooltip"],["svgIcon","event_upcoming_24px"],["matTooltip","Estimated review time (visible only to you)",1,"review-estimate"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell","",3,"onedevFeatureTooltip"],[3,"issueId","signals"],[3,"showTooltip$"],
[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],["mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-icon-button","","aria-label","Dismiss a work item to hide it from the table","matTooltip","Dismiss a work item to hide it from the table",1,"dismiss-btn","xs",3,"click"],["svgIcon","issue-status-wont-fix","color","primary",
1,"dismiss-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"],["mat-button","",1,"gmat-button","margin-s-top",3,"click"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon","svgIcon","arrow-up",4,"ngIf"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){a&1&&(G(0,"div",2)(1,"span",
3),S(2,"Sources"),I(),E(3,pEb,2,2,"ng-container",4),V(4,"async"),E(5,qEb,2,1,"ng-container",4),V(6,"async"),I(),E(7,eFb,3,3,"ng-container",5)(8,fFb,2,1,"ng-template",null,0,Eg));a&2&&(a=R(9),A(3),F("ngIf",W(4,4,b.sources$)),A(2),F("ngIf",W(6,6,b.timeBoundary$)),A(2),F("ngIf",!b.loading)("ngIfElse",a))},dependencies:[zw,nB,iO,TV,OW,BW,HW,DW,AW,JW,EW,GW,KW,MW,NW,KM,LM,nE,OC,CA,DA,b8,c8,GL,IV,VM,d8,qV,YOc,wB,BC,EC,FC,Iw,Ow,Y7],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-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-spinner.large{top:unset}.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:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.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}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-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%], .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%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}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}.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}"]});var f8=function(a,b,c){Z.call(this);var d=this;this.prefsService=a;this.appEvents=b;this.analytics=c;this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new X.Subject;this.numNeedsAttentionTasks$.pipe(Ce(Ei),mf(),xf(this.destroyed$)).subscribe(function(h){Wo(d.analytics,sq.MISSION_CONTROL,"display","num-needs-attention-"+h,h)});var e;a=null!=(e=this.prefsService.prefs.needsAttentionSources)?e:hbc;var f;e=null!=(f=this.prefsService.prefs.needsAttentionDaysOld)?f:30;
Wo(this.analytics,sq.MISSION_CONTROL,"view","needsAttention-filters-"+a.join(",")+"-"+e)};Y(f8,Z);f8.\u0275dir=Z.\u0275dir;f8.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};f8.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};f8.\u0275fac=function(a){return new (a||f8)(C(dM),C(gH),C(ZI))};
f8.\u0275cmp=r({type:f8,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},features:[Ff],decls:10,vars:6,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"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button",
"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","alert-count-badge b-chip",4,"ngIf"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[3,"refreshTable"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"header",1)(2,"h3",2),S(3," Needs attention "),I(),K(4,"mat-icon",3),G(5,"button",4),N("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),I(),E(7,hFb,3,1,"div",6),V(8,"async"),I(),E(9,iFb,
2,1,"div",7),I());a&2&&(Qf("collapsed",b.isCollapsed()),A(7),F("ngIf",W(8,4,b.numNeedsAttentionTasks$)),A(2),F("ngIf",!b.isCollapsed()))},dependencies:[zw,nB,CA,e8,nE,OC,Iw],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 aGb=function(){return[]},bGb=function(){return["moreRows"]},g8=function(a,b,c,d,e,f,h,l,q){Z.call(this);var t=this;this.prefsService=a;this.issueFridge=b;this.router=c;this.domSafe=d;this.analytics=e;this.errorHandler=f;this.activeSession=h;this.clipboard=l;this.myTasksFridge=q;this.gerritTasks=hE(this.activeSession,"enableGerritTasks")?["GERRIT"]:[];this.ALL_MY_TASK_FILTERS=[].concat(u(ibc),u(this.gerritTasks));this.TaskResourceType=j5b;this.taskResourceTypeToIcon=sDa;this.isP0OrP1=nFb;this.extractLastDigits=
Uo;this.tableColumns=[].concat(u(JIc));this.tableOptions=Object.assign({},LIc,{rowLimit:10});this.refreshData=new X.Subject;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(z(function(D){var J;return null!=(J=null==D?void 0:D.myTasksDaysOld)?J:7}));var w;this.INITIAL_TAB_INDEX=null!=(w=Jcc(this.prefsService,"mc-my-tasks"))?w:0;this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips");this.enableRecentlyViewed=hE(this.activeSession,
"enableRecentlyViewedIssuesWithBackend");this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",liteTasks:new X.BehaviorSubject([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",liteTasks:new X.BehaviorSubject([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",liteTasks:new X.BehaviorSubject([]),loading:!0},this.enableRecentlyViewed?jFb(this.issueFridge):void 0].filter(Ei);
this.myTasks$=(0,X.combineLatest)([this.timeBoundary$,this.sources$]).pipe(xf(this.destroyed$),lf(function(D,J){return D[0]===J[0]&&ki(D[1],J[1])}),wf(function(D){var J=k(D);D=J.next().value;J=J.next().value;var H=new Set(J.map(function(O){return t.sourceFilterToTaskResourceType(O)}));return t.myTasksFridge.watchMany({maxTaskAgeDays:D,sources:Array.from(H),issueFilter:kFb(J)})}));this.displayColumns="type title modified role created copy".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=
10;this.myTasks$.subscribe(function(D){var J=D.results;D=J.filter(function(aa){return 0<aa.resourceRelationships.filter(function(pa){return"OWNER"===pa.category}).length}).sort(jGb);var H=J.filter(function(aa){return 0<aa.resourceRelationships.filter(function(pa){return"COLLABORATOR"===pa.category}).length}).sort(jGb);J=J.filter(function(aa){return 0<aa.resourceRelationships.filter(function(pa){return"FOLLOWING"===pa.category}).length}).sort(jGb);var O;null==(O=t.tabData[0].liteTasks)||O.next(D);
var P;null==(P=t.tabData[1].liteTasks)||P.next(H);var U;null==(U=t.tabData[2].liteTasks)||U.next(J);t.tabData[0].loading=!1;t.tabData[1].loading=!1;t.tabData[2].loading=!1});var B;Wo(this.analytics,sq.MISSION_CONTROL,"display","my-tasks-"+(null==(B=this.tabData[this.INITIAL_TAB_INDEX])?void 0:B.label));this.myTasksFridge.error$.pipe(xf(this.destroyed$)).subscribe(function(D){t.errorHandler.errorHandler(null,D)})};Y(g8,Z);g8.\u0275dir=Z.\u0275dir;g=g8.prototype;
g.sourceFilterToTaskResourceType=function(a){return"CRITIQUE"===a?"CHANGELIST":"DRIVE"===a?"DRIVE":"WTDM"===a||"NON_WTDM"===a?"ISSUE":"GERRIT"===a?"GERRIT":"TASK_RESOURCE_TYPE_UNSPECIFIED"};
g.ngOnInit=function(){var a=this;this.refreshData.pipe(xf(this.destroyed$)).subscribe(function(){var b,c=null!=(b=a.prefsService.prefs.myTasksDaysOld)?b:7;b=a.prefsService.getMyTasksSources();var d=new Set(b.map(function(e){return a.sourceFilterToTaskResourceType(e)}));a.myTasksFridge.watchMany({maxTaskAgeDays:c,sources:Array.from(d),issueFilter:kFb(b)})})};g.toggleCollapsed=function(){this.prefsService.toggleCollapsed("mc-my-tasks")};g.isCollapsed=function(){return this.prefsService.isCollapsed("mc-my-tasks")};
g.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};g.resetNumDisplayedRows=function(){this.numDisplayedRows=10};g.onTabIndexChange=function(a){aAb(this.prefsService,"mc-my-tasks",a);this.resetNumDisplayedRows();this.trackTabChange(a)};g.trackTabChange=function(a){var b;Wo(this.analytics,sq.MISSION_CONTROL,"view",null==(b=this.tabData[a])?void 0:b.label)};
g.navigateToResource=function(a,b){if(!(a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)){this.sendClickAnalytics(b);var c;a&&"A"===(null==(c=a.target)?void 0:c.tagName)||("ISSUE"===b.taskResourceType?(b=Uo(b.taskId),b=el(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?iq(this.domSafe,b):Fr(this.router,b)):this.domSafe.openInNewTab(b.externalLink))}};
g.copyIdOrLink=function(a){"ISSUE"===a.taskResourceType?(a=Uo(a.taskId),this.clipboard.copy(a)):this.clipboard.copy(a.externalLink)};g.sendClickAnalytics=function(a){var b,c=(null!=(b=a.resourceRelationships[0].roleName)?b:"").split(" ").map(function(d,e){return 0===e?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");Wo(this.analytics,sq.MISSION_CONTROL,"navigate","myTasks-"+a.taskResourceType+"-"+c)};
g.sendDmaAnalytics=function(){Wo(this.analytics,sq.MISSION_CONTROL,"click","dmaChip")};g.getIds=function(a){return a.map(function(b){return b.issueId})};g8.\u0275fac=function(a){return new (a||g8)(C(dM),C(iJ),C(mF),C(XN),C(ZI),C(qI),C(Zr),C(mR),C(NJ))};
g8.\u0275cmp=r({type:g8,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},features:[Ff],decls:12,vars:3,consts:[["loadingSpinner",""],["dashDash",""],["noTitle",""],[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","My tasks helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","My tasks helps you quickly find your active tasks and docs organized by your relation to them",
1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","main-content margin-s-top",4,"ngIf"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center",
"padded-xs-y","border-bottom"],[4,"ngIf","ngIfElse"],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[4,"ngIf"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],[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","copy"],["mat-header-cell","","class","copy-btn-header border-bottom",4,"matHeaderCellDef"],["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","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],[3,"accessLevel","compactMode"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],[3,"issueId","compactMode"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell","",1,"copy-btn-header",
"border-bottom"],["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"],["mat-button","","class","gmat-button margin-s-top",3,"click",4,"ngIf"],["mat-button","",1,"gmat-button","margin-s-top",3,"click"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon","svgIcon","arrow-up",4,"ngIf"],["svgIcon","arrow-down",1,"icon"],["svgIcon",
"arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["class","mat-cell type-l text-center padded-top","colspan","5",4,"ngIf"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){if(a&1){var c=v();G(0,"div",3)(1,"header",4)(2,"h3",5);S(3," My tasks ");I();K(4,"mat-icon",6);G(5,"button",7);N("click",function(){x(c);return y(b.toggleCollapsed())});K(6,"mat-icon",8);I()();E(7,
gGb,3,2,"div",9);I();E(8,hGb,2,1,"ng-template",null,0,Eg)(10,iGb,1,0,"ng-template",null,1,Eg)}a&2&&(Qf("collapsed",b.isCollapsed()),A(7),F("ngIf",!b.isCollapsed()))},dependencies:[Dw,zw,nB,IV,GL,b8,c8,iO,VM,d8,qV,P3,CA,dV,YU,ZU,$U,TV,OW,BW,HW,DW,AW,JW,CW,IW,EW,GW,FW,KW,MW,LW,NW,nE,OC,Iw],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%}.copy-btn-header[_ngcontent-%COMP%]{min-width:32px;width:3%}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.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}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var UGb=function(){return[]},VGb=function(){return["moreRows"]},h8=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);var B=this;this.prefsService=a;this.issueFridge=b;this.taskFridge=c;this.currentUser=d;this.router=e;this.domSafe=f;this.analytics=h;this.constants=l;this.errorHandler=q;this.activeSession=t;this.clipboard=w;this.BUGANIZER_SOURCE_ICON="bug_report_24px";this.ALL_MY_TASK_FILTERS=ibc;this.tableColumns=[].concat(u(JIc));this.tableOptions=Object.assign({},LIc,{rowLimit:10});this.refreshData=
new X.Subject;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(z(function(H){var O;return null!=(O=null==H?void 0:H.myTasksDaysOld)?O:7}));var D;this.INITIAL_TAB_INDEX=null!=(D=Jcc(this.prefsService,"mc-my-tasks"))?D:0;this.enableNewVisibilityChips=hE(this.activeSession,"enableNewVisibilityChips");this.enableRecentlyViewed=hE(this.activeSession,"enableRecentlyViewedIssuesWithBackend");this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",
tasks:new X.BehaviorSubject([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",tasks:new X.BehaviorSubject([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",tasks:new X.BehaviorSubject([]),loading:!0},this.enableRecentlyViewed?jFb(this.issueFridge):void 0].filter(Ei);this.ownedIssues$=this.timeBoundary$.pipe(wf(function(H){return iPc(B,"assignee:me modified:$$BOUNDARY$$ status:open",H)}));
this.collaboratingIssues$=this.timeBoundary$.pipe(wf(function(H){return iPc(B,"(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",H)}));this.followingIssues$=this.timeBoundary$.pipe(wf(function(H){return iPc(B,"(star:true OR (cc:me AND status:open) OR (commenter:me AND status:open)) modified:$$BOUNDARY$$ -(collaborator:me OR reporter:me OR assignee:me)",H)}));this.ownedTasks$=this.timeBoundary$.pipe(wf(function(H){return B.taskFridge.watchMany({maxTaskAgeDays:H}).pipe(z(function(O){return O.results}),
z(function(O){var P=B.currentUser.email,U=[];O=k(O);for(var aa=O.next();!aa.done;aa=O.next()){aa=aa.value;var pa=void 0;switch(null==(pa=aa.resource)?void 0:pa.source){case "CRITIQUE":var ka=pa=void 0;(null==(pa=aa.resource)?void 0:null==(ka=pa.critiqueResource)?void 0:ka.authorEmail)===P&&U.push(aa);break;case "DRIVE":ka=pa=void 0;(null==(pa=aa.resource)?0:null==(ka=pa.driveResource)?0:ka.ownedByMe)&&U.push(aa);break;case "ARIANE":ka=pa=void 0;(null==(pa=aa.resource)?0:null==(ka=pa.launchResource)?
0:ka.ownedByMe)&&U.push(aa);break;default:pa=void 0,console.warn("getMyTasksOwned() Unhandled task type: "+(null==(pa=aa.resource)?void 0:pa.source),aa)}}return U}))}));this.collaboratingTasks$=this.timeBoundary$.pipe(wf(function(H){return B.taskFridge.watchMany({maxTaskAgeDays:H}).pipe(z(function(O){return O.results}),z(function(O){var P=B.currentUser.email,U=[];O=k(O);for(var aa=O.next();!aa.done;aa=O.next()){aa=aa.value;var pa=void 0;switch(null==(pa=aa.resource)?void 0:pa.source){case "CRITIQUE":var ka=
pa=void 0;(null==(pa=aa.resource)?0:null==(ka=pa.critiqueResource)?0:ka.reviewerEmails.includes(P))&&U.push(aa);break;case "DRIVE":ka=pa=void 0;(null==(pa=aa.resource)?0:null==(ka=pa.driveResource)?0:ka.sharedWithMe)&&U.push(aa);break;case "ARIANE":ka=pa=void 0;(null==(pa=aa.resource)?0:null==(ka=pa.launchResource)?0:ka.needApprovalFromMe)&&U.push(aa);break;default:pa=void 0,console.warn("getMyTasksCollaborating() Unhandled task type: "+(null==(pa=aa.resource)?void 0:pa.source),aa)}}return U}))}));
this.followingTasks$=this.timeBoundary$.pipe(wf(function(H){return B.taskFridge.watchMany({maxTaskAgeDays:H}).pipe(z(function(O){return O.results}),z(function(O){return qDa(O,B.currentUser.email)}))}));this.displayColumns="type title modified role created copy".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;jPc(this,this.ownedIssues$,this.ownedTasks$,this.tabData[0]).pipe(xf(this.destroyed$)).subscribe(function(H){if(null!=B.tabData[0]){B.tabData[0].loading=!1;var O;null==(O=
B.tabData[0].tasks)||O.next(H)}});jPc(this,this.collaboratingIssues$,this.collaboratingTasks$,this.tabData[1]).pipe(xf(this.destroyed$)).subscribe(function(H){if(null!=B.tabData[1]){B.tabData[1].loading=!1;var O;null==(O=B.tabData[1].tasks)||O.next(H)}});jPc(this,this.followingIssues$,this.followingTasks$,this.tabData[2]).pipe(xf(this.destroyed$)).subscribe(function(H){if(null!=B.tabData[2]){B.tabData[2].loading=!1;var O;null==(O=B.tabData[2].tasks)||O.next(H)}});var J;Wo(this.analytics,sq.MISSION_CONTROL,
"display","my-tasks-"+(null==(J=this.tabData[this.INITIAL_TAB_INDEX])?void 0:J.label));this.taskFridge.error$.pipe(xf(this.destroyed$)).subscribe(function(H){B.errorHandler.errorHandler(null,H)})};Y(h8,Z);h8.\u0275dir=Z.\u0275dir;
h8.prototype.ngOnInit=function(){var a=this;this.refreshData.pipe(xf(this.destroyed$)).subscribe(function(){var b,c=null!=(b=a.prefsService.prefs.myTasksDaysOld)?b:7;a.tabData[0].loading=!0;kPc(a,"assignee:me modified:$$BOUNDARY$$ status:open",c);a.tabData[1].loading=!0;kPc(a,"(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",c);a.tabData[2].loading=!0;kPc(a,"(star:true OR (cc:me AND status:open) OR (commenter:me AND status:open)) modified:$$BOUNDARY$$ -(collaborator:me OR reporter:me OR assignee:me)",
c);a.taskFridge.pokeMany({maxTaskAgeDays:c})})};
var jPc=function(a,b,c,d){var e=a.currentUser.email;return(0,X.combineLatest)([b.pipe(z(function(f){return oFb(f,e,d.label)})),c.pipe(z(function(f){return pFb(f,d.label)})),a.sources$]).pipe(z(function(f){var h=k(f);f=h.next().value;var l=h.next().value;h=h.next().value;return lPc(f,l,h)}))},lPc=function(a,b,c){var d=[];c.some(function(e){return"WTDM"===e})&&d.push.apply(d,u(a.filter(function(e){return L5b.has(e.type)})));c.some(function(e){return"NON_WTDM"===e})&&d.push.apply(d,u(a.filter(function(e){return!L5b.has(e.type)})));
d.push.apply(d,u(b.filter(function(e){return c.some(function(f){return f===e.source})})));return d.sort(cHb)},iPc=function(a,b,c){return a.issueFridge.watchMany({filter:b.replace("$$BOUNDARY$$",c+"d"),pageSize:50,sort:"modified_time:desc"}).pipe(z(function(d){return d.results}))},kPc=function(a,b,c){a.issueFridge.pokeMany({filter:b.replace("$$BOUNDARY$$",c+"d"),pageSize:50,sort:"modified_time:desc"})};g=h8.prototype;g.toggleCollapsed=function(){this.prefsService.toggleCollapsed("mc-my-tasks")};
g.isCollapsed=function(){return this.prefsService.isCollapsed("mc-my-tasks")};g.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};g.resetNumDisplayedRows=function(){this.numDisplayedRows=10};g.onTabIndexChange=function(a){aAb(this.prefsService,"mc-my-tasks",a);this.resetNumDisplayedRows();this.trackTabChange(a)};g.trackTabChange=function(a){var b;Wo(this.analytics,sq.MISSION_CONTROL,"view",null==(b=this.tabData[a])?void 0:b.label)};
g.navigateToResource=function(a,b){if(!(a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)){this.sendClickAnalytics(b);var c;a&&"A"===(null==(c=a.target)?void 0:c.tagName)||("Buganizer"===b.source?a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b.link):a&&a.shiftKey?iq(this.domSafe,b.link):Fr(this.router,b.link):this.domSafe.openInNewTab(b.link))}};g.copyIdOrLink=function(a){"Buganizer"===a.source?this.clipboard.copy(a.issueId):this.clipboard.copy(a.link)};
g.sendClickAnalytics=function(a){var b,c=(null!=(b=a.role)?b:"").split(" ").map(function(d,e){return 0===e?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");Wo(this.analytics,sq.MISSION_CONTROL,"navigate","myTasks-"+a.source+"-"+c)};g.sendDmaAnalytics=function(){Wo(this.analytics,sq.MISSION_CONTROL,"click","dmaChip")};g.getIds=function(a){return a.map(function(b){return b.issueId})};
h8.\u0275fac=function(a){return new (a||h8)(C(dM),C(iJ),C(dK),C(tN),C(mF),C(XN),C(ZI),C(kE),C(qI),C(Zr),C(mR))};
h8.\u0275cmp=r({type:h8,selectors:[["my-tasks-v1"]],inputs:{refreshData:"refreshData"},features:[Ff],decls:12,vars:3,consts:[["loadingSpinner",""],["dashDash",""],["noTitle",""],[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","My tasks helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","My tasks helps you quickly find your active tasks and docs organized by your relation to them",
1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","main-content margin-s-top",4,"ngIf"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center",
"padded-xs-y","border-bottom"],[4,"ngIf","ngIfElse"],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[4,"ngIf"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],[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","copy"],["mat-header-cell","","class","copy-btn-header border-bottom",4,"matHeaderCellDef"],["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","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],[3,"accessLevel","compactMode"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],[3,"issueId","compactMode"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell","",1,"copy-btn-header",
"border-bottom"],["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"],["mat-button","","class","gmat-button margin-s-top",3,"click",4,"ngIf"],["mat-button","",1,"gmat-button","margin-s-top",3,"click"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon","svgIcon","arrow-up",4,"ngIf"],["svgIcon","arrow-down",1,"icon"],["svgIcon",
"arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["class","mat-cell type-l text-center padded-top","colspan","5",4,"ngIf"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){if(a&1){var c=v();G(0,"div",3)(1,"header",4)(2,"h3",5);S(3," My tasks ");I();K(4,"mat-icon",6);G(5,"button",7);N("click",function(){x(c);return y(b.toggleCollapsed())});K(6,"mat-icon",8);I()();E(7,
$Gb,3,2,"div",9);I();E(8,aHb,2,1,"ng-template",null,0,Eg)(10,bHb,1,0,"ng-template",null,1,Eg)}a&2&&(Qf("collapsed",b.isCollapsed()),A(7),F("ngIf",!b.isCollapsed()))},dependencies:[Dw,zw,nB,IV,GL,b8,c8,iO,VM,d8,qV,P3,CA,dV,YU,ZU,$U,TV,OW,BW,HW,DW,AW,JW,CW,IW,EW,GW,FW,KW,MW,LW,NW,nE,OC,Iw],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%}.copy-btn-header[_ngcontent-%COMP%]{min-width:32px;width:3%}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.tab-label[_ngcontent-%COMP%]{cursor:pointer}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}\n/*# sourceMappingURL=my_tasks_v1.css.map */"]});var mPc=sq.MISSION_CONTROL,i8=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.pageTitle=a;this.hostElement=b;this.analytics=c;this.userFeedback=d;this.prefsService=e;this.hatsService=f;this.appSearchState=h;this.activeSession=l;this.HOTKEYS=br;this.refreshMissionControlData=new X.Subject;this.enableMyTasksV2Api=hE(this.activeSession,"enableMyTasksV2Api");this.captureAnyClick=function(t){t=V_a(t);for(var w=k(Object.entries(nPc)),B=w.next();!B.done;B=w.next()){var D=k(B.value);B=D.next().value;
D=D.next().value;if(t.includes(B)){Wo(q.analytics,mPc,"click",D);break}}}};Y(i8,Z);i8.\u0275dir=Z.\u0275dir;i8.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Home");setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=k(oPc(this)),c=b.next().value;b=b.next().value;Wo(this.analytics,mPc,"sections-on-load",c,b);exc(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(xf(this.destroyed$)).subscribe()};
i8.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var oPc=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]};i8.prototype.refresh=function(){this.refreshMissionControlData.next()};
i8.\u0275fac=function(a){return new (a||i8)(C(qH),C(Wd),C(ZI),C(yN),C(dM),C(lX),C(jM),C(Zr))};
i8.\u0275cmp=r({type:i8,selectors:[["ng-component"]],features:[Ff],decls:15,vars:4,consts:[[1,"a11y-only"],[1,"padded-s","flex-kids-y","gap-s","pos-fill","bg-off-main","overflow","overflow-on-print-media",3,"onHotkey","hotkey"],[1,"flex-kids-x","align-items-center","justify-flex-end","info-row"],["href","http://go/b-home","target","_blank",1,"margin-right","learn-more-link"],["mat-stroked-button","",1,"gmat-button","small",3,"click"],[1,"a"],[3,"refreshData"],[1,"t"],[1,"w"]],template:function(a,
b){a&1&&(G(0,"h2",0),S(1,"Mission Control"),I(),G(2,"div",1),N("onHotkey",function(){return b.refresh()}),G(3,"div",2)(4,"a",3),S(5,"Learn about 'Home'"),I(),G(6,"button",4),N("click",function(){Bec(b.userFeedback)}),S(7,"Give feedback"),I()(),G(8,"section",5),K(9,"needs-attention-wrapper",6),I(),G(10,"section",7),E(11,dHb,1,1,"my-tasks",6)(12,eHb,1,1,"my-tasks-v1",6),I(),G(13,"section",8),K(14,"work-areas-wrapper-card",6),I()());a&2&&(A(2),F("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),A(7),F("refreshData",
b.refreshMissionControlData),A(2),Uf(b.enableMyTasksV2Api?11:12),A(3),F("refreshData",b.refreshMissionControlData))},dependencies:[CA,y7,f8,h8,g8,JF],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 nPc={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","MY-TASKS-V1":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var gHb=function(a){return{feature:a}},pPc=function(a){this.beapService=a;this.beapFeaturesTF$=KGc(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=KGc(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,X.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(z(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(z(function(b){return 0<
b.length}));this.linkClicked={}};pPc.\u0275fac=function(a){return new (a||pPc)(C(x1))};
pPc.\u0275cmp=r({type:pPc,selectors:[["b-beap-settings"]],decls:6,vars:4,consts:[["featureEmptyState",""],["featureStageContainer",""],[4,"ngIf","ngIfElse"],["class","feature-stage-container",4,"ngIf"],[1,"feature-stage-container"],[1,"feature-stage-title"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"feature-empty-state-message"],[1,"feature-container"],[1,"feature-container-row"],[1,"feature-toggle-col"],[3,"checked","matTooltip","disabled"],[1,"feature-desc-col"],
[1,"feature-title"],[1,"feature-desc"],["mat-button","","color","primary","class","small no-visited-no-active","target","_blank",4,"ngIf"],[1,"feature-action-bar"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active",3,"click"],["svgIcon","pop-out",1,"icon-s"],["messageType","info",4,"ngIf"],[1,"feature-badge-col"],[3,"experimentId"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active"],["messageType","info"]],template:function(a,b){a&
1&&(E(0,mHb,5,6,"ng-container",2),V(1,"async"),E(2,nHb,2,0,"ng-template",null,0,Eg)(4,qHb,20,16,"ng-template",null,1,Eg));a&2&&(a=R(3),F("ngIf",W(1,2,b.hasFeatures$))("ngIfElse",a))},dependencies:function(){return[z1,BE,CE,Dw,zw,Hw,nB,DA,NR,OR,nE,OC,Iw,j8]},styles:['.feature-stage-container[_ngcontent-%COMP%]{padding-bottom:28px}.feature-stage-container[_ngcontent-%COMP%]   .feature-stage-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-bottom:20px;margin-top:25px}.feature-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:21px}.feature-container[_ngcontent-%COMP%]   .feature-container-row[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-badge-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]{flex:0 0 500px;display:flex;flex-direction:column;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#5f6368;color:var(--text-muted)}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846}.feature-container[_ngcontent-%COMP%]   .feature-toggle-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-action-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:10px}.feature-container[_ngcontent-%COMP%]   .feature-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;margin-bottom:9px}.feature-container[_ngcontent-%COMP%]   b-callout[_ngcontent-%COMP%]{margin-top:10px;width:100%}.feature-empty-state-message[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0em;font-weight:400;margin-top:45px}/*# sourceMappingURL=beap_settings.css.map */'],
changeDetection:0});var j8=function(){};j8.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};j8.\u0275fac=function(a){return new (a||j8)};j8.\u0275pipe=kd({name:"featureState",type:j8,pure:!0});var qPc=function(a,b){this.name=a;this.resourceType=b;this.options=[]};qPc.prototype.shouldDisplay=function(){return!0};qPc.prototype.hasOptions=function(){return!1};qPc.prototype.getDefaultOptionId=function(){return null};var k8=function(a,b){this.name=a;this.resourceType=b;this.options=[]};k8.prototype.shouldDisplay=function(){return 0<this.options.length};k8.prototype.hasOptions=function(){return 0<this.options.length};
k8.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var rPc=function(a,b){this.id=a;this.name=b},uPc=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 X.Subscription;this.missionControlMainOption=new qPc("Home","MISSION_CONTROL");this.assignedToMeMainOption=new qPc("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new k8("Hotlist","HOTLIST");this.savedSearchMainOption=new k8("Saved search","SAVED_SEARCH");
this.bookmarkGroupMainOption=new k8("Bookmark group","BOOKMARK_GROUP");this.mainOptions=[this.assignedToMeMainOption,this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];sPc(this)&&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];tPc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){tPc(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(l){l.homepagePreferences&&(l=l.homepagePreferences,l.resourceType?h.selectedMainOption=h.resourceMainOptions[l.resourceType]||h.mainOptions[0]:sPc(h)?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=
l.resourceId||null,tPc(h))}))};uPc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var uHb=function(a){wr(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);a8b(a.userPreferencesManager,b).subscribe(function(){wr(a.butterBar,"Preferences saved.",4E3)})},tPc=function(a){function b(c){return new rPc(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 rPc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))},sPc=function(a){return a.activeSession.isInternalSession()&&hE(a.activeSession,"enableHomepageVariantA")};var vPc=rsa[3],l8=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;this.sidebar=l;this.appEvents=q;this.IS_INTERNAL_USER=this.activeSession.isInternalSession();this.dateFormats=[{value:"MMM d, yyyy",label:"Dec 31, 2015"},{value:"EE MMM dd, yyyy",label:"Thu Dec 31, 2015"},{value:"yyyy-MM-dd",label:"2015-12-31"},{value:"MM/dd/yyyy",label:"12/31/2015"},{value:"dd-MM-yyyy",label:"31-12-2015"},
{value:"dd.MM.yyyy",label:"31.12.2015"}];this.timeFormats=[{value:"hh:mma",label:"01:00PM"},{value:"h:mma",label:"1:00PM"},{value:"HH:mm",label:"13:00"},{value:"HH:mm:ss",label:"13:00:01"}];this.timeZones=[];this.appName=d.getAppName();this.timeZones.push.apply(this.timeZones,u(h.supportedTimeZones.map(function(t){return{value:t.id,label:t.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&hE(this.activeSession,
"enableImageSummary")};Y(l8,Z);l8.\u0275dir=Z.\u0275dir;l8.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new uPc(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(xf(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
l8.prototype.save=function(a,b,c){var d=this;wr(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){wr(d.butterBar,"Preferences saved.",4E3)});Wo(this.analytics,"preferences",a,b,c)};var wPc=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===vPc};l8.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
Ac.Object.defineProperties(l8.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this.userPreferences)?0:null==(b=a.missionControlPreferences)?0:b.hideBadgeInNav)}}});l8.\u0275fac=function(a){return new (a||l8)(C(ME,2),C(zF),C(pI),C(Zr),C(TM),C(ZI),C(kE),C(oL),C(gH))};
l8.\u0275cmp=r({type:l8,selectors:[["b-general-settings"]],features:[wg([ME]),Ff],decls:70,vars:16,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"],[4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[4,"ngIf"],[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",4,"ngFor","ngForOf"],["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-plain-text",3,"change","checked"],["id","bv2-force-code-font"],["class","margin-bottom",4,"ngIf"],["class","bv2-settings-preferred-homepage-main-option-select-item",3,"value",4,"ngIf"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModelChange","selectionChange","ngModel"],["class","bv2-settings-preferred-homepage-option-select-item",
3,"value",4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"change","checked"],[3,"value"],["id","bv2-show-inline-images",3,"change","checked"],["id","bv2-bug-screensaver",3,"change","checked"]],template:function(a,b){a&1&&(G(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),S(4,"Preferred homepage"),I(),G(5,"p",3),S(6," Select your preferred homepage when first opening the app. "),G(7,"a",4),S(8," Learn more "),I()()(),G(9,"div")(10,"div")(11,
"mat-form-field",5)(12,"mat-label",6),S(13," Current selection "),I(),G(14,"mat-select",7),vg("ngModelChange",function(c){ug(b.preferredHomepage.selectedMainOption,c)||(b.preferredHomepage.selectedMainOption=c);return c}),N("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();uHb(c);c.cdr.detectChanges()}),E(15,sHb,2,1,"ng-container",8),I()(),E(16,vHb,3,2,"mat-form-field",9),I(),E(17,wHb,3,1,"div",10),I()(),K(18,"hr",11),G(19,"div",0)(20,
"div",1)(21,"p",2),S(22,"Date/time formatting settings"),I(),G(23,"p",3),S(24," Select how you want dates and times to be formatted. "),G(25,"a",4),S(26," Learn more "),I()()(),G(27,"div")(28,"div")(29,"mat-form-field",12)(30,"mat-label",13),S(31," Dates "),I(),G(32,"mat-select",14),vg("ngModelChange",function(c){ug(b.userPreferences.dateTimePreferences.calendarFormat,c)||(b.userPreferences.dateTimePreferences.calendarFormat=c);return c}),N("selectionChange",function(){return b.save("saveDateTimePreferences")}),
E(33,xHb,2,2,"mat-option",15),I()()(),G(34,"div")(35,"mat-form-field",16)(36,"mat-label",17),S(37," Times "),I(),G(38,"mat-select",14),vg("ngModelChange",function(c){ug(b.userPreferences.dateTimePreferences.timeFormat,c)||(b.userPreferences.dateTimePreferences.timeFormat=c);return c}),N("selectionChange",function(){return b.save("saveDateTimePreferences")}),E(39,yHb,2,2,"mat-option",15),I()()(),G(40,"div")(41,"mat-form-field",18)(42,"mat-label",19),S(43," Time Zones "),I(),G(44,"mat-select",14),vg("ngModelChange",
function(c){ug(b.userPreferences.dateTimePreferences.timeZone,c)||(b.userPreferences.dateTimePreferences.timeZone=c);return c}),N("selectionChange",function(){return b.save("saveDateTimePreferences")}),E(45,zHb,2,2,"mat-option",15),I()()()()(),K(46,"hr",11),G(47,"div",0)(48,"div",1)(49,"p",2),S(50,"Keyboard settings"),I()(),G(51,"div")(52,"div")(53,"mat-slide-toggle",20),N("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),
S(54," Enable all hotkeys "),I()()()(),K(55,"hr",11),G(56,"div",0)(57,"div",1)(58,"p",2),S(59,"Display settings"),I()(),G(60,"div")(61,"div",21)(62,"mat-slide-toggle",22),N("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?vPc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),S(63," Force comments to display as plain text "),I()(),G(64,"div",21)(65,"b-toggle-code-font",23),S(66," Force comments to display with code font "),
I()(),E(67,AHb,3,1,"div",24),I()(),K(68,"hr",11),E(69,BHb,9,1,"ng-container",10),I());a&2&&(A(7),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Ye),A(7),tg("ngModel",b.preferredHomepage.selectedMainOption),A(),F("ngForOf",b.preferredHomepage.mainOptions),A(),F("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),A(),F("ngIf",b.IS_INTERNAL_USER),A(8),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Ye),A(7),tg("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),
A(),F("ngForOf",b.dateFormats),A(5),tg("ngModel",b.userPreferences.dateTimePreferences.timeFormat),A(),F("ngForOf",b.timeFormats),A(5),tg("ngModel",b.userPreferences.dateTimePreferences.timeZone),A(),F("ngForOf",b.timeZones),A(8),F("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),A(9),F("checked",wPc(b)),A(5),F("ngIf",b.showShowInlineImagesSetting),A(2),F("ngIf",b.showBugScreensaverSetting))},dependencies:[Dw,zw,cx,jx,gR,dB,YA,aR,jz,HO,NR,OR,nE,OC,M6],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)}/*# sourceMappingURL=settings.css.map */"]});var m8=function(a,b,c,d){Z.call(this);var e=this;this.userPreferencesManager=a;this.butterBar=b;this.documentationLinks=c;this.analytics=d;this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(xf(this.destroyed$)).subscribe(function(f){e.userPreferences=f})};Y(m8,Z);m8.\u0275dir=Z.\u0275dir;
m8.prototype.save=function(a,b,c){var d=this;wr(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){wr(d.butterBar,"Preferences saved.",4E3)});Wo(this.analytics,"preferences",a,b,c)};m8.\u0275fac=function(a){return new (a||m8)(C(zF),C(pI),C(TM),C(ZI))};
m8.\u0275cmp=r({type:m8,selectors:[["b-notification-settings"]],features:[Ff],decls:48,vars:14,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",4,"ngFor","ngForOf"],["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"],[3,"value"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"p",2),S(3,"Notification settings"),I(),G(4,"p",3),S(5," Select the level of email you want to receive for each issue role. "),G(6,"a",4),S(7," Learn more "),I()()(),G(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),S(12," Assignee "),I(),G(13,"mat-select",
7),vg("ngModelChange",function(c){ug(b.userPreferences.notificationPreferences.assignedPriority,c)||(b.userPreferences.notificationPreferences.assignedPriority=c);return c}),N("selectionChange",function(){return b.save("saveNotificationPreferences")}),E(14,CHb,3,4,"mat-option",8),I()()(),G(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),S(18," Reporter "),I(),G(19,"mat-select",7),vg("ngModelChange",function(c){ug(b.userPreferences.notificationPreferences.reportedPriority,c)||(b.userPreferences.notificationPreferences.reportedPriority=
c);return c}),N("selectionChange",function(){return b.save("saveNotificationPreferences")}),E(20,DHb,3,4,"mat-option",8),I()()(),G(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),S(24," Verifier "),I(),G(25,"mat-select",7),vg("ngModelChange",function(c){ug(b.userPreferences.notificationPreferences.verifiedPriority,c)||(b.userPreferences.notificationPreferences.verifiedPriority=c);return c}),N("selectionChange",function(){return b.save("saveNotificationPreferences")}),E(26,EHb,3,4,"mat-option",
8),I()()(),G(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),S(30," Collaborator "),I(),G(31,"mat-select",7),vg("ngModelChange",function(c){ug(b.userPreferences.notificationPreferences.collaboratorPriority,c)||(b.userPreferences.notificationPreferences.collaboratorPriority=c);return c}),N("selectionChange",function(){return b.save("saveNotificationPreferences")}),E(32,FHb,3,4,"mat-option",8),I()()(),G(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),S(36," CC'd "),I(),G(37,"mat-select",7),
vg("ngModelChange",function(c){ug(b.userPreferences.notificationPreferences.ccdPriority,c)||(b.userPreferences.notificationPreferences.ccdPriority=c);return c}),N("selectionChange",function(){return b.save("saveNotificationPreferences")}),E(38,GHb,3,4,"mat-option",8),I()()(),G(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),S(42," Starred "),I(),G(43,"mat-select",7),vg("ngModelChange",function(c){ug(b.userPreferences.notificationPreferences.starredPriority,c)||(b.userPreferences.notificationPreferences.starredPriority=
c);return c}),N("selectionChange",function(){return b.save("saveNotificationPreferences")}),E(44,HHb,3,4,"mat-option",8),I()()(),G(45,"div")(46,"mat-slide-toggle",19),N("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),S(47," Exclude edits made by you "),I()()()());a&2&&(A(6),F("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ye),A(7),tg("ngModel",b.userPreferences.notificationPreferences.assignedPriority),
A(),F("ngForOf",b.priorities),A(5),tg("ngModel",b.userPreferences.notificationPreferences.reportedPriority),A(),F("ngForOf",b.priorities),A(5),tg("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),A(),F("ngForOf",b.priorities),A(5),tg("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),A(),F("ngForOf",b.priorities),A(5),tg("ngModel",b.userPreferences.notificationPreferences.ccdPriority),A(),F("ngForOf",b.priorities),A(5),tg("ngModel",b.userPreferences.notificationPreferences.starredPriority),
A(),F("ngForOf",b.priorities),A(2),F("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Dw,cx,jx,gR,dB,YA,aR,jz,HO,NR,OR,nE,OC,UK],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)}/*# sourceMappingURL=settings.css.map */"]});var xPc=function(a){this.internalArray_=m(a,0,xPc.messageId)};Y(xPc,n);xPc.messageId="f.mt";var yPc=function(a){this.internalArray_=m(a,0,yPc.messageId)};Y(yPc,n);yPc.repeatedFields_=[1];yPc.messageId="b.ListSloReportSubscriptionsResponse";var n8=function(a){this.internalArray_=m(a,0,n8.messageId)};Y(n8,n);n8.prototype.getSubscription=function(){return Gi(this,Bo,1)};n8.prototype.setSubscription=function(a){return hj(this,Bo,1,a)};n8.messageId="b.SloReportSubscriptionRequest";var o8=function(a){this.internalArray_=m(a,0,o8.messageId)};Y(o8,n);o8.prototype.getSubscription=function(){return Gi(this,Bo,1)};o8.prototype.setSubscription=function(a){return hj(this,Bo,1,a)};o8.messageId="b.SloReportSubscriptionResponse";var p8=function(a){this.executor=a};g=p8.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:o8}).pipe(z(function(b){if(b=b.getSubscription())return HEa(b);throw Error("Ye");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:yPc}).pipe(z(function(a){return Ii(a,Bo,1,hi()).map(HEa)}))};
g.create=function(a){if(0!==a.id)throw Error("Ze");return this.executor.post({url:"action/slo_report_subscriptions",body:(new n8).setSubscription(JEa(a)),responseConstructor:o8}).pipe(z(function(b){if(b=b.getSubscription())return HEa(b);throw Error("$e");}))};
g.update=function(a){if(0===a.id)throw Error("af");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new n8).setSubscription(JEa(a)),responseConstructor:o8}).pipe(z(function(b){if(b=b.getSubscription())return HEa(b);throw Error("$e");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:xPc}).pipe(z(function(){}))};p8.\u0275fac=function(a){return new (a||p8)(p(HE))};
p8.\u0275prov=Pc({token:p8,factory:p8.\u0275fac,providedIn:"root"});var zPc=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new Uv;this.timeZoneOptions$=Rec(this.timeZones).pipe(z(function(b){return b.sort(JHb)}))};zPc.\u0275fac=function(a){return new (a||zPc)(C(dO))};
zPc.\u0275cmp=r({type:zPc,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled",fullWidth:"fullWidth"},outputs:{timezoneIdChange:"timezoneIdChange"},decls:6,vars:8,consts:[["appearance","outline",1,"form-field-wide-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(G(0,"mat-form-field",0)(1,"mat-label"),S(2),I(),G(3,"mat-select",1),N("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),E(4,IHb,2,2,"mat-option",2),V(5,"async"),I()());a&2&&(Qf("full-width",b.fullWidth),A(2),T(" ",b.label," "),A(),F("disabled",b.disabled)("ngModel",b.timezoneId),A(),F("ngForOf",W(5,6,b.timeZoneOptions$)))},dependencies:[gR,dB,YA,aR,jz,HO,Dw,cx,jx,Iw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var APc=["sloSubscriptionDialog"],q8=function(a,b,c,d,e,f,h,l,q,t,w){Z.call(this);var B=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=f;this.principalTypes=h;this.analytics=l;this.butterBar=q;this.activeSession=t;this.constants=w;this.subscriptions$=new X.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(z(function(D){return 0===D.length||1===D.length&&D[0].lead.emailAddress===B.currentUser.email}));this.userSubscription$=
this.subscriptions$.pipe(z(function(D){D=k(D);for(var J=D.next();!J.done;J=D.next())if(J=J.value,J.lead.emailAddress===B.currentUser.email)return B.inputDaysRemaining=J.daysRemaining,J;return{id:0,lead:B.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:BPc[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}}));this.isThinking$=new X.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=CPc;this.repeatOnOptions=
new Map([["daily",[]],["weekly",eIb],["monthly",DPc]]);this.DAILY="daily";this.repeatAtOptions$=(0,X.combineLatest)(BPc.map(function(D){return(0,X.of)(B.dateFormatter.format("HH:mma",void 0,D.date)).pipe(z(function(J){return{timeOfDay:D.timeOfDay,display:J}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=bl;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(CPc.map(function(D){return[D.frequency,D.display]}));this.timeZoneDisplayMap$=Rec(this.timeZones).pipe(mf(),
z(function(D){return new Map(D.map(function(J){return[J.id,J.displayName]}))}),tf({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(mf(),z(function(D){return new Map(D.map(function(J){return[J.timeOfDay.hours,J.display]}))}),tf({bufferSize:1,refCount:!0}));this.enableSloReportFiltering=hE(this.activeSession,"enableFilteringForSloReportSubscription");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")}];this.compareTimeOfDay=
function(D,J){return D.hours===J.hours&&D.minutes===J.minutes&&D.seconds===J.seconds&&D.nanos===J.nanos}};Y(q8,Z);q8.\u0275dir=Z.\u0275dir;q8.prototype.ngOnInit=function(){r8(this)};
var YHb=function(a){a.userSubscription$.pipe(mf(),wf(function(b){if(0===b.id)return Wo(a.analytics,sq.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);Wo(a.analytics,sq.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){r8(a)})},r8=function(a){a.isThinking$.next(!0);a.api.list().pipe(mf()).subscribe(function(b){a.isThinking$.next(!1);for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,0===d.types.length&&(d.types=a.typeChoices.map(function(e){return e.value}));
a.subscriptions$.next(b)})},Yr=function(a,b){a.isThinking$.next(!0);a.enableSloReportFiltering||(b.daysRemaining=0,b.types=["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],b.sloIds=[]);b.types.length===a.typeChoices.length&&(b.types=[]);a.api.update(b).subscribe(function(){Wo(a.analytics,sq.SLO_REPORTS,"editSubscription");r8(a);a.newSloId=void 0},function(c){404===c.status&&(a.butterBar.showWarning("Subscription does not exist"),r8(a))})},EPc=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){Wo(a.analytics,
sq.SLO_REPORTS,"deleteSubscription");r8(a)})},iIb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:vh("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){EPc(a,b)}})};q8.prototype.setFrequency=function(a,b){b.frequency=a;AIb(a,b);Yr(this,b)};var AIb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?eIb[0].ordinal:DPc[0].ordinal:delete b.ordinal};
q8.prototype.setTimeZone=function(a,b){Yr(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};q8.prototype.setDaysRemaining=function(a){if(this.inputDaysRemaining!==a.daysRemaining){var b;Yr(this,Object.assign({},a,{daysRemaining:null!=(b=this.inputDaysRemaining)?b:0}))}};q8.prototype.setIssueType=function(a,b){Yr(this,Object.assign({},b,{types:a}))};
var UHb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&Yr(a,Object.assign({},b,{sloIds:[].concat(u(b.sloIds),[a.newSloId])}))},SHb=function(a,b,c){if(b.sloIds.includes(c)){var d=b.sloIds.filter(function(e){return e!==c});Yr(a,Object.assign({},b,{sloIds:d}))}},xIb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&(b.sloIds.push(a.newSloId),a.newSloId=void 0)},vIb=function(a,b){if(a.sloIds.includes(b)){var c=a.sloIds.filter(function(d){return d!==b});a.sloIds=c}};
q8.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:BPc[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:li(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var BIb=function(a,b){return me(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?oe(c,FPc(a,b.lead.emailAddress),2):c.return();if(!c.yieldResult)return b.lead.emailAddress="",a.dialogInvalidEmailFormat=!0,c.return();if("sundar@google.com"===b.lead.emailAddress)return b.lead.emailAddress="",a.ceoSelected=!0,c.return();0===b.id?a.api.create(b).subscribe(function(){Wo(a.analytics,sq.SLO_REPORTS,"createSubscription");r8(a)}):Yr(a,b);a.dialogRef.close();se(c)})},FPc=function(a,b){var c;
return me(function(d){if(1==d.nextAddress)return Pn(b)?oe(d,a.principalTypes.get(b),2):d.return(Promise.resolve(!1));c=d.yieldResult;return"USER"!==c.principalType?d.return(Promise.resolve(!1)):d.return(Promise.resolve(!0))})};q8.\u0275fac=function(a){return new (a||q8)(C(gO),C(p8),C(tN),C(QA),C(dO),C(nL),C(JE),C(ZI),C(pI),C(Zr),C(kE))};
q8.\u0275cmp=r({type:q8,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&lg(APc,7);if(a&2){var c;pg(c=qg())&&(b.sloSubscriptionDialog=c.first)}},features:[Ff],decls:22,vars:14,consts:[["sloSubscriptionDialog",""],["subscriptionMenu","matMenu"],[4,"ngIf"],[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"],["mat-flat-button","","color","primary",3,"click","disabled"],["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,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],
[3,"timezoneIdChange","timezoneId","fullWidth"],["class","muted type-s",4,"ngIf"],[3,"value"],[3,"ngModelChange","ngModel","compareWith"],["appearance","outline"],["matInput","","type","number",3,"ngModelChange","blur","keydown.enter","ngModel"],["multiple","",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","number",3,"ngModelChange","keydown.enter","blur","ngModel"],[1,"flex-kids-x","space-between","margin-xs-y"],[1,"subtle-link",3,"href"],
["mat-icon-button","","aria-label","Remove SLO ID",1,"xs",3,"click","matTooltip"],["svgIcon","clear"],[1,"muted","type-s"],["mat-table","","aria-label","SLO reports subscriptions",1,"bordered","full-width",3,"dataSource"],["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",""],["mat-icon-button","","aria-label","Show actions for this subscription",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","","aria-label","View and edit subscription attributes",3,"click"],["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"],["matInput","","required","","placeholder","Search users...",
3,"ngModelChange","ngModel","bContactAutocomplete"],["id","new-subscription-note",1,"italic"],"href http://go/issue-slo-reports target _blank aria-describedby new-subscription-note".split(" "),"mat-button  color primary matDialogClose ".split(" "),["matInput","","type","number",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"]],template:function(a,b){if(a&1){var c=v();E(0,$Hb,12,3,"ng-container",2);V(1,"async");G(2,"div",3)(3,"div",4)(4,"p",5);S(5,"Advanced settings");
I();G(6,"p",6);S(7," Add subscriptions to receive other user's reports. ");G(8,"a",7);S(9,"Learn more");I()()();G(10,"div",8)(11,"div",9)(12,"button",10);V(13,"async");N("click",function(){x(c);return y(b.openDialog())});S(14," Create subscription ");I()();E(15,aIb,2,0,"ng-container",2);V(16,"async");E(17,mIb,13,3,"ng-container",2);V(18,"async");V(19,"async");I()();E(20,CIb,34,16,"ng-template",null,0,Eg)}a&2&&(F("ngIf",W(1,4,b.isBasicMode$)),A(12),F("disabled",W(13,6,b.isThinking$)),A(3),F("ngIf",
W(16,8,b.isThinking$)),A(2),F("ngIf",!W(18,10,b.isBasicMode$)&&!W(19,12,b.isThinking$)))},dependencies:[Dw,zw,nB,bh,lx,cx,ux,jx,CA,RA,SA,TA,UA,gR,dB,YA,XA,WA,aR,jz,HO,JO,jB,NR,OR,TV,OW,BW,HW,DW,AW,JW,EW,GW,KW,MW,mE,IC,HC,JC,nE,OC,zPc,GL,$S,Iw],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)}/*# 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 CPc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],eIb=[{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"}],DPc=[].concat(u(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:fIb(a+1)}}),BPc=[].concat(u(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 s8=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=hE(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&hE(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};s8.prototype.ngAfterViewInit=function(){this.selectedTabIndex=GPc(this,this.routeParams.settingsTab)};
s8.prototype.tabChange=function(a){var b,c,d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id;this.location.setUrl(Zwa(d))};var GPc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};s8.\u0275fac=function(a){return new (a||s8)(C(Zr),C(QF),C(vQ),C(qH))};
s8.\u0275cmp=r({type:s8,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&lg(ZU,5,Wd);if(a&2){var c;pg(c=qg())&&(b.tabs=c)}},decls:11,vars:3,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndexChange","selectedIndex"],["label","General"],[1,"padded"],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports",4,"ngIf"],["label","Early Access","id","early-access",4,"ngIf"],["label","SLO Reports","id","slo-reports"],["label","Early Access","id","early-access"]],
template:function(a,b){a&1&&(G(0,"p",0),S(1,"Settings"),I(),G(2,"mat-tab-group",1),N("selectedIndexChange",function(c){return b.tabChange(c)}),G(3,"mat-tab",2)(4,"div",3),K(5,"b-general-settings"),I()(),G(6,"mat-tab",4)(7,"div",3),K(8,"b-notification-settings"),I()(),E(9,DIb,3,0,"mat-tab",5)(10,EIb,3,0,"mat-tab",6),I());a&2&&(A(2),F("selectedIndex",b.selectedTabIndex),A(7),F("ngIf",b.enableSloReportEmail),A(),F("ngIf",b.beapEnabled))},dependencies:[zw,dV,ZU,$U,pPc,l8,m8,q8],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)}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var t8=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=f;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=l.getUserEmail()};Y(t8,Z);t8.\u0275dir=Z.\u0275dir;g=t8.prototype;
g.ngOnInit=function(){var a=this,b=function(c){a.bookmarkGroup=c;a.userIsAdmin=c.adminUsers.some(function(d){return d.emailAddress===a.userEmail});a.pageTitle.setTitle(c.name);a.cdr.detectChanges()};this.bookmarkGroupsApi.get(this.routeParams.groupId).then(b);this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(c){c&&a.bookmarkGroup&&
c.bookmarkGroupId==a.bookmarkGroup.bookmarkGroupId&&a.bookmarkGroupsApi.get(a.routeParams.groupId).then(b)}))};g.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b):this.userApi.deleteFavorite({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 this.paths.viewHotlist(a.hotlistId);default:throw Error("bf`"+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("bf`"+a.resourceType);}};t8.\u0275fac=function(a){return new (a||t8)(C(ME,2),C(vQ),C(QF),C(qH),C(QI),C(kL),C(RF),C(Zr),C(gH))};
t8.\u0275cmp=r({type:t8,selectors:[["view-bookmark-group-page"]],features:[wg([ME]),Ff],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[4,"ngIf"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-bookmark-group-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",
1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[4,"ngFor","ngForOf"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"href","title"]],template:function(a,b){a&1&&(G(0,"h2",0),S(1),I(),K(2,"div",1),G(3,"div",2),E(4,IIb,12,5,"div",3),I());a&2&&(A(),T("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),A(2),Hf("aria-busy",
!b.bookmarkGroup),A(),F("ngIf",b.bookmarkGroup))},dependencies:[Dw,zw,xL,nE,OC],encapsulation:2});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=hd({type:u8});u8.\u0275inj=Rc({imports:[rE,tM,vE]});var KIb=function(){return{name:"List",value:"list",tooltip:"The classic view of Buganizer issues"}},LIb=function(){return{name:"Advanced",value:"adv",tooltip:"Stats, summaries, and recent activity"}},JIb=function(a,b){return[a,b]},v8=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa,Hb){A7.call(this,b,c,d,e,h,l,q,t,f,w,B,D,H,O,P,U,aa,pa,na,ka,Aa,Xa,yb,Rb,Sb,Wa);this.ngZone=a;this.hotlists=J;this.hotkeys=Ya;this.pageTitle=ea;this.userAccess=Ia;this.mcPrefs=Hb;this.ANALYTICS_CATEGORY=
"hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=Da.hotlistId};Y(v8,A7);v8.\u0275dir=A7.\u0275dir;
v8.prototype.ngOnInit=function(){var a=this;A7.prototype.ngOnInit.call(this);this.subscriptions.add(IF(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(u(this.BASE_HOTKEYS),[{keys:[Tj("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){HPc(a,1)}},{keys:[Tj("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){HPc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&IPc(a)}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}));this.userApi.getFavorite("HOTLIST",this.hotlistId).then(function(){a.isStarred=!0}).catch(function(){});this.loadUserAccess(this.hotlistId)};
v8.prototype.ngDoCheck=function(){var a;if(this.hotlistName!==(null==(a=this.hotlist)?void 0:a.name)){var b;this.hotlistName=null==(b=this.hotlist)?void 0:b.name;this.pageTitle.setTitle(this.hotlistName)}};
v8.prototype.loadUserAccess=function(a){var b=this;NG(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});NG(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
v8.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;kM(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):IPc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var IPc=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};
v8.prototype.doSearch=function(a){var b=this,c=eyc.map(Ok).filter(Ei),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=li(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return E9b(b.issuePagination,f)});a.then(function(f){$Nc(b,
f)}).catch(function(f){"number"===typeof f?q_(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return Yo({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,JPc(b)?KPc:LPc);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var JPc=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};v8.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
v8.prototype.repositionIssue=function(a,b,c){var d=this;c=void 0===c?!1:c;!this.repositioning&&this.searchResults&&(this.repositioning=!0,this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"view-hotlist",function(){d.searchResults&&(d.searchResults=d.searchResults.clone())}).then(function(e){d.hotlist=e;Wo(d.analytics,d.ANALYTICS_CATEGORY,c?"reorderByKeyboard":"issueDragDrop")}).finally(function(){d.repositioning=!1}))};
var HPc=function(a,b){if(a.searchResults&&!a.repositioning&&JPc(a)){var c,d,e=null!=(d=null==(c=a.resultsGrid)?void 0:c.focusedRowIndex)?d:void 0;if(null!=e&&(c=e+b,d=a.searchResults.issues.length,0<=c&&c<d)){if(1===b){var f;null==(f=a.resultsGrid)||V5a(f)}else if(-1===b){var h;null==(h=a.resultsGrid)||W5a(h)}a.repositionIssue(e,c,!0)}}};g=v8.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=GDa(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}});wr(this.butterBar,"Saving changes to hotlist...");MPc(this,b).then(function(e){wr(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');q_(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});Wo(a.analytics,a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){Wo(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");q_(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};g.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
g.isEditable=function(){return null!=this.hotlist&&this.isAdmin};g.isDirectAdmin=function(){return this.hotlist?Wk(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?A7.prototype.setSort.call(this,a,b,!1):A7.prototype.setSort.call(this,a,b)};
var MPc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;NPc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},NPc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
v8.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=ql(this.hotlistId),c=function(){NPc(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};v8.prototype.openEditHotlist=function(){this.bLocation.setUrl(this.paths.editHotlist(this.hotlistId))};v8.prototype.addToMissionControl=function(a){null!=a&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl("home"))};
v8.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=500>=a;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};var LPc=[ZZ,$Z,a_,oDc],KPc=[ZZ,nDc,$Z,a_,oDc];v8.\u0275fac=function(a){return new (a||v8)(C(He),C(ME),C(xF),C(nH),C(QF),C(Zr),C(uF),C(fH),C(QI),C(EG),C(pI),C(ZI),C(jM),C(Z_),C(oH),C(zF),C(p_),C(r_),C(RF),C(FE),C(lQ),C(XN),C(HF),C(qH),C(qI),C(vQ),C(LG),C(gH),C(RI),C(iJ),C(M0),C(ZH),C(dM))};
v8.\u0275cmp=r({type:v8,selectors:[["view-hotlist-page"]],features:[wg([ME]),Ff],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"],["class","bv2-view-hotlist-title",4,"ngIf"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[3,"value","choices"],["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-button","reverse-margin-left"],[3,"valueChange","value","choices"],["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-button","reverse-margin-left",3,"click"],[1,"bv2-view-hotlist-title"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus",4,"ngIf"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starClicked","keydown.space","keydown.enter","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage",
"starred","disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["type","button","mat-flat-button","","matTooltip",
"Save changes to display preferences",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[1,"padded-s",3,"reference","numRecentActivityEvents"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"],[3,"init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onRowDragDrop","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"b-grid-controls",1),N("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()}),
I(),E(2,OIb,2,1),G(3,"div",2)(4,"b-pagination",3),N("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return bOc(b,d.option)}),I()()(),G(5,"div",4),E(6,YIb,9,7,"div",5)(7,ZIb,4,1,"div",6)(8,$Ib,2,2,"div",7)(9,cJb,3,1,"div",8),I());if(a&2){var c;A();F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin);A();Uf((c=null==b.searchResults?null:b.searchResults.numResults)?
2:-1,c);A(2);F("searchResults",b.searchResults);A();Hf("aria-busy",b.isLoading);A();F("ngIf",!b.isInitializing);A();F("ngIf",b.isLoading);A();F("ngIf",!b.isLoading&&!b.hasResults());A();F("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[d_,b0,xL,XZ,nE,OC,zw,GL,cY,CA,EM,w7],encapsulation:2});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=hd({type:w8});w8.\u0275inj=Rc({imports:[m_,d0,tM,Y_,vE,rE,wM,dY,cD,yx,FM,z7,s7]});var eJb=function(){return{name:"List",value:"list",tooltip:"The classic view of Buganizer issues"}},fJb=function(){return{name:"Advanced",value:"adv",tooltip:"Stats, summaries, and recent activity"}},dJb=function(a,b){return[a,b]},x8=function(a,b,c,d,e,f,h,l,q,t,w,B,D,J,H,O,P,U,aa,pa,ka,Aa,Ya,ea,na,Da,Ia,Xa,yb,Rb,Sb,Wa){A7.call(this,a,b,c,d,f,h,l,t,e,w,B,D,J,H,O,P,U,aa,ea,pa,ka,Ia,Xa,yb,Rb,Sb);this.savedSearchApi=q;this.hotkeys=Aa;this.pageTitle=Ya;this.userAccess=Da;this.mcPrefs=Wa;this.ANALYTICS_CATEGORY=
"savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=na.savedSearchId};Y(x8,A7);x8.\u0275dir=A7.\u0275dir;g=x8.prototype;
g.ngOnInit=function(){var a=this;A7.prototype.ngOnInit.call(this);this.subscriptions.add(IF(this.hotkeys,{title:"Saved Search",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(b){b&&String(b.savedSearchId)===a.savedSearchId&&("delete"===b.action?(a.savedSearch=null,a.searchResults=null,a.appSearchState.clear()):a.loadSavedSearch())}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=
b.showHotlists}));this.subscriptions.add(Xcc(this.appSearchState,function(b){a.savedSearch?q_(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;NG(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;kM(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:VNc(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;kM(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=li(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return E9b(b.issuePagination,d)});c.then(function(d){$Nc(b,d)}).catch(function(d){"number"===typeof d?q_(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Yo({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
g.isEditable=function(){return!!this.savedSearch&&this.isAdmin};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
g.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;wr(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){wr(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;q_(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});Wo(a.analytics,a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){Wo(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");q_(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){null!=a&&(eM(this.mcPrefs,To(a)),this.bLocation.setUrl("home"))};
g.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=500>=a;var c=!this.mcPrefs.hasSavedSearch(this.savedSearchId);return b&&a&&c};x8.\u0275fac=function(a){return new (a||x8)(C(ME),C(xF),C(nH),C(QF),C(Zr),C(uF),C(fH),C(QI),C(VJ),C(EG),C(pI),C(ZI),C(jM),C(oH),C(zF),C(p_),C(r_),C(RF),C(FE),C(lQ),C(XN),C(HF),C(qH),C(qI),C(vQ),C(LG),C(gH),C(RI),C(iJ),C(M0),C(ZH),C(dM))};
x8.\u0275cmp=r({type:x8,selectors:[["view-saved-search-page"]],features:[wg([ME]),Ff],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"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],[3,"value","choices"],["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-button","reverse-margin-left"],[3,"valueChange","value","choices"],["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-button","reverse-margin-left",3,"click"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["role","heading","aria-level","3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],
["type","button","mat-flat-button","","class","gmat-button medium","matTooltip","Save changes to display preferences and search query",3,"click",4,"ngIf"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"click","href"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",
1,"gmat-button","medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[1,"padded-s",3,"reference","numRecentActivityEvents"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage",
"onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"b-grid-controls",1),N("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()}),I(),E(2,
iJb,2,1),G(3,"div",2)(4,"b-pagination",3),N("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return bOc(b,d.option)}),I()()(),G(5,"div",4)(6,"div",5),E(7,nJb,4,3,"div",6)(8,pJb,7,2,"div",7),I(),E(9,wJb,4,3,"div",8),I());if(a&2){var c;A();F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);A();Uf((c=null==b.searchResults?null:b.searchResults.numResults)?2:-1,c);A(2);F("searchResults",b.searchResults);A();Hf("aria-busy",b.isLoading);A(2);F("ngIf",!b.isInitializing);
A();F("ngIf",b.hasParamChanges());A();F("ngIf",b.savedSearch)}},dependencies:[d_,b0,XZ,zw,nE,OC,GL,cY,CA,EM,w7],encapsulation:2});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=hd({type:y8});y8.\u0275inj=Rc({imports:[m_,d0,Y_,rE,vE,wM,dY,cD,yx,FM,z7,s7]});var OPc={path:"issues/:issueId",component:D5,children:[{path:"",pathMatch:"full",component:G6},{path:"dependencies",component:N4},{path:"dupes",component:F5},{path:"blocking",component:n4},{path:"resources",component:LNc}].concat(u(yJb("enableCodeMentionsUi",{path:"todos",component:o7})))},PPc=[{path:"",component:Y2,canActivateGuards:[h3]},{path:"issues",component:B7},{path:"recent",component:D7,canActivateGuards:[e3]},{path:"issues/new",component:b4,canActivateGuards:[A3]}].concat(u(xJb(function(){var a;
if(a=Qm("enableChromeWizard")){var b;a="157"===(null==(b=Jj().tracker)?void 0:b.trackerId)}return a},{path:"issues/wizard",component:z3})),[OPc,{path:"components/all",component:x2},{path:"components",component:B3},{path:"components/new",component:D3},{path:"components/:componentId/edit",component:W7},{path:"components/:componentId",component:W7},{path:"components/:componentId/manage",component:W7},{path:"teams/:teamId/edit",component:X7},{path:"teams/:teamId",component:X7},{path:"bookmark-groups/new",
component:C3},{path:"bookmark-groups/:groupId",component:t8},{path:"bookmark-groups/:groupId/edit",component:h4},{path:"hotlists/new",component:E3},{path:"hotlists/:hotlistId",component:v8},{path:"hotlists/:hotlistId/edit",component:i_},{path:"slos/new",component:d4},{path:"slos/:sloId",component:m4},{path:"slos/:sloId/edit",component:m4},{path:"savedsearches/:savedSearchId/edit",component:i4},{path:"hotlists",component:p7},{path:"slos",component:E7},{path:"savedsearches/:savedSearchId",component:x8},
{path:"dashboard/:groupId",component:f4},{path:"settings/:settingsTab?",component:s8},{path:"settings",component:s8}],u(yJb("enableHomepageVariantA",{path:"home",component:i8,canActivateGuards:[e3,f3]})),[{path:"**",component:Y2,canActivateGuards:[h3]}]);var z8=function(){};z8.\u0275fac=function(a){return new (a||z8)};z8.\u0275mod=hd({type:z8});z8.\u0275inj=Rc({imports:[rE,wM,cD,gV,yM,VW,jT]});var A8=function(){};A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275mod=hd({type:A8});A8.\u0275inj=Rc({imports:[rE,WW,sF,cD]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=hd({type:B8});B8.\u0275inj=Rc({imports:[rE,gV,yM,VW,A8]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=hd({type:C8});C8.\u0275inj=Rc({imports:[rE,KF,cD,VA]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=hd({type:D8});D8.\u0275inj=Rc({imports:[UW,rE,p5,KF,B_,cD,wE,uE,vE,r0,X_,N6,C8]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=hd({type:E8});E8.\u0275inj=Rc({imports:[rE,KF,cD,vE]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=hd({type:F8});F8.\u0275inj=Rc({imports:[X6,rE,vE,PM,QR,cD,wM,oN,X_,vV]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=hd({type:G8});G8.\u0275inj=Rc({imports:[rE,$W,yM,oT]});var H8=function(){};H8.\u0275fac=function(a){return new (a||H8)};H8.\u0275mod=hd({type:H8});H8.\u0275inj=Rc({imports:[B8,$W,rE,D_,fR,KF,yM,XW,L6,A8,cD,wE,vE,sF,tM,oT,G8,E8,D8,F8]});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275mod=hd({type:I8});I8.\u0275inj=Rc({imports:[rE,cD]});var J8=function(){};J8.\u0275fac=function(a){return new (a||J8)};J8.\u0275mod=hd({type:J8});J8.\u0275inj=Rc({imports:[rE,yO,cD,vE]});var K8=function(){};K8.\u0275fac=function(a){return new (a||K8)};K8.\u0275mod=hd({type:K8});K8.\u0275inj=Rc({imports:[a1,BA,lA,rE,NK,Iy,gV,oN,yx,z8,H8,S_,cD,VA,WZ,fV,vE,zx,C5,X_,sF,QN,I8,J8]});var L8=function(){};L8.\u0275fac=function(a){return new (a||L8)};L8.\u0275mod=hd({type:L8});L8.\u0275inj=Rc({imports:[rE,z2]});var M8=function(){};M8.\u0275fac=function(a){return new (a||M8)};M8.\u0275mod=hd({type:M8});M8.\u0275inj=Rc({imports:[rE,lA,BA,yx,zx,sF,cD,fV,QN,UW,K8,m7,X4,q4,G5,L8,n7]});var QPc=PPc.map(function(a){return{path:a.path,component:a.component,canDeactivate:[iY],canActivate:[b3,d3].concat(u(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});QPc.push({path:"**",canActivate:["dontActivate"],component:Y2,isRootRoute:!0});
var RPc=Jj().appBaseHref,SPc,N8={initialNavigation:"disabled"},TPc={provide:R7b,useFactory:function(){return"guarded"},deps:[[mF,new ov,new pv]]},UPc={provide:dF,useValue:N8?N8:{}},VPc=(null==N8?0:N8.useHash)?{provide:Tw,useClass:Vw}:{provide:Tw,useClass:Uw},WPc={provide:K7b,useFactory:function(){var a=bd(lVb),b=bd(He),c=bd(dF),d=bd(hF),e=bd(QE);c.scrollOffset&&a.setOffset(c.scrollOffset);return new rF(e,d,a,b,c)}},XPc=(null==N8?0:N8.preloadingStrategy)?zk(0,[{provide:Q7b,useExisting:qF},{provide:G7b,
useExisting:N8.preloadingStrategy}]).\u0275providers:[],YPc;
(null==N8?0:N8.initialNavigation)?YPc=["disabled"===N8.initialNavigation?zk(3,[{provide:dUb,multi:!0,useFactory:function(){var a=bd(mF);return function(){w7b(a)}}},{provide:P7b,useValue:2}]).\u0275providers:[],"enabledBlocking"===N8.initialNavigation?zk(2,[{provide:P7b,useValue:0},{provide:dUb,multi:!0,deps:[Ie],useFactory:function(a){var b=a.get(hVb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(mF),e=a.get(O7b);ewa(d,function(){c(!0)});a.get(hF).afterPreactivation=
function(){c(!0);return e.closed?(0,X.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:YPc=[];var ZPc=YPc,$Pc=(null==N8?0:N8.bindToComponentInputs)?zk(8,[$E,{provide:F6b,useExisting:$E}]).\u0275providers:[],aQc;if(null==N8?0:N8.enableViewTransitions){var bQc=[{provide:e7b,useValue:dwa},{provide:bwa,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];aQc=zk(9,bQc).\u0275providers}else aQc=[];
SPc={ngModule:sF,providers:[S7b,[],{provide:$va,multi:!0,useValue:[]},TPc,UPc,VPc,WPc,XPc,ZPc,$Pc,aQc,[{provide:T7b,useFactory:function(){var a=bd(Ie);return function(b){var c=a.get(sw);if(b===c.components[0]){b=a.get(mF);var d=a.get(O7b);1===a.get(P7b)&&b.initialNavigation();var e;null==(e=a.get(Q7b,null,8))||H7b(e);var f;null==(f=a.get(K7b,null,8))||f.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},
{provide:rUb,multi:!0,useExisting:T7b}]]};var O8=function(a,b){a.config=QPc.map(mva);a.navigated=!1;a.initialNavigation();Oac(b)};O8.\u0275fac=function(a){return new (a||O8)(p(mF),p(tK))};O8.\u0275mod=hd({type:O8});O8.\u0275inj=Rc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:iF,useClass:a3},{provide:kVb,useValue:RPc},d3,b3],imports:[SPc,Z2,M8,sF]});var cQc=new rd("Environment");var dQc=new rd("Worktracker API Key");var eQc=new rd("G3C API Keys");var P8=function(){};P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275mod=hd({type:P8});P8.\u0275inj=Rc({providers:[{provide:cQc,useFactory:zJb},{provide:eQc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:dQc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var fQc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=fQc.prototype;g.getId=function(){return this.lookupId_};g.setDisplayName=function(a){this.displayName_=a;return this};g.getDisplayName=function(){return this.displayName_};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
g.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var Q8=function(a){this.internalArray_=m(a)};Y(Q8,n);g=Q8.prototype;g.getEnableClearcut=function(){return Li(this,1,!1)};g.setEnableClearcut=function(a){return $h(this,1,a)};g.getClientId=function(){return Qi(this,2,0)};g.setClientId=function(a){return jj(this,2,a)};g.getSocialApplication=function(){return Qi(this,3,0)};g.getSocialApplicationOrUndefined=function(){return Ot(this,3)};g.getComponentFlow=function(){return Qi(this,4,0)};g.setComponentFlow=function(a){return jj(this,4,a)};
g.getInterfaceType=function(){return Qi(this,5,0)};g.setInterfaceType=function(a){return jj(this,5,a)};var R8=function(a){this.internalArray_=m(a)};Y(R8,n);R8.prototype.getEnableAutocompleteLegalese=function(){return Li(this,11,!1)};var gQc=function(){var a=Ls.getExperiments();return Li(a,12,!1)},hQc=[0,Mu,-12];var S8=function(a){this.internalArray_=m(a)};Y(S8,n);S8.prototype.getApplication=function(){return Qi(this,1,0)};S8.prototype.setApplication=function(a){return jj(this,1,a)};S8.prototype.getApplicationOrUndefined=function(){return Ot(this,1)};S8.prototype.getIsEnabled=function(){return Li(this,2,!1)};var iQc=function(a){this.internalArray_=m(a)};Y(iQc,n);g=iQc.prototype;g.getClearcut=function(){return Gi(this,Q8,1)};g.setClearcut=function(a){hj(this,Q8,1,a)};g.hasClearcut=function(){return Ui(this,Q8,1)};g.getExperiments=function(){return Gi(this,S8,2)};g.setExperiments=function(a){return hj(this,S8,2,a)};g.hasExperiments=function(){return Ui(this,S8,2)};var Cs=function(a){return Li(a,7,!1)};iQc.prototype.getEnableAutocompleteLegalese=function(){return Li(this,13,!0)};var jQc=Eda(iQc);var kQc;var lQc=function(){this.actionListeners=new Map};lQc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};lQc.prototype.unsubscribe=function(a,b){if(this.actionListeners.has(a)){var c=this.actionListeners.get(a).filter(function(d){return d!==b});c.length?this.actionListeners.set(a,c):this.actionListeners.delete(a)}};
lQc.prototype.notify=function(a){var b=pd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var mQc=function(){this.actionEventDispatcher=new lQc};var nQc=function(){var a=Bb(kQc||(kQc=jQc("[[true,49,740,4],[7,true],null,null,null,null,null,null,null,null,null,null,false,false]")));this.injectorService=new mQc;a.hasClearcut()||a.setClearcut(new Q8);a.hasExperiments()||a.setExperiments(new S8);this.internal=a};var AKb=function(){this.style=this.theme=this.density=0};g=AKb.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 oQc=function(){this.label="";this.type=0};g=oQc.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 pQc=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=pQc.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return!1};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var qQc=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 oQc;this.result=new pQc;this.appearance=new AKb};g=qQc.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 rQc=function(a){this.environmentConfig=a;this.autocomplete=new qQc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=rQc.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 FJb=function(a){this.root=a;this.length=0};g=FJb.prototype;g.getItems=function(){return Array.from(this.root.childNodes)};g.append=function(a){this.root.appendChild(a);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("cf");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("cf");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){v0b(this.root);this.length=0};g.getRoot=function(){return this.root};var DJb=function(a){return ts('<ul id="'+vs(a.id)+'" peoplekit-id="'+vs("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+vs("peoplekitComponentsListImplList")+'"></ul>')};var EJb=is.getInstance();var TJb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(u(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=TJb.prototype;
g.remove=function(a,b){var c=-1;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(u(b)));c?(sQc(this),tQc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};g.prev=function(a){var b=0===this.spotlightIndex&&1===a;!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=0<=b?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};
g.next=function(a){var b=this.spotlightIndex===this.list.length-1&&1===a;if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||void 0===a||0>a)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:sQc(this);uQc(this);break;case 3:uQc(this);break;case 1:a=AJb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=AJb(this.multiActivateAnchorIndex,c,this.spotlightIndex);
if(0<=c&&(a||b||this.multiActivateAnchorIndex===this.spotlightIndex))for(b=b?this.multiActivateAnchorIndex:this.spotlightIndex,c<b?(a=c,c=b-1):a=b+1;a<=c;a++)b=this.list[a],b.deactivate(),this.activeItems.delete(b);tQc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=k(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();sQc(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(u(this.secondaryEventTargets));b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value)||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var uQc=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},sQc=function(a){for(var b=k(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},tQc=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 vQc=function(a){this.delegate=a};g=vQc.prototype;g.prev=function(a){a=this.delegate.prev(a);wQc(this);return a};g.next=function(a){a=this.delegate.next(a);wQc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);wQc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);wQc(this);return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};
g.getItem=function(a){return this.delegate.getItem(a)};g.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 wQc=function(a){(a=a.delegate.getSpotlitItem())&&JJb(a.getRoot())};var jKb=function(a){this.root=a;this.length=0;a=this.root;if(void 0!==a.firstElementChild)a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;this.marker=a};g=jKb.prototype;g.append=function(a){this.root.insertBefore(a,this.marker);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("cf");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("cf");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 xQc=function(a,b,c,d){this.loggingToken=d;(new fQc(a)).setDisplayName(b).forceDisplayNameOverride_=c};xQc.prototype.getLoggingToken=function(){return this.loggingToken};var yQc=function(){};yQc.prototype.getDisplayNameMatches=function(){return[]};yQc.prototype.getDisplayValueMatches=function(){return[]};yQc.prototype.getGivenNameMatches=function(){return[]};var zQc=new yQc;var KJb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=KJb.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("ef");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getMatchInfo=function(){return zQc};g.getExtendedData=function(){return null};var AQc=new Map([[1,1],[2,1],[3,1],[4,1],[5,2],[6,1],[7,1],[8,1],[9,3],[10,5],[11,6],[12,4],[13,4],[14,4],[15,4],[16,4],[17,1],[18,7],[19,7]]);var ot=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=ot.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 BQc=(new ot).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),CQc=new ot;var T8=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=Ms(this.id_)?CQc:BQc;this.tags_=[];this.sourceIds_=sNb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(pNb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=AQc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.reachabilityInfo_=this.originatingField_=this.emailSecurityInfo_=null};g=T8.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_=cs(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return cs(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_=cs(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_=cs(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=Ms(this.id_)?CQc:BQc};
g.getTagList=function(){return this.tags_};var xNb=function(a,b){a.tags_=b||[]};g=T8.prototype;g.getSourceIdList=function(){return this.sourceIds_};g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new Ft};
g.getIsMe=function(){return this.isMe_};var vNb=function(a,b){a.isMe_=b;return a};g=T8.prototype;g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=cs(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};g.setPersonLoggingId=function(a){this.personLoggingId_=cs(a)};
g.getOrgState=function(){return this.orgState_};g.getOriginatingField=function(){return this.originatingField_};var mOb=function(a,b){a.originatingField_=b;return a};T8.prototype.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};var zNb=function(a,b){a.emailSecurityInfo_=b};T8.prototype.getReachabilityInfo=function(){return this.reachabilityInfo_};var BNb=function(a,b){a.reachabilityInfo_=b};T8.prototype.getExtendedData=function(){return this.extendedData_};var nt=function(a){return new T8(a)};var DQc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=nt(this.internalId).setDataSource(3);this.internalResult=new ar(LJb(0,[a]));this.internalSelectionToken=new xQc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=DQc.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return this.internalResult.getTargetList()};g.result=function(){return this.internalResult};
g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var RJb=function(a,b){this.root=a;this.options=b};g=RJb.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 new DQc(rNb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var QJb=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,f=a.iconUrl;a=a.label;Array.isArray(b);c='<div role="menuitem" id="'+vs(e)+'" peoplekit-id="'+vs("UhZROb")+'" class="'+vs("peoplekitComponentsContextmenuitemImplMenuItem")+" "+vs(c)+'"'+(d?' aria-label="'+vs(d)+'"':"")+'><div class="'+vs("peoplekitComponentsContextmenuitemImplRow")+'">'+(HS(f)?'<img class="'+vs("peoplekitComponentsContextmenuitemImplIcon")+" "+vs("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
vs(loc(f))+'" draggable="false" alt=""/>':"")+'<div class="'+vs("peoplekitComponentsContextmenuitemImplLabel")+" "+vs("peoplekitComponentsContextmenuitemImplCenter")+'">'+ws(a)+"</div>";0<b.length&&(c+='<div class="'+vs("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+vs("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',c+=ws(b.join("+"))+"</span></div>");return ts(c+"</div></div>")};var bNb=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var NJb=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 js=function(a,b){this.ariaParent=a;this.delegate=b};g=js.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),GF(this.ariaParent,a)):GF(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.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 U8=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};U8.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};U8.prototype.preventDefault=function(){this.event.preventDefault()};var VJb=function(a,b){this.input=this.navigatable=null;this.navigatePastBeginCallback=a.navigatePastBegin||function(){};this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=fs(this)};g=VJb.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 U8(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new U8(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var EQc=Object.freeze(new ms(NaN,NaN)),FQc=Object.freeze(new OS(NaN,NaN,NaN,NaN)),qs=function(a,b){this.root=a;this.options=b;this.lastPosition=EQc;this.lastBounds=FQc;this.anchorUpdateTimer=new fC(15);this.eventHandler=fs(this);this.attach()};qs.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return GQc(a)})};qs.prototype.isShown=function(){return"none"!=this.root.style.display};qs.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
qs.prototype.show=function(a){this.anchor=a;this.lastPosition=EQc;this.lastBounds=FQc;SS(this.root,!0);GQc(this);this.anchorUpdateTimer.start()};
var GQc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(RS(a.anchor)))){b=a.lastBounds;var c=ks(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=ks(c),b=(c=ls(c))?b.intersection(YJb(c)):!1)}if(b){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;ps(b,"","");b.style.height=QS("",!0);var h=bKb(c,e,b,f,d);c=bKb(c,e^1,b,f^1,d);h.height>=
c.height||!d?eKb(b,h):eKb(b,c);a.lastPosition=RS(a.anchor);a.lastBounds=ks(a.root)}};qs.prototype.hide=function(){this.root.style.cssText="";SS(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=EQc;this.lastBounds=FQc};var HQc=new EB;HQc.altKey=!0;HQc.keyCode=39;(new EB).keyCode=13;var IQc=function(){CB.call(this)};Y(IQc,CB);IQc.prototype.init=function(){};new IQc;var JQc=!bs&&!qaa(),KQc=function(a,b){if(/-[a-z]/.test(b))return null;if(JQc&&a.dataset){if(raa()&&!(b in a.dataset))return null;a=a.dataset[b];return void 0===a?null:a}return a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())};var ss=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=fKb(this.root,{});this.navigatable=UJb(c);this.navigationEventHandler=WJb({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=fs(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.hide()};
ss.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=SJb(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(gs(e))}d.stopPropagation();LQc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
ss.prototype.show=function(){for(var a=k(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)};ss.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=k(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
ss.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(gs(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);LQc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var MQc=function(a,b){a.itemSelectedCallbacks.add(b)},NQc=function(a,b){a.afterHideCallbacks.add(b)},LQc=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};ss.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 iKb=function(){return ts('<div peoplekit-id="'+vs("xl07Ob")+'" class="'+vs("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var mKb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=fs(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};g=mKb.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 lKb=function(a){a=a.label;return ts('<button class="'+vs("peoplekitComponentsButtonLabelLabelButton")+'">'+ws(a)+"</button>")};var KKb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=fs(this);this.actionButtons=new Map;this.actionButtons.set(0,b);this.actionButtons.set(1,c);b.onClick=function(){return d.onButtonClick(0)};c.onClick=function(){d.onButtonClick(1)};this.dialog=rs(this.root,"Sx9Kwc");this.startFocusableElement=rs(this.root,"tYwGbe");this.endFocusableElement=rs(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.focusFirstFocusableElement()};g=KKb.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=k(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(gs(a))}};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
g.focusFirstFocusableElement=function(){var a=gKb(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=gKb(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.onButtonClick=function(a){this.dispatchAction(a)};
g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=k(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var JKb=function(a){var b=a.content;a=a.header;return ts('<div peoplekit-id="'+vs("GGAcbc")+'" class="'+vs("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+vs("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+vs("Sx9Kwc")+'" class="'+vs("peoplekitComponentsDialogImplDialog")+'" tabindex="-1">'+(HS(a)?'<div class="'+vs("peoplekitComponentsDialogImplHeader")+'">'+ws(a)+"</div>":"")+'<div class="'+vs("peoplekitComponentsDialogImplContent")+
'">'+ws(b)+'</div><div class="'+vs("peoplekitComponentsDialogImplActions")+'">'+ts(OQc("IbE0S"))+ts('<div class="'+vs("peoplekitComponentsDialogImplActionDivider")+'"></div>')+ts(OQc("McfNlf"))+'</div></div><div peoplekit-id="'+vs("dYgZK")+'" tabindex="0" role="application"></div></div>')},OQc=function(a){return ts('<div peoplekit-id="'+vs(a)+'"></div>')};var tKb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=fs(this);this.dialog=rs(this.root,"Sx9Kwc");this.startFocusableElement=rs(this.root,"tYwGbe");this.endFocusableElement=rs(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=tKb.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};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){27===a.keyCode&&(this.dispatchAction(2),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
g.focusFirstFocusableElement=function(){var a=gKb(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=gKb(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var sKb=function(a){var b=a.content;a=a.header;return ts('<div peoplekit-id="'+vs("GGAcbc")+'" class="'+vs("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+vs("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+vs("Sx9Kwc")+'" class="'+vs("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog">'+(HS(a)?'<div class="'+vs("peoplekitComponentsDialogInfoHeader")+'">'+ws(a)+"</div>":"")+'<div class="'+vs("peoplekitComponentsDialogInfoContent")+
'"><div class="'+vs("peoplekitComponentsDialogInfoDescription")+'">'+ws(b)+'</div></div><div class="'+vs("peoplekitComponentsDialogInfoActions")+'">'+ts('<div peoplekit-id="'+vs("TvD9Pc")+'"></div>')+'</div></div><div peoplekit-id="'+vs("dYgZK")+'" tabindex="0" role="application"></div></div>')},vKb=function(a){a=a.header;return ts('<div class="'+vs("peoplekitComponentsDialogInfoTextHeader")+'">'+ws(a)+"</div>")},PQc=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return ts('<div class="'+
vs("peoplekitComponentsDialogInfoDescription")+'">'+ws(b)+'  <a href="'+vs(joc(c))+'" target="_blank" class="'+vs("peoplekitComponentsDialogInfoLearnMoreLink")+'" peoplekit-id="'+vs("lh87ke")+'">'+ws(a)+"</a></div>")};var oKb=new Map([[0,"peoplekitStyleLegacy"],[1,"peopleKitStyleGm3"]]);var qKb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var BKb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=ts;var h='<div class="'+vs("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+vs(JS(d))+"px; height: "+vs(JS(d))+'px"><div peoplekit-id="'+vs("YLEF4c")+'" class="'+vs("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+vs(JS(d))+"px; height: "+vs(JS(d))+'px">';Array.isArray(b);1===b.length?(Array.isArray(b),b=ts('<div class="'+vs("peoplekitComponentsAvatarImplContainer")+
'">'+V8(b[0],c,d,e,f)+"</div>")):2===b.length?(Array.isArray(b),b=ts('<div class="'+vs("peoplekitComponentsAvatarImplContainer")+'"><div class="'+vs("peoplekitComponentsAvatarImplColumn")+'">'+V8(b[0],c,d,e,f)+"</div>"+W8()+'<div class="'+vs("peoplekitComponentsAvatarImplColumn")+'">'+V8(b[1],c,d,e,f)+"</div></div>")):3===b.length?(Array.isArray(b),b=ts('<div class="'+vs("peoplekitComponentsAvatarImplContainer")+'"><div class="'+vs("peoplekitComponentsAvatarImplColumn")+'">'+V8(b[0],c,d,e,f)+"</div>"+
W8()+'<div class="'+vs("peoplekitComponentsAvatarImplColumn")+'"><div class="'+vs("peoplekitComponentsAvatarImplRow")+'">'+V8(b[1],c,Math.round(.5*d),e,f)+"</div>"+W8()+'<div class="'+vs("peoplekitComponentsAvatarImplRow")+'">'+V8(b[2],c,Math.round(.5*d),e,f)+"</div></div></div>")):(Array.isArray(b),b=ts('<div class="'+vs("peoplekitComponentsAvatarImplContainer")+'"><div class="'+vs("peoplekitComponentsAvatarImplColumn")+'"><div class="'+vs("peoplekitComponentsAvatarImplRow")+'">'+V8(b[0],c,Math.round(.5*
d),e,f)+"</div>"+W8()+'<div class="'+vs("peoplekitComponentsAvatarImplRow")+'">'+V8(b[2],c,Math.round(.5*d),e,f)+"</div></div>"+W8()+'<div class="'+vs("peoplekitComponentsAvatarImplColumn")+'"><div class="'+vs("peoplekitComponentsAvatarImplRow")+'">'+V8(b[1],c,Math.round(.5*d),e,f)+"</div>"+W8()+'<div class="'+vs("peoplekitComponentsAvatarImplRow")+'">'+V8(b[3],c,Math.round(.5*d),e,f)+"</div></div></div>"));b=ts(b);return a(h+b+'</div><div peoplekit-id="'+vs("Btuy5e")+'" class="'+vs("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+ts('<img class="'+vs("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+vs("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},V8=function(a,b,c,d,e){var f='<div peoplekit-id="'+vs("IHgMKc")+'" class="'+vs("peoplekitComponentsAvatarImplImageRoot")+'">',h=joc(Phc(a,c,c,e));h=Xnc(h);a=joc(Phc(a,d,d,e));a=Xnc(a);b=joc(Phc(b,c,c,e));b=Xnc(b);h='<img peoplekit-id="'+vs("HiaYvf")+'" class="'+vs("peoplekitComponentsAvatarImplImage")+'" style="width: '+vs(JS(c))+"px; height: "+vs(JS(c))+
'px;" data-preload-src="'+vs(a)+'" data-src="'+vs(h)+'" data-backup-src="'+vs(b)+'" draggable="false" alt="">';c=ts('<svg xmlns="http://www.w3.org/2000/svg" height="'+vs(c)+'px" viewBox="0 0 24 24" width="'+vs(c)+'px" class="'+vs("peoplekitComponentsAvatarImplDefaultAvatarImage")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z"/></svg>');
return ts(f+(h+c+"</div>"))},W8=function(){return ts('<div class="'+vs("peoplekitComponentsAvatarImplDivider")+'"></div>')};var QQc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var RQc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),SQc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),DKb=function(a,b){this.appearance=b;this.root=a;TQc(this)};g=DKb.prototype;
g.setBadge=function(a){var b=rs(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=RQc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(QQc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=SQc.get(a.badgeType)||"";d=rs(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 TQc=function(a){a=k(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={img$jscomp$10:void 0,src$jscomp$64:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$10=rs(c.imageRoot,"HiaYvf"),b=KQc(c.img$jscomp$10,"preloadSrc"),c.src$jscomp$64=KQc(c.img$jscomp$10,"src"),c.backupSrc=KQc(c.img$jscomp$10,"backupSrc"),zKb(c.src$jscomp$64)?c.img$jscomp$10.src=c.src$jscomp$64:zKb(b)?(c.img$jscomp$10.src=b,Mq(function(d){return function(){d.img$jscomp$10.src=
d.src$jscomp$64}}(c),0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$10.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$10.onerror=function(d){return function(){d.img$jscomp$10.getAttribute("src")===d.backupSrc?(d.img$jscomp$10.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$10.src=d.backupSrc}}(c),c.img$jscomp$10.src=c.src$jscomp$64)};var ys=function(a){this.dialog=a};ys.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};ys.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};ys.prototype.getRoot=function(){return this.dialog.getRoot()};ys.prototype.dispose=function(){this.dialog.dispose()};var X8=function(a){this.delegate=a};g=X8.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 As=function(a,b,c,d,e){this.delegate=a;var f=this;this.appearanceConfig=b;this.clientConfig=c;this.result=d;this.ariaParent=e;this.groupMembers=this.result.getMemberList();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=rs(a.getRoot(),"QL45qe");this.eventHandler=fs(this);this.eventHandler.listen(document,"click",function(h){f.contextMenuContainer.contains(h.target)||UQc(f)});this.eventHandler.listen(document,"keydown",function(h){if(f.contextMenu)f.contextMenu.onKeyDown(new U8(h))})};
Y(As,X8);As.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else X8.prototype.onKeyDown.call(this,a)};
As.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&UQc(this);this.contextMenu=kKb(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(OJb(a));MQc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?VQc(c):WQc(c);break;default:throw Error("hf`"+d.id);}UQc(c)});NQc(this.contextMenu,function(){UQc(c);b()});this.contextMenu.show();
return function(){UQc(c)}};As.prototype.dispose=function(){this.eventHandler.removeAll();X8.prototype.dispose.call(this)};
var VQc=function(a){XQc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=LKb(hKb(a.getRoot()),a.getSelection(),a.appearanceConfig,0);a.hideConfirmationDialog.subscribeToAction(function(b){1===b&&(b=a.getAllIds(),1===a.groupMembers.length&&(b=[a.groupMembers[0].getPrimaryTarget().getId()]),a.dispatcher.notify(1,b));XQc(a)})},XQc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},WQc=function(a){YQc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=xKb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){YQc(a)})},YQc=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},UQc=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var WLb=function(){var a=zs.decoratorTypeOrder,b=zs.getCompatibleTypes,c=zs,d=zs.extractor;this.coreTypeOrder=zs.coreTypeOrder;this.decoratorTypeOrder=a;this.getCompatibleTypes=b;this.container=c;this.extractor=d;this.configurationKey="\ud83c\udf68"};
WLb.prototype.create=function(a){for(var b=this,c=k(this.coreTypeOrder.filter(function(h){var l=b.configurationKey;return b.container.configurations.hasCoreType(h,void 0===l?"\ud83c\udf68":l)})),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.container.getCoreFactory(d),f=void 0;if(null==(f=e)?0:f.shouldCreate(a))return c=void 0,this.extractor(this.decorate(null==(c=e)?void 0:c.create(a),d,a))}throw Error("jf");};
WLb.prototype.decorate=function(a,b,c){var d=this,e,f=null!=(e=this.getCompatibleTypes(b))?e:new Set;return this.decoratorTypeOrder.filter(function(h){var l=d.configurationKey;return d.container.configurations.hasDecoratorType(h,void 0===l?"\ud83c\udf68":l)&&f.has(h)}).map(function(h){return d.container.getDecoratorFactory(h)}).filter(function(h){return null==h?void 0:h.shouldCreate(c)}).reduce(function(h,l){return l.create(c,h)},a)};var Y8=function(){this.core=new Set;this.decorators=new Set};Y8.prototype.addCoreType=function(a){this.core.add(a)};Y8.prototype.addDecoratorType=function(a){this.decorators.add(a)};Y8.prototype.hasCoreType=function(a){return this.core.has(a)};Y8.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var ZQc=function(){this.configurations=new Map};g=ZQc.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new Y8);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new Y8);this.configurations.get(b).addDecoratorType(a)};g.hasCoreType=function(a,b){var c,d;return!!((null==(c=this.configurations.get(b))?0:c.hasCoreType(a))||(null==(d=this.configurations.get("\ud83c\udf68"))?0:d.hasCoreType(a)))};g.hasDecoratorType=function(a,b){var c,d;return!!((null==(c=this.configurations.get(b))?0:c.hasDecoratorType(a))||(null==(d=this.configurations.get("\ud83c\udf68"))?0:d.hasDecoratorType(a)))};
g.clear=function(){this.configurations.clear()};var $Qc=function(){this.core=new Map;this.decorator=new Map};g=$Qc.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 bRc=function(a){var b=this,c=a.coreTypeOrder,d=a.decoratorTypeOrder,e=a.extractor;a=a.getCompatibleTypes;this.configurations=new ZQc;this.factories=new $Qc;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;aRc.set(this,function(){b.configurations.clear();b.factories.clear()})};
bRc.prototype.addCoreFactory=function(a){var b=a.type,c=a.factory;this.configurations.addCoreType(b,void 0===a.configurationKey?"\ud83c\udf68":a.configurationKey);this.factories.addCoreFactory(b,c)};bRc.prototype.addDecoratorFactory=function(a){var b=a.type,c=a.factory;this.configurations.addDecoratorType(b,void 0===a.configurationKey?"\ud83c\udf68":a.configurationKey);this.factories.addDecoratorFactory(b,c)};bRc.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
bRc.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var aRc=new Map;var zs=new bRc({coreTypeOrder:[1,3,2,0],decoratorTypeOrder:[0,1,2],extractor:function(a){return a},getCompatibleTypes:function(a){return 0===a||2===a||3===a?new Set([0,1,2]):new Set}});var xt=function(a){this.internalArray_=m(a)};Y(xt,n);xt.repeatedFields_=[3];var UNb=new Nu(417869137,xt);var Bs=function(){};Bs.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(UNb))?void 0:yo(c,1))?a:null};Bs.prototype.reset=function(){};var iLb=function(a){a=a.memberCount;return(new fO("{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)},hLb=function(a){a=a.memberNames;Array.isArray(a);return a.join(", ")};var cRc=[0,Mu,Lu];var dRc=[0,Mu,-4];var eRc=[0,Mu];var fRc=[0,Mu];var gRc=[0,Mu,xRb];var Hs=function(a){this.internalArray_=m(a)};Y(Hs,n);Hs.prototype.getRequestType=function(){return Qi(this,1,0)};Hs.prototype.setRequestType=function(a){return jj(this,1,a)};var hRc=[0,CRb,99,gRc,[0],[0],dRc,fRc,cRc,hQc,eRc,[0]];var iRc=function(){var a=new Hs,b=new R8;this.experimentFlags_=hj(a,R8,107,b)};iRc.prototype.getExperimentFlags=function(){return this.experimentFlags_};iRc.prototype.getExperimentIds=function(){return[]};var JMb=function(a,b){this.cache=b;this.overriddenExperiments=Gi(a,R8,3)||new R8};JMb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:Gi(a,R8,107))||new R8;a=this.overriddenExperiments;Ki(a,3)&&(a=Li(a,3,!1),$h(b,3,a));return b};JMb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var jRc=function(a){this.internalArray_=m(a)};Y(jRc,n);g=jRc.prototype;g.getCacheStaleSec=function(){return fi(this,4,14400)};g.getCacheExpiredSec=function(){return fi(this,5,1209600)};g.getRpcTimeoutSec=function(){return fi(this,7,60)};g.getApiKey=function(){return ec(this,8,"")};g.setApiKey=function(a){return Zh(this,8,a)};g.getEnableClearcut=function(){return Li(this,13,!0)};g.setEnableClearcut=function(a){return $h(this,13,a)};var HMb=Eda(jRc);var GMb;var kRc=function(){};kRc.prototype.getExperimentFlags=function(){return new Hs};kRc.prototype.getExperimentIds=function(){return[]};var bt=function(){};bt.prototype.prefetch=function(){};bt.prototype.loadExperiments=function(){return new kRc};var Z8=function(a){this.internalArray_=m(a)};Y(Z8,n);Z8.prototype.getVersion=function(){return Zi(this,1)};Z8.prototype.setVersion=function(a){return pj(this,1,a)};Z8.prototype.getVersionOrUndefined=function(){return Iu(this,1)};var $8=function(a){this.internalArray_=m(a)};Y($8,n);g=$8.prototype;g.getApplication=function(){return Qi(this,1,0)};g.setApplication=function(a){return jj(this,1,a)};g.getApplicationOrUndefined=function(){return Ot(this,1)};g.getVersion=function(){return Zi(this,2)};g.setVersion=function(a){return pj(this,2,a)};g.getVersionOrUndefined=function(){return Iu(this,2)};var lRc=function(a){this.internalArray_=m(a)};Y(lRc,n);g=lRc.prototype;g.getRequestType=function(){return Qi(this,1,0)};g.setRequestType=function(a){return jj(this,1,a)};g.getProfileId=function(){return ec(this,2)};g.getProfileId_legacyNullable=function(){return wj(this,2)};g.setProfileId=function(a){return Zh(this,2,a)};g.hasProfileId=function(){return Ni(this,2)};g.getCaller=function(){return Gi(this,Z8,3)};g.setCaller=function(a){return hj(this,Z8,3,a)};
g.getInstanceId=function(){return ec(this,4)};g.setInstanceId=function(a){return Zh(this,4,a)};g.clearInstanceId=function(){lp(this,4)};g.hasInstanceId=function(){return Ni(this,4)};g.getInstanceIdOrUndefined=function(){return Ju(this,4)};g.getClient=function(){return Gi(this,$8,5)};g.setClient=function(a){return hj(this,$8,5,a)};g.hasClient=function(){return Ui(this,$8,5)};var Es=function(a){this.internalArray_=m(a)};Y(Es,n);Es.prototype.getErrorType=function(){return Qi(this,2,1)};Es.prototype.setErrorType=function(a){return jj(this,2,a)};Es.prototype.getErrorMessage=function(){return ec(this,3)};Es.prototype.setErrorMessage=function(a){Zh(this,3,a)};var Gs=function(a){this.internalArray_=m(a)};Y(Gs,n);g=Gs.prototype;g.getExperimentFlags=function(){return Gi(this,Hs,1)};g.setExperimentFlags=function(a){return hj(this,Hs,1,a)};g.hasExperimentFlags=function(){return Ui(this,Hs,1)};g.getError=function(){return Gi(this,Es,2)};g.setError=function(a){hj(this,Es,2,a)};g.hasError=function(){return Ui(this,Es,2)};g.getSource=function(){return Qi(this,3,0)};g.setSource=function(a){return jj(this,3,a)};g.hasSource=function(){return Oi(this,3)};
g.getSourceOrUndefined=function(){return Ot(this,3)};g.getInstanceId=function(){return ec(this,4)};g.setInstanceId=function(a){return Zh(this,4,a)};g.clearInstanceId=function(){lp(this,4)};g.hasInstanceId=function(){return Ni(this,4)};g.getInstanceIdOrUndefined=function(){return Ju(this,4)};g.getExperimentIdsList=function(a){return ii(this,5,hi(a))};g.setExperimentIdsList=function(a){return Ip(this,5,a)};g.getExperimentIds=function(){return Fu(this,5)};g.setExperimentIds=function(a){Ku(this,5,a)};
Gs.repeatedFields_=[5];var mRc=function(a,b){this.client_=a;this.runtime_=b;PKb();this.apiKey_=a.getApiKey();this.apiRoot_=ec(this.client_,10)||zQa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};mRc.prototype.getClient=function(){return this.client_};mRc.prototype.getApiKey=function(){return this.apiKey_};var a9=function(a){this.internalArray_=m(a)};Y(a9,n);g=a9.prototype;g.getExperimentFlags=function(){return Gi(this,Hs,1)};g.setExperimentFlags=function(a){return hj(this,Hs,1,a)};g.hasExperimentFlags=function(){return Ui(this,Hs,1)};g.getObfuscatedGaiaId=function(){return wj(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return wj(this,2)};g.setObfuscatedGaiaId=function(a){Zh(this,2,a)};g.getExperimentIdsList=function(a){return ii(this,3,hi(a))};
g.setExperimentIdsList=function(a){return Ip(this,3,a)};g.getExperimentIds=function(){return Fu(this,3)};g.setExperimentIds=function(a){Ku(this,3,a)};var nRc=gc(a9);a9.repeatedFields_=[3];var oRc=[0,hRc,BRb,yRb];var pRc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},qRc=function(a,b,c){a=a.now_()-1E3*c;return b>a};pRc.prototype.getCacheState=function(a){var b=fi(this.clientConfig_.getClient(),3,1800);if(qRc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(qRc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return qRc(this,a,b)?3:4};var rRc=function(a){this.internalArray_=m(a)};Y(rRc,n);g=rRc.prototype;g.getExperiments=function(){return Gi(this,a9,2)};g.setExperiments=function(a){return hj(this,a9,2,a)};g.hasExperiments=function(){return Ui(this,a9,2)};g.getInstanceId=function(){return ec(this,4)};g.setInstanceId=function(a){return Zh(this,4,a)};g.clearInstanceId=function(){lp(this,4)};g.hasInstanceId=function(){return Ni(this,4)};g.getInstanceIdOrUndefined=function(){return Ju(this,4)};
var sRc=[0,BRb,oRc,xRb,BRb],tRc=Dda(rRc,sRc),uRc=function(a){return function(b){var c=new iRb;pda(b.internalArray_,c,Zb(a));return Waa(jRb(c))}}(sRc);var Fs=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};Y(Fs,Error);var vRc=new Fs(6);var wRc=function(){};var b9=function(){};hu(b9,wRc);b9.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};b9.prototype[Symbol.iterator]=function(){return L8b(this.__iterator__(!0)).toEs6()};b9.prototype.clear=function(){var a=Array.from(this);a=k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var xRc=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null};hu(xRc,b9);g=xRc.prototype;g.set=function(a,b){c9(this);try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};g.get=function(a){c9(this);a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){c9(this);this.storage_.removeItem(a)};
g.getCount=function(){c9(this);return this.storage_.length};g.__iterator__=function(a){c9(this);var b=0,c=this.storage_,d=new TF;d.next=function(){if(b>=c.length)return K8b;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};g.clear=function(){c9(this);this.storage_.clear()};g.key=function(a){c9(this);return this.storage_.key(a)};
var c9=function(a){if(null==a.storage_)throw Error("kf");var b;(null!=(b=a.cachedIsStorageAvailable_)?b:a.cachedIsStorageAvailable_=$Kb(a.storage_))||fa(Error("kf"))},$Kb=function(a){if(!a)return!1;try{return a.setItem("__sak","1"),a.removeItem("__sak"),!0}catch(b){return b instanceof DOMException&&("QuotaExceededError"===b.name||22===b.code||1014===b.code||"NS_ERROR_DOM_QUOTA_REACHED"===b.name)&&a&&0!==a.length}};var WKb=function(){var a=null;try{a=da.localStorage||null}catch(b){}xRc.call(this,a)};hu(WKb,xRc);var Ds=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};hu(Ds,b9);Ds.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};Ds.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};Ds.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
Ds.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new TF;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 TKb=["PeopleStackExperiments"],Js=function(a,b){b=void 0===b?new WKb:b;this.clientConfig_=a;this.transformer_=new pRc(this.clientConfig_);this.localStorage_=b;this.storage_=new Ds(this.localStorage_,"pse/591286274")};Js.prototype.set=function(a,b){var c=SKb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw vRc;var d=new rRc;b=Zh(d,1,c).setExperiments(b);d=Date.now();a=pj(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,yca(uRc(a)));return c};
Js.prototype.get=function(a){a=SKb(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=yRc(a);if(a&&4!==this.transformer_.getCacheState(Zi(a,3))){var b=this.transformer_,c;var d={keyPath:ec(a,1),experiments:null!=(c=a.getExperiments())?c:new a9,lastUpdated:new Date(Zi(a,3)),state:b.getCacheState(Zi(a,3)),instanceId:a.getInstanceId()}}else d=null;return d};var yRc=function(a){if(!a)return null;try{return tRc(a)}catch(b){return null}};
Js.prototype.delete=function(a){this.storage_.remove(a);return!0};Js.prototype.clean=function(){var a=[].concat(u(this.storage_));a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,4!==zRc(this,b)&&0!==zRc(this,b)||this.delete(b);a=k(UKb(this.localStorage_));for(b=a.next();!b.done;b=a.next())b.value.clear()};var zRc=function(a,b){return b&&(b=yRc(a.storage_.get(b)),null==b?0:Yi(b,3))?a.transformer_.getCacheState(Zi(b,3)):0};var Ks=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new pRc(this.clientConfig_);this.cache_=b};Ks.prototype.set=function(a,b){var c=SKb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw vRc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
Ks.prototype.get=function(a){a=SKb(a);if(!a)return null;a=this.cache_.get(a);if(!a)return null;var b=this.transformer_.getCacheState(a.lastUpdated.getTime());if(4===b)return null;a.state=b;return a};Ks.prototype.delete=function(a){this.cache_.delete(a);return!0};Ks.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var ARc=function(){};g=ARc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var BRc=function(a){this.internalArray_=m(a)};Y(BRc,n);g=BRc.prototype;g.getCaller=function(){return Gi(this,Z8,1)};g.setCaller=function(a){return hj(this,Z8,1,a)};g.getClient=function(){return Gi(this,$8,2)};g.setClient=function(a){return hj(this,$8,2,a)};g.hasClient=function(){return Ui(this,$8,2)};var CRc=function(a){this.internalArray_=m(a)};Y(CRc,n);g=CRc.prototype;g.getRequestType=function(){return Qi(this,1,0)};g.setRequestType=function(a){return jj(this,1,a)};g.setProperties=function(a){return hj(this,BRc,3,a)};g.getInstanceId=function(){return ec(this,4)};g.setInstanceId=function(a){return Zh(this,4,a)};g.clearInstanceId=function(){lp(this,4)};g.hasInstanceId=function(){return Ni(this,4)};g.getInstanceIdOrUndefined=function(){return Ju(this,4)};var DRc=new eD("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",CRc,a9,function(a){return a.serialize()},nRc);var ERc=function(a){this.client_=new GD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};ERc.prototype.getExperimentFlags=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},DRc)};var FRc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new ARc};FRc.prototype.getMetric=function(){return this.metric_};FRc.prototype.send=function(a){var b=this,c;return me(function(d){var e=(new BRc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new CRc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
FRc.prototype.close=function(){};FRc.prototype.processResponse=function(a){return a};var GRc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var HRc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new GRc;this.rpcPromise_=null;this.state_=0};g=HRc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return 1===this.state_};g.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=S0b(new eC),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=yQa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=b1b(V0b([b,k1b(1E3*this.config_.timeoutSec,"TIMEOUT")]),function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
g.onResponse_=function(a){if(a&&"TIMEOUT"!==a){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}this.resolver_.resolve(b);this.request_.close(0)}else this.onError_(a)};
g.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof eC?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=Cp("result.error.code",a)||a.status,c=Number(c),c=Ylc.has(c)?Ylc.get(c):200<=c&&300>c?0:400<=c&&500>c?9:500<=c&&600>c?13:2,2!==c||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0))):c=2;!this.config_.authErrorHandler||16!==c&&7!==c||this.config_.authErrorHandler();this.resolver_.reject(c);this.request_.close(c,b)};var IRc=Symbol("lf"),JRc=function(){};JRc.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[IRc]=d)}return c})};var KRc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};KRc.prototype.getMetric=function(){return this.metric_};KRc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
KRc.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[IRc]||0}};KRc.prototype.close=function(a,b){b=void 0===b?0:b;this.request_.close(a,b);this.metric_.stop("total");this.metric_.status(a,b,this.contentLength_)};var LRc=function(a){this.config_=a;this.pendingRpcs_=new Set},NRc=function(a,b){b=new KRc(b);b=new HRc(a.config_,b);a.pendingRpcs_.add(b);MRc(a,b);return b.resultPromise()},MRc=function(a,b){me(function(c){if(1==c.nextAddress)return ne(c,2,3),oe(c,b.send(),3);if(2!=c.nextAddress)return pe(c),a.pendingRpcs_.delete(b),qe(c,0);re(c);return c.jumpTo(3)})};var YKb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new LRc(a);this.rpcClient_=new ERc(this.clientConfig_.apiRoot_)},PRc=function(a,b){var c,d,e,f;return me(function(h){switch(h.nextAddress){case 1:var l=ORc(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new FRc(b,a.rpcClient_);ne(h,2,3);e=NRc(a.dispatcher_,d);l=ORc(b);a.inflightRequests_.set(l,
e);return oe(h,e,5);case 5:return f=h.yieldResult,h.return(f);case 3:pe(h);l=ORc(b);a.inflightRequests_.delete(l);qe(h,0);break;case 2:throw re(h),Error("mf");}})},ORc=function(a){a=RKb(a);if(!a)throw vRc;return a};var QRc=function(a){this.internalArray_=m(a)};Y(QRc,n);g=QRc.prototype;g.getInstanceId=function(){return ec(this,1)};g.setInstanceId=function(a){return Zh(this,1,a)};g.clearInstanceId=function(){lp(this,1)};g.hasInstanceId=function(){return Ni(this,1)};g.getInstanceIdOrUndefined=function(){return Ju(this,1)};g.getRequestId=function(){return ec(this,2)};g.getRequestType=function(){return Qi(this,4,0)};g.setRequestType=function(a){return jj(this,4,a)};g.getSourceType=function(){return Qi(this,6,0)};
g.setSourceType=function(a){return jj(this,6,a)};g.getClient=function(){return Qi(this,7,0)};g.setClient=function(a){return jj(this,7,a)};g.hasClient=function(){return Oi(this,7)};g.getErrorType=function(){return Qi(this,8,0)};g.setErrorType=function(a){return jj(this,8,a)};var ZKb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=Kt(new Lt,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(621560975).setEnableClearcut(b.getEnableClearcut())};g=ZKb.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Te");};g.createStatusMetric=function(){throw Error("Te");};g.createErrorMetric=function(){throw Error("Te");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());pj(a,3,b);return a};var RRc=function(a,b){this.metrics_=a;this.state_=new jS(b);this.label_="total";this.source=b};RRc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};RRc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var aLb=function(a,b){this.worker_=a;this.metrics_=et(b)},SRc=function(a,b){var c=new QRc,d=PKb();c=Zh(c,2,d).setRequestType(a.getRequestType());return jj(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
aLb.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,f,h;return me(function(l){if(1==l.nextAddress)return d=SRc(a,b),e=new RRc(c.metrics_,d),e.start(),oe(l,c.worker_.updateExperimentsCache(a,b),2);f=l.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return l.return(f)})};
aLb.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=SRc(a,b),d=new RRc(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);c.setSourceType(a.getSourceOrUndefined());c.setInstanceId(a.getInstanceIdOrUndefined());(b=a.getError())&&c.setErrorType(b.getErrorType());d.stop();return a};var TRc=function(a){this.timer=a;this.count=0},cLb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*fi(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new es(this)};cLb.prototype.updateExperimentsCache=function(a,b){try{return URc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(Is(c))}};cLb.prototype.getCachedExperiments=function(a,b){try{return URc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return Is(c)}};
var URc=function(a,b){var c=RKb(b);if(!c)throw new Fs(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new fC(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=fi(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new TRc(d))}a.refreshers_.get(c)};var VRc=function(){},bLb=function(a,b){this.cache_=a;this.loader_=b};
bLb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return me(function(l){if(1==l.nextAddress){e=d=null;try{d=WRc(c,a)}catch(B){e=B}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));ne(l,3);return oe(l,XRc(c,a),5)}if(3!=l.nextAddress){f=l.yieldResult;var q=l.return,t=f,w=e;w=void 0===w?null:w;t=(new Gs).setExperimentFlags(t.getExperimentFlags()).setExperimentIdsList(t.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());w&&t.setError(VKb(w));
return q.call(l,t)}h=re(l);return l.return(Is(h))})};bLb.prototype.getCachedExperiments=function(a){try{var b=WRc(this,a);if(b){var c=(new Gs).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&XRc(this,a).catch(VRc);return c}XRc(this,a).catch(VRc);return Is()}catch(d){return Is(d)}};
var WRc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof Fs)throw d;throw new Fs(3);}},XRc=function(a,b){var c,d;return me(function(e){if(1==e.nextAddress)return ne(e,2),b.hasInstanceId()||b.setInstanceId(PKb()),oe(e,PRc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=re(e);if(d instanceof Fs)throw d;throw new Fs(2);})};var XKb;var YRc=function(a){this.clientConfig_=a;this.worker_=dLb(this.clientConfig_)};YRc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var ct=function(){this.peopleApiEnv_=4};ct.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};ct.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var ZRc=function(a,b){this.client_=a;this.request_=b;this.response_=null};ZRc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};ZRc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList(zi)};var IMb=function(a,b){this.clientConfig_=a;this.requestType_=b};IMb.prototype.prefetch=function(a){var b=new mRc(this.clientConfig_,new ct);a=$Rc(this,a,"");dLb(b).updateExperimentsCache(a,2)};IMb.prototype.loadExperiments=function(a,b,c){var d=new mRc(this.clientConfig_,b),e=$Rc(this,a,c);dLb(d).updateExperimentsCache(e,2);b=new YRc(new mRc(this.clientConfig_,b));a=$Rc(this,a,c);return new ZRc(b,a)};var $Rc=function(a,b,c){var d=new Z8;b=(new $8).setApplication(b);return(new lRc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var Ls=new JMb(new S8,new iRc);var gLb=is.getInstance();var kLb=is.getInstance();var aSc=new Iz(DO.WEEKDAY_MONTH_DAY_MEDIUM),bSc=new Iz(7);new Iz(DO.WEEKDAY_MONTH_DAY_MEDIUM);var cSc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var dSc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return ts('<div class="'+vs("peoplekitComponentsTagTag")+" "+(a?vs(a):"")+'" peoplekit-id="'+vs("mQXP")+'">'+(HS(b)?'<img class="'+vs("peoplekitComponentsTagIcon")+'" src="'+vs(loc(b))+'" alt="'+vs(c)+'"><div'+(d?"":' class="'+vs("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+vs("peoplekitComponentsTagText")+'">'+ws(c)+"</div></div>":'<div class="'+vs("peoplekitComponentsTagText")+'">'+ws(c)+"</div>")+
"</div>")};var mLb=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;eSc(this,{tags:d});BJb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){eSc(h,l)})};g=mLb.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("of");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=rs(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("nf");var c=null!=c?c:a.getCurrentStatusEndTime();a=new Date(Date.now());c=a.getYear()===c.getYear()&&a.getMonth()===c.getMonth()&&a.getDate()===c.getDate()?"Out of office - back at "+bSc.format(c):"Out of office - back on "+aSc.format(c);$B(b,String(c));this.root.classList.add("isOutOfOffice")}else $B(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:cSc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=rs(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Np(dSc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var eSc=function(a,b){for(var c=k(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};mLb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};mLb.prototype.dispose=function(){};var qLb=function(a,b,c,d,e){this.delegate=nLb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new DQc(tt)};Y(qLb,X8);qLb.prototype.getAllIds=function(){return[this.id]};qLb.prototype.getSelection=function(){return this.selection};var fSc=function(a,b,c,d,e,f,h,l){d=void 0===d?"":d;e=void 0===e?!1:e;return ts('<div role="option" class="'+vs("peoplekitComponentsResultlistitemResultListItem")+" "+vs(d)+'" id="'+vs(a)+'" peoplekit-id="'+vs(a)+'" aria-disabled="'+vs(e)+'" aria-selected="false"><div class="'+vs("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+vs("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+vs(b)+'" data-name="'+vs(xs(c))+'">'+ws(f)+'</div><div class="'+vs("peoplekitComponentsResultlistitemCenter")+
'">'+ws(h)+'</div><div class="'+vs("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+vs("QChpEe")+'">'+ws(l)+'</div></div><div peoplekit-id="'+vs("Z306Oe")+'" class="'+vs("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+vs("QL45qe")+'"></div></div>')},gSc=function(a,b,c,d){return ts('<div class="'+vs("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+vs("peoplekitComponentsResultlistitemLabel")+" "+vs("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+vs("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+vs(b)+'" data-name="'+vs(xs(a))+'" translate="no">'+ws(xs(a))+'</div><div peoplekit-id="'+vs("x00ATb")+'" class="'+vs("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+vs("peoplekitComponentsResultlistitemSublabel")+" "+vs("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+vs("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+vs(b)+'" data-name="'+vs(xs(a))+
'"'+(d?"":' translate="no"')+">"+ws(xs(c))+"</div></div>":"")+"</div>")},hSc=function(a){return ts('<div class="'+vs("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+vs("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+vs("d6MZcd")+'"></div>'+(HS(a)?ws(a):"")+"</div>")},iSc=function(){var a=ts,b=ts,c='<div class="'+vs("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+vs("peoplekitComponentsResultlistitemWhiteCheck")+'">';var d=ts('<svg viewBox="0 0 24 24" class="'+
(vs("peoplekitComponentsResultlistitemWhiteCheckSvg")+'"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>'));return a(hSc(b(c+d+"</div></div>")))},jSc=function(){return ts('<img class="'+vs("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+vs("SC3Htd")+'" alt="" src=""/>')};var pLb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return ts(fSc(a.id,b,c,"isDisabled "+a.densityClass,!0,ts(""+hSc()),ts(""+gSc(c,b,d,f)),ts('<div class="'+vs("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+ws(e)+"</div>")))},oLb=function(){var a=ts,b='<div class="'+vs("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+vs(". Already selected")+'">';var c=ts('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(vs("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 a(b+c+"</div>")};var Ps=function(a){this.delegate=a;var b=this;this.eventHandler=fs(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};Y(Ps,X8);Ps.prototype.onClick=function(){this.toggleSelection()};var uLb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("pf");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new xQc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=uLb.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return[this.target]};
g.result=function(){return this.internalResult};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var Qs=function(a,b,c,d,e,f){this.delegate=nLb(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new DQc(tt)};Y(Qs,X8);Qs.prototype.getAllIds=function(){return[this.id]};Qs.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=vLb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(MJb("pcw-select",this.root))};Qs.prototype.getSelection=function(){return this.selection};var xLb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ts(fSc(a.id,b,c,a.densityClass,void 0,ts(""+hSc()),ts(""+gSc(c,b,d,e)),ts(""+jSc())))};var Ss=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&kSc(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){kSc(c,d)};lSc(this.selectionsState,this.onDeselectionCallback);mSc(this.selectionsState,this.onSelectionCallback)};Y(Ss,X8);
Ss.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=MJb("pcw-deselect",a)}else a=this.getRoot(),a=MJb("pcw-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var kSc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};Ss.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var Rs=function(a,b,c,d,e,f,h){this.delegate=nLb(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||vLb(b,b.getDisplayName())};Y(Rs,X8);Rs.prototype.onContextMenu=function(a,b){Cs(this.clientConfig.internal)&&a.preventDefault();return X8.prototype.onContextMenu.call(this,a,b)};Rs.prototype.getAllIds=function(){return[this.id]};Rs.prototype.getSelection=function(){return this.selection};var ALb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ts(fSc(a.id,b,c,a.densityClass,void 0,ts(""+iSc()),ts(""+gSc(c,b,d,e)),ts(""+jSc())))};var Ts=function(a,b,c,d,e,f,h){this.delegate=nLb(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||vLb(b)};Y(Ts,X8);Ts.prototype.onContextMenu=function(a,b){Cs(this.clientConfig.internal)&&a.preventDefault();return X8.prototype.onContextMenu.call(this,a,b)};Ts.prototype.getAllIds=function(){return[this.id]};Ts.prototype.getSelection=function(){return this.selection};var DLb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ts(fSc(a.id,b,c,a.densityClass,void 0,ts(""+iSc()),ts(""+gSc(c,b,d,e)),ts(""+jSc())))};var nSc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var KLb=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=fs(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(l){var q;null==(q=h.onClick)||q.call(h,l)});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=KLb.prototype;
g.getRoot=function(){return this.root};g.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};g.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};
g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip.tooltipEventTracker;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,document.body.removeEventListener("keydown",a.tooltipKeydownHandler))}};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 oSc=0;var GLb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+oSc++:"")?' data-tooltip-id="'+vs(a)+'" aria-labelledby="'+vs(a)+'"':c?' aria-label="'+vs(c)+'"':"";d+='<button class="'+vs("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+ts('<span><img src="'+vs(loc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+vs("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return ts(d)};var Us=function(a,b,c){var d=this;this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.tooltipKeydownHandler=function(e){if(!d.anchor)throw Error("rf");if("Escape"===e.key){var f=document.activeElement;f&&d.tooltip.contains(f)&&d.anchor.focus();d.hideTooltip();e.stopPropagation()}};this.eventHandler=fs(this)};
Us.prototype.showTooltip=function(){if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;null==(a=this.showCallback)||a.call(this);pSc(this);document.body.addEventListener("keydown",this.tooltipKeydownHandler)}};Us.prototype.hideTooltip=function(){if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;null==(a=this.hideCallback)||a.call(this);qSc(this);document.body.removeEventListener("keydown",this.tooltipKeydownHandler)}};Us.prototype.isDisplayed=function(){return this.displayed};
Us.prototype.getAnchorElement=function(){return this.anchor};
var rSc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},vSc=function(a,b){if(a.anchor)throw Error("qf");a.anchor=b;sSc(a);tSc(a);uSc(a)},wSc=function(a){qSc(a);pSc(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},xSc=function(a){qSc(a);pSc(a);a.hideTimeout=setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},sSc=function(a){if(!a.anchor)throw Error("rf");a.eventHandler.listen(a.anchor,"mouseenter",function(){a.isDisplayed()?a.showTooltip():
wSc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){wSc(a)});a.eventHandler.listen(a.anchor,"focus",function(b){a.tooltip.contains(b.relatedTarget)||wSc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){pSc(a)});a.eventHandler.listen(a.anchor,"mouseleave",function(){xSc(a)});a.eventHandler.listen(a.anchor,"blur",function(){a.hideTooltip()})},tSc=function(a){a.eventHandler.listen(a.tooltip,"mouseenter",function(){wSc(a)});a.eventHandler.listen(a.tooltip,"mouseleave",function(){xSc(a)});
a.eventHandler.listen(a.tooltip,"focusout",function(b){b=b.relatedTarget;var c,d=!(null==(c=a.anchor)||!c.contains(b));a.tooltip.contains(b)||d||a.hideTooltip()})},uSc=function(a){a.eventHandler.listen(window,"touchmove",function(){xSc(a)});a.eventHandler.listen(window,"focus",function(b){b.target!==a.anchor&&xSc(a)});a.eventHandler.listen(window,"blur",function(b){b.target===window&&a.hideTooltip()})},pSc=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},qSc=function(a){clearTimeout(a.hideTimeout);
a.hideTimeout=void 0};var ILb=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=fKb(this.tooltip,{anchorCorner:3,popupCorner:2})},JLb=function(a,b){vSc(a.tooltipEventTracker,b);rSc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=ILb.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.getAnchorElement())};g.hideTooltipCallback=function(){this.popupService.hide()};var HLb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return ts('<div id="'+vs(a.id)+'" peoplekit-id="'+vs("suEOdc")+'" class="'+vs("peoplekitComponentsTooltipImplTooltip")+(d?" "+vs(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+vs(c)+'"':"")+(HS(e)?foc(GS(e,Qnc)?e.getContent():qoc(e)):"")+">"+ws(b)+"</div>")};var MLb=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=rs(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=LLb(e,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&&EF(this.buttonRoot,"menuitem");ds({element:this.buttonRoot,veid:163534,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.secondaryActionButton.onClick=function(f){var h;null==(h=c.onClick)||h.call(c,f);d.buttonRoot.dispatchEvent(gs(d.buttonRoot))};this.eventHandler=fs(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};Y(MLb,X8);g=MLb.prototype;g.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};
g.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
g.onKeyDown=function(a){var b=13===a.event.keyCode,c=b&&a.event.platformModifierKey;if(this.secondaryActionConfig.disableDomNavigation){var d=9===a.event.keyCode;!d||a.event.shiftKey||this.secondaryActionButton.isActive()?d&&this.secondaryActionButton.isActive()&&(this.secondaryActionButton.deactivate(),FF(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),FF(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();X8.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 ySc={LIGHT_THEME:"https://www.gstatic.com/people/peoplekit/icons/light_theme/visibility_grey700.svg",DARK_THEME:"https://www.gstatic.com/people/peoplekit/icons/dark_theme/visibility_grey300.svg"},zSc=nSc({shortcutKey:"Ctrl"}),ASc=nSc({shortcutKey:"\u2318"}),OLb=function(a,b,c,d){var e=0===b.getTheme()?ySc.LIGHT_THEME:ySc.DARK_THEME,f=waa()?ASc:zSc;X8.call(this,NLb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:f,onClick:function(l){h.onButtonClick(l)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};Y(OLb,X8);OLb.prototype.onButtonClick=function(a){BSc(this);a.stopPropagation()};
var BSc=function(a){a.unhideConfirmationDialog&&CSc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=LKb(hKb(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());CSc(a)})},CSc=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var VLb=!1,YLb=new Map([[1,TLb()],[4,TLb()],[5,ULb(1)],[6,ULb(2)],[2,function(a){return SLb(RLb(ELb(a),a),a)}],[3,function(a){return RLb(yLb(a),a)}]]);var hMb=function(a,b,c,d,e,f,h,l){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=l;this.results=[];this.intelligentCollection=f.create();this.navigatable=new vQc(new TJb(this.results))};g=hMb.prototype;g.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b,e=this.selectionsState,f=this.resultConfig,h=this.appearanceConfig,l=this.clientConfig,q=TS(this.list.getRoot()),t=this.interactions,w=this.ariaParent;c=gQc()?XLb(c,d,e,f,h,l,q,t,w):ZLb(c,d,e,f,h,l,q,t,w);this.list.append(c.getRoot());this.register(c)}};
g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=k(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};g.reset=function(){this.navigatable.reset()};g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.results};var d9=function(a){this.delegate=a};g=d9.prototype;g.getHeader=function(){return this.delegate.getHeader()};g.getActionItems=function(){return this.delegate.getActionItems()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};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.getSelection=function(){return this.delegate.getSelection()};
g.toggleSelection=function(){this.delegate.toggleSelection()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var DSc=function(a){var b=a.id,c=a.groupName;a=a.classes;return ts('<div class="'+vs("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+vs(a):"")+'" peoplekit-id="'+vs("wgPSWd")+'" id="'+vs(b)+'" aria-expanded="false" role="menuitem" aria-label="'+vs("To expand "+c+" group, press enter")+'"><svg class="'+vs("peoplekitComponentsGroupingHeaderCollapsibleChevron")+'" viewBox="0 0 24 24" height="24" width="24"><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>')},
ESc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var Vs=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=fs(this);this.chevron=Np(DSc,{id:as(is.getInstance()),groupName:this.getHeader(),classes:"TdcT2c"});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.chevron.classList.add("isSpotlit")},unfocus:function(){d.chevron.classList.remove("isSpotlit")},onKeyDown:function(e){13===e.event.keyCode&&(d.toggleView(),e.stopPropagation())}});
this.eventHandler.listen(this.getRoot(),"click",this.toggleView);rs(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),FF(this.chevron,"expanded",!0),m8b(this.chevron,ESc({groupName:this.getHeader(),action:"collapse"})))};Y(Vs,d9);Vs.prototype.getActionItems=function(){return this.groupingHeaderActionItems};Vs.prototype.dispose=function(){this.eventHandler.removeAll();d9.prototype.dispose.call(this)};
Vs.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";FF(this.chevron,"expanded",!this.isCollapsed);m8b(this.chevron,ESc({groupName:this.getHeader(),action:a}))};var FSc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return ts('<div class="'+vs("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+vs(a):"")+'" peoplekit-id="'+vs("CLghmc")+'" id="'+vs(b)+'" aria-label="'+vs(c)+'"><svg class="'+vs("peoplekitComponentsGroupingHeaderInfoInfoIcon")+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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 HSc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=Np(FSc,{id:as(is.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});rs(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);void 0!==this.infoGroupingHeaderVeIds.infoIconVeId&&ds({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=fs(this);this.eventHandler.listen(this.infoIcon,"click",function(){GSc(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){13===f.event.keyCode&&(GSc(e),f.stopPropagation(),f.preventDefault())}})};Y(HSc,d9);
var GSc=function(a){a.infoIcon.dispatchEvent(gs(a.infoIcon));var b=vKb({header:a.infoGroupConfig.infoDialogHeader}),c=PQc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=hKb(a.getRoot()),f=uKb(e,c,a.appearanceConfig,b),h=rs(f.getRoot(),"lh87ke");void 0!==a.infoGroupingHeaderVeIds.learnMoreLinkVeId&&ds({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(gs(h))});f.subscribeToAction(function(l){2===l&&(f.dispose(),d&&d.focus())})};HSc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};HSc.prototype.dispose=function(){this.eventHandler.removeAll();d9.prototype.dispose.call(this)};var aMb=function(a,b){this.root=a;this.header=b};g=aMb.prototype;g.getHeader=function(){return this.header};g.getActionItems=function(){return[]};g.dispose=function(){};g.getRoot=function(){return this.root};g.activate=function(){};g.deactivate=function(){};g.spotlight=function(){};g.unspotlight=function(){};g.getSelection=function(){throw Error("of");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var $Lb=function(a){var b=ts;var c=a.id;a=a.header;c=ts('<div class="'+vs("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+vs(c)+'" peoplekit-id="'+vs("XLuqBd")+'" role="menu"><div class="'+vs("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+vs("peoplekitComponentsGroupingHeaderHeader")+'">'+ws(a)+'</div><div class="'+vs("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+vs("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+vs("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+vs("xiK4Cd")+'"></div><div class="'+vs("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+vs("QChpEe")+'"></div></div></div></div></div>');return b(c)};var ISc=function(a){this.delegate=a};Y(ISc,d9);ISc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};ISc.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
ISc.prototype.onKeyDown=function(a){if(void 0!==this.activeActionItemIndex){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()}}};var e9=function(a){this.delegate=a};g=e9.prototype;g.append=function(a){this.delegate.append(a)};g.isInteractive=function(){return this.delegate.isInteractive()};g.getGroupName=function(){return this.delegate.getGroupName()};g.getHeader=function(){return this.delegate.getHeader()};g.getItems=function(){return this.delegate.getItems()};g.getRoot=function(){return this.delegate.getRoot()};g.dispose=function(){this.delegate.dispose()};var Ys=function(a,b){this.delegate=a;var c=this;this.listContainer=rs(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("tf");this.collapsibleHeader=cMb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});rs(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};Y(Ys,e9);Ys.prototype.isInteractive=function(){return!0};Ys.prototype.getHeader=function(){return this.collapsibleHeader};
Ys.prototype.dispose=function(){this.collapsibleHeader.dispose();e9.prototype.dispose.call(this)};Ys.prototype.interactionListener=function(a){a?(this.listContainer.classList.add("collapsed"),this.listContainer.style.height=""):(this.listContainer.classList.remove("collapsed"),this.listContainer.style.height=this.listContainer.scrollHeight+"px")};var Xs=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("uf");var d={};1===b.infoType&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new HSc(a,b,c,d)};Y(Xs,e9);Xs.prototype.isInteractive=function(){return!0};Xs.prototype.getHeader=function(){return this.infoHeader};Xs.prototype.dispose=function(){this.infoHeader.dispose();e9.prototype.dispose.call(this)};var Ws=function(a,b){this.delegate=a;this.groupName=b;this.header=bMb(b);rs(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};Y(Ws,e9);Ws.prototype.getGroupName=function(){return this.groupName};Ws.prototype.getHeader=function(){return this.header};Ws.prototype.dispose=function(){this.header.dispose();e9.prototype.dispose.call(this)};var JSc=function(a){this.root=a;this.items=[];this.list=GJb(rs(a,"tjneg"))};g=JSc.prototype;g.append=function(a){this.items.push(a);this.list.append(a.getRoot())};g.isInteractive=function(){return!1};g.getGroupName=function(){return""};g.getHeader=function(){};g.getItems=function(){return this.items};g.getRoot=function(){return this.root};g.dispose=function(){for(var a=k(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var KSc=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=rs(this.getRoot(),"tjneg");var e,f;this.isCollapsed=null!=(f=null==(e=this.resultListGroupConfig.collapsibleGroupConfig)?void 0:e.isInitiallyCollapsed)?f:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new ISc(this.header),this.navigatable.insert(this.navigatable.size(),[this.header],!1));this.mutationObserver=new MutationObserver(function(h){d.onMutation(h)});
this.mutationObserver.observe(this.listContainer,{attributes:!0})};Y(KSc,e9);g=KSc.prototype;g.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);e9.prototype.append.call(this,a)};g.getHeader=function(){return this.header};g.dispose=function(){this.mutationObserver.disconnect();e9.prototype.dispose.call(this)};g.getItems=function(){return this.isCollapsed?[]:e9.prototype.getItems.call(this)};
g.onMutation=function(a){if(this.header){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,"attributes"===b.type&&"class"===b.attributeName&&(b.target.classList.contains("collapsed")?(this.navigatable.remove(this.getItems(),!1),this.isCollapsed=!0):(this.isCollapsed=!1,b=this.navigatable.getIndexOf(this.header),this.navigatable.insert(b+1,this.getItems(),!1),JJb(this.getRoot())))}};var LSc=function(a){var b=a.listId;return ts('<div id="'+vs(a.id)+'" peoplekit-id="'+vs("E9WxSb")+'" role="group"><div peoplekit-id="'+vs("Bm3u4d")+'"></div><div id="'+vs(b)+'" role="region" class="'+vs("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+vs("tjneg")+'"></div></div>')};var mMb=function(a,b,c,d,e,f,h,l,q){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.grouping=h;this.ariaParent=q;this.groups=new Map;this.navigatable=new vQc(new TJb([]));this.intelligentComponentCollection=l.create();this.list.getRoot().removeAttribute("role")};g=mMb.prototype;
g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c),f=b,h=this.selectionsState,l=this.resultConfig,q=this.appearanceConfig,t=this.clientConfig,w=TS(this.list.getRoot()),B=this.interactions,D=this.ariaParent;d=gQc()?XLb(d,f,h,l,q,t,w,B,D):ZLb(d,f,h,l,q,t,w,B,D);if(c&&!e){e=this.grouping;f=c;h=this.navigatable;l=this.appearanceConfig;t=[dMb,eMb,fMb];q=as(is.getInstance());w=as(is.getInstance());w=Np(LSc,{id:q,listId:w});
q=e.getResultListGroupConfig(f);w=new JSc(w);t=k(t);for(B=t.next();!B.done;B=t.next())B=B.value,w=B(w,e,f,l);e=new KSc(w,q,h);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d);this.intelligentComponentCollection.append([d])}};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentComponentCollection.clear();for(var a=k(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};g.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};
g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){for(var a=[],b=k(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,u(c.value.getItems()));return a};var jMb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=jMb.prototype;g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e&&(e=bMb(e),this.list.append(e.getRoot()),e.getActionItems().length)){var f=this.getNavigatable();f.insert(f.size(),[e],!1)}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
g.clear=function(){this.renderedGroups.clear();this.delegate.clear()};g.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var kMb=function(a,b){this.delegate=a;this.interactions=b};g=kMb.prototype;g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};g.clear=function(){this.delegate.clear()};g.reset=function(a){this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var gMb=function(a){a=a.header;return ts('<div peoplekit-id="'+vs("aittld")+'">'+(0<a.length?'<div class="'+vs("peoplekitUiResultlistHeader")+'">'+ws(a)+"</div>":"")+'<div peoplekit-id="'+vs("tjneg")+'"></div></div>')};var MSc=function(){return"Google makes suggestions based on your interactions."};var NSc=function(a){this.labels=a;this.isSuggest=!1;this.hiddenSuggestionsLabel=ts("Hidden suggestions").toString()};NSc.prototype.getGroupId=function(a){if(7===a.getResultType())var b="CUSTOM";else{if(this.isSuggest)a="SUGGEST";else{var c;a=1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(UNb))?void 0:yo(c,1))?"HIDDEN":"SEARCH"}b=a}return b};
NSc.prototype.getGroupName=function(a){switch(a){case "CUSTOM":return this.labels.custom;case "SUGGEST":return this.labels.suggest;case "SEARCH":return this.labels.search;case "HIDDEN":return this.hiddenSuggestionsLabel;default:return""}};
NSc.prototype.getResultListGroupConfig=function(a){return"HIDDEN"===a?{collapsibleGroupConfig:{isInitiallyCollapsed:!0}}:"SUGGEST"===a||"SEARCH"===a?{infoGroupConfig:{infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:MSc(),learnMoreUrl:oMb(),learnMoreLinkText:"Learn more about suggestions."}}:{}};NSc.prototype.reset=function(a){this.isSuggest=!a.trim()};var pMb=[NSc];var ft=function(){this.isSuggest=!1};ft.prototype.getGroupId=function(a){return 7===a.getResultType()?"CUSTOM":this.isSuggest?"SUGGEST":"SEARCH"};ft.prototype.getGroupName=function(a){switch(a){case "SUGGEST":return"Suggestions";case "SEARCH":return"Search Results";default:return""}};
ft.prototype.getResultListGroupConfig=function(a){switch(a){case "SUGGEST":case "SEARCH":return{infoGroupConfig:{infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:MSc(),learnMoreUrl:oMb(),learnMoreLinkText:"Learn more about suggestions."}};default:return{}}};ft.prototype.reset=function(a){this.isSuggest=!a.trim()};var gt=function(a){this.label=a};gt.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};gt.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};gt.prototype.getResultListGroupConfig=function(){throw Error("vf");};gt.prototype.reset=function(){};var ht=function(a){this.label=a};ht.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};ht.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};ht.prototype.getResultListGroupConfig=function(){throw Error("vf");};ht.prototype.reset=function(){};var OSc=function(a){this.delegate=a};g=OSc.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};var it=function(a,b,c,d,e,f){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=f;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(l){return PSc(h,l)};this.unhideListener=function(l){return QSc(h,l)};this.onContextMenuDisposedListener=function(l){if(h.navigationInput!==document.activeElement){var q;null==(q=h.navigatable.getItem(l))||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(l){h.navigationInput===h.previouslyActiveElement&&(l=h.navigatable.getItem(l))&&h.navigatable.goToItem(l,0);var q;null==(q=h.previouslyActiveElement)||q.focus();h.previouslyActiveElement=null};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener);this.dispatcher.subscribe(7,
this.onContextMenuDisposedListener);this.dispatcher.subscribe(8,this.saveActiveElement);this.dispatcher.subscribe(9,this.onDialogDisposedListener)};Y(it,OSc);it.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};OSc.prototype.search.call(this,a,b,c,d)};
it.prototype.dispose=function(){this.dispatcher.unsubscribe(1,this.hideListener);this.dispatcher.unsubscribe(4,this.unhideListener);this.dispatcher.unsubscribe(7,this.onContextMenuDisposedListener);this.dispatcher.unsubscribe(8,this.saveActiveElement);this.dispatcher.unsubscribe(9,this.onDialogDisposedListener);OSc.prototype.dispose.call(this)};
var PSc=function(a,b){return me(function(c){switch(c.nextAddress){case 1:return ne(c,2),oe(c,a.hide.hideResults(b),4);case 4:return oe(c,a.refreshResults(),5);case 5:au(c,0);break;case 2:re(c),RSc(a),se(c)}})},QSc=function(a,b){return me(function(c){switch(c.nextAddress){case 1:return ne(c,2),oe(c,a.hide.unhideResults(b),4);case 4:return oe(c,a.refreshResults(),5);case 5:au(c,0);break;case 2:re(c),SSc(a),se(c)}})};
it.prototype.refreshResults=function(){var a=this;return me(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),oe(b,a.peopleStore.warmUpCache(),2);a.currentSearchState?OSc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");se(b)})};
var RSc=function(a){a.hideErrorDialog=wKb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},SSc=function(a){a.unhideErrorDialog=yKb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var TSc=function(a,b){js.call(this,a,b)};Y(TSc,js);TSc.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=l8b(c,"activedescendant");c=QB(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?GF(this.ariaParent,c===d?b:d):rMb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,-1!==c&&GF(this.ariaParent,b[(c+1)%b.length]))}}js.prototype.onKeyDown.call(this,a)};
TSc.prototype.next=function(a){a=js.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),rMb(b)&&USc(this,b));return a};TSc.prototype.prev=function(a){a=js.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),rMb(b)&&USc(this,b));return a};var USc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&GF(a.ariaParent,b)};var XMb=function(a,b,c,d,e,f,h,l){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=l;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new TSc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=WJb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
fs(this);$r(this.root,0)};g=XMb.prototype;g.search=function(a,b,c,d){var e=this;this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.root.classList.add("isLoading");$r(this.root,1);if(a){var f=VSc(this.health);f.start();this.session.search(a,function(l){e.update(l,d,f,!0)})}else if(c){var h=VSc(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
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()}),Li(this.clientConfig.internal,9,!1)&&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 U8(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();$r(this.root,0)};g.isShown=function(){return!0};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length||this.navigatable.size()?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Cs(this.clientConfig.internal)&&document.activeElement!==this.navigationInput||
(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));if(a.getIsLastCallback())for($r(this.root,0===a.getCode()?2:3,a.getCode()),b={query:f,resultCount:e.length},d=k(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else $r(this.root,4);c.stop()};
g.onKeyDown=function(a){var b=9===a.event.keyCode&&!a.event.shiftKey;if(13===a.event.keyCode||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else 40!==a.event.keyCode||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 RMb=function(){var a=ts,b='<div class="'+vs("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+vs("yDHfq")+'"><div class="'+vs("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=ts('<div peoplekit-id="'+vs("tjneg")+'"></div>');c=ts('<div tabindex="-1" class="'+vs("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+vs("I8ejUe")+'">'+ws(c)+"</div>");b=b+c+'</div><div class="'+vs("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
vs("peoplekitComponentsCircularprogressCircularProgress")+(" "+vs("isActive"))+'" data-loadingmessage="'+vs("Loading...")+'" data-active="true"'+(HS()?foc(GS(void 0,Qnc)?(void 0).getContent():qoc()):"")+'><div class="'+vs("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+vs("vyyg5")+'">'+ws("Loading...")+'</div><div class="'+vs("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+vs("peoplekitComponentsCircularprogressColorOne")+" "+vs("exportColorOne")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+" "+vs("peoplekitComponentsCircularprogressLeft")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+
" "+vs("peoplekitComponentsCircularprogressRight")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+vs("peoplekitComponentsCircularprogressColorTwo")+" "+vs("exportColorTwo")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+" "+vs("peoplekitComponentsCircularprogressLeft")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+
" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+" "+vs("peoplekitComponentsCircularprogressRight")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+vs("peoplekitComponentsCircularprogressColorThree")+" "+vs("exportColorThree")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+" "+vs("peoplekitComponentsCircularprogressLeft")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+
" "+vs("peoplekitComponentsCircularprogressRight")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+vs("peoplekitComponentsCircularprogressColorFour")+" "+vs("exportColorFour")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+" "+vs("peoplekitComponentsCircularprogressLeft")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+
" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div><div class="'+vs("peoplekitComponentsCircularprogressCircleClipper")+" "+vs("peoplekitComponentsCircularprogressRight")+'"><div class="'+vs("peoplekitComponentsCircularprogressCircle")+" "+vs("exportCircle")+'"></div></div></div></div></div>';c=ts(c);return a(b+c+"</div></div>")},SMb=function(){return ts('<div class="'+
vs("peoplekitComponentsAutocompleteInlineNoResultsContainer")+'"></div>')};var UMb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+vs("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+vs(a)+'"':"")+'><p class="'+vs("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+ws(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+vs("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?ws(c)+(d?" ":""):""),d&&(a+='<a jsname="'+vs("viORvd")+'" class="'+vs("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+vs(joc(d))+'">',a=e?a+ws(e):a+"Learn more",a+="</a>"),a+="</p>";return ts(a+"</div>")};var TMb=function(a,b){this.parent=a;this.config=b};TMb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Np(UMb,a);this.parent.appendChild(this.root);return!0};var WMb=function(){};WMb.prototype.update=function(){return!1};var VMb=function(){};VMb.prototype.update=function(){return!0};var YMb=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=fKb(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=fs(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};this.attach()};
g=YMb.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;mSc(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){100>Date.now()-a.lastShowTime&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("df`"+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("df`"+c);}}this.root.style.width=QS(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("df`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};g.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var QMb=function(){return ts('<div class="'+vs("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+vs("noeiCf")+'" style="display: none;"></div>')};var WSc=function(){this.batches=new Map};WSc.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 sMb=function(a,b){this.service=a;this.resolveComponents=b};
sMb.prototype.update=function(a){var b=this;a=k([].concat(u(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=k(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){XSc(b,f.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){XSc(b,f.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var XSc=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=k(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var YSc=new Set([1,3,20]),ZSc=function(a){var b=this;this.idToComponent=new Map;this.updater=tMb(a,function(c){return b.resolveComponents(c)})};g=ZSc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return YSc.has(h.getType())})});a=[];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=k(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=k(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$131:void 0},b=a.next()){c.component$jscomp$131=b.value;b=k(c.component$jscomp$131.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$131}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new WSc;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=k(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 $Sc=function(){};$Sc.prototype.append=function(){};$Sc.prototype.remove=function(){};$Sc.prototype.refresh=function(){};$Sc.prototype.clear=function(){};var PMb=function(a){this.peopleIntelligence=a};PMb.prototype.create=function(){return this.peopleIntelligence?new ZSc(this.peopleIntelligence):new $Sc};var aTc=Object.freeze(new Map([[5,1]]));var bTc=function(){this.entryPoint_=0};bTc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};bTc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};bTc.prototype.serialize=function(){return[this.entryPoint_].toString()};var cTc=Object.freeze(new bTc);var dTc=function(){this.originator_=0};dTc.prototype.setOriginator=function(a){this.originator_=a;return this};dTc.prototype.getOriginator=function(){return this.originator_};var LMb=function(a,b,c){var d=this;this.reporter=a.getReporter((new bTc).setPeoplekitEntryPoint(c));mSc(b,function(e,f,h){d.select(e,h)},0);lSc(b,function(e,f,h){d.deselect(e,h)},0);eTc(b,function(e,f,h,l){d.replace(e,l)})};g=LMb.prototype;g.display=function(a){this.reporter.reportDisplay(uMb(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Zs([a]),(new dTc).setOriginator(aTc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Zs([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Zs([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Zs(a))};g.save=function(a){this.reporter.reportSave(Zs(a))};g.send=function(a){this.reporter.reportSend(Zs(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var fTc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};fTc.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=Mq(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};fTc.prototype.cancel=function(){Nq(this.timerId);this.isBatchingInternal=!1};var cNb=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 fTc;mSc(this.selectionsState,function(){gTc(h,!1)});lSc(this.selectionsState,function(){gTc(h,!0)})};g=cNb.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){0<d.count&&!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=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(Zs(b));break;case 2:c.dismiss(b);break;case 3:c.save(b);break;case 4:c.send(b);break;case 5:c.reporter.reportSecondaryAction(Zs(b))}};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};
var ACc=function(a,b){a.selectionChangedListeners.push({listener:b,listenToDeselections:!1})},gTc=function(a,b){a.selectionChangedAutoBatcher.call(function(){for(var c=a.selectionsState.asArray(),d=k(a.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;b&&!f||e(c,b)}})};var KMb=function(a){a=a||{};a=a.classes;return ts('<div peoplekit-id="'+vs("nVhUhf")+'"'+(a?' class="'+vs(a)+'"':"")+"></div>")};var hTc=function(a){this.internalArray_=m(a)};Y(hTc,n);g=hTc.prototype;g.getClientId=function(){return Qi(this,1,0)};g.setClientId=function(a){return jj(this,1,a)};g.getEntryPoint=function(){return Qi(this,5,0)};g.setEntryPoint=function(a){return jj(this,5,a)};g.getSocialClient=function(){return Gi(this,aS,2)};g.setSocialClient=function(a){return hj(this,aS,2,a)};g.setVersionName=function(a){return Zh(this,3,a)};g.getBaselineCl=function(){return Zi(this,4)};
g.setBaselineCl=function(a){return pj(this,4,a)};g.hasBaselineCl=function(){return Yi(this,4)};g.getBaselineClOrUndefined=function(){return Iu(this,4)};g.getComponentFlow=function(){return Qi(this,7,0)};g.setComponentFlow=function(a){return jj(this,7,a)};var iTc=function(a){this.internalArray_=m(a)};Y(iTc,n);var jTc=function(a){this.internalArray_=m(a)};Y(jTc,n);g=jTc.prototype;g.getLabel=function(){return Qi(this,1,0)};g.setLabel=function(a){return jj(this,1,a)};g.hasLabel=function(){return Oi(this,1)};g.getValue=function(){return Zi(this,2,1)};g.getValue_asLegacyNumberOrString=function(){return Zi(this,2,1)};g.setValue=function(a){return pj(this,2,a)};g.hasValue=function(){return Yi(this,2)};var f9=function(a){this.internalArray_=m(a)};Y(f9,n);f9.prototype.getLabel=function(){return ec(this,1)};f9.prototype.setLabel=function(a){return Zh(this,1,a)};f9.prototype.hasLabel=function(){return Ni(this,1)};f9.prototype.getCause=function(){return ec(this,2)};var kTc=function(a){this.internalArray_=m(a)};Y(kTc,n);g=kTc.prototype;g.getLabel=function(){return Qi(this,1,0)};g.setLabel=function(a){return jj(this,1,a)};g.hasLabel=function(){return Oi(this,1)};g.setLatencyUsec=function(a){pj(this,2,a)};g.getCacheStatus=function(){return Qi(this,3,0)};g.setCacheStatus=function(a){return jj(this,3,a)};var g9=function(a){this.internalArray_=m(a)};Y(g9,n);g9.prototype.getInterfaceType=function(){return Qi(this,1,0)};g9.prototype.setInterfaceType=function(a){return jj(this,1,a)};var lTc=function(a){this.internalArray_=m(a)};Y(lTc,n);g=lTc.prototype;g.getCount=function(){return Gi(this,jTc,3)};g.setCount=function(a){return hj(this,jTc,3,a)};g.getLatency=function(){return Gi(this,kTc,4)};g.setLatency=function(a){return hj(this,kTc,4,a)};g.getError=function(){return Gi(this,f9,5)};g.setError=function(a){hj(this,f9,5,a)};g.hasError=function(){return Ui(this,f9,5)};var mTc=function(a){this.internalArray_=m(a)};Y(mTc,n);mTc.prototype.setElementIndex=function(a){gj(this,2,a)};mTc.repeatedFields_=[3];var h9=function(a){this.internalArray_=m(a)};Y(h9,n);h9.prototype.getClientInterface=function(){return Gi(this,hTc,3)};h9.prototype.setClientInterface=function(a){return hj(this,hTc,3,a)};h9.prototype.getMetadata=function(){return Gi(this,iTc,4)};h9.prototype.setMetadata=function(a){hj(this,iTc,4,a)};var MMb=function(a,b){this.entryPoint=b;this.logContext=UOb(Kt(new Lt,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(621560975).setEnableClearcut(a.getEnableClearcut()),Ls.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=MMb.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("Te");};
g.createStatusMetric=function(){throw Error("Te");};g.createLatencyMetric=function(a,b){b=b.source();a=(new h9).setClientInterface((new hTc).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow).setEntryPoint(this.entryPoint));return hj(a,lTc,2,b)};g.createErrorMetric=function(){throw Error("Te");};var nTc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new lTc;a=jj(a,1,4);var c=new g9;b=jj(c,2,2).setInterfaceType(b);this.dataEntry=hj(a,g9,2,b).setLatency((new kTc).setLabel(8));this.state=new jS(this.dataEntry)};nTc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
nTc.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=kS(this.state,this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=Gi(this.dataEntry,g9,2))&&gj(d,3,this.count);this.metrics.latency(this.state);++this.count};var OMb=function(a,b){this.metrics=a;this.userInterfaceType=b};var NMb=function(a){this.trackers=a},VSc=function(a){a=a.trackers;return new nTc(a.metrics,a.userInterfaceType)};var i9=function(){this.itemsByPriority=[]};i9.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};i9.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};i9.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(u(a))})};var dt=function(){this.selectionCallbacks=new i9;this.deselectionCallbacks=new i9;this.selectionReplacedCallbacks=new i9;this.selectionAttemptedCallbacks=new i9;this.selectionsState=[]};
dt.prototype.select=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?0:c;var d=String(a.id());if(this.selectionsState.find(function(e){return d===String(e.id())}))return $s(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),$s(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),$s(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
dt.prototype.deselect=function(a,b){b=void 0===b?0:b;var c=String(a.id()),d=this.selectionsState.findIndex(function(e){return c===String(e.id())});0>d||(this.selectionsState.splice(d,1),$s(a,d,b,this.deselectionCallbacks.asArray()))};dt.prototype.toggle=function(a,b){b=void 0===b?0:b;var c=String(a.id());if(0>this.selectionsState.findIndex(function(d){return c===String(d.id())}))return this.select(a,-1,b),!0;this.deselect(a,b);return!1};
var mSc=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},lSc=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},eTc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=dt.prototype;g.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};g.at=function(a){return this.selectionsState[a]};
g.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(f){return d===String(f.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;vMb(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};g.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return $s(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
g.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};g.asArray=function(){return this.selectionsState.slice()};g.size=function(){return this.selectionsState.length};g.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};for(var oTc={CLICK:{string:"click",xid:"cOuCgd"},GENERIC_CLICK:{string:"generic_click",xid:"szJgjc"},IMPRESSION:{string:"impression",xid:"xr6bB"},HOVER:{string:"hover",xid:"ZmdkE"},KEYPRESS:{string:"keypress",xid:"Kr2w4b"},KEYBOARD_ENTER:{string:"keyboard_enter",xid:"SYhH9d"},VIS:{string:"vis",xid:"HkgBsf"}},wMb=AMb(oTc),pTc=new Map,qTc=k(Object.keys(oTc)),rTc=qTc.next();!rTc.done;rTc=qTc.next()){var sTc=rTc.value;pTc.set(oTc[sTc].xid,oTc[sTc].string)}
var yMb=AMb({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 j9=function(a,b){this.visualElementID_=a;this.xidTagComponents_=b||!1;this.tracks_=new Set;this.index_=null;this.testCodes_=[];this.componentID_=void 0;this.retain_cached_impression_=this.mutable_=!1;this.attribute_=null;this.metadataHandlers_=[]},k9=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};g=j9.prototype;g.getIndex=function(){return this.index_};g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};
g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var tTc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};j9.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?xMb(a):a};j9.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?zMb(a):a};var uTc=function(a){j9.call(this,a)};Y(uTc,j9);var vTc=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};vTc.prototype.getTag=function(){return this.veTag_};vTc.prototype.getElement=function(){return this.el_};var xTc=function(a){var b=wTc++;a.traversalOrder_=b};vTc.prototype.setParent=function(a){this.parent_=a};vTc.prototype.getParent=function(){return this.parent_};
var yTc=function(a){if(a.impressionEventID){var b=new $u;b.setVeIndex(a.traversalOrder_);SRb(b,a.getTag().visualElementID_);hj(b,Zu,13,a.impressionEventID);a=VRb(b);return"0"+Laa(a,4)}};var ZMb=function(a){this.internalArray_=m(a)};Y(ZMb,n);g=ZMb.prototype;g.getClientId=function(){return Qi(this,1,0)};g.setClientId=function(a){return jj(this,1,a)};g.getEntryPoint=function(){return Qi(this,2,0)};g.setEntryPoint=function(a){return jj(this,2,a)};g.getApplication=function(){return Qi(this,3,0)};g.setApplication=function(a){return jj(this,3,a)};g.getApplicationOrUndefined=function(){return Ot(this,3)};g.setVersionName=function(a){return Zh(this,4,a)};
g.getBaselineCl=function(){return Zi(this,5)};g.setBaselineCl=function(a){return pj(this,5,a)};g.hasBaselineCl=function(){return Yi(this,5)};g.getBaselineClOrUndefined=function(){return Iu(this,5)};g.getMetadata=function(){return Gi(this,iTc,6)};g.setMetadata=function(a){hj(this,iTc,6,a)};g.setSharekitEntryPoint=function(a){jj(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return Ot(this,7)};var $Mb=function(a){this.context_=a};$Mb.prototype.createNewTag=function(a){return new uTc(a)};$Mb.prototype.addEventMetadata=function(a){Q1b(a,this.context_.serialize())};var zTc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var ATc=function(){};ATc.prototype.impressionEvent=function(){return[]};ATc.prototype.interactionEvent=function(){return[]};ATc.prototype.visibilityEvent=function(){return[]};var DTc=function(){if(!BTc){var a=BTc=new ORb,b=1E3*Date.now();pj(a,1,b);lp(BTc,2,Cba());lp(BTc,3,Cba())}a=(new Zu).setBase(BTc);b=++CTc;return pj(a,2,b)},CTc=0,BTc=void 0;var l9=function(a){this.internalArray_=m(a,1)};Y(l9,n);var m9=function(a){this.internalArray_=m(a)};Y(m9,n);var ETc=function(a){this.internalArray_=m(a,7)};Y(ETc,n);g=ETc.prototype;g.getTarget=function(){return Gi(this,av,1)};g.setTarget=function(a){return hj(this,av,1,a)};g.getType=function(){return Qi(this,2,0)};g.setType=function(a){return jj(this,2,a)};g.hasType=function(){return Oi(this,2)};var FTc=function(a){var b=Date.now();b=Number.isFinite(b)?1E3*b:void 0;pj(a,4,b)};var n9=function(a){this.internalArray_=m(a)};Y(n9,n);n9.repeatedFields_=[1];var o9=function(a){this.internalArray_=m(a,17)};Y(o9,n);g=o9.prototype;g.setVed=function(a){return Zh(this,11,a)};g.setUiType=function(a){return gj(this,1,a)};g.setVeIndex=function(a){gj(this,2,a)};g.getResultIndex=function(){return fi(this,7,-1)};g.setResultIndex=function(a){gj(this,7,a)};g.setElementIndex=function(a){gj(this,8,a)};var GTc=function(a,b){mm(a,14,b)};o9.repeatedFields_=[14];var p9=function(a){this.internalArray_=m(a)};Y(p9,n);p9.repeatedFields_=[2];var HTc=function(a){this.userAction=a};var ITc=function(){};ITc.prototype.createNewTag=function(a){return new j9(a)};ITc.prototype.addEventMetadata=function(){};var q9=function(a){this.internalArray_=m(a)};Y(q9,n);var JTc=function(a,b){mm(a,1,b)};q9.prototype.addPath=function(a,b){return Wq(this,1,bv,a,b)};q9.prototype.setPath=function(a,b){return wu(this,1,bv,a,b)};q9.repeatedFields_=[1];var KTc=new Nu(100,q9);var r9=function(a){this.internalArray_=m(a)};Y(r9,n);var s9=function(a){this.internalArray_=m(a)};Y(s9,n);s9.prototype.getTimestamp=function(){return Gi(this,r9,1)};s9.prototype.setTimestamp=function(a){return hj(this,r9,1,a)};s9.prototype.hasTimestamp=function(){return Ui(this,r9,1)};var LTc=new Nu(126,s9);var MTc=new Nu(618,s9);var NTc=function(a){this.internalArray_=m(a)};Y(NTc,n);var OTc=new Nu(273,NTc);var jt=function(a,b,c,d){this.enableAncestryLogging_=void 0===a?!0:a;this.enableAncestryLoggingForGrafts_=void 0===c?!1:c;this.enableBatching_=void 0===b?!1:b;this.enableAttentionLogging_=void 0===d?!1:d};Y(jt,ATc);jt.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=PTc(this,c,b);b=this.enableBatching_?QTc(this,d,b):RTc(this,d,b);return a.concat(b)};
jt.prototype.interactionEvent=function(a,b){var c=new oC,d=new p9,e=DTc();hj(d,Zu,1,e);e=new o9;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);GTc(gj(e,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(e);b=new m9;hj(b,Zu,1,a.impressionEventID);hj(d,Zu,3,a.impressionEventID);hj(d,o9,4,e);hj(d,m9,9,b);pC(c,d.serialize());return[c]};
jt.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),l=f.rootImpressionEventID,q=d.get(l);q=q?q:[];var t=new q9;this.enableAncestryLoggingForGrafts_&&JTc(t,this.getAncestry_(f));if(f.neverShown||k9(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new ETc;h.setType(1);var w=STc(f);h.setTarget(w);FTc(h);this.enableAncestryLoggingForGrafts_&&wt(h,KTc,t);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new ETc,h.setType(2),
w=STc(f),h.setTarget(w),FTc(h),this.enableAncestryLoggingForGrafts_&&wt(h,KTc,t),q.push(h),f.hidden=!0);d.set(l,q)}a=k(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new n9,mm(e,1,f),f=new p9,l=DTc(),q=new m9,hj(q,Zu,1,b),hj(f,Zu,1,l),hj(f,Zu,3,b),hj(f,n9,7,e),hj(f,m9,9,q),b=new oC,pC(b,f.serialize()),c.push(b));return c};
jt.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");if(a instanceof HTMLElement&&(0>=a.offsetWidth||0>=a.offsetHeight))return!1;a=a.getBoundingClientRect();return(b=Uoc(b,new OS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var PTc=function(a,b,c){for(var d=[],e={},f=b.length-1;0<=f;e={impressionEventID:void 0,clientVeProto$jscomp$7:void 0,testCodes$jscomp$1:void 0},f--){e.clientVeProto$jscomp$7=new p9;e.testCodes$jscomp$1=[];e.impressionEventID=DTc();hj(e.clientVeProto$jscomp$7,Zu,1,e.impressionEventID);var h=new m9;hj(h,Zu,1,e.impressionEventID);hj(e.clientVeProto$jscomp$7,m9,9,h);if(h=v2b(window.location.href,"ved"))h=(new o9).setVed(h),hj(e.clientVeProto$jscomp$7,o9,4,h);b[f].forEach(function(l){return function(q,
t){t.impressionEventID=l.impressionEventID;t.rootImpressionEventID=l.impressionEventID;var w=this.getVisualElementLiteProto_(t);q.length&&YRb(w,q);q=t.getElement();this.isVisible_(q,c)?(t.neverShown=!1,t.hidden=!1):w.setVisible(1);this.enableAttentionLogging_&&k9(t.getTag(),"hover")&&void 0!==t.traversalOrder_&&(q.setAttribute("data-hveid",Number(t.traversalOrder_)),0===Ii(l.clientVeProto$jscomp$7,bv,2,hi()).length&&yTc(t)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",yTc(t)+"")));
this.setTimestamp(w);Wq(l.clientVeProto$jscomp$7,2,bv,w);l.testCodes$jscomp$1=l.testCodes$jscomp$1.concat(t.getTag().testCodes_)}}(e),a);h=new oC;pC(h,e.clientVeProto$jscomp$7.serialize());Ip(h,20,e.testCodes$jscomp$1);d.push(h)}return d},QTc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;0<=f;f--){var h=b[f],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||[];q.push(h);e.set(l,q)}e.forEach(function(t,w){var B=0,D=[],J=new p9,H=[],O=DTc();hj(J,Zu,1,O);hj(J,Zu,3,w);var P=new m9;hj(P,
Zu,1,w);hj(J,m9,9,P);for(P=0;P<t.length;P++)for(var U=t[P],aa=U.keys(),pa=aa.next().value,ka=U.get(pa),Aa={},Ya=0;Ya<ka.length;Aa={startingOffset:void 0,cloneTreeRootIndex:void 0},++Ya){var ea=pa;Aa.cloneTreeRootIndex=0;Aa.startingOffset=ka[Ya];var na=U.size;Ya!=ka.length-1&&(na=ka[Ya+1]);for(var Da=Aa.startingOffset;Da<na;++Da){var Ia=aa.next().value;Da==Aa.startingOffset&&(ea=Ia,Aa.cloneTreeRootIndex=B);Ia.impressionEventID=O;Ia.rootImpressionEventID=w;Ia.traversalOrder_=B;var Xa=U.get(Ia),yb=this.getVisualElementLiteProto_(Ia);
Xa.length&&YRb(yb,Xa.map(function(Rb){return function(Sb){return Sb-Rb.startingOffset+Rb.cloneTreeRootIndex}}(Aa)));Xa=Ia.getElement();this.isVisible_(Xa,c)?(Ia.neverShown=!1,Ia.hidden=!1):yb.setVisible(1);this.setTimestamp(yb);Wq(J,2,bv,yb);H=H.concat(Ia.getTag().testCodes_);B++}Aa=new ETc;Aa.setType(3);na=STc(pa);Aa.setTarget(na);na=new av;Da=new $u;Ia=new q9;Da.setVeIndex(ea.traversalOrder_);SRb(Da,ea.getTag().visualElementID_);Rl(na,2,WRb,Da);hj(Aa,av,3,na);this.enableAncestryLoggingForGrafts_&&
(JTc(Ia,this.getAncestry_(ea)),wt(Aa,KTc,Ia));D.push(Aa)}D.length&&(t=new n9,mm(t,1,D),hj(J,n9,7,t));D=new oC;pC(D,J.serialize());Ip(D,20,H);d.push(D)},a);return d},RTc=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var f=b[e],h=f.keys(),l=h.next().value,q=f.get(l),t={},w=0;w<q.length;t={startingOffset$jscomp$1:void 0},++w){t.startingOffset$jscomp$1=q[w];var B=f.size;w!=q.length-1&&(B=q[w+1]);var D=new p9,J=[],H=DTc(),O=new m9;hj(O,Zu,1,l.impressionEventID);hj(D,Zu,1,H);hj(D,Zu,3,l.impressionEventID);
jj(D,5,3);hj(D,m9,9,O);O=new o9;l.serverVed_?O.setVed(l.serverVed_):O.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);GTc(O,a.getAncestry_(l));hj(D,o9,4,O);for(O=t.startingOffset$jscomp$1;O<B;++O){var P=h.next().value;P.impressionEventID=H;P.rootImpressionEventID=l.rootImpressionEventID;void 0!=P.traversalOrder_&&(P.traversalOrder_-=t.startingOffset$jscomp$1);var U=f.get(P),aa=a.getVisualElementLiteProto_(P);U.length&&YRb(aa,U.map(function(pa){return function(ka){return ka-pa.startingOffset$jscomp$1}}(t)));
U=P.getElement();a.isVisible_(U,c)?(P.neverShown=!1,P.hidden=!1):aa.setVisible(1);a.enableAttentionLogging_&&k9(P.getTag(),"hover")&&void 0!==P.traversalOrder_&&(U.setAttribute("data-hveid",Number(P.traversalOrder_)),0===Ii(D,bv,2,hi()).length&&yTc(P)&&(U.setAttribute("decode-data-ved","1"),U.setAttribute("data-ved",yTc(P)+"")));a.setTimestamp(aa);Wq(D,2,bv,aa);J=J.concat(P.getTag().testCodes_)}t=new oC;pC(t,D.serialize());Ip(t,20,J);d.push(t)}return d};
jt.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};jt.prototype.getVisualElementLiteProto_=function(a){var b=(new bv).setUiType(a.getTag().visualElementID_);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());tTc(a.getTag(),b);this.enableAttentionLogging_&&k9(a.getTag(),"hover")&&(a=new NTc,$h(a,1,!0),wt(b,OTc,a));return b};
var STc=function(a){var b=new av;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new $u;Rl(b,3,XRb,a.impressionEventID);c.setVeIndex(a.traversalOrder_);SRb(c,a.getTag().visualElementID_);Rl(b,2,WRb,c)}return b};
jt.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof o9&&(!Gi(a,l9,15)||!Gi(a,l9,15).getExtension(LTc))){var c=new s9,d=new r9,e=Gi(a,l9,15);e||(e=new l9);oj(d,1,b);c.setTimestamp(d);wt(e,LTc,c);hj(a,l9,15,e)}a instanceof bv&&(c=new s9,d=new r9,oj(d,1,b),c.setTimestamp(d),wt(a,MTc,c))};var TTc=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 UTc=function(){},VTc=[[],[]],WTc=0,XTc=new Set,YTc=null,ZTc=0,$Tc=0,aUc=0,bUc=0,cUc=0,dUc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=UTc};g=dUc.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 eUc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var eUc=function(a,b){var c=cUc++,d=Math.max(a.measure?a.measure.length:0,a.mutate?a.mutate.length:0),e={id:c,measureFn:a.measure,mutateFn:a.mutate,context:b,args:[]},f=e;return function(){var h=0!==f.phase;h&&(f=Object.assign({phase:0},e));b||(f.context=this);f.args=Array.prototype.slice.call(arguments);d>arguments.length&&f.args.push(new a.stateCtor);h&&(h=WTc,!a.runInCurrentFrameIfPossible||0==bUc||a.measure&&1!=bUc||(h=(h+1)%2),VTc[h].push(f));return fUc(a.window)}},gUc=function(a,b){var c={};
bUc=1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(f){c[d]=!0,fa(f)}}}bUc=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(f){fa(f)}}0<ZTc&&1<b&&(a=b-ZTc,500>a&&(TTc++,100<a&&$Tc++,aUc<a&&(aUc=a)));ZTc=XTc.size&&1<b?b:0},fUc=function(a){if(!XTc.has(a)){XTc.size||
(YTc=new GRc);XTc.add(a);var b=YTc.resolve;a.requestAnimationFrame(function(c){XTc.clear();var d=VTc[WTc];WTc=(WTc+1)%2;try{gUc(d,c)}finally{bUc=0,d.length=0}b()})}return YTc.promise};var hUc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},t9=function(a,b){var c=b.LSWHIf||null;if(c&&(c.getTag().getComponentID()||a.componentID_)&&c.getTag().getComponentID()!=a.componentID_)return null;var d;!(d=c&&!c.getTag().isMutable())&&(d=c&&c.getTag().isMutable())&&(d=b.getAttribute("jslog"),d=!(!d||Rk(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=iUc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new vTc(b,d);c&&c.getTag().retain_cached_impression_&&c.loggedImpression_&&(a.loggedImpression_=!0);if(c=a.getElement().getAttribute("data-ved")){a.serverVed_=c;if(!c||"0"!=c.charAt(0)&&"2"!=c.charAt(0))var e=null;else{c=c.substring(1);try{var f=URb(c);e=Gi(f,Zu,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},iUc=function(a,b){if(Rk(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(!Rk(f)){var h=rSb(f);if(2>h.length)return null;f=h[0].trim();h=h[1].trim();if(Rk(f)||Rk(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var l=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("yf");if(!pTc.has(q))throw Error("zf`"+q);l.tracks_.add(q)}else l.tracks_.add(l.maybeXidEventLabel_(q))}break;case a.maybeXidPartLabel_("index"):d.index_=
Number(h);break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):"true"==h?d.mutable_=!0:"rci"==h&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};hUc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?zMb(a):a};hUc.prototype.setComponentID=function(a){this.componentID_=a};hUc.prototype.getComponentID=function(){return this.componentID_};var jUc=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},lUc=function(a,b){return kUc(a,b).filter(function(c){return null!=t9(this.visualElementProvider_,c)},a)},mUc=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$190:void 0},++f){var h=t9(c,b[f]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.parent$jscomp$190=void 0,DMb(b[f],function(l){return function(q){q=t9(c,q);return null!=q?(l.parent$jscomp$190=
q,!0):!1}}(e),!1),e.parent$jscomp$190?d&&d.has(e.parent$jscomp$190)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$190,[]),wTc=1):(d=new Map,a.unshift(d),wTc=0),xTc(h),h.setParent(e.parent$jscomp$190),d.set(h,[]),e.parent$jscomp$190&&d.get(e.parent$jscomp$190).push(h.traversalOrder_))}return a},nUc=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return t9(c,d)})},kUc=function(a,b){if(a.traverseShadowDom_){var c=[];a=[];for(c.push.apply(c,b.querySelectorAll("*"));0<c.length;){var d=
c.shift();d.getAttribute("jslog")&&a.push(d);d.shadowRoot&&c.unshift.apply(c,d.shadowRoot.querySelectorAll("*"))}}else a=[].slice.call(b.querySelectorAll("[jslog]"));a.unshift(b);return a},wTc=0;var oUc=function(a,b){DB.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};Y(oUc,DB);var pUc=function(a){Jp.call(this);this.domHelper_=a||Mp();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=Kp(this.domHelper_.document_,this.eventType_,fu(this.handleChange_,this))};hu(pUc,Jp);g=pUc.prototype;g.getBrowserEventType_=Gp(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((lu?"Webkit":ku?"Moz":bs?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=Gp(function(){return Toc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=Gp(function(){return Toc("visibilityState",this.domHelper_.document_)});g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new oUc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){KB(this.eventKey_);pUc.superClass_.disposeInternal.call(this)};var u9=function(a,b,c,d,e,f,h){var l=void 0===d?{}:d,q=void 0===l.backgroundJobDeferrer?void 0:l.backgroundJobDeferrer;d=void 0===l.expectXidTagComponents?!1:l.expectXidTagComponents;l=void 0===l.traverseShadowDom?!1:l.traverseShadowDom;es.call(this);var t=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 ITc;this.visualElementProvider_=
new hUc(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new pUc;this.logImpressionsTask_=(new dUc(this)).measure(q?function(){return q().then(t.handleImpressions_.bind(t))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new aAc(this.logImpressionsTask_,500,this);this.traverser_=h||new jUc(this.visualElementProvider_,
l);this.eventBuilder instanceof ATc&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};Y(u9,es);u9.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};u9.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var rUc=function(a,b,c,d){var e=qUc(d),f=a.getIndex(c);var h=new mTc;h=jj(h,4,b);var l=c.getTag().visualElementID_;h=gj(h,1,l);e=Ip(h,3,e);null!=f&&e.setElementIndex(f);f=new zTc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=Q1b(new oC,e.serialize());c=Ip(c,20,f.testCodes);a.transport&&uC(a.transport,c);if(null!=b)for(b=new HTc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};u9.prototype.log=function(a){this.transport&&uC(this.transport,a)};
var sUc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};u9.prototype.getIndex=function(a){return a.getTag().getIndex()};var qUc=function(a){return a.map(function(b){return b.getTag().visualElementID_})};u9.prototype.getMetadata=function(a,b){var c=new bv;tTc(a.getTag(),c);for(a=0;a<b.length;++a)tTc(b[a].getTag(),c);return c};
var tUc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];DMb(c,function(h){if(!ZB(h))return!1;h=t9(e,h);var l;if(l=null!=h)if(l=h.getTag(),a.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("yf");if(!pTc.has(f))throw Error("zf`"+f);l=l.tracks_.has(f)}else l=k9(l,f);return l?(d=h,!0):!1},!0);return d};g=u9.prototype;
g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;DMb(a,function(d){if(!ZB(d))return!1;d=t9(c,d);null!=d&&b.push(d);return!1},!1);return b};
g.handleImpressions_=function(){var a=this.pageVisibilityMonitor_;if(!a.domHelper_.document_[a.getHiddenPropertyName_()]&&this.root_){if(a=!(!window.performance||!window.performance.clearMarks))window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc");var b=lUc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=new OS(0,0,
c.width,c.height);var d=mUc(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]),Zh(d[e],28,this.zwiebackId_),this.transport&&uC(this.transport,d[e])}b=nUc(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_&&Zh(b[c],28,this.zwiebackId_),this.transport&&uC(this.transport,b[c]);sUc(this)}else{c=[];d=this.windowProvider_?
this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new OS(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=t9(this.visualElementProvider_,f))&&k9(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),rUc(this,void 0,d,e),sUc(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};
g.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"===a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=Uoc(b,new OS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?xMb(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)}};var kt=function(a,b,c,d,e,f,h,l,q,t,w,B,D){e=void 0===e?!1:e;q=void 0===q?!1:q;l||(b=new Hp(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),l=b.build());u9.call(this,a,h||null,l,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},t,w,B);this.clearcut_=l;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0;D&&this.clearcut_.setProductID(D)};Y(kt,u9);
kt.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};kt.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};kt.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var uUc=function(a){this.tracker=a};var vUc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new es(this)};
vUc.prototype.observe=function(a){var b=this;this.observer||(this.observer=new MutationObserver(function(c){b.onMutation(c)}),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=tUc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new HTc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&Zh(f[e],28,d.zwiebackId_),d.transport&&
uC(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());rUc(d,f,e,h)}c.stopPropagation()}))};vUc.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};vUc.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){b=k(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var aNb=function(a,b){this.root=a;this.tracker=b;this.observer=new vUc(this.root,new uUc(this.tracker))};
aNb.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new PB;b.root_=c||b.domHelper_.document_.body;c=b.domHelper_.document_;"interactive"!==c.readyState&&"complete"!==c.readyState||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=k(a);for(c=b.next();!c.done;c=
b.next()){var d=k(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(u(a.keys())))};aNb.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var Vt=function(a){this.internalArray_=m(a)};Y(Vt,n);var v9=function(a,b){return $h(a,1,b)};Vt.prototype.getProvenance=function(){return Qi(this,2,0)};Vt.prototype.setProvenance=function(a){return jj(this,2,a)};Vt.prototype.getCode=function(){return Qi(this,3,0)};Vt.prototype.setCode=function(a){return jj(this,3,a)};var w9=function(a){this.internalArray_=m(a)};Y(w9,n);w9.prototype.getSource=function(){return Gi(this,Vt,1)};w9.prototype.setSource=function(a){return hj(this,Vt,1,a)};w9.prototype.hasSource=function(){return Ui(this,Vt,1)};var x9=function(a,b){return jj(a,2,b)},y9=function(a,b){return jj(a,3,b)};var wUc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=wUc.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};
g.clone=function(){var a=(new wUc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var xUc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new w9};g=xUc.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 yUc=function(a,b){this.results_=a;this.metadata_=b};yUc.prototype.getResults=function(){return this.results_};yUc.prototype.getMetadata=function(){return this.metadata_};var z9=function(a){this.internalArray_=m(a)};Y(z9,n);g=z9.prototype;g.getQuery=function(){return ec(this,1,"")};g.setQuery=function(a){return Zh(this,1,a)};g.clearQuery=function(){lp(this,1)};g.hasQuery=function(){return Ni(this,1)};g.getIsFirstCallback=function(){return Li(this,2,!1)};g.setIsFirstCallback=function(a){return $h(this,2,a)};g.getIsLastCallback=function(){return Li(this,3,!1)};g.setIsLastCallback=function(a){return $h(this,3,a)};g.setCallbackNumber=function(a){return gj(this,4,a)};
g.getNextPageToken=function(){return ec(this,5,"")};g.getCode=function(){return Qi(this,6,2)};g.setCode=function(a){return jj(this,6,a)};g.getCacheState=function(){return Gi(this,w9,7)};g.setCacheState=function(a){return hj(this,w9,7,a)};g.hasCacheState=function(){return Ui(this,w9,7)};var A9=function(a,b){this.results_=a;this.metadata_=b};A9.prototype.getResults=function(){return this.results_};A9.prototype.getMetadata=function(){return this.metadata_};var zUc={create:function(a,b,c,d,e){e=void 0===e?new at:e;return FMb(a,b,c,d,new nQc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return FMb(a,b,c,d,new nQc,e)},createConfig:function(a){var b;void 0===a?b=new Olc(tS.apiEnv,new Plc(tS.userProfileId)):b=a;return new rQc(b)}};var Jt=function(a){this.internalArray_=m(a)};Y(Jt,n);g=Jt.prototype;g.getTimestamp=function(){return Zi(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return Zi(this,1)};g.setTimestamp=function(a){return pj(this,1,a)};g.hasTimestamp=function(){return Yi(this,1)};g.getAffinityVersion=function(){return fi(this,2)};g.setAffinityVersion=function(a){gj(this,2,a)};g.getAffinityVersionOrUndefined=function(){return Hu(this,2)};g.getNextPageToken=function(){return ec(this,4)};
var B9=function(a){return $h(a,5,!0)};Jt.prototype.getCode=function(){return Qi(this,6,0)};Jt.prototype.setCode=function(a){return jj(this,6,a)};var AUc=function(){this.bits_=[]};g=AUc.prototype;g.and=function(a){for(var b=new AUc,c=k(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 AUc,c=k(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=k(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};AUc.prototype[Symbol.iterator]=function(){var a=this,b=-1;return{next:function(){a:{for(var c=b+1,d=a.bits_.length;c<d;c++)if(a.bits_[c]){b=c;break a}b=-1}return 0>b?{done:!0}:{value:b,done:!1}}}};var fNb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),hNb=/^[<"']|[>"']$/g,dNb=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"),BUc=/[^a-z0-9]+/gi,gNb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var CUc=function(a,b){this.key=a;this.terms=iNb(b)};var C9=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new AUc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};C9.prototype.cloneNode=function(a){for(var b=[],c=k(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new C9(b)};
C9.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:kNb(this.items_.length)),d=c.next();!d.done&&(d=a.loadOrSkip(this.items_[d.value].key),null==d||(b.push(d),!a.isDone()));d=c.next());return b};
C9.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=k(h.prefix_?h.matchIndices_:kNb(h.items_.length)),q=l.next();!q.done;q=l.next()){var t=h;q=q.value;for(var w=t.prefix_+"\ufdc7",B=k(t.items_[q].terms),D=B.next();!D.done;D=B.next())D=D.value,D.length<=t.prefix_.length||D<t.prefix_||D>w||(D=D.charAt(t.prefix_.length),t.childNodes_[D]||(t.childNodes_[D]=new C9(t.items_,t.prefix_+D)),t.childNodes_[D].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||D9;if(d===D9)break}return d}).reduce(function(c,d){return c.and(d)}):this};var DUc=function(a){a.isExpanded_=!1;for(var b=k(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&DUc(c)};C9.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new C9(this.items_,"\u2026",a)};C9.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new C9(this.items_,"\u2026",a)};var D9=new C9([]);
D9.isExpanded_=!0;var EUc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};EUc.prototype.getExpiry=function(){return this.expiry_};EUc.prototype.getValue=function(){return this.value_};EUc.prototype.isExpired=function(){return this.expiry_<Date.now()};EUc.prototype.isStale=function(){return this.stale_<Date.now()};var FUc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=FUc.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=k(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=k(this.items_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var GUc=function(){var a=new FUc(function(){return 1E3<a.size()});return a};var HUc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new FUc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=HUc.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 E9=function(a,b){return new HUc(a,function(c){var d=Date.now()+b;return new EUc(d,c,d)})};var F9=function(a){this.internalArray_=m(a)};Y(F9,n);g=F9.prototype;g.getSuggestMaxResults=function(){return fi(this,1,10)};g.getSearchMaxResults=function(){return fi(this,2,10)};g.getCacheSize=function(){return fi(this,3,500)};g.setCacheSize=function(a){gj(this,3,a)};g.hasCacheSize=function(){return Mi(this,3)};g.getCacheStaleSec=function(){return Kl(this,4,86400)};g.getCacheExpiredSec=function(){return Kl(this,5,1209600)};g.getRpcTimeoutSec=function(){return Kl(this,12,60)};
g.getSuggestFormat=function(){return Qi(this,15,1)};g.getSearchFormat=function(){return Qi(this,16,1)};F9.repeatedFields_=[24,25];var mNb=new Set([10,11]);var IUc=function(a){this.interleaveGroups_=Li(a,33,!1)},JUc=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var f=a.interleaveGroups_;switch(c){case 2:d=nNb(d,e,f,!0);break a;default:d=oNb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var KUc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new IUc(e);this.indexes_=E9(fi(e,8,250),1E3*Kl(e,9,3600));this.maxResults_=e.getSearchMaxResults()};g=KUc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return me(function(e){switch(e.nextAddress){case 1:c=v9(new Vt,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(v9(c,!1));ne(e,2);return oe(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;au(e,3);break;case 2:return re(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Jt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};g.index=function(a,b){for(var c=JUc(this.ranker_,b,1),d=k(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=LUc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};
g.getName=function(){return this.adapter_.getName()};var MUc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};MUc.prototype.getStageType=function(){return 2};MUc.prototype.index_=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
MUc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,t,w;return me(function(B){switch(B.nextAddress){case 1:return c=new Map,d=v9(new Vt,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),f=NUc(a),ne(B,2),oe(B,b.adapter_.lookup(f),4);case 4:h=B.yieldResult;au(B,3);break;case 2:return re(B),d.setCode(13),a.notify(c,[],d),B.return();case 3:b.index_(h,e);l=k(f);for(q=l.next();!q.done;q=l.next())t=q.value,(w=b.indexer_.load(t,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(t,w);
a.notify(c,[],d);se(B)}})};var OUc=function(a,b){this.metrics_=a;this.state_=new jS(b);this.source=b;this.label_="total"};OUc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};OUc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var PUc=function(a,b){this.metrics_=a;this.state_=new jS(b);this.source=b};PUc.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var QUc=function(a,b){this.metrics_=a;this.state_=new jS(b);this.source=b};QUc.prototype.report=function(){this.metrics_.error(this.state_)};var zt=function(a){this.internalArray_=m(a)};Y(zt,n);zt.prototype.hasNoChanges=function(){return Ki(this,12)};var yt=function(a){this.internalArray_=m(a)};Y(yt,n);yt.prototype.getEventType=function(){return Qi(this,1,0)};yt.prototype.setEventType=function(a){return jj(this,1,a)};var At=function(a,b){return jj(a,2,b)},ZNb=function(a,b){return jj(a,3,b)};g=yt.prototype;g.getErrorType=function(){return Qi(this,6,0)};g.setErrorType=function(a){return jj(this,6,a)};g.getIdType=function(){return Qi(this,8,0)};g.setIdType=function(a){jj(this,8,a)};g.getResultIndex=function(){return fi(this,9,0)};
g.setResultIndex=function(a){gj(this,9,a)};g.getToken=function(){return ec(this,10,"")};g.setToken=function(a){return Zh(this,10,a)};g.getCacheState=function(){return Gi(this,w9,11)};g.setCacheState=function(a){return hj(this,w9,11,a)};g.hasCacheState=function(){return Ui(this,w9,11)};g.getQueryLength=function(){return fi(this,14)};g.setQueryLength=function(a){return gj(this,14,a)};g.hasQueryLength=function(){return Mi(this,14)};g.getItemCount=function(){return fi(this,15)};
g.setItemCount=function(a){return gj(this,15,a)};g.hasItemCount=function(){return Mi(this,15)};g.getLookupInfo=function(){return Gi(this,zt,16)};g.setLookupInfo=function(a){return hj(this,zt,16,a)};g.hasLookupInfo=function(){return Ui(this,zt,16)};g.getQueryScope=function(){return Qi(this,17,0)};g.setQueryScope=function(a){return jj(this,17,a)};g.hasQueryScope=function(){return Oi(this,17)};var RUc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};RUc.prototype.search=function(a){var b=this,c,d;return me(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),ne(e,2,3),oe(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:pe(e);c.stop();qe(e,0);break;case 2:throw d=re(e),b.trackers_.error(36,11).report(),d;}})};
RUc.prototype.lookup=function(a){var b=this,c,d;return me(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),ne(e,2,3),oe(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:pe(e);c.stop();qe(e,0);break;case 2:throw d=re(e),b.trackers_.error(37,11).report(),d;}})};var SUc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};SUc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
SUc.prototype.warmUpCache=function(){var a=this,b,c;return me(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),ne(d,2,3),oe(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:pe(d);b.stop();qe(d,0);break;case 2:throw c=re(d),a.trackers_.error(35,11).report(),c;}})};SUc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var TUc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new IUc(e);this.index_=D9};g=TUc.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=D9};
g.fetch=function(a){var b=this,c,d;return me(function(e){switch(e.nextAddress){case 1:c=v9(new Vt,!0).setProvenance(7).setCode(0);if(b.index_!=D9&&!b.adapter_.needsWarmUp())return e.return(v9(c,!1));ne(e,2);return oe(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;au(e,3);break;case 2:return re(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Jt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=JUc(this.ranker_,b,1);for(var c=k(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=LUc(this.trieFactory_,a)};g.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};g.getName=function(){return this.adapter_.getName()};var UUc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};UUc.prototype.getErrorType=function(){return this.errorType_};var G9=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=G9.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 VUc=function(a,b){this.provider_=a;this.itemFactory_=b};VUc.prototype.search=function(a,b){var c=this,d;return me(function(e){if(1==e.nextAddress)return 1>b?e.return([]):oe(e,c.provider_.search((new sCc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(WUc(d))})};VUc.prototype.lookup=function(a){var b=this,c;return me(function(d){if(1==d.nextAddress)return a.length?oe(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(WUc(c))})};VUc.prototype.getName=function(){return this.provider_.name};var XUc=function(a,b){this.provider_=a;this.itemFactory_=b};XUc.prototype.getPosition=function(){return this.provider_.getPosition()};XUc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};XUc.prototype.warmUpCache=function(){var a=this,b;return me(function(c){if(1==c.nextAddress)return oe(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(WUc(b))})};XUc.prototype.getName=function(){return this.provider_.name};var YUc=new UUc(68,69,38);var ZUc=function(){},$Uc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=k(c.getTargetList()),h=f.next();!h.done;h=f.next())h=tNb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Ms(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(l){for(var q=k(l.getTargetList()).next();!q.done;)return l=tNb(l,q.value,8),b.push(l),String(l.id)}))}return b},
WUc=function(a){a=a.getResultList();return $Uc(a)};var aVc=function(){};aVc.prototype.processItem=function(){};var bVc=new aVc;var cVc=function(a,b){this.encryptionSupport_=a;this.certificateStatus_=b};cVc.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};var ANb=function(a,b,c){a=void 0===a?1:a;b=void 0===b?0:b;c=void 0===c?!1:c;4===a&&Date.now()/1E3>b&&(a=3);return new cVc(4===a?c?4:3:c?2:1,a)};var CNb=function(a,b){this.reachabilityStatus=a;this.clientData=b};CNb.prototype.getClientData=function(){return this.clientData};var dVc=function(){this.iconUrl_=this.altText_=""},yNb=function(a){var b=new dVc;b.altText_=a||"";return b};dVc.prototype.getIconUrl=function(){return this.iconUrl_};dVc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var eVc=function(a){this.delegate_=a};eVc.prototype.processItem=function(a){a.target=DNb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var fVc=function(){};
fVc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){b=b.getClient();var q=new ZUc;var t=void 0===t?bVc:t;t=new eVc(t);for(var w=[],B=k(l.staticDataProviders_.reverse()),D=B.next();!D.done;D=B.next()){D=D.value;var J=c,H=D;H=new SUc(H,J);H=new TUc(new XUc(H,q),t,f,d,b);J=new G9(H,J,YUc);switch(D.getPosition()){case 1:w.push(J);break;case 2:h.push(J);break;default:throw Error("Af");
}}w.length&&h.splice.apply(h,[0,0].concat(u(w)));l=k(l.dynamicDataProviders_);for(w=l.next();!w.done;w=l.next())w=w.value,B=c,D=w,D=new RUc(D,B),D=new KUc(new VUc(D,q),t,f,d,b),B=new G9(D,B,YUc),h.push(B),w=new RUc(w,c),a.push(new MUc(new VUc(w,q),t,e))}};var H9=function(a){this.internalArray_=m(a)};Y(H9,n);g=H9.prototype;g.getEnableClearcut=function(){return Li(this,1,!1)};g.setEnableClearcut=function(a){return $h(this,1,a)};g.getSocialApplication=function(){return Qi(this,2,0)};g.getSocialApplicationOrUndefined=function(){return Ot(this,2)};g.setEventSources=function(a){wu(this,5,Nt,a)};H9.repeatedFields_=[5,6];var I9=function(a){this.internalArray_=m(a)};Y(I9,n);I9.prototype.getApplication=function(){return Qi(this,1,0)};I9.prototype.setApplication=function(a){return jj(this,1,a)};I9.prototype.getApplicationOrUndefined=function(){return Ot(this,1)};I9.prototype.getIsEnabled=function(){return Li(this,2,!1)};var J9=function(a){this.internalArray_=m(a)};Y(J9,n);J9.prototype.getApiKey=function(){return ec(this,1,"")};J9.prototype.setApiKey=function(a){return Zh(this,1,a)};var K9=function(a){this.internalArray_=m(a)};Y(K9,n);g=K9.prototype;g.getClientId=function(){return ec(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return Zh(this,1,a)};g.getAffinityType=function(){return ec(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return Zh(this,4,a)};g.getContainerType=function(){return vRb(this,7)};K9.repeatedFields_=[7,8,18];var gVc=function(a){this.internalArray_=m(a)};Y(gVc,n);g=gVc.prototype;g.getClient=function(){return Gi(this,F9,1)};g.setClient=function(a){return hj(this,F9,1,a)};g.hasClient=function(){return Ui(this,F9,1)};g.getGapi=function(){return Gi(this,J9,2)};g.getPeopleApi=function(){return Gi(this,K9,3)};g.getClearcut=function(){return Gi(this,H9,4)};g.setClearcut=function(a){hj(this,H9,4,a)};g.hasClearcut=function(){return Ui(this,H9,4)};g.getExperiments=function(){return Gi(this,I9,5)};
g.setExperiments=function(a){return hj(this,I9,5,a)};g.hasExperiments=function(){return Ui(this,I9,5)};var hVc=Eda(gVc);var iVc;var L9=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new yCc;a=this.getPeopleApi();ej(a,7,hi()).length||qj(a,7,[2,8,1,7,10,11]);gi(a,8,hi()).length||rj(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(gi(a,8,hi()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":Ub(a,8,sb,c+".metadata.verified")}};
L9.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new F9);return this.delegate_.getClient()};L9.prototype.getGapi=function(){if(!Ui(this.delegate_,J9,2)){var a=this.delegate_,b=new J9;hj(a,J9,2,b)}return this.delegate_.getGapi()};L9.prototype.getPeopleApi=function(){if(!Ui(this.delegate_,K9,3)){var a=this.delegate_,b=new K9;hj(a,K9,3,b)}return this.delegate_.getPeopleApi()};
L9.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new H9);return this.delegate_.getClearcut()};var jVc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new I9);return a.delegate_.getExperiments()};L9.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var kVc=function(a){a=a.getClient();return fi(a,6,500)?Math.min(Math.round(fi(a,6,500)/4),500):500};var lVc;var Mt=null;var mVc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};mVc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var M9=function(a){this.internalArray_=m(a)};Y(M9,n);M9.prototype.setDevice=function(a){return jj(this,1,a)};var nVc=function(a){this.internalArray_=m(a)};Y(nVc,n);g=nVc.prototype;g.getAffinityType=function(){return yo(this,1)};g.setAffinityType=function(a){return jj(this,1,a)};g.getQuery=function(){return wj(this,2)};g.setQuery=function(a){return Zh(this,2,a)};g.clearQuery=function(){lp(this,2)};g.hasQuery=function(){return Ni(this,2)};g.setClientInformation=function(a){hj(this,M9,3,a)};g.setMaxResults=function(a){return gj(this,4,a)};var oVc=function(a){this.internalArray_=m(a)};Y(oVc,n);g=oVc.prototype;g.getAffinityVersion=function(){return zu(this,1)};g.setAffinityVersion=function(a){gj(this,1,a)};g.getAffinityVersionOrUndefined=function(){return Hu(this,1)};g.getAffinityType=function(){return wj(this,4)};g.setAffinityType=function(a){return Zh(this,4,a)};oVc.repeatedFields_=[3];var WNb=function(a){this.internalArray_=m(a)};Y(WNb,n);var N9=function(a){this.internalArray_=m(a)};Y(N9,n);g=N9.prototype;g.getLoggingId=function(){return $q(this,1)};g.setLoggingId=function(a){lp(this,1,ab(a,!1,!0,!1))};g.getValue=function(){return Zq(this,2)};g.getValue_legacyNullable=function(){return Zq(this,2)};g.setValue=function(a){return lp(this,2,ib(a))};g.hasValue=function(){return null!=Zq(this,2)};var pVc=function(a){this.internalArray_=m(a)};Y(pVc,n);g=pVc.prototype;g.getValue=function(){return wj(this,1)};g.getValue_legacyNullable=function(){return wj(this,1)};g.setValue=function(a){return Zh(this,1,a)};g.hasValue=function(){return Ni(this,1)};g.getGivenName=function(){return wj(this,2)};g.setGivenName=function(a){return Zh(this,2,a)};g.hasGivenName=function(){return Ni(this,2)};g.getFamilyName=function(){return wj(this,3)};g.setFamilyName=function(a){return Zh(this,3,a)};
g.hasFamilyName=function(){return Ni(this,3)};g.getSourceType=function(){return yo(this,4)};g.setSourceType=function(a){return jj(this,4,a)};var qVc=function(a){this.internalArray_=m(a)};Y(qVc,n);g=qVc.prototype;g.getUrl=function(){return wj(this,1)};g.setUrl=function(a){return Zh(this,1,a)};g.hasUrl=function(){return Ni(this,1)};g.getType=function(){return yo(this,2)};g.setType=function(a){return jj(this,2,a)};g.hasType=function(){return Oi(this,2)};g.getGlyph=function(){return wj(this,3)};g.setGlyph=function(a){return Zh(this,3,a)};var O9=function(a){this.internalArray_=m(a)};Y(O9,n);g=O9.prototype;g.getPhoto=function(){return Gi(this,qVc,1)};g.setPhoto=function(a){hj(this,qVc,1,a)};g.hasPhoto=function(){return Ui(this,qVc,1)};g.getName=function(){return Gi(this,pVc,2)};g.setName=function(a){return hj(this,pVc,2,a)};g.hasName=function(){return Ui(this,pVc,2)};g.getAffinity=function(){return Gi(this,N9,3)};g.hasAffinity=function(){return Ui(this,N9,3)};g.getPrimary=function(){return vt(this,4)};var P9=function(a){this.internalArray_=m(a)};Y(P9,n);P9.prototype.getStatus=function(){return yo(this,2)};P9.prototype.setStatus=function(a){return jj(this,2,a)};P9.prototype.hasStatus=function(){return Oi(this,2)};var rVc=function(a){this.internalArray_=m(a)};Y(rVc,n);var gOb=function(a){this.internalArray_=m(a)};Y(gOb,n);gOb.prototype.getState=function(){return yo(this,2)};gOb.prototype.setState=function(a){return jj(this,2,a)};var Q9=function(a){this.internalArray_=m(a)};Y(Q9,n);Q9.prototype.getApplication=function(){return Qi(this,1,0)};Q9.prototype.setApplication=function(a){return jj(this,1,a)};Q9.prototype.getApplicationOrUndefined=function(){return Ot(this,1)};Q9.repeatedFields_=[2];var R9=function(a){this.internalArray_=m(a)};Y(R9,n);R9.prototype.getValue=function(){return wj(this,1)};R9.prototype.getValue_legacyNullable=function(){return wj(this,1)};R9.prototype.setValue=function(a){return Zh(this,1,a)};R9.prototype.hasValue=function(){return Ni(this,1)};R9.repeatedFields_=[2];var HNb=function(a){this.internalArray_=m(a)};Y(HNb,n);g=HNb.prototype;g.getProfileId=function(){return wj(this,1)};g.getProfileId_legacyNullable=function(){return wj(this,1)};g.setProfileId=function(a){return Zh(this,1,a)};g.hasProfileId=function(){return Ni(this,1)};g.getEmail=function(){return so(this,2,st)};g.getEmail_legacyNullable=function(){return so(this,2,st)};g.setEmail=function(a){return Ql(this,2,st,a)};g.hasEmail=function(){return null!=so(this,2,st)};
g.getPhone=function(){return so(this,3,st)};g.getPhone_legacyNullable=function(){return so(this,3,st)};g.setPhone=function(a){return Ql(this,3,st,a)};g.hasPhone=function(){return null!=so(this,3,st)};g.getClientData=function(){return wj(this,4)};g.hasClientData=function(){return Ni(this,4)};var st=[2,3];var S9=function(a){this.internalArray_=m(a)};Y(S9,n);S9.prototype.getDisplayValue=function(){return wj(this,1)};S9.prototype.getCanonicalValue=function(){return wj(this,2)};S9.prototype.setCanonicalValue=function(a){return Zh(this,2,a)};S9.prototype.getOriginalValue=function(){return wj(this,3)};var sVc=function(a){this.internalArray_=m(a)};Y(sVc,n);g=sVc.prototype;g.getStatus=function(){return yo(this,1)};g.setStatus=function(a){return jj(this,1,a)};g.hasStatus=function(){return Oi(this,1)};g.getClientData=function(){return wj(this,2)};g.hasClientData=function(){return Ni(this,2)};var KNb=function(a){this.internalArray_=m(a)};Y(KNb,n);g=KNb.prototype;g.getIdCase=function(){return tm(this,T9)};g.getProfileId=function(){return so(this,1,T9)};g.getProfileId_legacyNullable=function(){return so(this,1,T9)};g.setProfileId=function(a){return Ql(this,1,T9,a)};g.hasProfileId=function(){return null!=so(this,1,T9)};g.getContactId=function(){return so(this,2,T9)};g.setContactId=function(a){Ql(this,2,T9,a)};var T9=[1,2];var tVc=function(a){this.internalArray_=m(a)};Y(tVc,n);g=tVc.prototype;g.getValueCase=function(){return tm(this,qt)};g.getDisplayInfo=function(){return Gi(this,O9,1)};g.hasDisplayInfo=function(){return Ui(this,O9,1)};g.getEmail=function(){return Ll(this,R9,2,qt)};g.setEmail=function(a){return Rl(this,2,qt,a)};g.hasEmail=function(){return Zl(this,R9,2,qt)};g.getPhone=function(){return Ll(this,S9,3,qt)};g.setPhone=function(a){return Rl(this,3,qt,a)};g.hasPhone=function(){return Zl(this,S9,3,qt)};
g.getIsSelf=function(){return vt(this,6)};g.getTypeLabel=function(){return wj(this,10)};tVc.repeatedFields_=[5];var qt=[2,3,4];var uVc=function(a){this.internalArray_=m(a)};Y(uVc,n);g=uVc.prototype;g.getDisplayInfo=function(){return Gi(this,O9,1)};g.hasDisplayInfo=function(){return Ui(this,O9,1)};g.getMembersList=function(){return Ii(this,tVc,2,hi())};g.setMembersList=function(a){return mm(this,2,a)};g.getLabelId=function(){return wj(this,3)};uVc.repeatedFields_=[2];var ut=function(a){this.internalArray_=m(a,5)};Y(ut,n);ut.prototype.getIsPlaceholder=function(){return Li(this,2)};ut.prototype.setIsPlaceholder=function(a){$h(this,2,a)};ut.prototype.getContactId=function(){return Zi(this,4)};ut.prototype.setContactId=function(a){pj(this,4,a)};var U9=function(a){this.internalArray_=m(a)};Y(U9,n);U9.prototype.getAffinity=function(){return Gi(this,N9,2)};U9.prototype.hasAffinity=function(){return Ui(this,N9,2)};U9.repeatedFields_=[1];var oOb=function(a){this.internalArray_=m(a)};Y(oOb,n);oOb.prototype.getIdCase=function(){return tm(this,pOb)};var pOb=[1,2];var V9=function(a){this.internalArray_=m(a)};Y(V9,n);g=V9.prototype;g.getDisplayInfo=function(){return Gi(this,O9,1)};g.hasDisplayInfo=function(){return Ui(this,O9,1)};g.getMembersList=function(){return Ii(this,U9,2,hi())};g.setMembersList=function(a){return mm(this,2,a)};g.getGroupId=function(){return wj(this,4)};g.setGroupId=function(a){Zh(this,4,a)};g.hasGroupId=function(){return Ni(this,4)};V9.repeatedFields_=[2,10,13,6,11,14];var W9=function(a){this.internalArray_=m(a)};Y(W9,n);W9.prototype.getDataCase=function(){return tm(this,vVc)};W9.prototype.getGroup=function(){return Ll(this,V9,2,vVc)};W9.prototype.setGroup=function(a){Rl(this,2,vVc,a)};var vVc=[1,2,3];var X9=function(a){this.internalArray_=m(a)};Y(X9,n);var wVc=gc(X9);X9.repeatedFields_=[1];var xVc=new eD("/peoplestack.PeopleStackAutocompleteService/Autocomplete",nVc,X9,function(a){return a.serialize()},wVc);var yVc=function(a){this.internalArray_=m(a)};Y(yVc,n);g=yVc.prototype;g.getAffinityType=function(){return yo(this,1)};g.setAffinityType=function(a){return jj(this,1,a)};g.setClientInformation=function(a){hj(this,M9,2,a)};g.getName=function(){return wj(this,3)};g.setName=function(a){return Zh(this,3,a)};g.hasName=function(){return Ni(this,3)};g.getNameOrUndefined=function(){return Ju(this,3)};yVc.repeatedFields_=[7];var zVc=function(a){this.internalArray_=m(a)};Y(zVc,n);zVc.prototype.getGroup=function(){return Gi(this,V9,1)};zVc.prototype.setGroup=function(a){hj(this,V9,1,a)};var AVc=new eD("/peoplestack.PeopleStackAutocompleteService/CreateGroup",yVc,zVc,function(a){return a.serialize()},gc(zVc));var Bt=function(a){this.internalArray_=m(a)};Y(Bt,n);g=Bt.prototype;g.getIdCase=function(){return tm(this,Ct)};g.getEmail=function(){return so(this,1,Ct)};g.getEmail_legacyNullable=function(){return so(this,1,Ct)};g.setEmail=function(a){return Ql(this,1,Ct,a)};g.hasEmail=function(){return null!=so(this,1,Ct)};g.getPhone=function(){return so(this,2,Ct)};g.getPhone_legacyNullable=function(){return so(this,2,Ct)};g.setPhone=function(a){return Ql(this,2,Ct,a)};
g.hasPhone=function(){return null!=so(this,2,Ct)};g.getProfileId=function(){return so(this,3,Ct)};g.getProfileId_legacyNullable=function(){return so(this,3,Ct)};g.setProfileId=function(a){return Ql(this,3,Ct,a)};g.hasProfileId=function(){return null!=so(this,3,Ct)};var Ct=[1,2,3,4];var BVc=function(a){this.internalArray_=m(a)};Y(BVc,n);g=BVc.prototype;g.getAffinityType=function(){return yo(this,1)};g.setAffinityType=function(a){return jj(this,1,a)};g.setClientInformation=function(a){hj(this,M9,2,a)};g.setIdsList=function(a){mm(this,3,a)};g.setIds=function(a){return wu(this,3,Bt,a)};BVc.repeatedFields_=[3];var CVc=function(a){this.internalArray_=m(a)};Y(CVc,n);CVc.prototype.getId=function(){return Gi(this,Bt,1)};CVc.prototype.setId=function(a){return hj(this,Bt,1,a)};var DVc=[2,3];var EVc=function(a){this.internalArray_=m(a)};Y(EVc,n);var FVc=gc(EVc);EVc.repeatedFields_=[1];var GVc=new eD("/peoplestack.PeopleStackAutocompleteService/Lookup",BVc,EVc,function(a){return a.serialize()},FVc);var Y9=function(a){this.internalArray_=m(a)};Y(Y9,n);Y9.prototype.getAffinityType=function(){return yo(this,1)};Y9.prototype.setAffinityType=function(a){return jj(this,1,a)};Y9.prototype.setClientInformation=function(a){hj(this,M9,2,a)};var HVc=function(a){this.internalArray_=m(a)};Y(HVc,n);var IVc=new eD("/peoplestack.PeopleStackAutocompleteService/Warmup",Y9,HVc,function(a){return a.serialize()},gc(HVc));var JVc=function(a){var b={unaryInterceptors:[new JRc]};b=b||{};b.format="jspb";this.client_=new GD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};JVc.prototype.autocomplete=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},xVc)};JVc.prototype.lookup=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},GVc)};
JVc.prototype.createGroup=function(a,b){return bD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},AVc)};var TNb=new Nu(417869898,ut);var XNb=new Nu(417866180,WNb);var KVc=function(a){a=null==a?"":String(a);for(var b=0,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a.codePointAt(c);return b},QNb=function(a){if(!a)return 0;a=Array.from(a).map(KVc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var ENb=new Map([["CONTACT_GROUP",9],["FAMILY",11],["MEDIA_COLLECTION",10],["CHAT",12],["GROUP_DM",12],["ROOM",13],["DYNAMITE_ROOM",13],["DYNAMITE_NAMED_ROOM",13],["DYNAMITE_UNNAMED_ROOM",14],["DYNAMITE_CLASSIC_NAMED_ROOM",15],["DYNAMITE_CLASSIC_UNNAMED_ROOM",16]]);var LVc=function(a){this.leanResponseProcessorConfig_=a},MVc=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],f=VNb(b),h=[],l=k(Ii(b,tVc,1,hi())),q=l.next();!q.done;q=l.next()){q=q.value;var t=JNb(q);if(t.equals(tt)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var w=RNb(q);if(!w)continue;t=rNb(w)}h.push(String(t));var B=w=void 0;t={id:t,containerIds:LNb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:MNb(b,q),provenance:c,isPrimary:PNb(null!=(w=q.getDisplayInfo())?w:null),
itemAffinity:ONb(b),fieldAffinity:NNb(null!=(B=q.getDisplayInfo())?B:null),contactMethod:q,person:b};f&&(t.resultExtendedData=f);if(q=YNb(q))t.targetExtendedData=q;e.push(t)}e.length&&e.every(function(D){return!D.isPrimary})&&(e[0].isPrimary=!0);return e},NVc=function(a,b,c){var d=mt(FNb(wj(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return MVc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:f,
totalMemberCount:null!=(h=Hu(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:NNb(null!=(l=b.getDisplayInfo())?l:null),fieldAffinity:-Infinity,group:b}];b=k(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,u(c.value));return d},OVc=function(a,b){var c=Klc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var t={id:pt(h.getEmail().getValue()),containerIds:LNb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:PNb(null!=(l=
h.getDisplayInfo())?l:null),itemAffinity:-Infinity,fieldAffinity:NNb(null!=(q=h.getDisplayInfo())?q:null)};if(h=YNb(h))t.targetExtendedData=h}else t=null;return t}).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:NNb(null!=(f=a.getDisplayInfo())?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(u(d))},PVc=function(a,b,c){switch(b.getDataCase()){case 1:return MVc(a,
Ll(b,U9,1,vVc),c);case 2:return NVc(a,b.getGroup(),c);case 3:return OVc(Ll(b,uVc,3,vVc),c);default:return[]}},QVc=function(a,b,c){return Ii(b,W9,1,hi()).flatMap(function(d){return PVc(a,d,c)})};var aOb=new Map([[0,1],[1,2],[2,3],[3,4]]);var RVc=function(a){this.internalArray_=m(a)};Y(RVc,n);g=RVc.prototype;g.getLabel=function(){return yo(this,1)};g.setLabel=function(a){return jj(this,1,a)};g.hasLabel=function(){return Oi(this,1)};g.getItemCount=function(){return zu(this,2)};g.setItemCount=function(a){return gj(this,2,a)};g.hasItemCount=function(){return Mi(this,2)};g.getLookupInfo=function(){return Gi(this,zt,3)};g.setLookupInfo=function(a){return hj(this,zt,3,a)};g.hasLookupInfo=function(){return Ui(this,zt,3)};
g.getQueryLength=function(){return zu(this,4)};g.setQueryLength=function(a){return gj(this,4,a)};g.hasQueryLength=function(){return Mi(this,4)};g.getQueryScope=function(){return Qi(this,5,0)};g.setQueryScope=function(a){return jj(this,5,a)};g.hasQueryScope=function(){return Oi(this,5)};var SVc=function(a){this.internalArray_=m(a)};Y(SVc,n);g=SVc.prototype;g.getLabel=function(){return yo(this,1)};g.setLabel=function(a){return jj(this,1,a)};g.hasLabel=function(){return Oi(this,1)};g.getStatus=function(){return yo(this,2)};g.setStatus=function(a){return jj(this,2,a)};g.hasStatus=function(){return Oi(this,2)};g.setLatencyUsec=function(a){pj(this,3,a)};g.getResultIndex=function(){return zu(this,4)};g.setResultIndex=function(a){gj(this,4,a)};
g.getDataSource=function(){return yo(this,7)};g.setDataSource=function(a){return jj(this,7,a)};g.hasDataSource=function(){return Oi(this,7)};g.getItemCount=function(){return zu(this,8)};g.setItemCount=function(a){return gj(this,8,a)};g.hasItemCount=function(){return Mi(this,8)};g.getLookupInfo=function(){return Gi(this,zt,10)};g.setLookupInfo=function(a){return hj(this,zt,10,a)};g.hasLookupInfo=function(){return Ui(this,zt,10)};g.setStatusCode=function(a){jj(this,11,a)};
g.getQueryLength=function(){return zu(this,13)};g.setQueryLength=function(a){return gj(this,13,a)};g.hasQueryLength=function(){return Mi(this,13)};g.getQueryScope=function(){return Qi(this,14,0)};g.setQueryScope=function(a){return jj(this,14,a)};g.hasQueryScope=function(){return Oi(this,14)};var TVc=function(a){this.internalArray_=m(a)};Y(TVc,n);var UVc=function(a){this.internalArray_=m(a)};Y(UVc,n);g=UVc.prototype;g.getDataSource=function(){return yo(this,3)};g.setDataSource=function(a){return jj(this,3,a)};g.hasDataSource=function(){return Oi(this,3)};g.getType=function(){return yo(this,4)};g.setType=function(a){return jj(this,4,a)};g.hasType=function(){return Oi(this,4)};g.getValue=function(){return Zi(this,2,1)};g.getValue_asLegacyNumberOrString=function(){return Zi(this,2,1)};g.setValue=function(a){return pj(this,2,a)};
g.hasValue=function(){return Yi(this,2)};g.getLabel=function(){return wj(this,1)};g.setLabel=function(a){return Zh(this,1,a)};g.hasLabel=function(){return Ni(this,1)};var Z9=function(a){this.internalArray_=m(a)};Y(Z9,n);g=Z9.prototype;g.setStatusCode=function(a){jj(this,5,a)};g.getLabel=function(){return wj(this,1)};g.setLabel=function(a){return Zh(this,1,a)};g.hasLabel=function(){return Ni(this,1)};g.getCause=function(){return wj(this,2)};g.getType=function(){return yo(this,3)};g.setType=function(a){return jj(this,3,a)};g.hasType=function(){return Oi(this,3)};var $9=function(a){this.internalArray_=m(a)};Y($9,n);g=$9.prototype;g.getType=function(){return yo(this,3)};g.setType=function(a){return jj(this,3,a)};g.hasType=function(){return Oi(this,3)};g.setLatencyUsec=function(a){pj(this,2,a)};g.getLabel=function(){return wj(this,1)};g.setLabel=function(a){return Zh(this,1,a)};g.hasLabel=function(){return Ni(this,1)};var a$=function(a){this.internalArray_=m(a)};Y(a$,n);a$.prototype.getLabel=function(){return yo(this,1)};a$.prototype.setLabel=function(a){return jj(this,1,a)};a$.prototype.hasLabel=function(){return Oi(this,1)};var VVc=function(a){this.internalArray_=m(a)};Y(VVc,n);g=VVc.prototype;g.getLabel=function(){return yo(this,1)};g.setLabel=function(a){return jj(this,1,a)};g.hasLabel=function(){return Oi(this,1)};g.getStatus=function(){return yo(this,2)};g.setStatus=function(a){return jj(this,2,a)};g.hasStatus=function(){return Oi(this,2)};g.setLatencyUsec=function(a){pj(this,3,a)};g.getErrorCode=function(){return Au(this,4)};g.hasErrorCode=function(){return Yi(this,4)};g.setStatusCode=function(a){jj(this,7,a)};
g.setBlockedUsec=function(a){return pj(this,8,a)};var b$=function(a){this.internalArray_=m(a)};Y(b$,n);g=b$.prototype;g.getClientInterface=function(){return Gi(this,bS,1)};g.setClientInterface=function(a){return hj(this,bS,1,a)};g.getEventType=function(){return yo(this,3)};g.getEventType_legacyNullable=function(){return yo(this,3)};g.setEventType=function(a){return jj(this,3,a)};g.getCacheStatus=function(){return Gi(this,TVc,12)};g.setCacheStatus=function(a){return hj(this,TVc,12,a)};g.getCount=function(){return Gi(this,UVc,4)};
g.setCount=function(a){return hj(this,UVc,4,a)};g.getLatency=function(){return Gi(this,$9,5)};g.setLatency=function(a){return hj(this,$9,5,a)};g.getError=function(){return Gi(this,Z9,6)};g.setError=function(a){hj(this,Z9,6,a)};g.hasError=function(){return Ui(this,Z9,6)};g.setRpcRequest=function(a){return hj(this,a$,7,a)};g.setRpcResponse=function(a){return hj(this,VVc,8,a)};g.setApiCall=function(a){return hj(this,RVc,9,a)};g.setApiResult=function(a){return hj(this,SVc,10,a)};var c$=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=$Nb(e):(a=new yt,ZNb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=Qi(c.getPeopleApi(),5,0);this.searchMaxResults_=c.getClient().getSearchMaxResults();this.cacheSize_=c.getClient().getCacheSize()};c$.prototype.getMetric=function(){return new WVc(this.trackers_.metrics_,this.sourceInfo_)};
c$.prototype.send=function(a){var b=new nVc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new M9).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};c$.prototype.processResponse=function(a){var b=QVc(this.leanResponseProcessor_,a,this.provenance_),c=new Jt;Ui(a,oVc,2)&&c.setAffinityVersion(Gi(a,oVc,2).getAffinityVersion());return{data:b,metadata:c}};
c$.prototype.close=function(){};var XVc=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new yt;ZNb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=Qi(c.getPeopleApi(),5,0)};XVc.prototype.getMetric=function(){return new WVc(this.trackers_.metrics_,this.sourceInfo_)};
XVc.prototype.send=function(a){var b=this,c=new BVc;c.setAffinityType(this.affinity_).setClientInformation((new M9).setDevice(1));c.setIdsList(this.keys_.map(function(d){return fOb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
XVc.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(Ii(a,CVc,1,hi()));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Zl(e,W9,2,DVc)){var f=PVc(b,Ll(e,W9,2,DVc),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),f);break;case 2:d.set(e.getId().getPhone_legacyNullable(),f);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),f);break;case 4:d.set(so(e.getId(),4,Ct),f)}}return{data:d,metadata:new Jt}};
XVc.prototype.close=function(){};var YVc=function(a){this.internalArray_=m(a)};Y(YVc,n);var ZVc=new Nu(342338249,YVc);var $Vc=function(){};$Vc.prototype.write=function(a,b){var c=new YVc;b=hj(c,X9,1,b);wt(a,ZVc,b)};$Vc.prototype.read=function(a){return(a=a.getExtension(ZVc))?Gi(a,X9,1):null};var aWc=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=$Nb("");this.trackers_=c;this.affinity_=Qi(b.getPeopleApi(),5,0)};aWc.prototype.getMetric=function(){return new WVc(this.trackers_.metrics_,this.sourceInfo_)};aWc.prototype.send=function(a){var b=new Y9;b.setAffinityType(this.affinity_).setClientInformation((new M9).setDevice(1));var c=this.grpcClient_;return bD(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},IVc)};
aWc.prototype.processResponse=function(){return{data:[],metadata:new Jt}};aWc.prototype.close=function(){};var bWc=new y3b;var d$=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};d$.prototype.send=function(a){var b=this;return me(function(c){return b.runtimeConfig_.isOffline_()?c.return(bWc):c.return(b.delegate_.send(a))})};d$.prototype.getMetric=function(){return this.delegate_.getMetric()};d$.prototype.processResponse=function(a){return a===bWc?this.offlineResponse_:this.delegate_.processResponse(a)};d$.prototype.close=function(a){this.delegate_.close(a)};
var cWc={data:[],metadata:B9(new Jt).setCode(14)},dWc={data:new Map,metadata:B9(new Jt).setCode(14)};B9(new Jt).setCode(14);B9(new Jt).setCode(14);B9(new Jt).setCode(14);B9(new Jt).setCode(14);var eWc=function(a){this.internalArray_=m(a)};Y(eWc,n);g=eWc.prototype;g.getTimestamp=function(){return Zi(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return Zi(this,1)};g.setTimestamp=function(a){return pj(this,1,a)};g.hasTimestamp=function(){return Yi(this,1)};g.getOwner=function(){return ec(this,2)};g.setOwner=function(a){return Zh(this,2,a)};var fWc=new Nu(342656659,eWc);var e$=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};e$.prototype.store_=function(a,b){var c=new uCc;wt(c,fWc,(new eWc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var gWc=function(a){var b,c;return me(function(d){if(1==d.nextAddress)return ne(d,2),oe(d,a.offlineStorage_.fetch(),4);if(2!=d.nextAddress){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(fWc);c=a.offlineMetadata_?Mlc(a.offlineMetadata_.getOwner()):tt;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}re(d);return d.return(null)})};
e$.prototype.send=function(a){var b=this,c,d,e,f,h;return me(function(l){switch(l.nextAddress){case 1:return ne(l,2),oe(l,b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==bWc){l.jumpTo(5);break}return oe(l,gWc(b),6);case 6:return e=l.yieldResult,l.return(e||bWc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return f=re(l),oe(l,gWc(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(f))}})};
e$.prototype.getMetric=function(){return this.delegate_.getMetric()};e$.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(this.offlineMetadata_.getTimestamp_asLegacyNumberOrString());return a};e$.prototype.close=function(a){this.delegate_.close(a)};var hWc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?ec(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new LRc(b);b=zQa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new JVc(b);this.offlineDataTransformer_=
new $Vc;a=Li(a.getClient(),22,!1);this.leanResponseProcessor_=new LVc({allowEmptyTargets:a})};hWc.prototype.loadRankedItems=function(){var a=new c$(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new d$(a,this.config_.runtimeConfig_,cWc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=pt(e),b=fi(b.getPeopleApi(),14,5E3),a=new e$(a,d,c,e,b))}return NRc(this.dispatcher_,a)};
hWc.prototype.warmUpServer=function(){var a=new aWc(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new d$(a,this.config_.runtimeConfig_,cWc);return NRc(this.dispatcher_,a)};hWc.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new c$(b,c,d,e,a);b=new d$(b,this.config_.runtimeConfig_,cWc);return NRc(this.dispatcher_,b)};
hWc.prototype.loadLookupItems=function(a,b){a=new XVc(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new d$(a,this.config_.runtimeConfig_,dWc);return NRc(this.dispatcher_,a)};var hOb=new Map([[1,1],[2,2]]);var kOb=new Map([[3,3],[1,2],[2,1]]),iWc=new Map([[2,1],[4,2],[3,3],[1,4]]),jWc=function(a){this.delegate_=a};
jWc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=Dt(b.getValue()),d=a.id.normalizedValue_;c=nt(a.id).setValue(c).setCanonicalValue(d);if(Ii(b,P9,2,hi()).length||Ui(b,rVc,3)){d=1;var e=0;if(Ii(b,P9,2,hi()).length){var f=Ii(b,P9,2,hi())[0];e=Au(f,1)||e;d=iWc.get(f.getStatus())||d}f=Ui(b,rVc,3)&&!!vt(Gi(b,rVc,3),1);d=ANb(d,e,f)}else d=null;d&&(c.emailSecurityInfo_=d);Ui(b,Q9,4)&&(b=iOb(Gi(b,Q9,4)),
c.orgState_=b);vt(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:c=a.contactMethod.getPhone();b=Dt(c.getCanonicalValue());c=Dt(c.getOriginalValue())||Dt(c.getDisplayValue())||b;b=nt(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=Ll(a.contactMethod,HNb,4,qt);b=nOb(a,b);break;default:b=nt(a.id||tt)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);vNb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(jOb(Ada($q(a.person.getAffinity(),
1))||""));a.contactMethod.hasDisplayInfo()&&lOb(b,a.contactMethod.getDisplayInfo());Ni(a.contactMethod,10)&&xNb(b,[yNb(a.contactMethod.getTypeLabel())]);if(Ui(a.contactMethod,sVc,13)){d=Gi(a.contactMethod,sVc,13);switch(d.getStatus()){case 1:c=1;break;default:c=0}d=d.hasClientData()?d.getClientData():void 0;b.reachabilityInfo_=new CNb(c,d)}a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?qOb(a,a.group.getDisplayInfo()):a.contactLabel&&qOb(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 WVc=function(a,b){this.metrics_=a;this.state_=new jS(b)};g=WVc.prototype;g.start=function(a){this.metrics_.start(this.state_,a)};g.stop=function(a){this.metrics_.stop(this.state_,a)};g.count=function(){this.metrics_.count(this.state_)};g.latency=function(){this.metrics_.latency(this.state_)};g.error=function(){this.metrics_.error(this.state_)};
g.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();jj(d,13,b)}c&&(b=this.state_.source(),gj(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var kWc=function(a){this.metrics_=a};kWc.prototype.error=function(a,b){var c=this.metrics_,d=new yt;a=d.setEventType(3).setErrorType(a);jj(a,7,b);return new QUc(c,d)};kWc.prototype.latency=function(a){var b=this.metrics_,c=new yt,d=c.setEventType(2);jj(d,5,a);return new RRc(b,c)};kWc.prototype.count=function(a){var b=this.metrics_,c=new yt,d=c.setEventType(1);jj(d,4,a);return new PUc(b,c)};kWc.prototype.api=function(a){return new OUc(this.metrics_,a)};var lWc=function(a,b){this.ranker_=new IUc(a.getClient());this.loader_=new hWc(a,b);b=bVc;b=void 0===b?bVc:b;this.targetFactory_=new mVc(a,new jWc(b))};var mWc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var rOb=function(a){this.delegate_=a};Y(rOb,yZ);var nWc=function(a){this.keys_=new Set(a)};nWc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};nWc.prototype.isDone=function(){return!this.keys_.size};var oWc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new nWc(a)};oWc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};oWc.prototype.isDone=function(){return this.delegate_.isDone()};var pWc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var qWc=new Vt,rWc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=E9(fi(c,31,5),1E3*Kl(c,32,3600))};g=rWc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return me(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(qWc);d=c.ids.map(function(l){if(Jlc.includes(Mlc(l).getType()))return l;var q=f$(b.itemResolver_,l);return q?String(q.id):l});e=new oWc(d);return oe(h,sWc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(qWc)})};
g.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return(this.indexes_.get(b.cacheKey)||D9).search(a.getTerms()).getMatches(a.getCollector()).map(sOb)};g.index=function(){};g.getName=function(){};var tWc=new UUc(60,61,34);var uWc=function(){};uWc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Li(a,30,!1)&&(b=new rWc(b,d,a),c=new G9(b,c,tWc),e.unshift(c))};var vWc=function(){return Date.now()},wWc=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};g=wWc.prototype;g.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};g.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};g.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};g.getTimestamp=function(){return this.timestamp_};g.setTimestamp=function(a){this.timestamp_=a};
g.markAsFresh=function(){this.timestamp_=this.nowFn_()};g.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var uOb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),tOb=new Map([[1,7],[2,5]]);var xWc=function(a,b){this.delegate_=a;this.extendedData_=b};Y(xWc,yZ);xWc.prototype.getExtendedData=function(){return this.extendedData_};var yWc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=Ns(this.group_.getId())?this.members_.length:c;this.resultType_=AQc.get(this.group_.getTargetType())||0};g=yWc.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("ef");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getMatchInfo=function(){return zQc};g.getExtendedData=function(){return null};var wOb=function(a,b){this.delegate_=a;this.loggingToken_=b};Y(wOb,mCc);wOb.prototype.getLoggingToken=function(){return this.loggingToken_};var zWc=function(a){this.itemResolver_=a};zWc.prototype.create=function(a,b){var c=this,d=Mlc(a);a=f$(this.itemResolver_,a);if(!a)return null;if(Ms(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return f$(c.itemResolver_,h)}).filter(Boolean):[a];return AWc(f,d,b)};
var AWc=function(a,b,c){var d=[],e=0,f=null,h=null;a=k(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,t=q.getId().equals(b);if(!e||t)e=q.getResultType();q=xOb(q,l.provenance,c);t?(h=void 0,f=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=LJb(e,d,f);return h?new xWc(b,h):b};
zWc.prototype.createGroup=function(a,b,c){c=xOb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new ar(new yWc(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new xWc(b,a):b};var yOb=[1,2,3,4,5,6,9,7,8],BWc=function(a,b){this.targetFactory_=a;this.resultFactory_=new zWc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?vWc:d;this.expiry_=new wWc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=E9(fi(b,6,500),1E3*fi(b,7,43200));d=Set;b=ej(b,25,hi());this.idTypes_=new d(b)};BWc.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var f$=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=BWc.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp_asLegacyNumberOrString()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=void 0===c?!1:c;if(d=void 0===d?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(0<e){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=k(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||!Jlc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),l=CWc(this,a,f);DWc(this,a,f,b,c)&&(l(f,b),e=!0);h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,DWc(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(Llc),DWc(this,a,h,b,c)&&(l(h,b),e=!0));d&&f!==d&&DWc(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var DWc=function(a,b,c,d,e){var f=f$(a,c);if(!f)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return 8===d.provenance&&8!==f.provenance?!1:e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?AOb(d)&&!AOb(f)||EWc(a,f)<EWc(a,d)||zOb(d)<zOb(f)||18===d.id.getType()&&18===f.id.getType()?!0:!1:String(d.id)===c},EWc=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},CWc=function(a,b,c){return a.ttlStorage_.has(c)||1===b?function(d,e){return a.ttlStorage_.set(d,e)}:function(d,e){return a.lruStorage_.set(d,e)}};var BOb=function(a,b){this.delegate_=a;this.displayValue_=b};Y(BOb,mCc);BOb.prototype.getDisplayValue=function(){return this.displayValue_};var DOb=function(){};DOb.prototype.createFromLookupId=function(a){if(1!==a.getType()||!Clc(a.getOriginalValue()))return null;a=nt(a).setValue(a.getOriginalValue()).setDataSource(3);return LJb(a.getResultType(),[a],null)};var FWc=function(){};FWc.prototype.createFromLookupId=function(){return null};var EOb=new FWc;var GWc=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=FOb(e.getClient())};g=GWc.prototype;g.isCancelled=function(){return!1};g.getFormat=function(){return this.format};g.getOptions=function(){return this.options};g.queryScope=function(){return this.options.getQueryScope()};
g.getResultFilter=function(){return this.options.getFilter()};g.isDone=function(){return 0===this.remainingIds.size};var NUc=function(a){return Array.from(a.remainingIds.values())};GWc.prototype.hasError=function(){return this.hasErrorCode};
GWc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||GOb(c.getCode())){var d=new Map,e=this.getResultFilter();a=k(a);for(var f=a.next();!f.done;f=a.next()){var h=k(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));if(h=e?e.filterResult(h):h)d.set(f,h),this.remainingIds.delete(String(f))}a=[];b=k(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?d.set(f,h):a.push(f);d=COb(d,this.options);GOb(c.getCode())&&(this.hasErrorCode=!0);e=(new xUc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new yUc(d,e);this.callbackNumber++;this.listener(d,c)}};var HWc=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};HWc.prototype.flush=function(){this.indexer.flush()};
HWc.prototype.lookup=function(a,b,c,d){var e=this,f,h,l,q,t,w;return me(function(B){switch(B.nextAddress){case 1:null==(f=d.getFilter())||f.reset(""),h=new GWc(a,b,c,d,e.clientConfig),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=k(e.stages),t=q.next();case 2:if(t.done){B.jumpTo(4);break}w=t.value;if(h.isDone()||h.isCancelled()){B.jumpTo(4);break}if(l.has(w.getStageType())){B.jumpTo(3);break}return oe(B,w.lookup(h),3);case 3:t=q.next();B.jumpTo(2);break;
case 4:if(!h.isDone()){if(0===h.queryScope()&&!h.hasError()){var D=e.indexer,J=Array.from(h.notNotifiedIds.values());J=k(J);for(var H=J.next();!H.done;H=J.next())H=String(H.value),D.notFoundIds.set(H,H)}h.notify(new Map,NUc(h),v9((new Vt).setProvenance(10),!1).setCode(0))}e.indexer.compact();return B.return()}})};var IWc=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=E9(fi(a,10,500),1E3*Kl(a,11,600))};g=IWc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Li(c,5))for(B9(c),b=k(b),c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;c=String(mt(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=r2a(a).filterResult(b));return b};var JWc={ids:[],cacheKey:"",primingTimeoutMillis:0};var KWc=function(){};KWc.prototype.loadOrSkip=function(){return null};KWc.prototype.resultCount=function(){return 0};KWc.prototype.isDone=function(){return!0};var LWc=new KWc;var MWc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=LWc;this.boostKey_=JWc;this.listener_=function(){}};g=MWc.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 NWc=new MWc;var OWc=function(){this.fetchDone_=Promise.resolve((new Vt).setCode(0))};g=OWc.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 PWc=new OWc;var QWc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||PWc;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
QWc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return me(function(l){if(1==l.nextAddress)return oe(l,b.primary_.fetch(a),2);if(3!=l.nextAddress){c=l.yieldResult;if(0!==c.getCode())return l.return(c);d=k(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?oe(l,Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
QWc.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new Vt).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,u(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var RWc=function(a){var b=[a.primary_].concat(u(a.prefetched_.filter(function(d){return d!==a.primary_})),u(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},SWc=function(a,b){var c=[];a=k(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,u(d.search(b)))}return c},UWc=function(a,b,c){var d,e,f,h,l;return me(function(q){if(1==q.nextAddress){if(2===b.queryScope())return q.return();
d=a.lazyLoaded_.filter(function(t){return!b.shouldSkipCache(t.getName())});e=d[d.length-1];f=k(d);h=f.next()}if(3!=q.nextAddress){if(h.done)return q.jumpTo(0);l=h.value;return b.isDone()||b.isCancelled()?q.return():oe(q,TWc(l,b,c,e===l),3)}h=f.next();return q.jumpTo(2)})},TWc=function(a,b,c,d){var e,f;return me(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=v9((new Vt).setProvenance(6).setCode(0),!1),h.jumpTo(2)):oe(h,a.fetch(b),3);2!=h.nextAddress&&(e=h.yieldResult);if(b.isCancelled())return h.return();
f=a.search(b);c(f,e,d);se(h)})};var VWc=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=VWc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){WWc(this,NWc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(y9(x9((new w9).setSource(v9(new Vt,!1).setProvenance(1).setCode(0)),g$(this)),g$(this)))};g.flushCache=function(a){switch(a){case 2:return XWc(this),Promise.resolve(new w9);case 1:return this.storage_.markAsStale(),Promise.resolve(new w9);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return me(function(l){switch(l.nextAddress){case 1:c=x9(new w9,g$(b));WWc(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return oe(l,b.cacheWarming_,2);case 2:return ne(l,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),oe(l,b.sessionWarming_,7);case 7:return d=l.yieldResult,e=d.find(function(q){return 2===q.getProvenance()})||(new Vt).setProvenance(2).setCode(0),l.return(y9(c.setSource(e),g$(b)));case 5:pe(l);b.sessionWarming_=
null;qe(l,0);break;case 4:return f=re(l),h=f instanceof Vt?f:(new Vt).setProvenance(2).setCode(13),l.return(Promise.reject(y9(c.setSource(h),g$(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return me(function(l){switch(l.nextAddress){case 1:YWc(b);ne(l,2);d=g$(b);WWc(b,a);if(!a.isSuggestQuery()){l.jumpTo(4);break}if(!b.cacheWarming_){l.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){l.jumpTo(5);break}return oe(l,b.cacheWarming_,7);case 7:c=l.yieldResult;case 5:if(!b.sessionWarming_){l.jumpTo(4);break}return oe(l,b.sessionWarming_,4);case 4:return c||(c=y9(x9((new w9).setSource(v9(new Vt,!1).setProvenance(1).setCode(0)),d),g$(b)),
WWc(b,a)),oe(l,ZWc(b,a,c),10);case 10:au(l,0);break;case 2:f=re(l);if(a.isCancelled())return l.return();f instanceof w9?c=f:(h=f instanceof Vt?f:(new Vt).setCode(13),y9(c.setSource(h),g$(b)));a.getListener()(new A9([],(new z9).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));se(l)}})};
var ZWc=function(a,b,c){var d,e,f,h;return me(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=SWc(a.prefixSearch_,b);e=(new z9).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new A9(d,e));if(e.getIsLastCallback())return l.return();f=!1;return oe(l,UWc(a.prefixSearch_,b,function(q,t,w){t=(new z9).setIsLastCallback(w).setQuery(b.getPrefix()).setCode(t.getCode()).setCacheState(y9(x9((new w9).setSource(t),
Ot(c,2)),g$(a)));b.getListener()(new A9(q,t));t.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new z9).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(y9(x9((new w9).setSource((new Vt).setProvenance(10).setCode(0)),Ot(c,2)),g$(a))),b.getListener()(new A9([],h)));se(l)})};
VWc.prototype.lookup=function(a,b,c){var d=this;YWc(this);WWc(this,NWc);var e=x9(new w9,g$(this));this.lookupCache_.lookup(a,Qi(this.clientInfo_,17,1),function(f,h){e.setSource(h);y9(e,g$(d));f.getMetadata().setCacheState(e);b(f)},c)};
var WWc=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&XWc(a),!a.cacheWarming_)){var c=g$(a);a.cacheWarming_=new Promise(function(d,e){var f,h,l,q;return me(function(t){switch(t.nextAddress){case 1:return f=x9(new w9,c),ne(t,2,3),oe(t,a.prefixSearch_.prefetch(b),5);case 5:h=t.yieldResult,y9(f,g$(a)).setSource(h),d(f);case 3:pe(t);a.cacheWarming_=null;qe(t,0);break;case 2:l=re(t),q=l instanceof Vt?l:(new Vt).setCode(13),
y9(f,g$(a)).setSource(q),e(f),t.jumpTo(3)}})})}},g$=function(a){return a.storage_.getExpiry().getStatus()},XWc=function(a){RWc(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},YWc=function(a){var b=1===g$(a)?1:2;a.trackers_.count(b).increment()};var $Wc=function(a){this.itemResolver_=a},aXc=function(a,b,c){c=void 0===c?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var f=c.push,h=f.apply,l=e.split(BUc).filter(Boolean),q=l.length-1;if(0<q){var t=l.join(".");l.push(l.join("-"));for(l.push(t);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(fNb,""));"+"===e[0]&&l.push("+"+l[0]);h.call(f,c,u(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=k(b.memberKeys),d=b.next();!d.done;d=b.next())(d=f$(a.itemResolver_,d.value))&&aXc(a,d,c);return c};var bXc=new wUc,cXc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new $Wc(a);this.trieRoots_=new Map},sWc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||D9).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(l){var q=pWc(b).map(Mlc);a.lookupCache_.lookup(q,c,function(t){var w=Array.from(t.getResults().keys(),String);w=dXc(a,w);Array.prototype.push.apply(e.items_,
w);DUc(e);t.getMetadata().getIsLastCallback()&&(f.stop(),l(e))},bXc)});return IOb(h,e,d)},LUc=function(a,b){a=dXc(a,b);return new C9(a)},dXc=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=f$(a.itemResolver_,d);e&&(e=aXc(a.indexer_,e),c.push(new CUc(d,e)))}return c};var eXc=function(){this.queryId_=0};eXc.prototype.getQueryId=function(){return this.queryId_};var fXc=function(a){this.delegate=a};g=fXc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return me(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return me(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var gXc=function(){this.delegate=pCc};gXc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};gXc.prototype.reset=function(a){this.delegate.reset(a)};var hXc=function(a,b){a.delegate=null!=b?b:pCc};var iXc=function(a){this.delegate=a};g=iXc.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 jXc=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};jXc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};jXc.prototype.resultCount=function(){return this.count_};jXc.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var kXc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new jXc(d,c.limit));this.collector=d;this.listener=function(h){var l=h.getMetadata();l.getIsLastCallback()&&l.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?t2a.apply(null,u(d)):null;var f;this.scope=null!=(f=c.scope)?f:a.queryScope()};Y(kXc,iXc);g=kXc.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 lXc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};Y(lXc,fXc);
lXc.prototype.search=function(a){var b=this,c,d,e,f,h,l;return me(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(t){return!c.has(t.visibility)}),e=d.map(function(t,w){return new kXc(a,b.originalFilter,t,w===d.length-1)}),f=k(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}hXc(b.filterInterceptor,l.getResultFilter());return oe(q,b.delegate.search(l),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var mXc=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=iNb([b]);this.id_=pt(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new wNb).setDisplayName(c),q=h.getPrimaryTarget();h=n2a(h,new nCc(q,l))}return h});e=new A9(f,e.getMetadata());a.getListener()(e)}};Y(mXc,iXc);mXc.prototype.getPrefix=function(){return this.query_};mXc.prototype.getTerms=function(){return this.terms_};
mXc.prototype.getListener=function(){return this.listener_};var nXc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new eXc;this.clientInfo_=c};g=nXc.prototype;g.warmUpSession=function(a){a=oXc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=oXc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=oXc(this.queryFactory_,a,this.querySession_,c,b);Li(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=Alc(b),c.isValid()||(c=Alc(b+">")),a=c.isValid()&&c.getName()?new mXc(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};g.cancel=function(){++this.querySession_.queryId_};g.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
g.getReporter=function(){throw Error("Te");};g.getSessionState=function(){throw Error("Te");};g.getHide=function(){throw Error("Te");};var pXc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Li(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new gXc;e.setFilter(q);e=new lXc(f,h,q,l)}else e=f;return e}:function(){return d.cache_}};pXc.prototype.warmUpCache=function(){return this.cache_.warmUpCache()};pXc.prototype.flushCache=function(a){this.cache_.flushCache(a)};pXc.prototype.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
pXc.prototype.beginSession=function(a){a=this.getSessionCache_(a);return new nXc(a,this.queryFactory_,this.clientInfo_)};var qXc=function(){};g=qXc.prototype;g.getCacheType=function(){return 3};g.flush=function(){};g.fetch=function(){return me(function(a){return a.return(v9(new Vt,!1).setProvenance(12).setCode(0))})};g.index=function(){};g.search=function(a){return a.isEmailAddress()?(a=a.getCollector().loadOrSkip(String(pt(a.getPrefix()))))?[a]:[]:[]};g.getName=function(){};var rXc=function(){};rXc.prototype.configure=function(a){var b=a.prefixCaches;Li(a.clientConfig.getClient(),21,!1)&&b.push(new qXc)};var sXc=function(a,b,c,d,e,f,h,l){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=JOb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=l?new Set(l):null};g=sXc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.delegate_.getFormat()};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};
g.getListener=function(){return this.listener_};g.isDone=function(){return this.collector_.isDone()};g.isCancelled=function(){return this.delegate_.isCancelled()};g.isSuggestQuery=function(){return!this.prefix_};g.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=Clc(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 tXc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};tXc.prototype.getFormat=function(){return this.format_};tXc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};tXc.prototype.queryScope=function(){return this.queryScope_};var h$=function(){this.foundKeys_=new Set};Y(h$,oCc);h$.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};h$.prototype.has=function(a){return this.foundKeys_.has(a)};h$.prototype.add=function(a){this.foundKeys_.add(a)};h$.prototype.reset=function(){this.foundKeys_.clear()};var uXc=function(a){this.delegate_=a;this.filter_=new h$};uXc.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=k(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};uXc.prototype.resultCount=function(){return this.delegate_.resultCount()};uXc.prototype.isDone=function(){return this.delegate_.isDone()};var vXc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};vXc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};vXc.prototype.resultCount=function(){return this.delegate_.resultCount()};vXc.prototype.isDone=function(){return this.delegate_.isDone()};var wXc=function(a,b){this.storage_=a;this.format_=b};wXc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};wXc.prototype.resultCount=function(){return 0};wXc.prototype.isDone=function(){return!1};var xXc=[198,230,306,307,338,339],yXc=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)"+Jo(b),"g")})},KOb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=lt(gNb(b)).replace(hNb,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=k(a.matchers_);for(var f=a.next();!f.done;f=a.next()){f=f.value;f.lastIndex=
0;for(var h=f.exec(d);h;h=f.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,f.lastIndex])}}c.sort(function(l,q){return l[0]-q[0]});for(e=c.length-1;0<e;e--)a=c[e-1],f=c[e],a[1]>=f[0]&&(a[1]=f[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)f=b.codePointAt(a),65535<f||768<=f&&879>=f?(d.push(a),a++):xXc.includes(f)&&e.push(a);b=k(c);for(a=b.next();!a.done;a=b.next()){a=a.value;f=k(d);for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;f=k(e);
for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var It=function(a,b){this.start_=a;this.end_=b};It.prototype.getStart=function(){return this.start_};It.prototype.getEnd=function(){return this.end_};var LOb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};LOb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};LOb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};LOb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var zXc=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new zXc(c,b)});this.matchInfo_=null};Y(zXc,yZ);zXc.prototype.getMemberList=function(){return this.memberList_};zXc.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=MOb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var AXc=function(a,b){this.delegate_=a;this.matcher_=new yXc(b)};AXc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new zXc(a,this.matcher_):null};AXc.prototype.resultCount=function(){return this.delegate_.resultCount()};AXc.prototype.isDone=function(){return this.delegate_.isDone()};var BXc=function(a){var b=new DOb;this.delegate=a;this.placeholderFactory=b};BXc.prototype.loadOrSkip=function(a){var b;return null!=(b=this.delegate.loadOrSkip(a))?b:this.placeholderFactory.createFromLookupId(Mlc(a))};BXc.prototype.resultCount=function(){return this.delegate.resultCount()};BXc.prototype.isDone=function(){return this.delegate.isDone()};var CXc=/\s+/g,DXc=function(a,b){this.clientInfo_=a;this.storage_=b},oXc=function(a,b,c,d,e){var f=iNb([b]);b=(b||"").replace(CXc," ").trim();var h=!f.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var t=d.boostIds_;q=d.primingTimeoutMillis_;if(t.length){t=t.map(String);var w=QNb(t)+":"+t.length;q={ids:t,cacheKey:w,
primingTimeoutMillis:q}}else q=JWc;t=d.getFilter();w=b;var B=new wXc(a.storage_,l);Li(a.clientInfo_,21,!1)&&Clc(w)&&(B=new BXc(B));t&&(B=new vXc(B,t,w));B=new uXc(B);B=new jXc(B,h);a=f.length?new AXc(B,f):B;h=d.getQueryScope();c=new tXc(l,c,h);return new sXc(c,b,f,a,q,e,t,d.selectedCustomProviderNames_)};var EXc=function(a){this.fetcher=a};EXc.prototype.getStageType=function(){return 2};EXc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,t,w;return me(function(B){switch(B.nextAddress){case 1:c=OOb(NUc(a)),d=k(c),e=d.next();case 2:if(e.done){B.jumpTo(4);break}f=e.value;h=k(f);l=h.next().value;q=h.next().value;t=l;w=q;if(!t){B.jumpTo(3);break}return oe(B,b.fetcher.fetch(w,t,a.getFormat(),function(D,J){a.notify(D,[],J)},a.getOptions()),3);case 3:e=d.next();B.jumpTo(2);break;case 4:return B.return()}})};var FXc=function(a,b){this.delegate=a;this.maxLookupChunkSize=kVc(b)};FXc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q;return me(function(t){switch(t.nextAddress){case 1:var w=f.maxLookupChunkSize;if(a.length)if(a.length<=w)w=[a];else{for(var B=[],D=0;D<a.length;D+=w){var J=a.slice(D,D+w);J.length&&B.push(J)}w=B}else w=[];h=k(w);l=h.next();case 2:if(l.done){t.jumpTo(4);break}q=l.value;return oe(t,f.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();t.jumpTo(2);break;case 4:return t.return()}})};var GXc=function(a){this.qos=a};GXc.prototype.getIndex=function(){return String(this.qos)};var HXc=new GXc(1),IXc=new GXc(2);var JXc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
JXc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q,t,w,B,D,J,H,O,P;return me(function(U){switch(U.nextAddress){case 1:return h=3===b?4:3,l=v9((new Vt).setProvenance(h),!0).setCode(0),ne(U,2),oe(U,f.loader.loadLookupItems(b,a.map(function(aa){return aa.getOriginalValue()}),IXc),4);case 4:q=U.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());t=3===e.getQueryScope();try{f.indexer.store(b,q.data,q.metadata,t)}catch(aa){f.trackers.error(21,10).report(),l.setCode(13)}au(U,3);break;
case 2:w=re(U),B=Number(w),l.setCode(isFinite(B)&&B?B:13);case 3:D=new Map;J=k(a);for(H=J.next();!H.done;H=J.next())O=H.value,(P=f.indexer.load(O,c,e.useOriginalDisplayValue_))&&D.set(O,P);d(D,l);return U.return()}})};var KXc=function(a){this.indexer=a};KXc.prototype.getStageType=function(){return 1};KXc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l;return me(function(q){c=new Map;d=[];e=k(NUc(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,l=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var t=b.indexer;(Nlc(h)?t.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,v9((new Vt).setProvenance(6),!1).setCode(0));return q.return()})};var LXc=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"),MXc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.indexes_=E9(fi(e,8,250),1E3*Kl(e,9,3600));this.notFound_=E9(fi(e,10,500),1E3*Kl(e,11,600))};g=MXc.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 me(function(f){switch(f.nextAddress){case 1:c=v9(new Vt,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(HXc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(v9(c,!1));ne(f,2);return oe(f,b.loader_.loadAutocompleteItems(a,IXc),4);case 4:d=f.yieldResult;au(f,3);break;case 2:return e=re(f),f.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return f.return(c.setCode(13))}return f.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};g.index=function(a,b,c){if(!Li(c,5))if(B9(c),b.length){c=JUc(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=LUc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
g.canSkipFetch_=function(a){if(3===a.queryScope())return!1;var b=a.getPrefix();if(this.indexes_.has(b)||this.notFound_.has(b))return!0;if(a.isEmailAddress())return!1;for(a=b.length-1;0<a;a--){var c=b.substr(0,a);if(c.match(LXc))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var NXc=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=NXc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return me(function(h){switch(h.nextAddress){case 1:return c=v9(new Vt,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?IXc:HXc,ne(h,2),oe(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;au(h,3);break;case 2:return f=re(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||D9).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Li(c,5)){B9(c);a=1!==this.coalescedSortOrder_?JUc(this.ranker_,b,this.coalescedSortOrder_):null;var d=JUc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=LUc(this.trieFactory_,d);c=a?LUc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var OXc=new UUc(27,32,33),PXc=new UUc(24,23,20);var QXc=function(){};QXc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,t=a.clientConfig.getClient();if(0<t.getCacheSize()){var w=Qi(t,19,1);w=new NXc(e,q,f,c,w);w=new G9(w,b,PXc);h.push(w);l.push(new KXc(d))}0<t.getSearchMaxResults()&&(c=new MXc(e,q,f,c,t),b=new G9(c,b,OXc),h.push(b));h=new JXc(a.trackers,a.loader,a.indexer);h=new FXc(h,a.clientConfig);l.push(new EXc(h))};var RXc=function(a){this.delegate=a};g=RXc.prototype;g.warmUpSession=function(a){return this.delegate.warmUpSession(a)};g.suggest=function(a,b){this.delegate.suggest(a,b)};g.search=function(a,b,c){this.delegate.search(a,b,c)};g.cancel=function(){this.delegate.cancel()};g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.getReporter=function(a){return this.delegate.getReporter(a)};
g.getSessionState=function(){return this.delegate.getSessionState()};g.getHide=function(){return this.delegate.getHide()};var i$=function(a){this.delegate=a};i$.prototype.warmUpCache=function(){return this.delegate.warmUpCache()};i$.prototype.flushCache=function(a){this.delegate.flushCache(a)};i$.prototype.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};i$.prototype.beginSession=function(a){return this.delegate.beginSession(a)};var SXc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};SXc.prototype.getId=function(){return this.id_};SXc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var TXc=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=TXc.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 SXc(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 TXc(a,b,c)};var UXc=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new GRc;this.isSent_=!1};UXc.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)}};UXc.prototype.promise=function(){return this.resolver_.promise};
UXc.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=k(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var VXc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=kVc(c);this.lastRequestCreationTime_=0};
VXc.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 UXc(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Mq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var WXc=function(a,b){this.delegate_=a;this.inflightRequests_=GUc();this.tracker_=b};
WXc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=k(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=a.clone().setIds(d);var q=new UXc(this.delegate_,l);q.send();c.add(q);a=k(l.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 t=k(l.getKeys()),w=t.next();!w.done;w=t.next())b.inflightRequests_.delete(w.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(t){return t.promise()})).then(function(t){return q?q.promise().then(function(w){return POb(t,w.metadata)}):POb(t)})};var XXc=function(a){this.peopleLoader_=a};XXc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var YXc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};YXc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new XXc(this.peopleLoader_);b=new VXc(b,this.tracker_,this.clientConfig_);b=new WXc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var ZXc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new YXc(this.delegate_,this.trackers_,c)},$Xc=function(a,b,c,d){var e,f;return me(function(h){if(1==h.nextAddress){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));f=d();a.searchRequests_.set(e,f);h.catchAddress_=0;h.finallyAddress_=2;return oe(h,f,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);pe(h);a.searchRequests_.delete(e);
return qe(h,0)})};ZXc.prototype.loadRankedItems=function(a){var b=this;return $Xc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};ZXc.prototype.warmUpServer=function(a){var b=this;return $Xc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};ZXc.prototype.loadAutocompleteItems=function(a,b){var c=this;return $Xc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};
ZXc.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new TXc(a,b,c))};var aYc=function(){return Date.now()},bYc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*Kl(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*Kl(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};bYc.prototype.loadRankedItems=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastCacheFlush_+this.cacheFlushRateMillis_>c?b=!0:(this.lastCacheFlush_=c,b=!1);return b?Promise.reject(1):this.delegate_.loadRankedItems(a)};
bYc.prototype.warmUpServer=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastServerWarmup_+this.serverWarmupRateMillis_>c?b=!0:(this.lastServerWarmup_=c,b=!1);return b?Promise.reject(1):this.delegate_.warmUpServer(a)};bYc.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};bYc.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var cYc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=cYc.prototype;g.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_);return this};g.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};g.cancel=function(){this.delegate_.cancel();return this};g.getReporter=function(a){a=void 0===a?cTc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var dYc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=Ns(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};Y(dYc,yZ);dYc.prototype.getMemberList=function(){return this.members_};dYc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var eYc=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};eYc.prototype.filterResult=function(a){var b=this;if(!Ns(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return this.filterEmptyExplodingGroups_&&0===c.length?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new ar(new dYc(a,c))};eYc.prototype.reset=function(a){this.filter_.reset(a)};
var QOb=function(a,b){this.filter_=t2a(a,new eYc(a,b))};QOb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};QOb.prototype.reset=function(a){this.filter_.reset(a)};var fYc=function(a){this.delegate_=a};fYc.prototype.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof w9&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};fYc.prototype.flushCache=function(a){this.delegate_.flushCache(a)};fYc.prototype.lookup=function(a,b,c){c=void 0===c?new wUc:c;c.setFilter(ROb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};
fYc.prototype.beginSession=function(a,b){b=void 0===b?new at:b;b=b.clone();b.setFilter(ROb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new cYc(c,a,b)};var gYc=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]]),hYc=new Map([[2,13],[3,6]]),iYc=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 SOb=new Map([[1,1],[2,3],[3,5]]),jYc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[12,21],[10,20]]),kYc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[12,21],[10,20]]),lYc=function(a,b){this.logContext_=VOb(a,b)};g=lYc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=new b$;switch(d.getEventType()){case 1:d=e.setCount;b=Qi(b.source(),4,0);var f=new UVc;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=Qi(b.source(),3,0);d=new a$;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=Qi(b,2,0);f=new RVc;b.hasItemCount()&&f.setItemCount(b.getItemCount());b.hasQueryLength()&&f.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
f.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&f.setQueryScope(b.getQueryScope());f.setLabel(d);c.call(e,f);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=new b$;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=Qi(f,3,0);var l=Qi(f,13,0)||0;l=hYc.get(l)||gYc.get(c)||0;var q=kS(b,"blocked"),t=kS(b,"network"),w=kS(b,"processed");b=new VVc;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(t);pj(b,9,w);b.setStatusCode(c);fi(f,12,0)&&(c=fi(f,12,0),pj(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();l=Qi(h,2,0);f=new SVc;
f.setLabel(l);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());0===c&&(b=kS(b,"total"),f.setLatencyUsec(b));c=iYc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=TOb(yo(b,2)),jj(f,5,c),c=TOb(yo(b,3)),jj(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Li(h,1),h=h.getProvenance(),
b=(b?kYc.get(h):jYc.get(h))||0,c.call(f,b);d.call(e,f);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
g.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new b$;d.setClientInterface(a);a=d.setLatency;var e=Qi(b.source(),5,0);if(37===e||38===e||40===e){e=Qi(b.source(),5,0);var f=kS(b,"LATENCY_A");b=kS(b,"LATENCY_B");b=null!=f&&null!=b?f-b:NaN;f=new $9;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=kS(b,"total"),f=new $9,f.setType(e),f.setLatencyUsec(b),e=f;a.call(d,e);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new b$;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Qi(e,7,0);var f=new Z9;f.setType(b);jj(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var mYc=function(a,b){this.delegate_=a;this.trackers_=b};g=mYc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=void 0===b?new dTc: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();nYc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);nYc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);nYc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);nYc(this)};var nYc=function(a){a=a.trackers_;var b=a.api,c=new yt;At(c.setEventType(6),3);b.call(a,c).call()};var oYc=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};Y(oYc,RXc);
oYc.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(eOb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());l.getIsFirstCallback()&&(d&&0===l.getCode()&&c.trackers_.error(22,19).report(),d=!0);l.getIsLastCallback()&&(e&&0===l.getCode()&&c.trackers_.error(22,20).report(),e=!0);l=c.trackers_.latency(90);l.start();
try{a(h)}catch(t){throw c.trackers_.error(22,11).report(),t;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
oYc.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(dOb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(l.getResults().length);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(23,20).report(),f=!0);q=d.trackers_.latency(91);q.start();
try{b(l)}catch(w){throw d.trackers_.error(23,11).report(),w;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};oYc.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new mYc(a,this.trackers_)};var j$=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new yt;At(c.setEventType(6),1);b.call(a,c).call()};Y(j$,i$);
j$.prototype.warmUpCache=function(){var a=this,b=this.trackers_.api(cOb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof w9?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new w9).setSource((new Vt).setCode(2)));return Promise.reject(c)})};
j$.prototype.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 2:var d=12;break;case 1:d=4;break;default:d=10}var e=new yt;At(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(17,1).report(),f;}};
j$.prototype.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(bOb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(l.getResults().size);for(var w=0,B=0,D=0,J=k(l.getResults().keys()),H=J.next();!H.done;H=J.next())H=H.value,Glc.includes(H.getType())?w++:Hlc.includes(H.getType())?B++:Ilc.includes(H.getType())&&D++;var O=0;J=H=0;for(var P=k(q.notFoundIdList_),U=P.next();!U.done;U=
P.next())U=U.value,Glc.includes(U.getType())?O++:Hlc.includes(U.getType())?H++:Ilc.includes(U.getType())&&J++;P=h.source.getLookupInfo();w=gj(P,2,w);B=gj(w,1,B);D=gj(B,3,D);D=gj(D,5,O);D=gj(D,4,H);gj(D,6,J);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(8,20).report(),f=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(aa){throw d.trackers_.error(8,11).report(),
aa;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};j$.prototype.beginSession=function(a){var b=this.trackers_,c=b.api,d=new yt;At(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new oYc(a,this.trackers_)};var pYc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};pYc.prototype.report=function(a){var b=Vlc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())Wlc(this.clearcut_,b.value)};var qYc=function(a){this.clearcut_=a};qYc.prototype.report=function(a){this.clearcut_.report(a)};var rYc=function(a){this.writer_=a};var sYc=function(){};
sYc.prototype.create=function(a,b,c){var d=new klc;d.setQueryId(Zi(b,3,0));d.setSelectionId(Zi(b,4,0));var e=Zi(b,5,0);pj(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new llc;hj(e,klc,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var f=new mlc;d=EQa(Kl(b,9,0)-Kl(b,8,0));gj(f,2,d);d=new rS;hj(d,llc,1,e);hj(d,mlc,6,f);e=new jlc;if(f=Zi(b,6,0)){pj(e,3,1E3*f);var h=1E3*(Date.now()-f);pj(e,2,h)}$h(e,1,!!f);
hj(d,jlc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new nlc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var tYc=function(){};tYc.prototype.extractPersonEventSource=function(a){return yo(WOb(a),4)};tYc.prototype.extractFieldEventSource=function(a){return yo(WOb(a),3)};var uYc=function(){};uYc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new Nt;return(a.getQuery()||"").length?yo(b,2):yo(b,4)};uYc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new Nt;return(a.getQuery()||"").length?yo(b,1):yo(b,3)};var vYc=function(){};vYc.prototype.extractPersonEventSource=function(a){return yo(XOb(a),4)};vYc.prototype.extractFieldEventSource=function(a){return yo(XOb(a),3)};var ZOb=new Set([8]);var wYc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var xYc=new Map([[1,11],[2,12],[0,0]]),yYc=function(){};yYc.prototype.write=function(a,b,c){var d=new lS;gj(d,1,c);c=new mS;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());hj(a,mS,8,c);b=xYc.get(b.getContext());qj(a,3,[b])};var zYc=new Map([[1,5],[2,4],[3,6],[7,13]]),AYc=function(){};AYc.prototype.write=function(a,b,c,d){var e=new lS;gj(e,1,c);a.setPosition(e);c=zYc.get(b.getProvenance())||0;d||1===Qi(b,4,0)?c=3:2===Qi(b,4,0)&&(c=10);qj(a,3,[c])};var BYc=new Set([9,1,2]),CYc=function(){};CYc.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&BYc.has(d))c=new nS,1!==yo(b,7)&&7!==yo(b,7)||c.setEmail(Ju(b,3)),2!==yo(b,7)&&5!==yo(b,7)||c.setPhone(Ju(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),hj(a,nS,4,c),c=new oS,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new pS,hj(b,oS,2,c),a.setMetadata(b)};var DYc=function(a){var b=new CYc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},EYc=function(a){var b;return(null==(b=Gi(a,Ht,1))?0:b.getIsPlaceholder())?!0:!1};var Tt=function(a){this.internalArray_=m(a)};Y(Tt,n);g=Tt.prototype;g.getEventType=function(){return Qi(this,1,0)};g.getEventType_legacyNullable=function(){return yo(this,1)};g.setEventType=function(a){return jj(this,1,a)};g.getSessionState=function(){return Gi(this,xZ,2)};g.setSessionState=function(a){hj(this,xZ,2,a)};g.hasSessionState=function(){return Ui(this,xZ,2)};g.setEventSources=function(a){hj(this,Nt,4,a)};Tt.repeatedFields_=[3];var FYc=function(){this.defaultEntityFactory_=new rYc(new DYc(new AYc));this.contextualEntityFactory_=new rYc(new DYc(new yYc));this.extensionFactory_=new sYc;this.defaultEventSourceExtractor_=new uYc;this.additionEventSourceExtractor_=new tYc;this.replacementEventSourceExtractor_=new vYc};
FYc.prototype.create=function(a,b){var c=b.getSessionState()||new xZ,d=b.getEventType_legacyNullable();b=Ii(b,Ft,3,hi(zi));var e=aPb(b,cPb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(u(aPb(f,bPb).values())):[];b=b?[].concat(u(aPb(b,bPb).values())):[];e=e?[].concat(u(aPb(e,bPb).values())):[];e=new wYc(f,b,e);b=[];f=k(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,u(GYc(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=k(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,u(GYc(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=k(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,u(GYc(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var GYc=function(a,b,c,d,e,f,h){var l=[];e=d[0].getSessionState()||e;var q=YOb(d).map(function(t){var w=new qS,B=h.writer_,D=w.getMetadata()||new pS;w.setMetadata(D);var J=Os(t)||new Gt,H=Gi(t,Ht,1)||new Ht;B.metadataStateWriter_.write(D,J,fi(J,2,0)||0,EYc(t));B.contactInfoWriter_.write(w,H,c,J.getProvenance()||0);w.setLoggingId(Ju(H,1));t=Gi(w,nS,4)||new nS;hj(w,nS,4,t);t.setType(Ot(H,8));return w});q.length&&l.push(HYc(a,b,c,f.extractPersonEventSource(e),q,e));d=$Ob(d).map(function(t){var w=new qS,
B=h.writer_,D=w.getMetadata()||new pS;w.setMetadata(D);var J=Os(t)||new Gt,H=Gi(t,Ht,1)||new Ht;B.metadataStateWriter_.write(D,J,(Li(H,9,!0)?fi(J,2,0):fi(J,1,0))||0,EYc(t));B.contactInfoWriter_.write(w,H,c,J.getProvenance()||0);t=Gi(w,nS,4)||new nS;hj(w,nS,4,t);Gi(w,nS,4).setType(Ot(H,7));w.setLoggingId(Ju(H,2));return w});d.length&&l.push(HYc(a,b,c,f.extractFieldEventSource(e),d,e));return l},HYc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);a.getClientInterface().setEventSourceId(d);
mm(a,2,e);return a};var IYc=function(a,b){this.logContext_=UOb(Kt(new Lt,"PeopleStore.BigBug").setLogSource(Qi(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(621560975).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(u(a.runtimeConfig_.getExperiments().getExperimentIdsList()),u(Mt?Mt.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new FYc};IYc.prototype.getLogContext=function(){return this.logContext_};var JYc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};JYc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new IYc(this.clientConfig_,a),a=new qYc(new pYc(Ulc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var KYc=function(a,b){this.reporting_=a;this.sharedSessionState_=b};g=KYc.prototype;g.reportDisplay=function(a){k$(this,Ut(a,1))};g.reportSelect=function(a,b){b=void 0===b?new dTc:b;if(0!==b.getOriginator())for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Ui(d,Gt,2)){var e=d,f=new Gt;hj(e,Gt,2,f)}d=Os(d);jj(d,4,b.getOriginator())}b=this.sharedSessionState_;c=Zi(this.sharedSessionState_,4,0)+1;pj(b,4,c);k$(this,Ut(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Ui(c,Gt,2)){var d=c,e=new Gt;hj(d,Gt,2,e)}c=Os(c);jj(c,4,2)}b=this.sharedSessionState_;c=Zi(this.sharedSessionState_,4,0)+1;pj(b,4,c);k$(this,Ut(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){k$(this,Ut(a,17,this.sharedSessionState_))};g.reportProceed=function(a){k$(this,Ut(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new Tt;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());k$(this,[b])};g.reportSave=function(a){k$(this,Ut(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){k$(this,Ut(a,19,this.sharedSessionState_))};g.reportSend=function(a){k$(this,Ut(a,8,this.sharedSessionState_,!0))};var k$=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var l$=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;pj(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};Y(l$,RXc);l$.prototype.suggest=function(a,b){var c=this;kCc(this.sharedSessionState_,Zi(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");lCc(d);var e=0;this.delegate_.suggest(function(f){e=LYc(c,f.getResults(),ePb(f),d,e);a(f)},b)};
l$.prototype.search=function(a,b,c){var d=this;kCc(this.sharedSessionState_,Zi(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);lCc(e);var f=0;this.delegate_.search(a,function(h){f=LYc(d,h.getResults(),ePb(h),e,f);b(h)},c)};l$.prototype.getReporter=function(a){return new KYc(this.reportingFactory_.create(a),this.sharedSessionState_)};l$.prototype.getSessionState=function(){return this.sharedSessionState_};
var LYc=function(a,b,c,d,e){var f=glc();lp(d,9,ib(f));f=a.delegate_.getLastUpdatedTimestamp();pj(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=k(b);for(f=a.next();!f.done;f=a.next()){b=0;f=k(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var l=Os(h)||new Gt;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());gj(l,2,e);gj(l,1,b);hj(h,Gt,2,l);h.setSessionState(d);b++}e++}return e};var MYc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=PKb();this.clearcutConfig_=c};Y(MYc,i$);
MYc.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 Vt;h=c.getOriginator();e=k(e);for(var l=e.next();!l.done;l=e.next()){l=k(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var t=Os(q)||new Gt;7!==t.getProvenance()&&t.setProvenance(f.getProvenance());jj(t,4,h);hj(q,Gt,2,t)}}b(d)},c)};
MYc.prototype.beginSession=function(a){var b=new xZ,c=NYc(this,a);hj(b,Nt,10,c);c=OYc(this,a);hj(b,Pt,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new l$(a,this.reportingFactory_,b)};
var NYc=function(a,b){a=Ii(a.clearcutConfig_,Nt,5,hi());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new Nt},OYc=function(a,b){a=Ii(a.clearcutConfig_,Pt,6,hi());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new Pt};var PYc={create:function(a){var b=Bb(iVc||(iVc=hVc('[[15,15],["AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s","ANVavNKl4mkR3DMa8R68PqYrNFuTUEjFCzfJB_o"],["BUGANIZER","BUGANIZER",null,"ISSUE_TRACKER_AFFINITY",47,null,null,["person.name","person.photo","person.email","person.metadata"]],[null,740,null,null,[[180,181,178,179]]],[7,true]]')));a=new L9(b,a);a.runtimeConfig_.getExperiments().getProfileId()?jVc(a).getIsEnabled()?(b=Bb(lVc||(lVc=HMb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new IMb(b,1)):b=new bt:b=new bt;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;Mt=b.loadExperiments(jVc(a).getApplication(),(new ct).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new mWc;b.cacheConfigurators_.push(new fVc);c=b;c=void 0===c?new mWc:c;b=a.getClearcut();b=new lYc(b,a.runtimeConfig_);b=et(b);b=new kWc(b);d=new lWc(a,b);var e=c;c=d.targetFactory_;var f=a.getClient();c=new BWc(c,f);var h=void 0===h?aYc:h;h=new bYc(d.loader_,a,h);f=new ZXc(h,b,a);
var l=[new QXc,new uWc].concat(u(e.cacheConfigurators_),[new rXc]);e=[];var q=[],t=new IWc(c,a);h=new HWc(q,t,a);d={clientConfig:a,trackers:b,storage:c,indexer:t,loader:f,loaderFactory:d,trieFactory:new cXc(c,h,b),prefixCaches:e,lookupStages:q};f=k(l);for(l=f.next();!l.done;l=f.next())l.value.configure(d);d=new QWc(e);h=new VWc(a,b,d,h,c);d=a.getClient();c=new DXc(d,c);d=a.getClient();h=new pXc(h,c,d);c=new JYc(a);a=a.getClearcut();h=new MYc(h,c,a);h=new j$(h,b);return new fYc(h)}};var QYc=function(){};QYc.prototype.send=function(a,b){BMa(a);return this.makeRequest(a).then(function(c){return b?LMa(b,c):c})};var m$=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};Y(m$,QYc);m$.prototype.getGapi=function(){var a=this;return XMa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return dNa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
m$.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return me(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):oe(d,cNa(c,b.gapiAuthParams.minAuthTokenTimeRemaining),2);b.setGapiConfig(c);return d.return(b.parseResponse(c.client.request({root:b.gapiUrl,path:a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers,authType:a.authType,apiId:a.apiId||b.defaultApiId})))})})};
m$.prototype.parseResponse=function(a){return new Promise(function(b,c){a.then(function(d){b(!1===d.result&&null!=d.body?{data:d.body}:d.result)},function(d){c(!1===d.result&&null!=d.body?{data:d.body}:d.result)})})};m$.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&aNa(a,b,this.gapiConfigUpdates[b])};m$.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=hd({type:n$});
n$.\u0275inj=Rc({providers:[{provide:qgc,useFactory:function(){return new ihc(new m$("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))}}],imports:[{ngModule:L_,providers:[zZ,{provide:qCc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:PYc,autocompleteFactory:zUc}}}]}]});var hPb={os:1223084,version:1223033},gPb={os:201569,version:201543};var nPb={unconfirmed:5437934},mPb={unconfirmed:void 0};var o$={},RYc=(o$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],o$.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"}],o$.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?"}}]}],o$.APPS=[{type:"INPUT",question:xh([vh("What is the link to that software in "),
fPb(),vh("?")]),answerPrefix:"Webstore page: "}],o$.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:xh([vh("What is the link to that software in "),fPb(),vh("?")]),answerPrefix:"WebStore page: "}],o$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",
answerPrefix:"Webstore page: "}],o$.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"]}],
o$.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"]}],o$.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"}}]}],o$);var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=hd({type:p$});p$.\u0275inj=Rc({imports:[Zy,Qw,Zy]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=hd({type:q$});q$.\u0275inj=Rc({imports:[p$]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=hd({type:r$});r$.\u0275inj=Rc({providers:[oIc,ez],imports:[Zy,Qw,sy,q3,UC,kz,y3,w3,Zy]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=hd({type:s$});s$.\u0275inj=Rc({providers:[{provide:$Hc,useValue:RYc},{provide:bIc,useFactory:iPb},{provide:aIc,useFactory:lPb},{provide:cIc,useFactory:oPb}],imports:[vX,rE,F0,yx,cD,q$,PM,KO,fX,hR,r$,zX]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=hd({type:t$});t$.\u0275inj=Rc({imports:[rE,cD,vE,PK,yx,zx,k_]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=hd({type:u$});u$.\u0275inj=Rc({imports:[MK,rE,k_,dY,yx,tE,vE,PM,v0,rN]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=hd({type:v$});v$.\u0275inj=Rc({imports:[rE,cD,vE,PK,yx,zx,k_]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=hd({type:w$});w$.\u0275inj=Rc({imports:[rE,cD,vE,ZO]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=hd({type:x$});x$.\u0275inj=Rc({imports:[rE,cD,vE,wM,w$,uE]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=hd({type:y$});y$.\u0275inj=Rc({imports:[rE,wM,WW,VW,UW,p4,vE,yM,cD]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=hd({type:z$});z$.\u0275inj=Rc({imports:[MK,tE,wM,rE,VW,yM,cD]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=hd({type:A$});A$.\u0275inj=Rc({imports:[Qw,yx,iB,I_,zx]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=hd({type:B$});B$.\u0275inj=Rc({imports:[MK,xX,gV,aT,aP,J_,IO,dY,yx,NX,yX,tE,LX,BT,z$,cD,PM,hR,VA,a4,uE,QR,vE,J_,fL,zx,A$,rN,rE,Jy,zX,OX,x$,y$,BR]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=hd({type:C$});C$.\u0275inj=Rc({imports:[MK,rE,k_,dY,yx,tE,vE,G0]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=hd({type:D$});D$.\u0275inj=Rc({imports:[rE,vE,cD,fV,k_,NX,yX,DM,PK,VA,yx,zx,uE,uV]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=hd({type:E$});E$.\u0275inj=Rc({imports:[VA,PM,rE,Yy,cD,gV,kV,zX]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=hd({type:F$});F$.\u0275inj=Rc({imports:[rE,vE,cD,fV,k_,PK,VA,yx,zx,uE,uV]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=hd({type:G$});G$.\u0275inj=Rc({imports:[MK,rE,k_,yx,tE,fV,vE,uV,PM,G0,wM]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=hd({type:H$});H$.\u0275inj=Rc({imports:[rE,o_,wM,cD]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=hd({type:I$});I$.\u0275inj=Rc({imports:[rE,cD,I0,wM]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=hd({type:J$});J$.\u0275inj=Rc({imports:[rE,DR,j0]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=hd({type:K$});K$.\u0275inj=Rc({imports:[rE,oN,yx,fV,VQ,uV,tE,a4,cD,PM,vE,VA,BR,wM]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=hd({type:L$});L$.\u0275inj=Rc({imports:[MK,rE,oN,DR,kR,g2,n2,p2,PX,k_,u2,yx,tE,cD,PM,VA,hR,QR,fV,vE,uV,v0,K$,BR,sF,Jy,J$,t0,wM,rN,pN,J8]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=hd({type:M$});M$.\u0275inj=Rc({imports:[rE,k_,yx,cD,PM,fV,vE,QR,uV,sF,BR,Jy,t0,j0]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=hd({type:N$});N$.\u0275inj=Rc({imports:[rE,yO,VQ]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=hd({type:O$});O$.\u0275inj=Rc({imports:[rE,VQ,yO,gV,BR]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=hd({type:P$});P$.\u0275inj=Rc({imports:[rE,vE,yM,O$,N$]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=hd({type:Q$});Q$.\u0275inj=Rc({imports:[rE,cX,vE]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=hd({type:R$});R$.\u0275inj=Rc({imports:[rE,cX,uE]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=hd({type:S$});S$.\u0275inj=Rc({imports:[Qw,hP,MD]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=hd({type:T$});T$.\u0275inj=Rc({imports:[rE,yO,eX,PM,vE,cD,Q$,R$,wM,WW,oN,S$,vV,P$,dD]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=hd({type:U$});U$.\u0275inj=Rc({imports:[rE,cD,T$,vE]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=hd({type:V$});V$.\u0275inj=Rc({imports:[rE,WW,wM,Q$,R$,yO,oN,S$,vV,p4,cD,fV,eX,vE]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=hd({type:W$});W$.\u0275inj=Rc({imports:[rE,yx,cD,vE,zx,z7,U$,V$,KF]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=hd({type:X$});X$.\u0275inj=Rc({imports:[hR,rE,yx]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=hd({type:Y$});Y$.\u0275inj=Rc({imports:[B1,NK,rE,yx,PM,cD,VA,hR,KO,QR,eX,uE,fV,vE,SR,fL,N6,X$,wM,aT,UC]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=hd({type:Z$});Z$.\u0275inj=Rc({imports:[rE,PK,cD]});var SYc={disableCheatSheet:!0};SYc=void 0===SYc?{}:SYc;
var TYc=[rE,TN,RQ,lA,BA,GO,LX,FO,OE,tE,GM,SR,MF,v0,tM,IM,XW,MK,v_,FT,xE,R1,K2,E2,eT,BT,DT,wR,UW,C$,G$,I$,H$,g4,C7,w8,y8,u$,L$,M$,u8,o_,I0,PX,w2,z2,V_,cT,m_,CX,M2,S1,q2,T1,A2,f0,h0,yY,d0,AX,RM,NK,gV,kV,E$,nX,sE,o0,DM,sT,r0,K0,W_,X_,y2,w1,wM,bO,c0,oT,u1,p2,Z$,u2,a1,VQ,oN,yO,Y$,B1,jT,QQ,w_,z_,G0,t0,x_,k_,V1,t$,v$,m2,y0,MR,DR,GR,kR,y_,Y_,HT,sV,K_,yX,E0,O_,P_,n2,XO,bP,uV,l_,xX,g2,D$,QK,F$,B$,WQ,K8,V0,P8,W$,hA,{ngModule:ND,providers:[{provide:r3b,useFactory:function(){var a=Jj().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[Ie]}]},{ngModule:MP,providers:[KP,{provide:Pgc,useFactory:function(a){return new ihc(new ehc("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},khc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[jhc]},{provide:jhc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:DF,providers:[CF,{provide:i8b,useValue:SYc}]},n$];Qm("enableChromeWizard")&&TYc.push(s$);
var UYc=[FHc,a9b,GFc,HFc,IFc,T5b,W7b,{provide:Euc,useValue:{animationDuration:"0ms",stretchTabs:!1}},{provide:K2b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:k3b,useValue:{disableTooltipInteractivity:!0}},{provide:$wc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:cxc,useValue:"92912"},GHc,QHc,RHc,SHc],yw=function(){};yw.prototype.ngDoBootstrap=function(){Ck("bootstrapping AppModule")};yw.\u0275fac=function(a){return new (a||yw)};
yw.\u0275mod=hd({type:yw,bootstrap:[SN,I2]});yw.\u0275inj=Rc({providers:[].concat(u(UYc)),imports:[TYc,O8]});HB(document,"DOMContentLoaded",function(){NUb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
